he2802 1 ano atrás
pai
commit
aa75d51812

+ 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