dos 4 月之前
父節點
當前提交
463e1fc2a2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

+ 2 - 2
game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

@@ -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}