|
@@ -0,0 +1,46 @@
|
|
|
|
|
+package com.style24.core.biz.service;
|
|
|
|
|
+
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
|
|
+
|
|
|
|
|
+import com.style24.core.biz.dao.TscAnswerPhaseDao;
|
|
|
|
|
+import com.style24.persistence.domain.AnswerPhase;
|
|
|
|
|
+
|
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 답변문구 Service
|
|
|
|
|
+ *
|
|
|
|
|
+ * @author gagamel
|
|
|
|
|
+ * @since 2020. 10. 29
|
|
|
|
|
+ */
|
|
|
|
|
+@Service
|
|
|
|
|
+@Slf4j
|
|
|
|
|
+public class TscAnswerPhaseService {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private TscAnswerPhaseDao ansPhaseDao;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 답변문구 조회
|
|
|
|
|
+ * @param ansSq - 답변일련번호
|
|
|
|
|
+ * @return
|
|
|
|
|
+ * @author gagamel
|
|
|
|
|
+ * @since 2020. 10. 29
|
|
|
|
|
+ */
|
|
|
|
|
+ public AnswerPhase getAnswerPhase(Integer ansSq) {
|
|
|
|
|
+ return ansPhaseDao.getAnswerPhase(ansSq);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 일대일문의 답변 템플릿 조회
|
|
|
|
|
+ * @param ansPhase - 답변문구 정보
|
|
|
|
|
+ * @return
|
|
|
|
|
+ * @author gagamel
|
|
|
|
|
+ * @since 2020. 10. 29
|
|
|
|
|
+ */
|
|
|
|
|
+ public AnswerPhase getOneToOneAnswerPhase(AnswerPhase ansPhase) {
|
|
|
|
|
+ return ansPhaseDao.getOneToOneAnswerPhase(ansPhase);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+}
|