diff --git a/src/main/java/kcc/ve/oprtn/pblc/sndMng/web/SndMngController.java b/src/main/java/kcc/ve/oprtn/pblc/sndMng/web/SndMngController.java
index 881f9de9..6489f318 100644
--- a/src/main/java/kcc/ve/oprtn/pblc/sndMng/web/SndMngController.java
+++ b/src/main/java/kcc/ve/oprtn/pblc/sndMng/web/SndMngController.java
@@ -318,6 +318,12 @@ public class SndMngController {
* 메일 발송
*/
+ /**
+ * @param vEEduAplctVO
+ * @param model
+ * @return
+ * @throws Exception
+ */
@RequestMapping(value="emailSndAjax.do")
public ModelAndView emailSndAjax(
VEEduAplctVO vEEduAplctVO
@@ -359,25 +365,25 @@ public class SndMngController {
String result = sendMail.VeSendMail(vEEduAplctVO.getSndFlag(), vEEduAplctVO.getEmail(), vEEduAplctVO, loginVO);
+
if("success".equals(result)) {
//메일 발송 로그
- String snd_ord = sndGnrService.getNextStringId();
- vEEduAplctVO.setSndHstryOrd(snd_ord);
-
- vEEduAplctVO.setSndId(loginVO.getUniqId());
-
- vEEduAplctSndHstryService.insert(vEEduAplctVO);
- }
- //메일 발송 부 끝
-
+ String snd_ord = sndGnrService.getNextStringId();
+ vEEduAplctVO.setSndHstryOrd(snd_ord);
+
+ vEEduAplctVO.setSndId(loginVO.getUniqId());
+
+ vEEduAplctSndHstryService.insert(vEEduAplctVO);
+ }
+
+ //메일 발송 부 끝
modelAndView.addObject("result", result);
+
return modelAndView;
}
-
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//
diff --git a/src/main/webapp/WEB-INF/decorators.xml b/src/main/webapp/WEB-INF/decorators.xml
index 0958ee2c..0b8a7468 100644
--- a/src/main/webapp/WEB-INF/decorators.xml
+++ b/src/main/webapp/WEB-INF/decorators.xml
@@ -14,6 +14,7 @@
/web/survey/surveyResultPreview.do
+ /web/survey/jsontest.do
/web/ve/aplct/tngrVisitEdu/lctrSrvy/lctrSrvyReg.do
*/web/ve/**/*Popup*
@@ -39,6 +40,7 @@
*/oprtn/cmm/SchduleManagerPopDetail.jsp
*/oprtn/cmm/SchduleManagerPopDetailAdult.jsp
*/oprtn/cmm/rejectPopup.jsp
+ */oprtn/comm/popup/**