记得上下班打卡 | git大法好,push需谨慎

Commit 2a1f9d9c authored by 胡佳晨's avatar 胡佳晨

用券四舍五入

parent 2c90c469
......@@ -187,6 +187,7 @@ public class CandyCouponController {
if (result == null) {
return ResponseDto.failure();
}
result.setValue(result.getValue().setScale(2,BigDecimal.ROUND_HALF_UP));
return ResponseDto.success(result);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment