Browse Source

Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal

RainMan 2 years ago
parent
commit
e4e02d50ec

+ 1 - 1
src/main/java/sgc/portal/com/sym/batch/service/BatchService.java

@@ -126,7 +126,7 @@ public class BatchService {
   			batch.setMobile(mobile);
   			batch.setSContents(sContents);
   			batchMapper.insertSms(batch);*/
-  		} else if(activeProfiles[0].equals("prd")) {	//운영
+  		} else {										//운영
   			batch.setMobile(mobile);
   			batch.setSContents(sContents);
   			batchMapper.insertSms(batch);

+ 2 - 6
src/main/java/sgc/portal/cs/cspop/service/CSPOPService.java

@@ -66,15 +66,11 @@ public class CSPOPService {
 			result.put("status", "OK");
 	    	result.put("gubun", cSPOPVo.getGubun());
 	    	result.put("sconts", cSPOPVo.getSconts());
-		} else if(activeProfiles[0].equals("prd")) {	//운영
+		} else {										//운영
 			insertSms(cSPOPVo);
 			result.put("status", "OK");
 	    	result.put("gubun", cSPOPVo.getGubun());
 	    	result.put("sconts", cSPOPVo.getSconts());
-		} else {
-			result.put("status", "NO");
-	    	result.put("gubun", "");
-	    	result.put("sconts", "");
 		}
 		
         return result;
@@ -96,7 +92,7 @@ public class CSPOPService {
     			result.put("status", "OK");
     	    	result.put("gubun", cSPOPVo.getGubun());
     	    	result.put("sconts", cSPOPVo.getSconts());
-    		} else if(activeProfiles[0].equals("prd")) {	//운영
+    		} else if(activeProfiles[0].equals("prod")) {	//운영
     			insertSms(cSPOPVo);
     			result.put("status", "OK");
     	    	result.put("gubun", cSPOPVo.getGubun());