Преглед изворни кода

fix: 分页条件查询状态入参为0问题修改

fangxinjian пре 4 година
родитељ
комит
fef36b7442

+ 1 - 1
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/dao/mapper/BoxCodeFormatMapper.java

@@ -20,7 +20,7 @@ public interface BoxCodeFormatMapper extends BaseMapper<BoxCodeFormat> {
      * @param page
      * @return
      */
-    IPage<BoxCodeFormatVO> listBoxCodeFormat(IPage page, ListBoxCodeFormatReq param);
+    IPage<BoxCodeFormatVO> listBoxCodeFormat(IPage page, @Param("param") ListBoxCodeFormatReq param);
 
     /**
      * 根据ID查询详情信息

+ 1 - 1
abi-cloud-qr-platform-server/src/main/resources/dao/mapper/BoxCodeFormatMapper.xml

@@ -39,7 +39,7 @@
             <if test="param.name != null and param.name != ''">
                 AND bcf.name like concat('%',#{param.name},'%')
             </if>
-            <if test="param.state != null and param.state != ''">
+            <if test="param.state != null ">
                 AND bcf.state = #{param.state}
             </if>
         </where>