Browse Source

开票新增删除

anderx 1 year ago
parent
commit
cbaf1fccda
1 changed files with 14 additions and 0 deletions
  1. 14 0
      src/main/java/com/goafanti/common/mapper/AdminCallDayMapper.xml

+ 14 - 0
src/main/java/com/goafanti/common/mapper/AdminCallDayMapper.xml

@@ -87,6 +87,20 @@
             <if test="teamId != null">
                 and team_id = #{teamId}
             </if>
+            <if test="quantityType !=null">
+                <if test="quantityType==1">
+                    and valid_sum &lt; 10
+                </if>
+                <if test="quantityType==2">
+                    and valid_sum &gt;= 10 and valid_sum &lt; 20
+                </if>
+                <if test="quantityType==3">
+                    and valid_sum &gt;= 20 and valid_sum &lt; 50
+                </if>
+                <if test="quantityType==4">
+                    and valid_sum &gt;= 50
+                </if>
+            </if>
             <if test="startTime != null and endTime != null">
                 and day_date BETWEEN #{startTime} and  #{endTime}
             </if>