|
|
@@ -1,14 +1,9 @@
|
|
|
package com.style24.core.biz.thirdparty;
|
|
|
|
|
|
-import com.gagaframework.web.parameter.GagaMap;
|
|
|
-import com.gagaframework.web.util.GagaStringUtil;
|
|
|
-import com.style24.core.biz.dao.FingerPushDao;
|
|
|
-import com.style24.core.biz.dao.TscAnswerPhaseDao;
|
|
|
-import com.style24.core.support.env.TscConstants;
|
|
|
-import com.style24.persistence.domain.AnswerPhase;
|
|
|
-import com.style24.persistence.domain.FingerPush;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
+import javax.annotation.PostConstruct;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
|
@@ -16,10 +11,15 @@ import org.springframework.core.env.Environment;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
-import javax.annotation.PostConstruct;
|
|
|
-import java.util.ArrayList;
|
|
|
+import com.gagaframework.web.parameter.GagaMap;
|
|
|
+import com.gagaframework.web.util.GagaStringUtil;
|
|
|
+import com.style24.core.biz.dao.FingerPushDao;
|
|
|
+import com.style24.core.biz.dao.TscAnswerPhaseDao;
|
|
|
+import com.style24.core.support.env.TscConstants;
|
|
|
+import com.style24.persistence.domain.AnswerPhase;
|
|
|
+import com.style24.persistence.domain.FingerPush;
|
|
|
|
|
|
-import java.util.List;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@Component
|
|
|
@Slf4j
|
|
|
@@ -89,7 +89,7 @@ public class FingerPushSender {
|
|
|
fingerPush.setPmode("STOS");
|
|
|
|
|
|
// 앱푸시(핑거푸시) 발송
|
|
|
- if ("run".equals(active) || "style".equals(active) || "locp".equals(active)) {
|
|
|
+ if ("style".equals(active) || "locp".equals(active) || "stage".equals(active) || "brdg".equals(active)) {
|
|
|
fingerPushDao.createAgpushQueue(fingerPush);
|
|
|
} else {
|
|
|
fingerPushDao.createAgpushQueueDev(fingerPush);
|