Ver código fonte

Merge remote-tracking branch 'origin/develop' into xodud1202

xodud lee 5 anos atrás
pai
commit
f993aecccc

+ 1 - 1
src/main/java/com/style24/batch/biz/job/marketing/TsbReviewGuideJob.java

@@ -71,7 +71,7 @@ public class TsbReviewGuideJob extends TsbAbstractJob<String, String, String> {
 				replaceInfo.setString("custNm", reviewGuide.getCustNm());
 
 				// 4.알림톡 발송
-				kakaoSender.send(SsgKakaoSender.KakaoAnswerSq.ReviewWrite.value(), dm, replaceInfo);
+				kakaoSender.send(SsgKakaoSender.KakaoAnswerSq.REVIEW_WRITE.value(), dm, replaceInfo);
 
 				// 5.상품평등록안내발송완료 처리
 				reviewService.updateReviewGuideSendComplete(reviewGuide);

+ 33 - 0
src/main/java/com/style24/batch/biz/service/TsbCouponService.java

@@ -0,0 +1,33 @@
+package com.style24.batch.biz.service;
+
+import com.gagaframework.web.parameter.GagaMap;
+import com.style24.persistence.domain.CustCoupon;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * 쿠폰 Service
+ *
+ * @author jsshin
+ * @since 2021. 05. 27
+ */
+@Service
+@Slf4j
+public class TsbCouponService {
+	@Autowired
+	private TsbCustomerService customerService;
+
+	@Transactional("shopTxnManager")
+	public GagaMap saveCombackCoupon(CustCoupon custCoupon) {
+		GagaMap result = new GagaMap();
+		// [G12] 휴면/미접속자 방어쿠폰 자동발송-1 : -180 ~ -91
+		// [G13] 휴면/미접속자 방어쿠폰 자동발송-2 : -270 ~ -181
+		// [G14] 휴면/미접속자 방어쿠폰 자동발송-3 : -365 ~ -271
+
+
+
+		return result;
+	}
+}