|
|
|
@@ -307,13 +307,13 @@ |
|
|
|
<select id="findCountHistory" parameterType="com.iformall.domain.dto.WxCUserBasicInfoDto" resultType="com.iformall.domain.vo.UserCountVo"> |
|
|
|
select count(wcubi.id) as incCount, |
|
|
|
<if test="1 == reportType "> |
|
|
|
date_format(wcubi.create_date, '%Y-%m-%d') as reportTime, |
|
|
|
date_format(wcubi.create_date, '%Y-%m-%d') as reportTime |
|
|
|
</if> |
|
|
|
<if test="2 == reportType "> |
|
|
|
date_format(wcubi.create_date, '%Y-%m') as reportTime, |
|
|
|
date_format(wcubi.create_date, '%Y-%m') as reportTime |
|
|
|
</if> |
|
|
|
<if test="3 == reportType "> |
|
|
|
date_format(wcubi.create_date, '%Y') as reportTime, |
|
|
|
date_format(wcubi.create_date, '%Y') as reportTime |
|
|
|
</if> |
|
|
|
from wx_c_user_basic_info wcubi |
|
|
|
where wcubi.`final_tenant_id` = #{finalTenantId} |
|
|
|
|