|
@@ -61,6 +61,6 @@ public interface AppUsersCashrecordMapper extends BaseMapper<AppUsersCashrecord>
|
|
|
*/
|
|
|
public int deleteAppUsersCashrecordByIds(Long[] ids);
|
|
|
|
|
|
- @Select("select IFNULL(sum(money),0) from app_users_cashrecord where status = 1 and uid = #{userId}")
|
|
|
+ @Select("select IFNULL(sum(money),0) from app_users_cashrecord where status = 1 and cash_out_status in(1,0) and uid = #{userId}")
|
|
|
public Double sumWithdraw(@Param("userId") Long userId);
|
|
|
}
|