|
|
@@ -734,8 +734,9 @@ public class TsfPlanningController extends TsfBaseController {
|
|
|
cal.setTime(new Date());
|
|
|
DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
int usableDay = tPlan.getPntUsableDay();
|
|
|
- cal.add(Calendar.DATE, +usableDay);
|
|
|
+ cal.add(Calendar.DATE, +usableDay);
|
|
|
point.setExpBeDt(df.format(cal.getTime()));
|
|
|
+ point.setSignGb("+");
|
|
|
corePointService.saveCustomerPoint(point);
|
|
|
String msg = "축하합니다. " + toNumFormat(pointAmt) + " 포인트가 지급 되었습니다!";
|
|
|
result.set("msg", msg);
|
|
|
@@ -773,8 +774,9 @@ public class TsfPlanningController extends TsfBaseController {
|
|
|
cal.setTime(new Date());
|
|
|
DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
int usableDay = tPlan.getPntUsableDay();
|
|
|
- cal.add(Calendar.DATE, +usableDay);
|
|
|
+ cal.add(Calendar.DATE, +usableDay);
|
|
|
point.setExpBeDt(df.format(cal.getTime()));
|
|
|
+ point.setSignGb("+");
|
|
|
corePointService.saveCustomerPoint(point);
|
|
|
|
|
|
CustCoupon coupon = new CustCoupon();
|
|
|
@@ -790,6 +792,7 @@ public class TsfPlanningController extends TsfBaseController {
|
|
|
coreCouponService.saveCouponIssue(coupon);
|
|
|
String msg = "축하합니다. " + toNumFormat(pointAmt) + " 포인트와 " + toNumFormat(coupon.getDcVal()) +coupon.getDcWay() + " 할인쿠폰이 지급 되었습니다!";
|
|
|
result.set("msg", msg);
|
|
|
+ break;
|
|
|
}
|
|
|
|
|
|
}else {
|