Commit e04f07f9 by 墨竹

fix:数量修改

parent 267b127b
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<select id="feeDetail" resultType="com.gic.haoban.manage.api.dto.fee.HaobanQywxFeeDetailDTO"> <select id="feeDetail" resultType="com.gic.haoban.manage.api.dto.fee.HaobanQywxFeeDetailDTO">
select select
sum(distinct staff_id) interceptUserNum, count(distinct staff_id) interceptUserNum,
expire_time interceptTime expire_time interceptTime
from tab_haoban_qywx_fee_account_staff from tab_haoban_qywx_fee_account_staff
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<select id="lastFeeInterceptCount" resultType="java.lang.Integer"> <select id="lastFeeInterceptCount" resultType="java.lang.Integer">
select select
sum(distinct staff_id) count(distinct staff_id)
from tab_haoban_qywx_fee_account_staff from tab_haoban_qywx_fee_account_staff
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <![CDATA[ <= ]]> date(expire_time) and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <![CDATA[ <= ]]> date(expire_time)
......
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