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