|
@@ -256,7 +256,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
ifnull(sum(votes), 0.00) as diamondCoinSum
|
|
|
|
|
|
- from app_users_cashrecord where status = 1
|
|
|
+ from app_users_cashrecord where status = 1 and cash_out_status in (0,1)
|
|
|
|
|
|
<if test="userId != null">
|
|
|
and uid = #{userId}
|
|
@@ -271,7 +271,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
ifnull(sum(actual_money), 0.00) as actualMoneySum,
|
|
|
ifnull(sum(platform_service), 0.00) as platformServiceSum
|
|
|
|
|
|
- from app_users_cashrecord where status = 1
|
|
|
+ from app_users_cashrecord where status = 1 and cash_out_status in (0,1)
|
|
|
|
|
|
<if test="userId != null">
|
|
|
and uid = #{userId}
|