绑定rfid查询优化
This commit is contained in:
parent
ce18ed9941
commit
d852a55aab
|
|
@ -311,7 +311,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select *
|
select *
|
||||||
from ma_machine
|
from ma_machine
|
||||||
where 1=1
|
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>
|
<if test="maCode != null and maCode != ''"> and ma_code = #{maCode}</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="getMachineByQrCode" resultType="com.bonus.sgzb.base.api.domain.MaMachine">
|
<select id="getMachineByQrCode" resultType="com.bonus.sgzb.base.api.domain.MaMachine">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue