|
|
|
@@ -218,7 +218,7 @@ |
|
|
|
|
|
|
|
<select id="getIncrementCreditAmount" parameterType="com.iformall.domain.po.WxCreditHistory" |
|
|
|
resultType="java.lang.Long"> |
|
|
|
select ABS(ifnull(sum(credit.credit_num),0)) amount from wx_credit_history credit |
|
|
|
select ifnull(sum(credit.credit_num),0) amount from wx_credit_history credit |
|
|
|
<include refid="customWhereConditions"/> |
|
|
|
and credit.credit_num>0 |
|
|
|
</select> |
|
|
|
|