FengChaoYu 6 miesięcy temu
rodzic
commit
d6ba897ea3

+ 2 - 0
mall-server-api/src/main/resources/mapper/CommonMapper.xml

@@ -1396,6 +1396,7 @@
         contract_template a
         LEFT JOIN contract_template b ON a.contract_template_id = b.follow_contract_template_id
         ${ex.query}
+        AND a.del = 0
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
         </if>
@@ -1449,6 +1450,7 @@
             company_ca_auth a
             LEFT JOIN admin_websit b ON a.websit_id = b.websit_id
         ${ex.query}
+        AND a.del = 0
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
         </if>