dos 4 달 전
부모
커밋
d223a7b1f1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      game-business/src/main/java/com/game/business/mapper/AppUsersCashrecordMapper.java

+ 1 - 1
game-business/src/main/java/com/game/business/mapper/AppUsersCashrecordMapper.java

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