he2802 преди 2 години
родител
ревизия
055aa51341
променени са 1 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. 9 0
      zhongzheng-system/src/main/resources/mapper/modules/top/TopDivideLogMapper.xml

+ 9 - 0
zhongzheng-system/src/main/resources/mapper/modules/top/TopDivideLogMapper.xml

@@ -37,6 +37,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="tenantId != null and tenantId != ''">
             AND dl.tenant_id = #{tenantId}
         </if>
+        <if test="payStatus != null and payStatus != ''">
+            AND dl.pay_status = #{payStatus}
+        </if>
         <if test="monthTime != null and monthTime != ''">
             AND dl.month_time in
             <foreach collection="monthTime" item="item" index="index" open="(" close=")" separator=",">
@@ -122,6 +125,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="tenantId != null and tenantId != ''">
             AND dl.tenant_id = #{tenantId}
         </if>
+        <if test="payStatus != null and payStatus != ''">
+            AND dl.pay_status = #{payStatus}
+        </if>
         <if test="monthTime != null and monthTime != ''">
             AND dl.month_time in
             <foreach collection="monthTime" item="item" index="index" open="(" close=")" separator=",">
@@ -143,6 +149,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="tenantId != null and tenantId != ''">
             AND dl.tenant_id = #{tenantId}
         </if>
+        <if test="payStatus != null and payStatus != ''">
+            AND dl.pay_status = #{payStatus}
+        </if>
         <if test="monthTime != null and monthTime != ''">
             AND dl.month_time in
             <foreach collection="monthTime" item="item" index="index" open="(" close=")" separator=",">