fanxw 5 年之前
父節點
當前提交
67df598869
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/chinaitop/depot/storage/mapper/StorageQualitycheckMapper.xml

+ 1 - 1
src/main/java/com/chinaitop/depot/storage/mapper/StorageQualitycheckMapper.xml

@@ -1605,7 +1605,7 @@
1605 1605
       <if test="warehouseId !=null">
1606 1606
         and sq.warehouse_id = #{warehouseId}
1607 1607
       </if>
1608
-      <if test="typeList != null">
1608
+      <if test="typeList != null and typeList.size() > 0">
1609 1609
         and sq.type in
1610 1610
         <foreach close=")" collection="typeList" item="typeList" open="(" separator=",">
1611 1611
           #{typeList}