|
@@ -84,7 +84,7 @@ public class TsfGiftcardService {
|
|
|
* @throws Exception
|
|
* @throws Exception
|
|
|
* @since 2021. 3. 15
|
|
* @since 2021. 3. 15
|
|
|
*/
|
|
*/
|
|
|
- public void getGiftcardUseConfirm(GiftCard giftcard) throws Exception {
|
|
|
|
|
|
|
+ public void createGiftcardUseConfirm(GiftCard giftcard) throws Exception {
|
|
|
// 고객번호 설정
|
|
// 고객번호 설정
|
|
|
int custNo = TsfSession.getInfo().getCustNo();
|
|
int custNo = TsfSession.getInfo().getCustNo();
|
|
|
String ip = TsfSession.getIpAddress();
|
|
String ip = TsfSession.getIpAddress();
|
|
@@ -132,7 +132,7 @@ public class TsfGiftcardService {
|
|
|
giftcard.setRmGfcdAmt(Integer.parseInt(param[1])); // 승인금액
|
|
giftcard.setRmGfcdAmt(Integer.parseInt(param[1])); // 승인금액
|
|
|
giftcard.setUseStDate(param2[0]);
|
|
giftcard.setUseStDate(param2[0]);
|
|
|
giftcard.setUseExpDate(param3[0]);
|
|
giftcard.setUseExpDate(param3[0]);
|
|
|
- giftcardDao.getGiftcardUseConfirm(giftcard);
|
|
|
|
|
|
|
+ giftcardDao.createGiftcardUseConfirm(giftcard);
|
|
|
|
|
|
|
|
int custGfcdSq = giftcardDao.getCustGiftCardSq(pubNo);
|
|
int custGfcdSq = giftcardDao.getCustGiftCardSq(pubNo);
|
|
|
giftcard.setCustGfcdSq(custGfcdSq);
|
|
giftcard.setCustGfcdSq(custGfcdSq);
|