瀏覽代碼

代储点质量管理新修改

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

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

@@ -1690,6 +1690,9 @@
1690
       <if test="depotId !=null">
1690
       <if test="depotId !=null">
1691
         and sq.depot_id is not null
1691
         and sq.depot_id is not null
1692
       </if>
1692
       </if>
1693
+      <if test="depotId ==null">
1694
+        and sq.depot_id is null
1695
+      </if>
1693
       <!--区分粮情卡的数据-->
1696
       <!--区分粮情卡的数据-->
1694
       and sq.flag_type is null
1697
       and sq.flag_type is null
1695
     </where>
1698
     </where>