diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/BmQrBoxMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/BmQrBoxMapper.xml index c7573abe..4f9d48ed 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/BmQrBoxMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/BmQrBoxMapper.xml @@ -253,9 +253,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id AND mt1.del_flag = '0' LEFT JOIN bm_qrcode_box bqb ON qb.box_id = bqb.box_id where - mm.ma_status = '5' AND - bqb.box_code = #{boxCode} AND - mt.type_id = #{maTypeId} + bqb.box_code = #{boxCode} and bqb.box_status = 4 - \ No newline at end of file +