dos 4 bulan lalu
induk
melakukan
d223a7b1f1

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