This commit is contained in:
mashuai 2024-06-13 17:56:24 +08:00
parent 3d6e880881
commit 25210e04b6
1 changed files with 1 additions and 1 deletions

View File

@ -362,6 +362,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE a.parentId is not null
</select>
<select id="getMaMachineByMaTypeAndMaCode" resultType="com.bonus.sgzb.base.api.domain.MaMachine">
select * from ma_machine where ma_code = #{maCode}
select * from ma_machine where qr_code = #{qrCode} or ma_code = #{maCode}
</select>
</mapper>