Commit de74d060 by 徐高华

Merge branch 'feature/获取用户敏感信息' into 'developer'

sql

See merge request !906
parents 5cb0c8e8 9c278c76
......@@ -38,6 +38,9 @@
<!--查询指定行数据-->
<select id="listPage" resultMap="TabHaobanQywxFeeMap">
<if test="interceptFlag != null and interceptFlag == 0">
select <include refid="Base_Column_List"/> from (
</if>
select
<include refid="Base_Column_List"/>
from tab_haoban_qywx_fee
......@@ -60,8 +63,8 @@
<choose>
<when test="interceptFlag != null and interceptFlag == 0">
and intercept_time between DATE(CURDATE()) and DATE_add(CURDATE(), INTERVAL 30 DAY)
order by intercept_time asc ) t
GROUP BY wx_enterprise_id
order by intercept_time asc
</when>
<otherwise>
order by intercept_time desc
......
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