fix : 프로모션 > 할인 이벤트 관리 > 이벤트 등록/복사/수정 - 이벤트 혜택 (할인) 개선
This commit is contained in:
@@ -309,22 +309,8 @@ public class BOPurchsEvtService {
|
||||
}
|
||||
}
|
||||
|
||||
// 사은품 이벤트
|
||||
// 사은품 이벤트
|
||||
} else if ("02".equals(purchsEvtVO.getEvtDv())) {
|
||||
|
||||
|
||||
/*
|
||||
if (!StringUtils.isEmpty(Arrays.toString(purchsEvtVO.getDeleteGiftList()))) {
|
||||
log.debug(" 삭제 리스트 확인 purchsEvtVO . get getDeleteGiftList : {}", purchsEvtVO.getDeleteGiftList());
|
||||
for (String deleteGiftInnb : purchsEvtVO.getDeleteGiftList()) {
|
||||
log.debug("deleteGiftInnb : {}", deleteGiftInnb);
|
||||
purchsEvtVO.setDeleteGiftInnb(Integer.parseInt(deleteGiftInnb));
|
||||
mapper.deleteBOPurchsEvtGiftDel(purchsEvtVO);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
if (!StringUtils.isEmpty(Arrays.toString(purchsEvtVO.getDeleteBnefList()))) {
|
||||
log.debug(" 삭제 리스트 확인 purchsEvtVO . get deleteList : {}", (Object) purchsEvtVO.getDeleteBnefList());
|
||||
for (String deleteBnefInnb : purchsEvtVO.getDeleteBnefList()) {
|
||||
@@ -334,7 +320,6 @@ public class BOPurchsEvtService {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (purchsEvtVO.getDiscountBnefVOList() != null && !purchsEvtVO.getDiscountBnefVOList().isEmpty()) {
|
||||
log.debug("사은품 혜택 진입");
|
||||
for (BOPurchsEvtDiscountBnefVO tempVO : purchsEvtVO.getDiscountBnefVOList()) {
|
||||
|
||||
@@ -393,14 +393,6 @@ public class PurchsEvtController {
|
||||
tempVO.setEndAmt(null);
|
||||
}
|
||||
|
||||
if ("01".equals(purchsEvtVO.getDscntBnefDvCd())) {
|
||||
tempVO.setBgnAmt("0");
|
||||
tempVO.setEndAmt("0");
|
||||
} else if ("02".equals(purchsEvtVO.getDscntBnefDvCd())) {
|
||||
tempVO.setBgnCnt("0");
|
||||
tempVO.setEndCnt("0");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
for (BOPurchsEvtDiscountBnefVO tempVO : purchsEvtVO.getDiscountBnefVOList()) {
|
||||
|
||||
Reference in New Issue
Block a user