Parcourir la source

合同样品单列表过滤

caozj il y a 1 an
Parent
commit
ada4271cf0

+ 6 - 1
hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

@@ -250,7 +250,10 @@
         contract t1
         WHERE
         t1.`status` >= 30
-        AND t1.`status` < 88 UNION
+        AND t1.`status` < 88
+        AND t1.is_show != 1
+        AND t1.is_change = 0
+        UNION
         SELECT
         t1.id,
         t1.sell_corporation_id,
@@ -285,6 +288,8 @@
         WHERE
         t1.`status` >= 30
         AND t1.`status` < 88
+        AND t1.is_show != 1
+        AND t1.is_change = 0
         ) AS t1
         ) t1
         ${ew.customSqlSegment}