bug fix
This commit is contained in:
@@ -142,7 +142,7 @@ public class WuyouPay {
|
||||
logger.warn("未配置提现限制,请联系管理员配置");
|
||||
throw new ValidateException("【929】当日累计提现额未配置");
|
||||
}
|
||||
double money = Double.parseDouble(commonInfoService.findOne(929).getValue());
|
||||
double money = Double.parseDouble(info.getValue());
|
||||
Double v = cashOutService.queryUserTodayCashAmount(userId);
|
||||
if (v == null) {
|
||||
v = 0.0d;
|
||||
|
||||
@@ -204,10 +204,10 @@
|
||||
</update>
|
||||
|
||||
<select id="selectSumMoney" resultType="java.math.BigDecimal">
|
||||
select format(sum(money),2) from cash_out where state = #{state} and user_id = #{userId}
|
||||
select sum(money) from cash_out where state = #{state} and user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="queryUserTodayCashOutSum" resultType="double">
|
||||
select format(sum(money),2) from cash_out where state in (1, 3) and user_id = #{userId} and create_at >= #{time}
|
||||
select sum(money) from cash_out where state in (1, 3) and user_id = #{userId} and create_at >= #{time}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user