Parcourir la source

createInflowHis -> createInflowHistory 로 명칭 변경

gagamel il y a 5 ans
Parent
commit
a241bb6f36

+ 2 - 3
src/main/java/com/style24/front/biz/dao/TsfCommonDao.java

@@ -26,13 +26,12 @@ public interface TsfCommonDao {
 //	String getSiteName(String siteCd);
 
 	/**
-	 * 제휴링크 이력 생성
-	 *
+	 * 웹제휴채널이력 생성
 	 * @param inflow - 유입경로 정보
 	 * @author eskim
 	 * @date 2021. 02. 09
 	 */
-	void createInflowHst(InflowHst inflow);
+	void createInflowHistory(InflowHst inflow);
 
 //	/**
 //	 * 기본답변문구내용 조회

+ 3 - 4
src/main/java/com/style24/front/biz/service/TsfCommonService.java

@@ -42,14 +42,13 @@ public class TsfCommonService {
 //	}
 
 	/**
-	 * 유입경로 이력 생성
-	 *
+	 * 유입경로이력(웹제휴채널) 생성
 	 * @param afLinkCd - 제휴링크코드
 	 * @author eskim
 	 * @date 2021. 02. 09
 	 */
 	@Transactional("shopTxnManager")
-	public void createInflowHst(InflowHst inflow) {
+	public void createInflowHistory(InflowHst inflow) {
 		inflow.setSiteCd(TscConstants.Site.STYLE24.value());
 		inflow.setInflowRefer(TsfSession.getHttpServletRequest().getHeader("referer"));
 		inflow.setIpAddr(TsfSession.getIpAddress());
@@ -70,7 +69,7 @@ public class TsfCommonService {
 			}
 		}
 
-		commonDao.createInflowHst(inflow);
+		commonDao.createInflowHistory(inflow);
 	}
 
 //	/**

+ 1 - 1
src/main/java/com/style24/front/support/interceptor/TsfAflinkInterceptor.java

@@ -57,7 +57,7 @@ public class TsfAflinkInterceptor extends HandlerInterceptorAdapter {
 		InflowHst inflow = new InflowHst();
 		inflow.setAfLinkCd(afLinkCd);
 		inflow.setPageUrl(request.getRequestURL() + queryString);
-		commonService.createInflowHst(inflow);
+		commonService.createInflowHistory(inflow);
 
 		return super.preHandle(request, response, handler);
 	}

+ 3 - 3
src/main/java/com/style24/persistence/mybatis/shop/TsfCommon.xml

@@ -14,9 +14,9 @@
 		WHERE  NUMB BETWEEN #{pageable.startRow} AND #{pageable.endRow}
 	</sql>
 	
-	<!-- 제휴링크 이력 추가 -->
-	<insert id="createInflowHst" parameterType="InflowHst">
-		/* TsfCommon.createInflowHst */
+	<!-- 웹제휴채널이력 생성 -->
+	<insert id="createInflowHistory" parameterType="InflowHst">
+		/* TsfCommon.createInflowHistory */
 		INSERT INTO TB_INFLOW_HST (
 		       INFLOW_DT
 		     , SITE_CD