he2802 1 年之前
父節點
當前提交
aa75d51812
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

+ 6 - 0
zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

@@ -1680,6 +1680,9 @@
         <if test="customerId != null and customerId != ''">
             AND o.tenant_id  = #{customerId}
         </if>
+        <if test="createSysUserId != null and createSysUserId != ''">
+            AND 1=0
+        </if>
         <if test="businessName != null and businessName != ''">
             AND (
             SELECT
@@ -1719,6 +1722,9 @@
         <if test="customerId != null and customerId != ''">
             AND too.old_customer_id  = #{customerId}
         </if>
+        <if test="createSysUserId != null and createSysUserId != ''">
+            AND too.create_sys_user_id = #{createSysUserId}
+        </if>
         <if test="businessName != null and businessName != ''">
             AND (
             SELECT