|
|
@@ -289,7 +289,7 @@ public class TscOrderChangeService {
|
|
|
|
|
|
// 3-2-3. 사용포인트원복
|
|
|
int pntDcAmt = vo.getPntDcAmt();
|
|
|
- vo.setOccurGb(TscConstants.PointOccurGb.USE_POINT.value());
|
|
|
+ vo.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT.value());
|
|
|
|
|
|
for (Order point : orderChangeDao.getCustPointHst(vo)) {
|
|
|
while (pntDcAmt > 0) {
|
|
|
@@ -301,7 +301,7 @@ public class TscOrderChangeService {
|
|
|
pntDcAmt -= (point.getPntAmt() * -1);
|
|
|
}
|
|
|
|
|
|
- point.setOccurGb(TscConstants.PointOccurGb.USE_POINT_CANCEL.value());
|
|
|
+ point.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT_CANCEL.value());
|
|
|
point.setPntUploadStat(TscConstants.PntUploadStat.APPLY_COMPLETE.value());
|
|
|
point.setOccurDtlDesc("포인트사용취소");
|
|
|
point.setRegNo(userNo);
|
|
|
@@ -704,7 +704,7 @@ public class TscOrderChangeService {
|
|
|
|
|
|
// 5.3.3 사용포인트원복
|
|
|
int pntDcAmt = vo.getPntDcAmt();
|
|
|
- vo.setOccurGb(TscConstants.PointOccurGb.USE_POINT.value());
|
|
|
+ vo.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT.value());
|
|
|
|
|
|
for (Order point : orderChangeDao.getCustPointHst(vo)) {
|
|
|
while (pntDcAmt > 0) {
|
|
|
@@ -715,7 +715,7 @@ public class TscOrderChangeService {
|
|
|
pntDcAmt -= point.getPntAmt();
|
|
|
}
|
|
|
|
|
|
- point.setOccurGb(TscConstants.PointOccurGb.USE_POINT_CANCEL.value());
|
|
|
+ point.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT_CANCEL.value());
|
|
|
point.setOccurDtlDesc("포인트사용취소");
|
|
|
point.setRegNo(userNo);
|
|
|
point.setUpdNo(userNo);
|
|
|
@@ -2222,11 +2222,11 @@ public class TscOrderChangeService {
|
|
|
// 2. 사용포인트원복
|
|
|
Order vo = new Order();
|
|
|
vo.setOrdNo(ordNo);
|
|
|
- vo.setOccurGb(TscConstants.PointOccurGb.USE_POINT.value());
|
|
|
+ vo.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT.value());
|
|
|
vo.setUpdNo(updNo);
|
|
|
|
|
|
for (Order point : orderChangeDao.getCustPointHst(vo)) {
|
|
|
- point.setOccurGb(TscConstants.PointOccurGb.USE_POINT_CANCEL.value());
|
|
|
+ point.setOccurGb(TscConstants.PointOccurGb.ORD_USE_POINT_CANCEL.value());
|
|
|
point.setPntUploadStat(TscConstants.PntUploadStat.APPLY_COMPLETE.value());
|
|
|
point.setOccurDtlDesc("포인트사용취소");
|
|
|
point.setPntAmt(point.getPntAmt() * -1);
|