he2802 há 1 ano atrás
pai
commit
4af8911005

+ 12 - 0
zhongzheng-system/src/main/resources/mapper/modules/top/TopDivideOrderMapper.xml

@@ -292,6 +292,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="tenantId != null and tenantId != ''">
             AND v.tenant_id = #{tenantId}
         </if>
+        <if test="payStatus != null and payStatus.size()!=0">
+            AND cl.pay_status in
+            <foreach collection="payStatus" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+        <if test="tenantIds != null and tenantIds.size()!=0">
+            AND v.tenant_id in
+            <foreach collection="tenantIds" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="createNo != null and createNo != ''">
             AND (v.create_no = #{createNo} or v.create_username like concat('%', #{createNo}, '%'))
         </if>