Commit 11fa4598 by 墨竹

fix:收费bug修改

parent d9914a11
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
<if test="endDate != null and endDate != ''"> <if test="endDate != null and endDate != ''">
and intercept_time <![CDATA[ >= ]]> #{endDate} and intercept_time <![CDATA[ >= ]]> #{endDate}
</if> </if>
</where>
<choose> <choose>
<when test="interceptFlag != null and interceptFlag == 0"> <when test="interceptFlag != null and interceptFlag == 0">
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <![CDATA[ <= ]]> date(intercept_time)
GROUP BY wx_enterprise_id GROUP BY wx_enterprise_id
order by intercept_time asc order by intercept_time asc
</when> </when>
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
order by intercept_time desc order by intercept_time desc
</otherwise> </otherwise>
</choose> </choose>
</where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment