he2802 2 年之前
父節點
當前提交
8b58d78647
共有 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

@@ -1870,6 +1870,9 @@
         <if test="customerId != null and customerId != ''">
             AND 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
@@ -1930,6 +1933,9 @@
         <if test="customerId != null and customerId != ''">
             AND o.old_customer_id  = #{customerId}
         </if>
+        <if test="createSysUserId != null and createSysUserId != ''">
+            AND 1=0
+        </if>
         <if test="businessName != null and businessName != ''">
             AND (
             SELECT