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