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}