|
|
|
@@ -237,7 +237,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getPeopleCount" parameterType="com.iformall.domain.po.WxCreditHistory" resultType="java.lang.Long"> |
|
|
|
select ifnull(sum(credit.people),0) people from ( |
|
|
|
select count(*) people from ( |
|
|
|
select count(*) people from wx_credit_history credit |
|
|
|
INNER JOIN wx_c_user_basic_info basic ON basic.id = credit.c_user_id |
|
|
|
LEFT JOIN wx_merchant merchant ON credit.merchant_id = merchant.id |
|
|
|
|