api-增加小程序扫码后初始化界面逻辑接口
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
|
||||
<select id="checkDevice" resultType="java.lang.Integer">
|
||||
SELECT count(1) FROM sv_device
|
||||
WHERE name = #{deviceName} and venue_id=#{venueId} and deleted = 0
|
||||
WHERE 1=1 AND name = #{deviceName} and venue_id=#{venueId} and deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user