Просмотр исходного кода

2021.09.09 페이코 조건 누락 추가

jsh77b 4 лет назад
Родитель
Сommit
7bd705ef61

+ 8 - 3
src/main/java/com/style24/core/biz/service/TscOrderChangeService.java

@@ -184,7 +184,8 @@ public class TscOrderChangeService {
 		int updNo				= userNo;														// 수정자번호
 
 		// 2. 무통장입금 결제 주문 전체취소 상태값 처리
-		if (TscConstants.PgGb.KCP.value().equals(pgGb)) {
+		// 2021.09.09 페이코 조건 누락 추가
+		if (TscConstants.PgGb.KCP.value().equals(pgGb) || TscConstants.PgGb.PAYCO.value().equals(pgGb)) {
 			if (TscConstants.PayMeans.BANK_DEPOSIT.value().equals(payMeans)) {
 				modType = "STPD";																			// KCP 무통장입금 부분취소
 			} else {
@@ -722,6 +723,8 @@ public class TscOrderChangeService {
 				pg.setPayAmt(-pg.getPartCancelAmt());
 				orderDao.insertPaymentCancel(pg);
 			} else if (TscConstants.PgGb.KCP.value().equals(pgGb) || TscConstants.PgGb.PAYCO.value().equals(pgGb)) {
+				log.info("modType ::: {}", modType);
+				
 				pg.setModType(modType);
 				pg.setModDesc("가맹점 취소 - 부분 취소");
 				pg.setIpAddress(ipAddress);
@@ -2662,7 +2665,8 @@ public class TscOrderChangeService {
 		
 		// 2. 무통장입금 결제 주문 전체취소 상태값 처리
 		String modType			= "";
-		if (TscConstants.PgGb.KCP.value().equals(pgGb)) {
+		// 2021.09.09 페이코 조건 누락 추가
+		if (TscConstants.PgGb.KCP.value().equals(pgGb) || TscConstants.PgGb.PAYCO.value().equals(pgGb)) {
 			if (TscConstants.PayMeans.BANK_DEPOSIT.value().equals(payMeans)) {
 				modType = "STPD";																// KCP 무통장입금 부분취소
 			} else {
@@ -3257,7 +3261,8 @@ public class TscOrderChangeService {
 		int addPayCost			= map.getInt("addPayCost");										// 추갸배송비
 
 		// 무통장입금 결제 주문 전체취소 상태값 처리
-		if (TscConstants.PgGb.KCP.value().equals(pgGb)) {
+		// 2021.09.09 페이코 조건 누락 추가
+		if (TscConstants.PgGb.KCP.value().equals(pgGb) || TscConstants.PgGb.PAYCO.value().equals(pgGb)) {
 			if (TscConstants.PayMeans.BANK_DEPOSIT.value().equals(payMeans)) {
 				modType = "STPD";																				// KCP 무통장입금 부분취소
 			} else {