Commit 11fa4598 by 墨竹

fix:收费bug修改

parent d9914a11
......@@ -48,9 +48,9 @@
<if test="endDate != null and endDate != ''">
and intercept_time <![CDATA[ >= ]]> #{endDate}
</if>
</where>
<choose>
<when test="interceptFlag != null and interceptFlag == 0">
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <![CDATA[ <= ]]> date(intercept_time)
GROUP BY wx_enterprise_id
order by intercept_time asc
</when>
......@@ -58,6 +58,7 @@
order by intercept_time desc
</otherwise>
</choose>
</where>
</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