绑定rfid查询优化

This commit is contained in:
sxu 2024-10-31 14:33:31 +08:00
parent ce18ed9941
commit d852a55aab
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select *
from ma_machine
where 1=1
<if test="maId != null "> and ma_id = #{maId}</if>
<if test="maId != 0 "> and ma_id = #{maId}</if>
<if test="maCode != null and maCode != ''"> and ma_code = #{maCode}</if>
</select>
<select id="getMachineByQrCode" resultType="com.bonus.sgzb.base.api.domain.MaMachine">