포인트 전환 요청시 음수(-)값 처리를 위해 절대값 변경 추가
@e296be7a7a929fa6b144600fd4af63a188a0745d
--- src/main/java/itn/let/mjo/pay/web/MjonPayController.java
+++ src/main/java/itn/let/mjo/pay/web/MjonPayController.java
... | ... | @@ -3811,6 +3811,10 @@ |
| 3811 | 3811 |
refundVO.setMberId(user.getId()); |
| 3812 | 3812 |
|
| 3813 | 3813 |
RefundVO mberInfoVO = refundService.selectRefundMberInfo(refundVO); |
| 3814 |
+ |
|
| 3815 |
+ //포인트 교환요청에서 포인트 정보가 음수(-)로 넘어오는 경우 처리를 위해 절대값 처리 해줌. - 20230824 우영두 |
|
| 3816 |
+ mjonPayVO.setPoint(Math.abs(mjonPayVO.getPoint())); |
|
| 3817 |
+ |
|
| 3814 | 3818 |
if(Double.parseDouble(mberInfoVO.getMberPoint()) |
| 3815 | 3819 |
< mjonPayVO.getPoint()) {
|
| 3816 | 3820 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?