--- base/src/main/java/egovframework/com/mng/uss/ion/bnr/web/BannerController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/bnr/web/BannerManageController.java
... | ... | @@ -33,8 +33,8 @@ |
| 33 | 33 |
import egovframework.rte.fdl.string.EgovStringUtil; |
| 34 | 34 |
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
| 35 | 35 |
|
| 36 |
-@Controller("MngEgovBannerController")
|
|
| 37 |
-public class BannerController {
|
|
| 36 |
+@Controller |
|
| 37 |
+public class BannerManageController {
|
|
| 38 | 38 |
|
| 39 | 39 |
@Resource(name = "egovMessageSource") |
| 40 | 40 |
EgovMessageSource egovMessageSource; |
... | ... | @@ -108,7 +108,7 @@ |
| 108 | 108 |
} |
| 109 | 109 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 110 | 110 |
|
| 111 |
- return "/mng/uss/ion/bnr/EgovBannerList"; |
|
| 111 |
+ return "/mng/uss/ion/bnr/BannerList"; |
|
| 112 | 112 |
} |
| 113 | 113 |
|
| 114 | 114 |
//배너등록 화면으로 이동한다. |
... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 |
|
| 136 | 136 |
request.getSession().setAttribute("sessionVO", bannerVO);
|
| 137 | 137 |
|
| 138 |
- return "/mng/uss/ion/bnr/EgovBannerRegist"; |
|
| 138 |
+ return "/mng/uss/ion/bnr/BannerRegist"; |
|
| 139 | 139 |
} |
| 140 | 140 |
|
| 141 | 141 |
//배너정보를 신규로 등록한다. |
... | ... | @@ -145,8 +145,6 @@ |
| 145 | 145 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 146 | 146 |
return "forward:/mng/uss/ion/bnr/selectBannerList.do"; |
| 147 | 147 |
} |
| 148 |
- |
|
| 149 |
- |
|
| 150 | 148 |
|
| 151 | 149 |
LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 152 | 150 |
|
... | ... | @@ -191,13 +189,11 @@ |
| 191 | 189 |
|
| 192 | 190 |
//기 등록된 배너정보를 수정한다. |
| 193 | 191 |
@RequestMapping(value = "/mng/uss/ion/bnr/updtBanner.do") |
| 194 |
- public String updateBanner(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BannerVO bannerVO, BindingResult bindingResult,
|
|
| 195 |
- HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 192 |
+ public String updateBanner(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BannerVO bannerVO, BindingResult bindingResult, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 196 | 193 |
|
| 197 | 194 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 198 | 195 |
return "forward:/mng/uss/ion/bnr/selectBannerList.do"; |
| 199 | 196 |
} |
| 200 |
- |
|
| 201 | 197 |
|
| 202 | 198 |
LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 203 | 199 |
|
... | ... | @@ -279,7 +275,7 @@ |
| 279 | 275 |
|
| 280 | 276 |
request.getSession().setAttribute("sessionVO", bannerVO);
|
| 281 | 277 |
|
| 282 |
- return "/mng/uss/ion/bnr/EgovBannerRegist"; |
|
| 278 |
+ return "/mng/uss/ion/bnr/BannerRegist"; |
|
| 283 | 279 |
} |
| 284 | 280 |
|
| 285 | 281 |
//기 등록된 배너정보를 삭제한다. |
--- base/src/main/java/egovframework/com/mng/uss/ion/pwm/web/EgovPopupManageController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/pwm/web/PopupManageController.java
... | ... | @@ -1,7 +1,6 @@ |
| 1 | 1 |
package egovframework.com.mng.uss.ion.pwm.web; |
| 2 | 2 |
|
| 3 | 3 |
import java.util.ArrayList; |
| 4 |
-import java.util.HashMap; |
|
| 5 | 4 |
import java.util.List; |
| 6 | 5 |
import java.util.Map; |
| 7 | 6 |
|
... | ... | @@ -23,23 +22,19 @@ |
| 23 | 22 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 24 | 23 |
import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
| 25 | 24 |
import egovframework.com.sym.sit.service.SiteManageService; |
| 26 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 27 | 25 |
import egovframework.com.uat.uia.service.LoginVO; |
| 28 |
-import egovframework.com.uss.ion.pwm.service.EgovPopupManageService; |
|
| 26 |
+import egovframework.com.uss.ion.pwm.service.PopupManageService; |
|
| 29 | 27 |
import egovframework.com.uss.ion.pwm.service.PopupManageVO; |
| 30 | 28 |
import egovframework.rte.fdl.property.EgovPropertyService; |
| 31 | 29 |
import egovframework.rte.fdl.string.EgovStringUtil; |
| 32 | 30 |
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
| 33 | 31 |
|
| 34 |
-@Controller("MngEgovPopupManageController")
|
|
| 35 |
-public class EgovPopupManageController {
|
|
| 32 |
+@Controller |
|
| 33 |
+public class PopupManageController {
|
|
| 36 | 34 |
protected Log log = LogFactory.getLog(this.getClass()); |
| 37 | 35 |
|
| 38 |
- @Autowired |
|
| 39 |
- private DefaultBeanValidator beanValidator; |
|
| 40 |
- |
|
| 41 | 36 |
@Resource(name = "siteManageService") |
| 42 |
- SiteManageService siteManageService; |
|
| 37 |
+ SiteManageService siteManageService; |
|
| 43 | 38 |
|
| 44 | 39 |
/** EgovMessageSource */ |
| 45 | 40 |
@Resource(name = "egovMessageSource") |
... | ... | @@ -49,20 +44,13 @@ |
| 49 | 44 |
@Resource(name = "propertiesService") |
| 50 | 45 |
protected EgovPropertyService propertiesService; |
| 51 | 46 |
|
| 52 |
- /** EgovPopupManageService */ |
|
| 53 |
- @Resource(name = "egovPopupManageService") |
|
| 54 |
- private EgovPopupManageService egovPopupManageService; |
|
| 47 |
+ @Resource(name = "popupManageService") |
|
| 48 |
+ private PopupManageService popupManageService; |
|
| 55 | 49 |
|
| 56 |
- /** |
|
| 57 |
- * 팝업창 목록을 조회한다. |
|
| 58 |
- * @param popupManageVO |
|
| 59 |
- * @param model |
|
| 60 |
- * @return "/mng/uss/ion/pwm/listPopupManage" |
|
| 61 |
- * @throws Exception |
|
| 62 |
- */ |
|
| 50 |
+ //팝업창 목록을 조회한다. |
|
| 63 | 51 |
@RequestMapping(value = "/mng/uss/ion/pwm/listPopup.do") |
| 64 | 52 |
public String EgovPopupManageList( |
| 65 |
- @ModelAttribute("searchVO") PopupManageVO popupManageVO,
|
|
| 53 |
+ @ModelAttribute("searchVO") PopupManageVO popupManageVO,
|
|
| 66 | 54 |
ModelMap model, HttpServletRequest request, HttpServletResponse response) |
| 67 | 55 |
throws Exception {
|
| 68 | 56 |
|
... | ... | @@ -96,40 +84,24 @@ |
| 96 | 84 |
popupManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 97 | 85 |
|
| 98 | 86 |
if(!EgovStringUtil.isEmpty(popupManageVO.getSiteId())) {
|
| 99 |
- model.addAttribute("resultList", egovPopupManageService.selectPopupList(popupManageVO));
|
|
| 87 |
+ model.addAttribute("resultList", popupManageService.selectPopupList(popupManageVO));
|
|
| 100 | 88 |
|
| 101 |
- int totCnt = (Integer) egovPopupManageService.selectPopupListCount(popupManageVO); |
|
| 89 |
+ int totCnt = (Integer) popupManageService.selectPopupListCount(popupManageVO); |
|
| 102 | 90 |
paginationInfo.setTotalRecordCount(totCnt); |
| 103 | 91 |
} |
| 104 | 92 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 105 | 93 |
|
| 106 |
- return "/mng/uss/ion/pwm/EgovPopupList"; |
|
| 94 |
+ return "/mng/uss/ion/pwm/PopupList"; |
|
| 107 | 95 |
} |
| 108 | 96 |
|
| 109 | 97 |
|
| 110 |
- /** |
|
| 111 |
- * 팝업창을 수정한다. |
|
| 112 |
- * @param searchVO |
|
| 113 |
- * @param popupManageVO |
|
| 114 |
- * @param bindingResult |
|
| 115 |
- * @param model |
|
| 116 |
- * @return |
|
| 117 |
- * "/mng/uss/ion/pwm/updtPopupManage" |
|
| 118 |
- * @throws Exception |
|
| 119 |
- */ |
|
| 98 |
+ //팝업창을 수정한다. |
|
| 120 | 99 |
@RequestMapping(value = "/mng/uss/ion/pwm/updtPopup.do") |
| 121 |
- public String EgovPopupManageUpdt( |
|
| 122 |
- Map commandMap, |
|
| 123 |
- @ModelAttribute("searchVO") PopupManageVO popupManageVO,
|
|
| 124 |
- BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 125 |
- // 0. Spring Security 사용자권한 처리 |
|
| 126 |
- |
|
| 100 |
+ public String EgovPopupManageUpdt(@ModelAttribute("searchVO") PopupManageVO popupManageVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 127 | 101 |
// 로그인 객체 선언 |
| 128 | 102 |
LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 129 | 103 |
|
| 130 |
- String sLocationUrl = "/mng/uss/ion/pwm/EgovPopupRegist"; |
|
| 131 |
- |
|
| 132 |
- String sCmd = commandMap.get("cmd") == null ? "" : (String) commandMap.get("cmd");
|
|
| 104 |
+ String sLocationUrl = "/mng/uss/ion/pwm/PopupRegist"; |
|
| 133 | 105 |
|
| 134 | 106 |
//팝업창시작일자(시) |
| 135 | 107 |
model.addAttribute("ntceBgndeHH", getTimeHH());
|
... | ... | @@ -139,70 +111,50 @@ |
| 139 | 111 |
model.addAttribute("ntceEnddeHH", getTimeHH());
|
| 140 | 112 |
//팝업창정료일자(분) |
| 141 | 113 |
model.addAttribute("ntceEnddeMM", getTimeMM());
|
| 142 |
- |
|
| 143 |
- if (sCmd.equals("save")) {
|
|
| 144 |
- |
|
| 114 |
+ |
|
| 115 |
+ if ("save".equals(popupManageVO.getCmd())){
|
|
| 145 | 116 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 146 | 117 |
return "forward:/mng/uss/ion/pwm/listPopup.do"; |
| 147 | 118 |
} |
| 148 |
- |
|
| 149 |
- //서버 validate 체크 |
|
| 150 |
- beanValidator.validate(popupManageVO, bindingResult); |
|
| 151 |
- if(bindingResult.hasErrors()){
|
|
| 152 |
- return sLocationUrl; |
|
| 153 |
- } |
|
| 119 |
+ |
|
| 154 | 120 |
//아이디 설정 |
| 155 | 121 |
popupManageVO.setLastUpdusrId(loginVO.getId()); |
| 156 | 122 |
//저장 |
| 157 |
- egovPopupManageService.updatePopup(popupManageVO); |
|
| 158 |
- |
|
| 123 |
+ popupManageService.updatePopup(popupManageVO); |
|
| 124 |
+ |
|
| 159 | 125 |
request.getSession().removeAttribute("sessionVO");
|
| 160 |
- |
|
| 126 |
+ |
|
| 161 | 127 |
sLocationUrl = "forward:/mng/uss/ion/pwm/listPopup.do"; |
| 162 | 128 |
} else {
|
| 163 |
- |
|
| 164 |
- PopupManageVO popupManageVOs = egovPopupManageService.selectPopup(popupManageVO); |
|
| 165 |
- |
|
| 129 |
+ |
|
| 130 |
+ PopupManageVO popupManageVOs = popupManageService.selectPopup(popupManageVO); |
|
| 131 |
+ |
|
| 166 | 132 |
String sNtceBgnde = popupManageVOs.getNtceBgnde(); |
| 167 | 133 |
String sNtceEndde = popupManageVOs.getNtceEndde(); |
| 168 |
- |
|
| 134 |
+ |
|
| 169 | 135 |
popupManageVOs.setNtceBgndeHH(sNtceBgnde.substring(8, 10)); |
| 170 | 136 |
popupManageVOs.setNtceBgndeMM(sNtceBgnde.substring(10, 12)); |
| 171 |
- |
|
| 137 |
+ |
|
| 172 | 138 |
popupManageVOs.setNtceEnddeHH(sNtceEndde.substring(8, 10)); |
| 173 | 139 |
popupManageVOs.setNtceEnddeMM(sNtceEndde.substring(10, 12)); |
| 174 |
- |
|
| 140 |
+ |
|
| 175 | 141 |
model.addAttribute("popupManageVO", popupManageVOs);
|
| 176 |
- |
|
| 142 |
+ |
|
| 177 | 143 |
request.getSession().setAttribute("sessionVO", popupManageVO);
|
| 178 | 144 |
} |
| 179 | 145 |
|
| 180 | 146 |
return sLocationUrl; |
| 181 | 147 |
} |
| 182 | 148 |
|
| 183 |
- /** |
|
| 184 |
- * 팝업창을 등록한다. |
|
| 185 |
- * @param searchVO |
|
| 186 |
- * @param popupManageVO |
|
| 187 |
- * @param bindingResult |
|
| 188 |
- * @param model |
|
| 189 |
- * @return |
|
| 190 |
- * "/mng/uss/ion/pwm/registPopupManage" |
|
| 191 |
- * @throws Exception |
|
| 192 |
- */ |
|
| 149 |
+ //팝업창을 등록한다. |
|
| 193 | 150 |
@RequestMapping(value = "/mng/uss/ion/pwm/registPopup.do") |
| 194 |
- public String EgovPopupManageRegist( |
|
| 195 |
- Map commandMap, |
|
| 196 |
- @ModelAttribute("searchVO") PopupManageVO popupManageVO,
|
|
| 197 |
- BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 151 |
+ public String EgovPopupManageRegist(@ModelAttribute("searchVO") PopupManageVO popupManageVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 198 | 152 |
|
| 199 | 153 |
// 로그인 객체 선언 |
| 200 | 154 |
LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 201 | 155 |
|
| 202 |
- String sLocationUrl = "/mng/uss/ion/pwm/EgovPopupRegist"; |
|
| 156 |
+ String sLocationUrl = "/mng/uss/ion/pwm/PopupRegist"; |
|
| 203 | 157 |
|
| 204 |
- String sCmd = commandMap.get("cmd") == null ? "" : (String) commandMap.get("cmd");
|
|
| 205 |
- |
|
| 206 | 158 |
//팝업창시작일자(시) |
| 207 | 159 |
model.addAttribute("ntceBgndeHH", getTimeHH());
|
| 208 | 160 |
//팝업창시작일자(분) |
... | ... | @@ -212,61 +164,39 @@ |
| 212 | 164 |
//팝업창정료일자(분) |
| 213 | 165 |
model.addAttribute("ntceEnddeMM", getTimeMM());
|
| 214 | 166 |
|
| 215 |
- if (sCmd.equals("save")) {
|
|
| 216 |
- |
|
| 167 |
+ if ("save".equals(popupManageVO.getCmd())){
|
|
| 217 | 168 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 218 | 169 |
return "forward:/mng/uss/ion/pwm/listPopup.do"; |
| 219 | 170 |
} |
| 220 |
- |
|
| 221 |
- //서버 validate 체크 |
|
| 222 |
- beanValidator.validate(popupManageVO, bindingResult); |
|
| 223 |
- if(bindingResult.hasErrors()){
|
|
| 224 |
- return sLocationUrl; |
|
| 225 |
- } |
|
| 171 |
+ |
|
| 226 | 172 |
//아이디 설정 |
| 227 | 173 |
popupManageVO.setFrstRegisterId((String)loginVO.getId()); |
| 228 | 174 |
//저장 |
| 229 |
- egovPopupManageService.insertPopup(popupManageVO); |
|
| 230 |
- |
|
| 175 |
+ popupManageService.insertPopup(popupManageVO); |
|
| 176 |
+ |
|
| 231 | 177 |
request.getSession().removeAttribute("sessionVO");
|
| 232 |
- |
|
| 178 |
+ |
|
| 233 | 179 |
sLocationUrl = "forward:/mng/uss/ion/pwm/listPopup.do"; |
| 234 | 180 |
} else {
|
| 235 |
- |
|
| 236 | 181 |
model.addAttribute("popupManageVO", popupManageVO);
|
| 237 |
- |
|
| 238 | 182 |
request.getSession().setAttribute("sessionVO", popupManageVO);
|
| 239 | 183 |
} |
| 240 |
- |
|
| 241 |
- |
|
| 242 |
- |
|
| 184 |
+ |
|
| 243 | 185 |
return sLocationUrl; |
| 244 | 186 |
} |
| 245 | 187 |
|
| 246 |
- /** |
|
| 247 |
- * 팝업창을 삭제한다. |
|
| 248 |
- * @param popupManageVO |
|
| 249 |
- * @param commandMap |
|
| 250 |
- * @param model |
|
| 251 |
- * @return |
|
| 252 |
- * "/mng/uss/ion/pwm/detailPopupManage" |
|
| 253 |
- * @throws Exception |
|
| 254 |
- */ |
|
| 188 |
+ //팝업창을 삭제한다. |
|
| 255 | 189 |
@RequestMapping(value = "/mng/uss/ion/pwm/deletePopup.do") |
| 256 | 190 |
public String deletePopup(@ModelAttribute("searchVO") PopupManageVO popupManageVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
| 257 | 191 |
|
| 258 | 192 |
LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 259 | 193 |
popupManageVO.setLastUpdusrId(loginVO.getId()); |
| 260 |
- egovPopupManageService.deletePopup(popupManageVO); |
|
| 194 |
+ popupManageService.deletePopup(popupManageVO); |
|
| 261 | 195 |
|
| 262 | 196 |
return "forward:/mng/uss/ion/pwm/listPopup.do"; |
| 263 | 197 |
} |
| 264 | 198 |
|
| 265 |
- /** |
|
| 266 |
- * 시간을 LIST를 반환한다. |
|
| 267 |
- * @return List |
|
| 268 |
- * @throws |
|
| 269 |
- */ |
|
| 199 |
+ //시간을 LIST를 반환한다. |
|
| 270 | 200 |
private List<CmmnDetailCodeVO> getTimeHH (){
|
| 271 | 201 |
ArrayList<CmmnDetailCodeVO> listHH = new ArrayList<CmmnDetailCodeVO>(); |
| 272 | 202 |
|
... | ... | @@ -288,11 +218,7 @@ |
| 288 | 218 |
|
| 289 | 219 |
return listHH; |
| 290 | 220 |
} |
| 291 |
- /** |
|
| 292 |
- * 분을 LIST를 반환한다. |
|
| 293 |
- * @return List |
|
| 294 |
- * @throws |
|
| 295 |
- */ |
|
| 221 |
+ //분을 LIST를 반환한다. |
|
| 296 | 222 |
private List<CmmnDetailCodeVO> getTimeMM (){
|
| 297 | 223 |
ArrayList<CmmnDetailCodeVO> listMM = new ArrayList<CmmnDetailCodeVO>(); |
| 298 | 224 |
for(int i=0;i <= 60; i++){
|
... | ... | @@ -313,11 +239,7 @@ |
| 313 | 239 |
} |
| 314 | 240 |
return listMM; |
| 315 | 241 |
} |
| 316 |
- /** |
|
| 317 |
- * 0을 붙여 반환 |
|
| 318 |
- * @return String |
|
| 319 |
- * @throws |
|
| 320 |
- */ |
|
| 242 |
+ //0을 붙여 반환 |
|
| 321 | 243 |
public String DateTypeIntForString(int iInput){
|
| 322 | 244 |
String sOutput = ""; |
| 323 | 245 |
if(Integer.toString(iInput).length() == 1){
|
--- base/src/main/java/egovframework/com/msi/web/ContentsServiceController.java
+++ base/src/main/java/egovframework/com/msi/web/ContentsServiceController.java
... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
import egovframework.com.uat.uia.service.LoginVO; |
| 27 | 27 |
import egovframework.com.uss.ion.bnr.service.BannerVO; |
| 28 | 28 |
import egovframework.com.uss.ion.bnr.service.BannerService; |
| 29 |
-import egovframework.com.uss.ion.pwm.service.EgovPopupManageService; |
|
| 29 |
+import egovframework.com.uss.ion.pwm.service.PopupManageService; |
|
| 30 | 30 |
import egovframework.com.uss.ion.pwm.service.PopupManageVO; |
| 31 | 31 |
import egovframework.com.uss.ion.sit.service.EgovLinkSiteManageService; |
| 32 | 32 |
import egovframework.com.uss.ion.sit.service.LinkSiteManageVO; |
... | ... | @@ -38,14 +38,7 @@ |
| 38 | 38 |
import egovframework.com.evt.service.ComtnschdulinfoService; |
| 39 | 39 |
import egovframework.com.evt.service.ComtnschdulinfoVO; |
| 40 | 40 |
|
| 41 |
-/** |
|
| 42 |
- * 컨텐츠 서비스 컨트롤러 클래스 |
|
| 43 |
- * |
|
| 44 |
- * @author 정정욱 |
|
| 45 |
- * @since 2011.05.24 |
|
| 46 |
- * @version 1.0 |
|
| 47 |
- * @see |
|
| 48 |
- */ |
|
| 41 |
+//컨텐츠 서비스 컨트롤러 클래스 |
|
| 49 | 42 |
@Controller |
| 50 | 43 |
public class ContentsServiceController {
|
| 51 | 44 |
|
... | ... | @@ -75,8 +68,8 @@ |
| 75 | 68 |
@Resource(name = "bannerService") |
| 76 | 69 |
BannerService bannerService; |
| 77 | 70 |
|
| 78 |
- @Resource(name = "egovPopupManageService") |
|
| 79 |
- private EgovPopupManageService egovPopupManageService; |
|
| 71 |
+ @Resource(name = "popupManageService") |
|
| 72 |
+ private PopupManageService popupManageService; |
|
| 80 | 73 |
|
| 81 | 74 |
@Resource(name = "LinkSiteManageService") |
| 82 | 75 |
EgovLinkSiteManageService egovLinkSiteManageService; |
... | ... | @@ -347,7 +340,7 @@ |
| 347 | 340 |
PopupManageVO popupManageVO = new PopupManageVO(); |
| 348 | 341 |
popupManageVO.setSiteId(siteVO.getSiteId()); |
| 349 | 342 |
popupManageVO.setSysTyCode(siteVO.getSysTyCode()); |
| 350 |
- model.addAttribute("popupList", egovPopupManageService.selectPopupServiceList(popupManageVO));
|
|
| 343 |
+ model.addAttribute("popupList", popupManageService.selectPopupServiceList(popupManageVO));
|
|
| 351 | 344 |
|
| 352 | 345 |
return "/msi/svc/popupService"; |
| 353 | 346 |
} |
--- base/src/main/java/egovframework/com/uss/ion/bnr/web/EgovBannerController.java
+++ base/src/main/java/egovframework/com/uss/ion/bnr/web/BannerController.java
... | ... | @@ -16,8 +16,8 @@ |
| 16 | 16 |
import egovframework.com.uss.ion.bnr.service.BannerService; |
| 17 | 17 |
import egovframework.rte.fdl.property.EgovPropertyService; |
| 18 | 18 |
|
| 19 |
-@Controller("EgovBannerController")
|
|
| 20 |
-public class EgovBannerController {
|
|
| 19 |
+@Controller |
|
| 20 |
+public class BannerController {
|
|
| 21 | 21 |
|
| 22 | 22 |
@Resource(name = "egovMessageSource") |
| 23 | 23 |
EgovMessageSource egovMessageSource; |
... | ... | @@ -47,6 +47,6 @@ |
| 47 | 47 |
//배너 웹경로. |
| 48 | 48 |
model.addAttribute("BannerFileStoreWebPath", propertyService.getString("Banner.fileStoreWebPath"));
|
| 49 | 49 |
|
| 50 |
- return "/uss/ion/bnr/EgovBannerList"; |
|
| 50 |
+ return "/uss/ion/bnr/BannerList"; |
|
| 51 | 51 |
} |
| 52 | 52 |
} |
--- base/src/main/java/egovframework/com/uss/ion/pwm/service/EgovPopupManageService.java
... | ... | @@ -1,86 +0,0 @@ |
| 1 | -package egovframework.com.uss.ion.pwm.service; | |
| 2 | -import java.util.List; | |
| 3 | -/** | |
| 4 | - * 개요 | |
| 5 | - * - 팝업창에 대한 Service Interface를 정의한다. | |
| 6 | - * | |
| 7 | - * 상세내용 | |
| 8 | - * - 팝업창에 대한 등록, 수정, 삭제, 조회, 반영확인 기능을 제공한다. | |
| 9 | - * - 팝업창의 조회기능은 목록조회, 상세조회, 팝업사용자 보기로 구분된다. | |
| 10 | - * @author 이창원 | |
| 11 | - * @version 1.0 | |
| 12 | - * @created 05-8-2009 오후 2:19:58 | |
| 13 | - */ | |
| 14 | -public interface EgovPopupManageService {
| |
| 15 | - | |
| 16 | - /** | |
| 17 | - * 기 등록된 팝업창정보를 삭제한다. | |
| 18 | - * @param popupManage - 팝업창 model | |
| 19 | - * @return boolean - 반영성공 여부 | |
| 20 | - * | |
| 21 | - * @param popupManage | |
| 22 | - */ | |
| 23 | - public void deletePopup(PopupManageVO popupManageVO) throws Exception; | |
| 24 | - | |
| 25 | - /** | |
| 26 | - * 팝업창정보를 신규로 등록한다. | |
| 27 | - * @param popupManage - 팝업창 model | |
| 28 | - * @return boolean - 반영성공 여부 | |
| 29 | - * | |
| 30 | - * @param popupManage | |
| 31 | - */ | |
| 32 | - public void insertPopup(PopupManageVO popupManageVO) throws Exception; | |
| 33 | - | |
| 34 | - /** | |
| 35 | - * 기 등록된 팝업창정보를 수정한다. | |
| 36 | - * @param popupManage - 팝업창 model | |
| 37 | - * @return boolean - 반영성공 여부 | |
| 38 | - * | |
| 39 | - * @param popupManage | |
| 40 | - */ | |
| 41 | - public void updatePopup(PopupManageVO popupManageVO) throws Exception; | |
| 42 | - | |
| 43 | - /** | |
| 44 | - * 팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. | |
| 45 | - * @param popupManageVO - 팝업창 Vo | |
| 46 | - * @return popupManageVO - 팝업창 Vo | |
| 47 | - * | |
| 48 | - * @param popupManageVO | |
| 49 | - */ | |
| 50 | - public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception; | |
| 51 | - | |
| 52 | - /** | |
| 53 | - * 팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 54 | - * @param popupManageVO - 팝업창 Vo | |
| 55 | - * @return List - 팝업창 목록 | |
| 56 | - * | |
| 57 | - * @param popupManageVO | |
| 58 | - */ | |
| 59 | - public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception; | |
| 60 | - | |
| 61 | - /** | |
| 62 | - * 팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 63 | - * @param popupManageVO - 팝업창 Vo | |
| 64 | - * @return List - 팝업창 목록 | |
| 65 | - * | |
| 66 | - * @param popupManageVO | |
| 67 | - */ | |
| 68 | - public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception; | |
| 69 | - | |
| 70 | - /** | |
| 71 | - * 서비스팝업리스트 조회 | |
| 72 | - * @param popupManageVO - 팝업창 Vo | |
| 73 | - * @return List - 팝업창 목록 | |
| 74 | - * | |
| 75 | - * @param popupManageVO | |
| 76 | - */ | |
| 77 | - public List<PopupManageVO> selectPopupServiceList(PopupManageVO popupManageVO) throws Exception; | |
| 78 | - | |
| 79 | - /** | |
| 80 | - * 서비스용 팝업을 조회한다. | |
| 81 | - * | |
| 82 | - * @param PopupManageVO | |
| 83 | - */ | |
| 84 | - public PopupManageVO selectPopupService(PopupManageVO vo) throws Exception; | |
| 85 | - | |
| 86 | -}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/uss/ion/pwm/service/PopupManage.java
... | ... | @@ -1,516 +0,0 @@ |
| 1 | -package egovframework.com.uss.ion.pwm.service; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | -import egovframework.com.cmm.ComDefaultVO; | |
| 5 | -import egovframework.com.utl.fcc.service.EgovDateUtil; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * 개요 | |
| 9 | - * - 팝업창에 대한 model 클래스를 정의한다. | |
| 10 | - * | |
| 11 | - * 상세내용 | |
| 12 | - * - 팝업창의 팝업창아이디, 팝업창 타이틀명, 실파일 URL, 파업창이 화면에 보여지는 위치정보, 팝업창의 사이즈, 게시시작일, 게시종료일, | |
| 13 | - * 그만보기 설정 여부, 게시여부 항목을 관리한다. | |
| 14 | - * @author 이창원 | |
| 15 | - * @version 1.0 | |
| 16 | - * @created 05-8-2009 오후 2:21:03 | |
| 17 | - */ | |
| 18 | -@SuppressWarnings("serial")
| |
| 19 | -public class PopupManage extends ComDefaultVO implements Serializable {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * 팝업창아이디 | |
| 23 | - */ | |
| 24 | - private String popupId; | |
| 25 | - /** | |
| 26 | - * 팝업창 타이틀명 | |
| 27 | - */ | |
| 28 | - private String popupTitleNm; | |
| 29 | - /** | |
| 30 | - * 실파일 URL | |
| 31 | - */ | |
| 32 | - private String fileUrl; | |
| 33 | - /** | |
| 34 | - * 팝업창이 화면에 보여지는 가로 위치정보 | |
| 35 | - */ | |
| 36 | - private String popupWlc; | |
| 37 | - | |
| 38 | - /** | |
| 39 | - * 팝업창이 화면에 보여지는 세로 위치정보 | |
| 40 | - */ | |
| 41 | - private String popupHlc; | |
| 42 | - | |
| 43 | - /** | |
| 44 | - * 팝업창의 높이 | |
| 45 | - */ | |
| 46 | - private String popupHSize; | |
| 47 | - | |
| 48 | - /** | |
| 49 | - * 팝업창의 넚이 | |
| 50 | - */ | |
| 51 | - private String popupWSize; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * 게시시작일 | |
| 55 | - */ | |
| 56 | - private String ntceBgnde = EgovDateUtil.getToday(); | |
| 57 | - /** | |
| 58 | - * 게시종료일 | |
| 59 | - */ | |
| 60 | - private String ntceEndde = EgovDateUtil.addDay(EgovDateUtil.getToday(), 7); | |
| 61 | - | |
| 62 | - /** 게시시작일(시간) */ | |
| 63 | - private String ntceBgndeHH; | |
| 64 | - | |
| 65 | - /** 게시시작일(분) */ | |
| 66 | - private String ntceBgndeMM; | |
| 67 | - | |
| 68 | - /** 게시종료일(시간) */ | |
| 69 | - private String ntceEnddeHH; | |
| 70 | - | |
| 71 | - /** 게시종료일(분) */ | |
| 72 | - private String ntceEnddeMM; | |
| 73 | - | |
| 74 | - /** | |
| 75 | - * 그만보기 설정 여부 | |
| 76 | - */ | |
| 77 | - private String stopVewAt = "Y"; | |
| 78 | - /** | |
| 79 | - * 게시여부 | |
| 80 | - */ | |
| 81 | - private String ntceAt = "Y"; | |
| 82 | - | |
| 83 | - /** 최초등록시점 */ | |
| 84 | - private java.util.Date frstRegisterPnttm; | |
| 85 | - | |
| 86 | - /** 최초등록아이디 */ | |
| 87 | - private String frstRegisterId; | |
| 88 | - | |
| 89 | - /** 최종수정일 */ | |
| 90 | - private java.util.Date lastUpdusrPnttm; | |
| 91 | - | |
| 92 | - /** 최종수정자 아이디 */ | |
| 93 | - private String lastUpdusrId; | |
| 94 | - | |
| 95 | - /** 팝업내용 */ | |
| 96 | - private String popupCn; | |
| 97 | - | |
| 98 | - /** 팝업목록여부*/ | |
| 99 | - private String popupListAt = "N"; | |
| 100 | - | |
| 101 | - /** SITE ID*/ | |
| 102 | - private String siteId; | |
| 103 | - | |
| 104 | - /** SYS_TY_CODE */ | |
| 105 | - private String sysTyCode; | |
| 106 | - | |
| 107 | - /** ATCH_FILE_ID */ | |
| 108 | - private java.lang.String atchFileId = ""; | |
| 109 | - | |
| 110 | - public PopupManage(){}
| |
| 111 | - | |
| 112 | - /** | |
| 113 | - * popupId 리턴 | |
| 114 | - * | |
| 115 | - * @return the popupId | |
| 116 | - */ | |
| 117 | - public String getPopupId() {
| |
| 118 | - return popupId; | |
| 119 | - } | |
| 120 | - | |
| 121 | - /** | |
| 122 | - * popupId 설정 | |
| 123 | - * | |
| 124 | - * @param popupId the popupId to set | |
| 125 | - */ | |
| 126 | - public void setPopupId(String popupId) {
| |
| 127 | - this.popupId = popupId; | |
| 128 | - } | |
| 129 | - | |
| 130 | - /** | |
| 131 | - * popupTitleNm 리턴 | |
| 132 | - * | |
| 133 | - * @return the popupTitleNm | |
| 134 | - */ | |
| 135 | - public String getPopupTitleNm() {
| |
| 136 | - return popupTitleNm; | |
| 137 | - } | |
| 138 | - | |
| 139 | - /** | |
| 140 | - * popupTitleNm 설정 | |
| 141 | - * | |
| 142 | - * @param popupTitleNm the popupTitleNm to set | |
| 143 | - */ | |
| 144 | - public void setPopupTitleNm(String popupTitleNm) {
| |
| 145 | - this.popupTitleNm = popupTitleNm; | |
| 146 | - } | |
| 147 | - | |
| 148 | - /** | |
| 149 | - * fileUrl 리턴 | |
| 150 | - * | |
| 151 | - * @return the fileUrl | |
| 152 | - */ | |
| 153 | - public String getFileUrl() {
| |
| 154 | - return fileUrl; | |
| 155 | - } | |
| 156 | - | |
| 157 | - /** | |
| 158 | - * fileUrl 설정 | |
| 159 | - * | |
| 160 | - * @param fileUrl the fileUrl to set | |
| 161 | - */ | |
| 162 | - public void setFileUrl(String fileUrl) {
| |
| 163 | - this.fileUrl = fileUrl; | |
| 164 | - } | |
| 165 | - | |
| 166 | - /** | |
| 167 | - * popupWlc 리턴 | |
| 168 | - * | |
| 169 | - * @return the popupWlc | |
| 170 | - */ | |
| 171 | - public String getPopupWlc() {
| |
| 172 | - return popupWlc; | |
| 173 | - } | |
| 174 | - | |
| 175 | - /** | |
| 176 | - * popupWlc 설정 | |
| 177 | - * | |
| 178 | - * @param popupWlc the popupWlc to set | |
| 179 | - */ | |
| 180 | - public void setPopupWlc(String popupWlc) {
| |
| 181 | - this.popupWlc = popupWlc; | |
| 182 | - } | |
| 183 | - | |
| 184 | - /** | |
| 185 | - * popupHlc 리턴 | |
| 186 | - * | |
| 187 | - * @return the popupHlc | |
| 188 | - */ | |
| 189 | - public String getPopupHlc() {
| |
| 190 | - return popupHlc; | |
| 191 | - } | |
| 192 | - | |
| 193 | - /** | |
| 194 | - * popupHlc 설정 | |
| 195 | - * | |
| 196 | - * @param popupHlc the popupHlc to set | |
| 197 | - */ | |
| 198 | - public void setPopupHlc(String popupHlc) {
| |
| 199 | - this.popupHlc = popupHlc; | |
| 200 | - } | |
| 201 | - | |
| 202 | - /** | |
| 203 | - * popupHSize 리턴 | |
| 204 | - * | |
| 205 | - * @return the popupHSize | |
| 206 | - */ | |
| 207 | - public String getPopupHSize() {
| |
| 208 | - return popupHSize; | |
| 209 | - } | |
| 210 | - | |
| 211 | - /** | |
| 212 | - * popupHSize 설정 | |
| 213 | - * | |
| 214 | - * @param popupHSize the popupHSize to set | |
| 215 | - */ | |
| 216 | - public void setPopupHSize(String popupHSize) {
| |
| 217 | - this.popupHSize = popupHSize; | |
| 218 | - } | |
| 219 | - | |
| 220 | - /** | |
| 221 | - * popupWSize 리턴 | |
| 222 | - * | |
| 223 | - * @return the popupWSize | |
| 224 | - */ | |
| 225 | - public String getPopupWSize() {
| |
| 226 | - return popupWSize; | |
| 227 | - } | |
| 228 | - | |
| 229 | - /** | |
| 230 | - * popupWSize 설정 | |
| 231 | - * | |
| 232 | - * @param popupWSize the popupWSize to set | |
| 233 | - */ | |
| 234 | - public void setPopupWSize(String popupWSize) {
| |
| 235 | - this.popupWSize = popupWSize; | |
| 236 | - } | |
| 237 | - | |
| 238 | - /** | |
| 239 | - * ntceBgnde 리턴 | |
| 240 | - * | |
| 241 | - * @return the ntceBgnde | |
| 242 | - */ | |
| 243 | - public String getNtceBgnde() {
| |
| 244 | - return ntceBgnde; | |
| 245 | - } | |
| 246 | - | |
| 247 | - /** | |
| 248 | - * ntceBgnde 설정 | |
| 249 | - * | |
| 250 | - * @param ntceBgnde the ntceBgnde to set | |
| 251 | - */ | |
| 252 | - public void setNtceBgnde(String ntceBgnde) {
| |
| 253 | - this.ntceBgnde = ntceBgnde; | |
| 254 | - } | |
| 255 | - | |
| 256 | - /** | |
| 257 | - * ntceEndde 리턴 | |
| 258 | - * | |
| 259 | - * @return the ntceEndde | |
| 260 | - */ | |
| 261 | - public String getNtceEndde() {
| |
| 262 | - return ntceEndde; | |
| 263 | - } | |
| 264 | - | |
| 265 | - /** | |
| 266 | - * ntceEndde 설정 | |
| 267 | - * | |
| 268 | - * @param ntceEndde the ntceEndde to set | |
| 269 | - */ | |
| 270 | - public void setNtceEndde(String ntceEndde) {
| |
| 271 | - this.ntceEndde = ntceEndde; | |
| 272 | - } | |
| 273 | - | |
| 274 | - /** | |
| 275 | - * ntceBgndeHH 리턴 | |
| 276 | - * | |
| 277 | - * @return the ntceBgndeHH | |
| 278 | - */ | |
| 279 | - public String getNtceBgndeHH() {
| |
| 280 | - return ntceBgndeHH; | |
| 281 | - } | |
| 282 | - | |
| 283 | - /** | |
| 284 | - * ntceBgndeHH 설정 | |
| 285 | - * | |
| 286 | - * @param ntceBgndeHH the ntceBgndeHH to set | |
| 287 | - */ | |
| 288 | - public void setNtceBgndeHH(String ntceBgndeHH) {
| |
| 289 | - this.ntceBgndeHH = ntceBgndeHH; | |
| 290 | - } | |
| 291 | - | |
| 292 | - /** | |
| 293 | - * ntceBgndeMM 리턴 | |
| 294 | - * | |
| 295 | - * @return the ntceBgndeMM | |
| 296 | - */ | |
| 297 | - public String getNtceBgndeMM() {
| |
| 298 | - return ntceBgndeMM; | |
| 299 | - } | |
| 300 | - | |
| 301 | - /** | |
| 302 | - * ntceBgndeMM 설정 | |
| 303 | - * | |
| 304 | - * @param ntceBgndeMM the ntceBgndeMM to set | |
| 305 | - */ | |
| 306 | - public void setNtceBgndeMM(String ntceBgndeMM) {
| |
| 307 | - this.ntceBgndeMM = ntceBgndeMM; | |
| 308 | - } | |
| 309 | - | |
| 310 | - /** | |
| 311 | - * ntceEnddeHH 리턴 | |
| 312 | - * | |
| 313 | - * @return the ntceEnddeHH | |
| 314 | - */ | |
| 315 | - public String getNtceEnddeHH() {
| |
| 316 | - return ntceEnddeHH; | |
| 317 | - } | |
| 318 | - | |
| 319 | - /** | |
| 320 | - * ntceEnddeHH 설정 | |
| 321 | - * | |
| 322 | - * @param ntceEnddeHH the ntceEnddeHH to set | |
| 323 | - */ | |
| 324 | - public void setNtceEnddeHH(String ntceEnddeHH) {
| |
| 325 | - this.ntceEnddeHH = ntceEnddeHH; | |
| 326 | - } | |
| 327 | - | |
| 328 | - /** | |
| 329 | - * ntceEnddeMM 리턴 | |
| 330 | - * | |
| 331 | - * @return the ntceEnddeMM | |
| 332 | - */ | |
| 333 | - public String getNtceEnddeMM() {
| |
| 334 | - return ntceEnddeMM; | |
| 335 | - } | |
| 336 | - | |
| 337 | - /** | |
| 338 | - * ntceEnddeMM 설정 | |
| 339 | - * | |
| 340 | - * @param ntceEnddeMM the ntceEnddeMM to set | |
| 341 | - */ | |
| 342 | - public void setNtceEnddeMM(String ntceEnddeMM) {
| |
| 343 | - this.ntceEnddeMM = ntceEnddeMM; | |
| 344 | - } | |
| 345 | - | |
| 346 | - /** | |
| 347 | - * stopVewAt 리턴 | |
| 348 | - * | |
| 349 | - * @return the stopVewAt | |
| 350 | - */ | |
| 351 | - public String getStopVewAt() {
| |
| 352 | - return stopVewAt; | |
| 353 | - } | |
| 354 | - | |
| 355 | - /** | |
| 356 | - * stopVewAt 설정 | |
| 357 | - * | |
| 358 | - * @param stopVewAt the stopVewAt to set | |
| 359 | - */ | |
| 360 | - public void setStopVewAt(String stopVewAt) {
| |
| 361 | - this.stopVewAt = stopVewAt; | |
| 362 | - } | |
| 363 | - | |
| 364 | - /** | |
| 365 | - * ntceAt 리턴 | |
| 366 | - * | |
| 367 | - * @return the ntceAt | |
| 368 | - */ | |
| 369 | - public String getNtceAt() {
| |
| 370 | - return ntceAt; | |
| 371 | - } | |
| 372 | - | |
| 373 | - /** | |
| 374 | - * ntceAt 설정 | |
| 375 | - * | |
| 376 | - * @param ntceAt the ntceAt to set | |
| 377 | - */ | |
| 378 | - public void setNtceAt(String ntceAt) {
| |
| 379 | - this.ntceAt = ntceAt; | |
| 380 | - } | |
| 381 | - | |
| 382 | - /** | |
| 383 | - * frstRegisterPnttm 리턴 | |
| 384 | - * | |
| 385 | - * @return the frstRegisterPnttm | |
| 386 | - */ | |
| 387 | - public java.util.Date getFrstRegisterPnttm() {
| |
| 388 | - return frstRegisterPnttm; | |
| 389 | - } | |
| 390 | - | |
| 391 | - /** | |
| 392 | - * frstRegisterPnttm 설정 | |
| 393 | - * | |
| 394 | - * @param frstRegisterPnttm the frstRegisterPnttm to set | |
| 395 | - */ | |
| 396 | - public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
| |
| 397 | - this.frstRegisterPnttm = frstRegisterPnttm; | |
| 398 | - } | |
| 399 | - | |
| 400 | - /** | |
| 401 | - * frstRegisterId 리턴 | |
| 402 | - * | |
| 403 | - * @return the frstRegisterId | |
| 404 | - */ | |
| 405 | - public String getFrstRegisterId() {
| |
| 406 | - return frstRegisterId; | |
| 407 | - } | |
| 408 | - | |
| 409 | - /** | |
| 410 | - * frstRegisterId 설정 | |
| 411 | - * | |
| 412 | - * @param frstRegisterId the frstRegisterId to set | |
| 413 | - */ | |
| 414 | - public void setFrstRegisterId(String frstRegisterId) {
| |
| 415 | - this.frstRegisterId = frstRegisterId; | |
| 416 | - } | |
| 417 | - | |
| 418 | - /** | |
| 419 | - * lastUpdusrPnttm 리턴 | |
| 420 | - * | |
| 421 | - * @return the lastUpdusrPnttm | |
| 422 | - */ | |
| 423 | - public java.util.Date getLastUpdusrPnttm() {
| |
| 424 | - return lastUpdusrPnttm; | |
| 425 | - } | |
| 426 | - | |
| 427 | - /** | |
| 428 | - * lastUpdusrPnttm 설정 | |
| 429 | - * | |
| 430 | - * @param lastUpdusrPnttm the lastUpdusrPnttm to set | |
| 431 | - */ | |
| 432 | - public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
| |
| 433 | - this.lastUpdusrPnttm = lastUpdusrPnttm; | |
| 434 | - } | |
| 435 | - | |
| 436 | - /** | |
| 437 | - * lastUpdusrId 리턴 | |
| 438 | - * | |
| 439 | - * @return the lastUpdusrId | |
| 440 | - */ | |
| 441 | - public String getLastUpdusrId() {
| |
| 442 | - return lastUpdusrId; | |
| 443 | - } | |
| 444 | - | |
| 445 | - /** | |
| 446 | - * lastUpdusrId 설정 | |
| 447 | - * | |
| 448 | - * @param lastUpdusrId the lastUpdusrId to set | |
| 449 | - */ | |
| 450 | - public void setLastUpdusrId(String lastUpdusrId) {
| |
| 451 | - this.lastUpdusrId = lastUpdusrId; | |
| 452 | - } | |
| 453 | - | |
| 454 | - /** | |
| 455 | - * popupCn 리턴 | |
| 456 | - * | |
| 457 | - * @return the popupCn | |
| 458 | - */ | |
| 459 | - public String getPopupCn() {
| |
| 460 | - return popupCn; | |
| 461 | - } | |
| 462 | - | |
| 463 | - /** | |
| 464 | - * popupCn 설정 | |
| 465 | - * | |
| 466 | - * @param popupCn the popupCn to set | |
| 467 | - */ | |
| 468 | - public void setPopupCn(String popupCn) {
| |
| 469 | - this.popupCn = popupCn; | |
| 470 | - } | |
| 471 | - | |
| 472 | - public String getPopupListAt() {
| |
| 473 | - return popupListAt; | |
| 474 | - } | |
| 475 | - | |
| 476 | - public void setPopupListAt(String popupListAt) {
| |
| 477 | - this.popupListAt = popupListAt; | |
| 478 | - } | |
| 479 | - | |
| 480 | - /** | |
| 481 | - * siteId 리턴 | |
| 482 | - * | |
| 483 | - * @return the siteId | |
| 484 | - */ | |
| 485 | - public String getSiteId() {
| |
| 486 | - return siteId; | |
| 487 | - } | |
| 488 | - | |
| 489 | - /** | |
| 490 | - * siteId 설정 | |
| 491 | - * | |
| 492 | - * @param siteId the siteId to set | |
| 493 | - */ | |
| 494 | - public void setSiteId(String siteId) {
| |
| 495 | - this.siteId = siteId; | |
| 496 | - } | |
| 497 | - | |
| 498 | - public String getSysTyCode() {
| |
| 499 | - return sysTyCode; | |
| 500 | - } | |
| 501 | - | |
| 502 | - public void setSysTyCode(String sysTyCode) {
| |
| 503 | - this.sysTyCode = sysTyCode; | |
| 504 | - } | |
| 505 | - | |
| 506 | - public java.lang.String getAtchFileId() {
| |
| 507 | - return atchFileId; | |
| 508 | - } | |
| 509 | - | |
| 510 | - public void setAtchFileId(java.lang.String atchFileId) {
| |
| 511 | - this.atchFileId = atchFileId; | |
| 512 | - } | |
| 513 | - | |
| 514 | - | |
| 515 | - | |
| 516 | -}(파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/java/egovframework/com/uss/ion/pwm/service/PopupManageService.java
... | ... | @@ -0,0 +1,31 @@ |
| 1 | +package egovframework.com.uss.ion.pwm.service; | |
| 2 | +import java.util.List; | |
| 3 | + | |
| 4 | +//팝업창에 대한 Service Interface를 정의한다. | |
| 5 | +public interface PopupManageService { | |
| 6 | + | |
| 7 | + //기 등록된 팝업창정보를 삭제한다. | |
| 8 | + public void deletePopup(PopupManageVO popupManageVO) throws Exception; | |
| 9 | + | |
| 10 | + //팝업창정보를 신규로 등록한다. | |
| 11 | + public void insertPopup(PopupManageVO popupManageVO) throws Exception; | |
| 12 | + | |
| 13 | + //기 등록된 팝업창정보를 수정한다. | |
| 14 | + public void updatePopup(PopupManageVO popupManageVO) throws Exception; | |
| 15 | + | |
| 16 | + //팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. | |
| 17 | + public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception; | |
| 18 | + | |
| 19 | + //팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 20 | + public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception; | |
| 21 | + | |
| 22 | + //팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 23 | + public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception; | |
| 24 | + | |
| 25 | + //서비스팝업리스트 조회 | |
| 26 | + public List<PopupManageVO> selectPopupServiceList(PopupManageVO popupManageVO) throws Exception; | |
| 27 | + | |
| 28 | + //서비스용 팝업을 조회한다. | |
| 29 | + public PopupManageVO selectPopupService(PopupManageVO vo) throws Exception; | |
| 30 | + | |
| 31 | +}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/uss/ion/pwm/service/PopupManageVO.java
+++ base/src/main/java/egovframework/com/uss/ion/pwm/service/PopupManageVO.java
... | ... | @@ -1,23 +1,216 @@ |
| 1 | 1 |
package egovframework.com.uss.ion.pwm.service; |
| 2 |
-/** |
|
| 3 |
- * 개요 |
|
| 4 |
- * - 팝업창에 대한 Vo 클래스를 정의한다. |
|
| 5 |
- * |
|
| 6 |
- * 상세내용 |
|
| 7 |
- * - 팝업창의 목록 항목을 관리한다. |
|
| 8 |
- * @author 이창원 |
|
| 9 |
- * @version 1.0 |
|
| 10 |
- * @created 05-8-2009 오후 2:21:04 |
|
| 11 |
- */ |
|
| 12 |
-@SuppressWarnings("serial")
|
|
| 13 |
-public class PopupManageVO extends PopupManage {
|
|
| 14 | 2 |
|
| 15 |
- /** |
|
| 16 |
- * 임시첨부파일 그룹아이디 |
|
| 17 |
- */ |
|
| 3 |
+import egovframework.com.cmm.ComDefaultVO; |
|
| 4 |
+import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 5 |
+ |
|
| 6 |
+//팝업창에 대한 Vo 클래스를 정의한다. |
|
| 7 |
+@SuppressWarnings("serial")
|
|
| 8 |
+public class PopupManageVO extends ComDefaultVO {
|
|
| 9 |
+ |
|
| 10 |
+ //팝업창아이디 |
|
| 11 |
+ private String popupId; |
|
| 12 |
+ |
|
| 13 |
+ //팝업창 타이틀명 |
|
| 14 |
+ private String popupTitleNm; |
|
| 15 |
+ |
|
| 16 |
+ //실파일 URL |
|
| 17 |
+ private String fileUrl; |
|
| 18 |
+ |
|
| 19 |
+ //팝업창이 화면에 보여지는 가로 위치정보 |
|
| 20 |
+ private String popupWlc; |
|
| 21 |
+ |
|
| 22 |
+ //팝업창이 화면에 보여지는 세로 위치정보 |
|
| 23 |
+ private String popupHlc; |
|
| 24 |
+ |
|
| 25 |
+ //팝업창의 높이 |
|
| 26 |
+ private String popupHSize; |
|
| 27 |
+ |
|
| 28 |
+ //팝업창의 넚이 |
|
| 29 |
+ private String popupWSize; |
|
| 30 |
+ |
|
| 31 |
+ //게시시작일 |
|
| 32 |
+ private String ntceBgnde = EgovDateUtil.getToday(); |
|
| 33 |
+ //게시종료일 |
|
| 34 |
+ private String ntceEndde = EgovDateUtil.addDay(EgovDateUtil.getToday(), 7); |
|
| 35 |
+ |
|
| 36 |
+ //게시시작일(시간) |
|
| 37 |
+ private String ntceBgndeHH; |
|
| 38 |
+ |
|
| 39 |
+ //게시시작일(분) |
|
| 40 |
+ private String ntceBgndeMM; |
|
| 41 |
+ |
|
| 42 |
+ //게시종료일(시간) |
|
| 43 |
+ private String ntceEnddeHH; |
|
| 44 |
+ |
|
| 45 |
+ //게시종료일(분) |
|
| 46 |
+ private String ntceEnddeMM; |
|
| 47 |
+ |
|
| 48 |
+ //그만보기 설정 여부 |
|
| 49 |
+ private String stopVewAt = "Y"; |
|
| 50 |
+ //게시여부 |
|
| 51 |
+ private String ntceAt = "Y"; |
|
| 52 |
+ |
|
| 53 |
+ //팝업내용 |
|
| 54 |
+ private String popupCn; |
|
| 55 |
+ |
|
| 56 |
+ //팝업목록여부 |
|
| 57 |
+ private String popupListAt = "N"; |
|
| 58 |
+ |
|
| 59 |
+ //SYS_TY_CODE |
|
| 60 |
+ private String sysTyCode; |
|
| 61 |
+ |
|
| 62 |
+ //임시첨부파일 그룹아이디 |
|
| 18 | 63 |
private String fileGroupId = ""; |
| 19 |
- |
|
| 64 |
+ |
|
| 65 |
+ //저장여부 |
|
| 66 |
+ private String cmd; |
|
| 67 |
+ |
|
| 68 |
+ |
|
| 20 | 69 |
public PopupManageVO(){}
|
| 70 |
+ |
|
| 71 |
+ public String getPopupId() {
|
|
| 72 |
+ return popupId; |
|
| 73 |
+ } |
|
| 74 |
+ |
|
| 75 |
+ public void setPopupId(String popupId) {
|
|
| 76 |
+ this.popupId = popupId; |
|
| 77 |
+ } |
|
| 78 |
+ |
|
| 79 |
+ public String getPopupTitleNm() {
|
|
| 80 |
+ return popupTitleNm; |
|
| 81 |
+ } |
|
| 82 |
+ |
|
| 83 |
+ public void setPopupTitleNm(String popupTitleNm) {
|
|
| 84 |
+ this.popupTitleNm = popupTitleNm; |
|
| 85 |
+ } |
|
| 86 |
+ |
|
| 87 |
+ public String getFileUrl() {
|
|
| 88 |
+ return fileUrl; |
|
| 89 |
+ } |
|
| 90 |
+ |
|
| 91 |
+ public void setFileUrl(String fileUrl) {
|
|
| 92 |
+ this.fileUrl = fileUrl; |
|
| 93 |
+ } |
|
| 94 |
+ |
|
| 95 |
+ public String getPopupWlc() {
|
|
| 96 |
+ return popupWlc; |
|
| 97 |
+ } |
|
| 98 |
+ |
|
| 99 |
+ public void setPopupWlc(String popupWlc) {
|
|
| 100 |
+ this.popupWlc = popupWlc; |
|
| 101 |
+ } |
|
| 102 |
+ |
|
| 103 |
+ public String getPopupHlc() {
|
|
| 104 |
+ return popupHlc; |
|
| 105 |
+ } |
|
| 106 |
+ |
|
| 107 |
+ public void setPopupHlc(String popupHlc) {
|
|
| 108 |
+ this.popupHlc = popupHlc; |
|
| 109 |
+ } |
|
| 110 |
+ |
|
| 111 |
+ public String getPopupHSize() {
|
|
| 112 |
+ return popupHSize; |
|
| 113 |
+ } |
|
| 114 |
+ |
|
| 115 |
+ public void setPopupHSize(String popupHSize) {
|
|
| 116 |
+ this.popupHSize = popupHSize; |
|
| 117 |
+ } |
|
| 118 |
+ |
|
| 119 |
+ public String getPopupWSize() {
|
|
| 120 |
+ return popupWSize; |
|
| 121 |
+ } |
|
| 122 |
+ |
|
| 123 |
+ public void setPopupWSize(String popupWSize) {
|
|
| 124 |
+ this.popupWSize = popupWSize; |
|
| 125 |
+ } |
|
| 126 |
+ |
|
| 127 |
+ public String getNtceBgnde() {
|
|
| 128 |
+ return ntceBgnde; |
|
| 129 |
+ } |
|
| 130 |
+ |
|
| 131 |
+ public void setNtceBgnde(String ntceBgnde) {
|
|
| 132 |
+ this.ntceBgnde = ntceBgnde; |
|
| 133 |
+ } |
|
| 134 |
+ |
|
| 135 |
+ public String getNtceEndde() {
|
|
| 136 |
+ return ntceEndde; |
|
| 137 |
+ } |
|
| 138 |
+ |
|
| 139 |
+ public void setNtceEndde(String ntceEndde) {
|
|
| 140 |
+ this.ntceEndde = ntceEndde; |
|
| 141 |
+ } |
|
| 142 |
+ |
|
| 143 |
+ public String getNtceBgndeHH() {
|
|
| 144 |
+ return ntceBgndeHH; |
|
| 145 |
+ } |
|
| 146 |
+ |
|
| 147 |
+ public void setNtceBgndeHH(String ntceBgndeHH) {
|
|
| 148 |
+ this.ntceBgndeHH = ntceBgndeHH; |
|
| 149 |
+ } |
|
| 150 |
+ |
|
| 151 |
+ public String getNtceBgndeMM() {
|
|
| 152 |
+ return ntceBgndeMM; |
|
| 153 |
+ } |
|
| 154 |
+ |
|
| 155 |
+ public void setNtceBgndeMM(String ntceBgndeMM) {
|
|
| 156 |
+ this.ntceBgndeMM = ntceBgndeMM; |
|
| 157 |
+ } |
|
| 158 |
+ |
|
| 159 |
+ public String getNtceEnddeHH() {
|
|
| 160 |
+ return ntceEnddeHH; |
|
| 161 |
+ } |
|
| 162 |
+ |
|
| 163 |
+ public void setNtceEnddeHH(String ntceEnddeHH) {
|
|
| 164 |
+ this.ntceEnddeHH = ntceEnddeHH; |
|
| 165 |
+ } |
|
| 166 |
+ |
|
| 167 |
+ public String getNtceEnddeMM() {
|
|
| 168 |
+ return ntceEnddeMM; |
|
| 169 |
+ } |
|
| 170 |
+ |
|
| 171 |
+ public void setNtceEnddeMM(String ntceEnddeMM) {
|
|
| 172 |
+ this.ntceEnddeMM = ntceEnddeMM; |
|
| 173 |
+ } |
|
| 174 |
+ |
|
| 175 |
+ public String getStopVewAt() {
|
|
| 176 |
+ return stopVewAt; |
|
| 177 |
+ } |
|
| 178 |
+ |
|
| 179 |
+ public void setStopVewAt(String stopVewAt) {
|
|
| 180 |
+ this.stopVewAt = stopVewAt; |
|
| 181 |
+ } |
|
| 182 |
+ |
|
| 183 |
+ public String getNtceAt() {
|
|
| 184 |
+ return ntceAt; |
|
| 185 |
+ } |
|
| 186 |
+ |
|
| 187 |
+ public void setNtceAt(String ntceAt) {
|
|
| 188 |
+ this.ntceAt = ntceAt; |
|
| 189 |
+ } |
|
| 190 |
+ |
|
| 191 |
+ public String getPopupCn() {
|
|
| 192 |
+ return popupCn; |
|
| 193 |
+ } |
|
| 194 |
+ |
|
| 195 |
+ public void setPopupCn(String popupCn) {
|
|
| 196 |
+ this.popupCn = popupCn; |
|
| 197 |
+ } |
|
| 198 |
+ |
|
| 199 |
+ public String getPopupListAt() {
|
|
| 200 |
+ return popupListAt; |
|
| 201 |
+ } |
|
| 202 |
+ |
|
| 203 |
+ public void setPopupListAt(String popupListAt) {
|
|
| 204 |
+ this.popupListAt = popupListAt; |
|
| 205 |
+ } |
|
| 206 |
+ |
|
| 207 |
+ public String getSysTyCode() {
|
|
| 208 |
+ return sysTyCode; |
|
| 209 |
+ } |
|
| 210 |
+ |
|
| 211 |
+ public void setSysTyCode(String sysTyCode) {
|
|
| 212 |
+ this.sysTyCode = sysTyCode; |
|
| 213 |
+ } |
|
| 21 | 214 |
|
| 22 | 215 |
public String getFileGroupId() {
|
| 23 | 216 |
return fileGroupId; |
... | ... | @@ -27,5 +220,11 @@ |
| 27 | 220 |
this.fileGroupId = fileGroupId; |
| 28 | 221 |
} |
| 29 | 222 |
|
| 30 |
- |
|
| 223 |
+ public String getCmd() {
|
|
| 224 |
+ return cmd; |
|
| 225 |
+ } |
|
| 226 |
+ |
|
| 227 |
+ public void setCmd(String cmd) {
|
|
| 228 |
+ this.cmd = cmd; |
|
| 229 |
+ } |
|
| 31 | 230 |
}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/uss/ion/pwm/service/impl/PopupManageDAO.java
... | ... | @@ -1,106 +0,0 @@ |
| 1 | -package egovframework.com.uss.ion.pwm.service.impl; | |
| 2 | - | |
| 3 | -import egovframework.com.uss.ion.pwm.service.PopupManageVO; | |
| 4 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 5 | - | |
| 6 | -import java.util.List; | |
| 7 | - | |
| 8 | -import org.springframework.stereotype.Repository; | |
| 9 | - | |
| 10 | -/** | |
| 11 | - * 개요 | |
| 12 | - * - 팝업창에 대한 DAO를 정의한다. | |
| 13 | - * | |
| 14 | - * 상세내용 | |
| 15 | - * - 팝업창에 대한 등록, 수정, 삭제, 조회, 반영확인 기능을 제공한다. | |
| 16 | - * - 팝업창의 조회기능은 목록조회, 상세조회로, 사용자화면 보기로 구분된다. | |
| 17 | - * @author 이창원 | |
| 18 | - * @version 1.0 | |
| 19 | - * @created 05-8-2009 오후 2:21:04 | |
| 20 | - */ | |
| 21 | -@Repository("popupManageDAO")
| |
| 22 | -public class PopupManageDAO extends EgovAbstractDAO {
| |
| 23 | - | |
| 24 | - public PopupManageDAO(){}
| |
| 25 | - | |
| 26 | - /** | |
| 27 | - * 기 등록된 팝업창정보를 삭제한다. | |
| 28 | - * @param popupManage - 팝업창 model | |
| 29 | - * @return boolean - 반영성공 여부 | |
| 30 | - * | |
| 31 | - * @param popupManage | |
| 32 | - */ | |
| 33 | - public void deletePopup(PopupManageVO popupManageVO) throws Exception {
| |
| 34 | - delete("PopupManage.deletePopupManage", popupManageVO);
| |
| 35 | - } | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * 팝업창정보를 신규로 등록한다. | |
| 39 | - * @param popupManage - 팝업창 model | |
| 40 | - * @return boolean - 반영성공 여부 | |
| 41 | - * | |
| 42 | - * @param popupManage | |
| 43 | - */ | |
| 44 | - public void insertPopup(PopupManageVO popupManageVO) throws Exception {
| |
| 45 | - insert("PopupManage.insertPopupManage", popupManageVO);
| |
| 46 | - } | |
| 47 | - | |
| 48 | - /** | |
| 49 | - * 기 등록된 팝업창정보를 수정한다. | |
| 50 | - * @param popupManage - 팝업창 model | |
| 51 | - * @return boolean - 반영성공 여부 | |
| 52 | - * | |
| 53 | - * @param popupManage | |
| 54 | - */ | |
| 55 | - public void updatePopup(PopupManageVO popupManageVO) throws Exception {
| |
| 56 | - update("PopupManage.updatePopupManage", popupManageVO);
| |
| 57 | - } | |
| 58 | - | |
| 59 | - /** | |
| 60 | - * 팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. | |
| 61 | - * @param popupManageVO - 팝업창 Vo | |
| 62 | - * @return popupManageVO - 팝업창 Vo | |
| 63 | - * | |
| 64 | - * @param popupManageVO | |
| 65 | - */ | |
| 66 | - public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception {
| |
| 67 | - return (PopupManageVO)select("PopupManage.selectPopupManageDetail", popupManageVO);
| |
| 68 | - } | |
| 69 | - | |
| 70 | - /** | |
| 71 | - * 팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 72 | - * @param popupManageVO - 팝업창 Vo | |
| 73 | - * @return List - 팝업창 목록 | |
| 74 | - * | |
| 75 | - * @param popupManageVO | |
| 76 | - */ | |
| 77 | - @SuppressWarnings("unchecked")
| |
| 78 | - public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception {
| |
| 79 | - return (List<PopupManageVO>)list("PopupManage.selectPopupManage", popupManageVO);
| |
| 80 | - } | |
| 81 | - | |
| 82 | - /** | |
| 83 | - * 팝업창를 관리하기 위해 등록된 팝업창목록 총갯수를 조회한다. | |
| 84 | - * @param popupManageVO - 팝업창 Vo | |
| 85 | - * @return List - 팝업창 목록 | |
| 86 | - * | |
| 87 | - * @param popupManageVO | |
| 88 | - */ | |
| 89 | - public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception {
| |
| 90 | - return (Integer)select("PopupManage.selectPopupManageCnt", popupManageVO);
| |
| 91 | - } | |
| 92 | - | |
| 93 | - /** | |
| 94 | - * 서비스팝업리스트 조회 | |
| 95 | - * @param popupManageVO - 팝업창 Vo | |
| 96 | - * @return List - 팝업창 목록 | |
| 97 | - * | |
| 98 | - * @param popupManageVO | |
| 99 | - */ | |
| 100 | - @SuppressWarnings("unchecked")
| |
| 101 | - public List<PopupManageVO> selectPopupServiceList(PopupManageVO popupManageVO) throws Exception {
| |
| 102 | - return (List<PopupManageVO>)list("PopupManage.selectPopupServiceList", popupManageVO);
| |
| 103 | - } | |
| 104 | - | |
| 105 | - | |
| 106 | -}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/uss/ion/pwm/service/impl/EgovPopupManageServiceImpl.java
+++ base/src/main/java/egovframework/com/uss/ion/pwm/service/impl/PopupManageServiceImpl.java
... | ... | @@ -1,253 +1,191 @@ |
| 1 |
-package egovframework.com.uss.ion.pwm.service.impl; |
|
| 2 |
- |
|
| 3 |
-import egovframework.com.cmm.service.EgovFileMngService; |
|
| 4 |
-import egovframework.com.cmm.service.FileVO; |
|
| 5 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 6 |
-import egovframework.com.uss.ion.bnr.service.BannerVO; |
|
| 7 |
-import egovframework.com.uss.ion.pwm.service.EgovPopupManageService; |
|
| 8 |
-import egovframework.com.uss.ion.pwm.service.PopupManageVO; |
|
| 9 |
-import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 10 |
-import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; |
|
| 11 |
-import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; |
|
| 12 |
-import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
|
| 13 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 14 |
-import egovframework.rte.fdl.string.EgovStringUtil; |
|
| 15 |
- |
|
| 16 |
-import java.io.File; |
|
| 17 |
-import java.util.ArrayList; |
|
| 18 |
-import java.util.HashMap; |
|
| 19 |
-import java.util.List; |
|
| 20 |
- |
|
| 21 |
-import javax.annotation.Resource; |
|
| 22 |
- |
|
| 23 |
-import org.springframework.stereotype.Service; |
|
| 24 |
-/** |
|
| 25 |
- * 개요 |
|
| 26 |
- * - 팝업창에 대한 ServiceImpl을 정의한다. |
|
| 27 |
- * |
|
| 28 |
- * 상세내용 |
|
| 29 |
- * - 팝업창에 대한 등록, 수정, 삭제, 조회, 반영확인 기능을 제공한다. |
|
| 30 |
- * - 팝업창의 조회기능은 목록조회, 상세조회로, 사용자화면 보기로 구분된다. |
|
| 31 |
- * @author 이창원 |
|
| 32 |
- * @version 1.0 |
|
| 33 |
- * @created 05-8-2009 오후 2:19:58 |
|
| 34 |
- */ |
|
| 35 |
- |
|
| 36 |
-@Service("egovPopupManageService")
|
|
| 37 |
-public class EgovPopupManageServiceImpl extends EgovAbstractServiceImpl implements EgovPopupManageService {
|
|
| 38 |
- |
|
| 39 |
- @Resource(name = "popupManageDAO") |
|
| 40 |
- public PopupManageDAO dao; |
|
| 41 |
- |
|
| 42 |
- @Resource(name = "egovPopupManageIdGnrService") |
|
| 43 |
- private EgovIdGnrService idgenService; |
|
| 44 |
- |
|
| 45 |
- @Resource(name = "propertiesService") |
|
| 46 |
- protected EgovPropertyService propertyService; |
|
| 47 |
- |
|
| 48 |
- @Resource(name = "EgovFileMngService") |
|
| 49 |
- private EgovFileMngService fileMngService; |
|
| 50 |
- |
|
| 51 |
- private HashMap<String, SiteManageVO> popupHash = new HashMap<String, SiteManageVO>(); |
|
| 52 |
- |
|
| 53 |
- public EgovPopupManageServiceImpl(){}
|
|
| 54 |
- |
|
| 55 |
- /** |
|
| 56 |
- * 기 등록된 팝업창정보를 삭제한다. |
|
| 57 |
- * @param popupManage - 팝업창 model |
|
| 58 |
- * @return boolean - 반영성공 여부 |
|
| 59 |
- * |
|
| 60 |
- * @param popupManage |
|
| 61 |
- */ |
|
| 62 |
- public void deletePopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 63 |
- dao.deletePopup(popupManageVO); |
|
| 64 |
- |
|
| 65 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupDelete"); |
|
| 66 |
- } |
|
| 67 |
- |
|
| 68 |
- /** |
|
| 69 |
- * 임시첨부파일을 정식으로 등록 한다. |
|
| 70 |
- * |
|
| 71 |
- */ |
|
| 72 |
- public String insertFileInfsByTemp(PopupManageVO popup) throws Exception {
|
|
| 73 |
- FileVO fvo = new FileVO(); |
|
| 74 |
- fvo.setAtchFileId(popup.getAtchFileId()); |
|
| 75 |
- fvo.setFileGroupId(popup.getFileGroupId()); |
|
| 76 |
- return fileMngService.insertFileInfsByTemp(fvo).getAtchFileId(); |
|
| 77 |
- } |
|
| 78 |
- |
|
| 79 |
- /** |
|
| 80 |
- * 팝업창정보를 신규로 등록한다. |
|
| 81 |
- * @param popupManage - 팝업창 model |
|
| 82 |
- * @return boolean - 반영성공 여부 |
|
| 83 |
- * |
|
| 84 |
- * @param popupManage |
|
| 85 |
- */ |
|
| 86 |
- public void insertPopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 87 |
- String sMakeId = idgenService.getNextStringId(); |
|
| 88 |
- popupManageVO.setPopupId(sMakeId); |
|
| 89 |
- |
|
| 90 |
- popupManageVO.setAtchFileId(this.insertFileInfsByTemp(popupManageVO)); |
|
| 91 |
- |
|
| 92 |
- dao.insertPopup(popupManageVO); |
|
| 93 |
- |
|
| 94 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupCreate"); |
|
| 95 |
- } |
|
| 96 |
- |
|
| 97 |
- /** |
|
| 98 |
- * 기 등록된 팝업창정보를 수정한다. |
|
| 99 |
- * @param popupManage - 팝업창 model |
|
| 100 |
- * @return boolean - 반영성공 여부 |
|
| 101 |
- * |
|
| 102 |
- * @param popupManage |
|
| 103 |
- */ |
|
| 104 |
- public void updatePopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 105 |
- |
|
| 106 |
- popupManageVO.setAtchFileId(this.insertFileInfsByTemp(popupManageVO)); |
|
| 107 |
- |
|
| 108 |
- dao.updatePopup(popupManageVO); |
|
| 109 |
- |
|
| 110 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupUpdate"); |
|
| 111 |
- } |
|
| 112 |
- |
|
| 113 |
- /** |
|
| 114 |
- * 팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. |
|
| 115 |
- * @param popupManageVO - 팝업창 Vo |
|
| 116 |
- * @return popupManageVO - 팝업창 Vo |
|
| 117 |
- * |
|
| 118 |
- * @param popupManageVO |
|
| 119 |
- */ |
|
| 120 |
- public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 121 |
- return (PopupManageVO)dao.selectPopup(popupManageVO); |
|
| 122 |
- } |
|
| 123 |
- |
|
| 124 |
- /** |
|
| 125 |
- * 팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. |
|
| 126 |
- * @param popupManageVO - 팝업창 Vo |
|
| 127 |
- * @return List - 팝업창 목록 |
|
| 128 |
- * |
|
| 129 |
- * @param popupManageVO |
|
| 130 |
- */ |
|
| 131 |
- public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception {
|
|
| 132 |
- return dao.selectPopupList(popupManageVO); |
|
| 133 |
- } |
|
| 134 |
- |
|
| 135 |
- |
|
| 136 |
- /** |
|
| 137 |
- * 팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. |
|
| 138 |
- * @param popupManageVO - 팝업창 Vo |
|
| 139 |
- * @return List - 팝업창 목록 |
|
| 140 |
- * |
|
| 141 |
- * @param popupManageVO |
|
| 142 |
- */ |
|
| 143 |
- public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception {
|
|
| 144 |
- return (Integer)dao.selectPopupListCount(popupManageVO); |
|
| 145 |
- } |
|
| 146 |
- |
|
| 147 |
- /** |
|
| 148 |
- * 서비스 팝업목록을 조회한다. |
|
| 149 |
- * @param popupManageVO - 팝업 Vo |
|
| 150 |
- * @return List - 팝업 목록 |
|
| 151 |
- * @exception Exception |
|
| 152 |
- */ |
|
| 153 |
- public void selectPopupServiceListBinding(SiteManageVO siteVO, PopupManageVO vo) throws Exception {
|
|
| 154 |
- |
|
| 155 |
- List<PopupManageVO> popupList = dao.selectPopupServiceList(vo); |
|
| 156 |
- if(popupList == null) {
|
|
| 157 |
- if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 158 |
- this.popupHash.remove(vo.getSiteId()); |
|
| 159 |
- } |
|
| 160 |
- } else {
|
|
| 161 |
- siteVO.setPopupList(popupList); |
|
| 162 |
- |
|
| 163 |
- if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 164 |
- this.popupHash.remove(vo.getSiteId()); |
|
| 165 |
- } |
|
| 166 |
- |
|
| 167 |
- this.popupHash.put(vo.getSiteId(), siteVO); |
|
| 168 |
- } |
|
| 169 |
- } |
|
| 170 |
- |
|
| 171 |
- /** |
|
| 172 |
- * 서비스용 팝업 목록을 조회한다. |
|
| 173 |
- * |
|
| 174 |
- * @param PopupManageVO |
|
| 175 |
- */ |
|
| 176 |
- public List<PopupManageVO> selectPopupServiceList(PopupManageVO vo) throws Exception {
|
|
| 177 |
- |
|
| 178 |
- if(!EgovStringUtil.isEmpty(vo.getSiteId())) {
|
|
| 179 |
- if(!this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 180 |
- |
|
| 181 |
- SiteManageVO newSiteVO = new SiteManageVO(); |
|
| 182 |
- newSiteVO.setSiteId(vo.getSiteId()); |
|
| 183 |
- newSiteVO.setPopupLastModified(this.getPublishFileLastModified(vo.getSiteId())); |
|
| 184 |
- |
|
| 185 |
- this.selectPopupServiceListBinding(newSiteVO, vo); |
|
| 186 |
- |
|
| 187 |
- } else {
|
|
| 188 |
- |
|
| 189 |
- long fileLastModified = this.getPublishFileLastModified(vo.getSiteId()); |
|
| 190 |
- SiteManageVO siteVO = this.popupHash.get(vo.getSiteId()); |
|
| 191 |
- if(siteVO.getPopupLastModified() < fileLastModified) {
|
|
| 192 |
- siteVO.setPopupLastModified(fileLastModified); |
|
| 193 |
- this.selectPopupServiceListBinding(siteVO, vo); |
|
| 194 |
- } |
|
| 195 |
- } |
|
| 196 |
- |
|
| 197 |
- if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 198 |
- List<PopupManageVO> result = new ArrayList<PopupManageVO>(); |
|
| 199 |
- List<PopupManageVO> popupList = this.popupHash.get(vo.getSiteId()).getPopupList(); |
|
| 200 |
- if(popupList != null && popupList.size() > 0) {
|
|
| 201 |
- for(int i = 0; i < popupList.size(); i++) {
|
|
| 202 |
- long el = Long.parseLong(popupList.get(i).getNtceEndde()); |
|
| 203 |
- long cl = Long.parseLong(EgovDateUtil.getToday("yyyyMMddHHmm"));
|
|
| 204 |
- if(cl <= el) {
|
|
| 205 |
- result.add(popupList.get(i)); |
|
| 206 |
- } |
|
| 207 |
- } |
|
| 208 |
- } |
|
| 209 |
- return result; |
|
| 210 |
- } |
|
| 211 |
- } |
|
| 212 |
- |
|
| 213 |
- return null; |
|
| 214 |
- } |
|
| 215 |
- |
|
| 216 |
- /** |
|
| 217 |
- * 서비스용 팝업을 조회한다. |
|
| 218 |
- * |
|
| 219 |
- * @param PopupManageVO |
|
| 220 |
- */ |
|
| 221 |
- public PopupManageVO selectPopupService(PopupManageVO vo) throws Exception {
|
|
| 222 |
- |
|
| 223 |
- PopupManageVO popup = null; |
|
| 224 |
- List<PopupManageVO> popupList = selectPopupServiceList(vo); |
|
| 225 |
- if(popupList != null && popupList.size() > 0) {
|
|
| 226 |
- for(int i = 0; i < popupList.size(); i++) {
|
|
| 227 |
- if(popupList.get(i).getPopupId().equals(vo.getPopupId())) {
|
|
| 228 |
- popup = popupList.get(i); |
|
| 229 |
- break; |
|
| 230 |
- } |
|
| 231 |
- } |
|
| 232 |
- } |
|
| 233 |
- |
|
| 234 |
- return popup; |
|
| 235 |
- } |
|
| 236 |
- |
|
| 237 |
- public void publishPopupChangeLog(String siteId, String action) throws Exception {
|
|
| 238 |
- EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.mnu.fileStorePathByJspFile") + "/" + siteId + "/" + propertyService.getString("popLogChangeFileName"), siteId + " " + action);
|
|
| 239 |
- } |
|
| 240 |
- |
|
| 241 |
- public long getPublishFileLastModified(String siteId) {
|
|
| 242 |
- long fileLastModified = 0L; |
|
| 243 |
- String fileNm = propertyService.getString("publish.mnu.fileStorePathByJspFile") + "/" + siteId + "/" + propertyService.getString("popLogChangeFileName");
|
|
| 244 |
- File file = new File(fileNm); |
|
| 245 |
- if(file.exists()) {
|
|
| 246 |
- fileLastModified = file.lastModified(); |
|
| 247 |
- } |
|
| 248 |
- |
|
| 249 |
- return fileLastModified; |
|
| 250 |
- } |
|
| 251 |
- |
|
| 252 |
- |
|
| 1 |
+package egovframework.com.uss.ion.pwm.service.impl; |
|
| 2 |
+ |
|
| 3 |
+import egovframework.com.cmm.service.EgovFileMngService; |
|
| 4 |
+import egovframework.com.cmm.service.FileVO; |
|
| 5 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 6 |
+import egovframework.com.uss.ion.bnr.service.impl.BannerMapper; |
|
| 7 |
+import egovframework.com.uss.ion.pwm.service.PopupManageService; |
|
| 8 |
+import egovframework.com.uss.ion.pwm.service.PopupManageVO; |
|
| 9 |
+import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 10 |
+import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; |
|
| 11 |
+import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; |
|
| 12 |
+import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
|
| 13 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 14 |
+import egovframework.rte.fdl.string.EgovStringUtil; |
|
| 15 |
+ |
|
| 16 |
+import java.io.File; |
|
| 17 |
+import java.util.ArrayList; |
|
| 18 |
+import java.util.HashMap; |
|
| 19 |
+import java.util.List; |
|
| 20 |
+ |
|
| 21 |
+import javax.annotation.Resource; |
|
| 22 |
+ |
|
| 23 |
+import org.springframework.stereotype.Service; |
|
| 24 |
+ |
|
| 25 |
+//팝업창에 대한 ServiceImpl을 정의한다. |
|
| 26 |
+@Service("popupManageService")
|
|
| 27 |
+public class PopupManageServiceImpl extends EgovAbstractServiceImpl implements PopupManageService {
|
|
| 28 |
+ |
|
| 29 |
+ @Resource(name = "popupMapper") |
|
| 30 |
+ public PopupMapper popupMapper; |
|
| 31 |
+ |
|
| 32 |
+ @Resource(name = "popupManageIdGnrService") |
|
| 33 |
+ private EgovIdGnrService idgenService; |
|
| 34 |
+ |
|
| 35 |
+ @Resource(name = "propertiesService") |
|
| 36 |
+ protected EgovPropertyService propertyService; |
|
| 37 |
+ |
|
| 38 |
+ @Resource(name = "EgovFileMngService") |
|
| 39 |
+ private EgovFileMngService fileMngService; |
|
| 40 |
+ |
|
| 41 |
+ private HashMap<String, SiteManageVO> popupHash = new HashMap<String, SiteManageVO>(); |
|
| 42 |
+ |
|
| 43 |
+ public PopupManageServiceImpl(){}
|
|
| 44 |
+ |
|
| 45 |
+ //기 등록된 팝업창정보를 삭제한다. |
|
| 46 |
+ public void deletePopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 47 |
+ popupMapper.deletePopup(popupManageVO); |
|
| 48 |
+ |
|
| 49 |
+ publishPopupChangeLog(popupManageVO.getSiteId(), "popupDelete"); |
|
| 50 |
+ } |
|
| 51 |
+ |
|
| 52 |
+ //임시첨부파일을 정식으로 등록 한다. |
|
| 53 |
+ public String insertFileInfsByTemp(PopupManageVO popup) throws Exception {
|
|
| 54 |
+ FileVO fvo = new FileVO(); |
|
| 55 |
+ fvo.setAtchFileId(popup.getAtchFileId()); |
|
| 56 |
+ fvo.setFileGroupId(popup.getFileGroupId()); |
|
| 57 |
+ return fileMngService.insertFileInfsByTemp(fvo).getAtchFileId(); |
|
| 58 |
+ } |
|
| 59 |
+ |
|
| 60 |
+ //팝업창정보를 신규로 등록한다. |
|
| 61 |
+ public void insertPopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 62 |
+ String sMakeId = idgenService.getNextStringId(); |
|
| 63 |
+ popupManageVO.setPopupId(sMakeId); |
|
| 64 |
+ |
|
| 65 |
+ popupManageVO.setAtchFileId(this.insertFileInfsByTemp(popupManageVO)); |
|
| 66 |
+ |
|
| 67 |
+ popupMapper.insertPopup(popupManageVO); |
|
| 68 |
+ |
|
| 69 |
+ publishPopupChangeLog(popupManageVO.getSiteId(), "popupCreate"); |
|
| 70 |
+ } |
|
| 71 |
+ |
|
| 72 |
+ //기 등록된 팝업창정보를 수정한다. |
|
| 73 |
+ public void updatePopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 74 |
+ |
|
| 75 |
+ popupManageVO.setAtchFileId(this.insertFileInfsByTemp(popupManageVO)); |
|
| 76 |
+ |
|
| 77 |
+ popupMapper.updatePopup(popupManageVO); |
|
| 78 |
+ |
|
| 79 |
+ publishPopupChangeLog(popupManageVO.getSiteId(), "popupUpdate"); |
|
| 80 |
+ } |
|
| 81 |
+ |
|
| 82 |
+ //팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. |
|
| 83 |
+ public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception {
|
|
| 84 |
+ return (PopupManageVO)popupMapper.selectPopup(popupManageVO); |
|
| 85 |
+ } |
|
| 86 |
+ |
|
| 87 |
+ //팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. |
|
| 88 |
+ public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception {
|
|
| 89 |
+ return popupMapper.selectPopupList(popupManageVO); |
|
| 90 |
+ } |
|
| 91 |
+ |
|
| 92 |
+ |
|
| 93 |
+ //팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. |
|
| 94 |
+ public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception {
|
|
| 95 |
+ return (Integer)popupMapper.selectPopupListCount(popupManageVO); |
|
| 96 |
+ } |
|
| 97 |
+ |
|
| 98 |
+ //서비스 팝업목록을 조회한다. |
|
| 99 |
+ public void selectPopupServiceListBinding(SiteManageVO siteVO, PopupManageVO vo) throws Exception {
|
|
| 100 |
+ |
|
| 101 |
+ List<PopupManageVO> popupList = popupMapper.selectPopupServiceList(vo); |
|
| 102 |
+ if(popupList == null) {
|
|
| 103 |
+ if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 104 |
+ this.popupHash.remove(vo.getSiteId()); |
|
| 105 |
+ } |
|
| 106 |
+ } else {
|
|
| 107 |
+ siteVO.setPopupList(popupList); |
|
| 108 |
+ |
|
| 109 |
+ if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 110 |
+ this.popupHash.remove(vo.getSiteId()); |
|
| 111 |
+ } |
|
| 112 |
+ |
|
| 113 |
+ this.popupHash.put(vo.getSiteId(), siteVO); |
|
| 114 |
+ } |
|
| 115 |
+ } |
|
| 116 |
+ |
|
| 117 |
+ //서비스용 팝업 목록을 조회한다. |
|
| 118 |
+ public List<PopupManageVO> selectPopupServiceList(PopupManageVO vo) throws Exception {
|
|
| 119 |
+ |
|
| 120 |
+ if(!EgovStringUtil.isEmpty(vo.getSiteId())) {
|
|
| 121 |
+ if(!this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 122 |
+ |
|
| 123 |
+ SiteManageVO newSiteVO = new SiteManageVO(); |
|
| 124 |
+ newSiteVO.setSiteId(vo.getSiteId()); |
|
| 125 |
+ newSiteVO.setPopupLastModified(this.getPublishFileLastModified(vo.getSiteId())); |
|
| 126 |
+ |
|
| 127 |
+ this.selectPopupServiceListBinding(newSiteVO, vo); |
|
| 128 |
+ |
|
| 129 |
+ } else {
|
|
| 130 |
+ |
|
| 131 |
+ long fileLastModified = this.getPublishFileLastModified(vo.getSiteId()); |
|
| 132 |
+ SiteManageVO siteVO = this.popupHash.get(vo.getSiteId()); |
|
| 133 |
+ if(siteVO.getPopupLastModified() < fileLastModified) {
|
|
| 134 |
+ siteVO.setPopupLastModified(fileLastModified); |
|
| 135 |
+ this.selectPopupServiceListBinding(siteVO, vo); |
|
| 136 |
+ } |
|
| 137 |
+ } |
|
| 138 |
+ |
|
| 139 |
+ if(this.popupHash.containsKey(vo.getSiteId())) {
|
|
| 140 |
+ List<PopupManageVO> result = new ArrayList<PopupManageVO>(); |
|
| 141 |
+ List<PopupManageVO> popupList = this.popupHash.get(vo.getSiteId()).getPopupList(); |
|
| 142 |
+ if(popupList != null && popupList.size() > 0) {
|
|
| 143 |
+ for(int i = 0; i < popupList.size(); i++) {
|
|
| 144 |
+ long el = Long.parseLong(popupList.get(i).getNtceEndde()); |
|
| 145 |
+ long cl = Long.parseLong(EgovDateUtil.getToday("yyyyMMddHHmm"));
|
|
| 146 |
+ if(cl <= el) {
|
|
| 147 |
+ result.add(popupList.get(i)); |
|
| 148 |
+ } |
|
| 149 |
+ } |
|
| 150 |
+ } |
|
| 151 |
+ return result; |
|
| 152 |
+ } |
|
| 153 |
+ } |
|
| 154 |
+ |
|
| 155 |
+ return null; |
|
| 156 |
+ } |
|
| 157 |
+ |
|
| 158 |
+ //서비스용 팝업을 조회한다. |
|
| 159 |
+ public PopupManageVO selectPopupService(PopupManageVO vo) throws Exception {
|
|
| 160 |
+ |
|
| 161 |
+ PopupManageVO popup = null; |
|
| 162 |
+ List<PopupManageVO> popupList = selectPopupServiceList(vo); |
|
| 163 |
+ if(popupList != null && popupList.size() > 0) {
|
|
| 164 |
+ for(int i = 0; i < popupList.size(); i++) {
|
|
| 165 |
+ if(popupList.get(i).getPopupId().equals(vo.getPopupId())) {
|
|
| 166 |
+ popup = popupList.get(i); |
|
| 167 |
+ break; |
|
| 168 |
+ } |
|
| 169 |
+ } |
|
| 170 |
+ } |
|
| 171 |
+ |
|
| 172 |
+ return popup; |
|
| 173 |
+ } |
|
| 174 |
+ |
|
| 175 |
+ public void publishPopupChangeLog(String siteId, String action) throws Exception {
|
|
| 176 |
+ EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.mnu.fileStorePathByJspFile") + "/" + siteId + "/" + propertyService.getString("popLogChangeFileName"), siteId + " " + action);
|
|
| 177 |
+ } |
|
| 178 |
+ |
|
| 179 |
+ public long getPublishFileLastModified(String siteId) {
|
|
| 180 |
+ long fileLastModified = 0L; |
|
| 181 |
+ String fileNm = propertyService.getString("publish.mnu.fileStorePathByJspFile") + "/" + siteId + "/" + propertyService.getString("popLogChangeFileName");
|
|
| 182 |
+ File file = new File(fileNm); |
|
| 183 |
+ if(file.exists()) {
|
|
| 184 |
+ fileLastModified = file.lastModified(); |
|
| 185 |
+ } |
|
| 186 |
+ |
|
| 187 |
+ return fileLastModified; |
|
| 188 |
+ } |
|
| 189 |
+ |
|
| 190 |
+ |
|
| 253 | 191 |
}(파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/java/egovframework/com/uss/ion/pwm/service/impl/PopupMapper.java
... | ... | @@ -0,0 +1,34 @@ |
| 1 | +package egovframework.com.uss.ion.pwm.service.impl; | |
| 2 | + | |
| 3 | +import egovframework.com.cmm.service.FileVO; | |
| 4 | +import egovframework.com.uss.ion.bnr.service.BannerVO; | |
| 5 | +import egovframework.com.uss.ion.pwm.service.PopupManageVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +import java.util.List; | |
| 9 | + | |
| 10 | +//팝업관리 | |
| 11 | +@Mapper("popupMapper") | |
| 12 | +public interface PopupMapper { | |
| 13 | + | |
| 14 | + //기 등록된 팝업창정보를 삭제한다. | |
| 15 | + public void deletePopup(PopupManageVO popupManageVO) throws Exception; | |
| 16 | + | |
| 17 | + //팝업창정보를 신규로 등록한다. | |
| 18 | + public void insertPopup(PopupManageVO popupManageVO) throws Exception; | |
| 19 | + | |
| 20 | + //기 등록된 팝업창정보를 수정한다. | |
| 21 | + public void updatePopup(PopupManageVO popupManageVO) throws Exception; | |
| 22 | + | |
| 23 | + //팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. | |
| 24 | + public PopupManageVO selectPopup(PopupManageVO popupManageVO) throws Exception; | |
| 25 | + | |
| 26 | + //팝업창를 관리하기 위해 등록된 팝업창목록을 조회한다. | |
| 27 | + public List<PopupManageVO> selectPopupList(PopupManageVO popupManageVO) throws Exception; | |
| 28 | + | |
| 29 | + //팝업창를 관리하기 위해 등록된 팝업창목록 총갯수를 조회한다. | |
| 30 | + public int selectPopupListCount(PopupManageVO popupManageVO) throws Exception; | |
| 31 | + | |
| 32 | + //서비스팝업리스트 조회 | |
| 33 | + public List<PopupManageVO> selectPopupServiceList(PopupManageVO popupManageVO) throws Exception; | |
| 34 | +} |
--- base/src/main/java/egovframework/com/uss/ion/pwm/web/EgovPopupManageController.java
+++ base/src/main/java/egovframework/com/uss/ion/pwm/web/PopupController.java
... | ... | @@ -12,23 +12,13 @@ |
| 12 | 12 |
import egovframework.com.cmm.EgovMessageSource; |
| 13 | 13 |
import egovframework.com.sym.sit.service.SiteManageService; |
| 14 | 14 |
import egovframework.com.sym.sit.service.SiteManageVO; |
| 15 |
-import egovframework.com.uss.ion.pwm.service.EgovPopupManageService; |
|
| 15 |
+import egovframework.com.uss.ion.pwm.service.PopupManageService; |
|
| 16 | 16 |
import egovframework.com.uss.ion.pwm.service.PopupManageVO; |
| 17 | 17 |
import egovframework.rte.fdl.property.EgovPropertyService; |
| 18 | 18 |
|
| 19 |
-/** |
|
| 20 |
- * 개요 |
|
| 21 |
- * - 팝업창에 대한 Controller를 정의한다. |
|
| 22 |
- * |
|
| 23 |
- * 상세내용 |
|
| 24 |
- * - 팝업창에 대한 등록, 수정, 삭제, 조회, 반영확인 기능을 제공한다. |
|
| 25 |
- * - 팝업창의 조회기능은 목록조회, 상세조회로, 사용자 화면 보기로 구분된다. |
|
| 26 |
- * @author 이창원 |
|
| 27 |
- * @version 1.0 |
|
| 28 |
- * @created 05-8-2009 오후 2:19:57 |
|
| 29 |
- */ |
|
| 19 |
+//팝업창에 대한 Controller를 정의한다. |
|
| 30 | 20 |
@Controller |
| 31 |
-public class EgovPopupManageController {
|
|
| 21 |
+public class PopupController {
|
|
| 32 | 22 |
|
| 33 | 23 |
protected Log log = LogFactory.getLog(this.getClass()); |
| 34 | 24 |
|
... | ... | @@ -40,26 +30,15 @@ |
| 40 | 30 |
@Resource(name = "propertiesService") |
| 41 | 31 |
protected EgovPropertyService propertiesService; |
| 42 | 32 |
|
| 43 |
- /** EgovPopupManageService */ |
|
| 44 |
- @Resource(name = "egovPopupManageService") |
|
| 45 |
- private EgovPopupManageService egovPopupManageService; |
|
| 33 |
+ @Resource(name = "popupManageService") |
|
| 34 |
+ private PopupManageService popupManageService; |
|
| 46 | 35 |
|
| 47 | 36 |
@Resource(name = "siteManageService") |
| 48 | 37 |
SiteManageService siteManageService; |
| 49 | 38 |
|
| 50 |
- /** |
|
| 51 |
- * 팝업창을 오픈 한다. |
|
| 52 |
- * @param commandMap |
|
| 53 |
- * @param popupManageVO |
|
| 54 |
- * @return |
|
| 55 |
- * @throws Exception |
|
| 56 |
- */ |
|
| 39 |
+ //팝업창을 오픈 한다. |
|
| 57 | 40 |
@RequestMapping(value = "/uss/ion/pwm/openPopupManage.do") |
| 58 |
- public String EgovPopupManagePopupOpen( |
|
| 59 |
- PopupManageVO popupManageVO, |
|
| 60 |
- HttpServletRequest request, |
|
| 61 |
- ModelMap model |
|
| 62 |
- ) throws Exception {
|
|
| 41 |
+ public String EgovPopupManagePopupOpen(PopupManageVO popupManageVO,HttpServletRequest request,ModelMap model) throws Exception {
|
|
| 63 | 42 |
|
| 64 | 43 |
SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
| 65 | 44 |
popupManageVO.setSiteId(siteVO.getSiteId()); |
... | ... | @@ -69,9 +48,9 @@ |
| 69 | 48 |
model.addAttribute("SiteFileStoreWebPath", propertiesService.getString("Site.fileStorePath"));
|
| 70 | 49 |
|
| 71 | 50 |
//상세정보 불러오기 |
| 72 |
- PopupManageVO popupManageVOs = egovPopupManageService.selectPopupService(popupManageVO); |
|
| 51 |
+ PopupManageVO popupManageVOs = popupManageService.selectPopupService(popupManageVO); |
|
| 73 | 52 |
if(popupManageVOs == null) {
|
| 74 |
- popupManageVOs = egovPopupManageService.selectPopup(popupManageVO); |
|
| 53 |
+ popupManageVOs = popupManageService.selectPopup(popupManageVO); |
|
| 75 | 54 |
} |
| 76 | 55 |
model.addAttribute("popupManageVO", popupManageVOs);
|
| 77 | 56 |
|
+++ base/src/main/resources/egovframework/mapper/mysql/uss/ion/pwm/Popup_SQL.xml
... | ... | @@ -0,0 +1,246 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="egovframework.com.uss.ion.pwm.service.impl.PopupMapper"> | |
| 4 | + | |
| 5 | + <resultMap id="PopupManageList" type="egovframework.com.uss.ion.pwm.service.PopupManageVO"> | |
| 6 | + <result property="popupId" column="POPUP_ID"/> | |
| 7 | + <result property="popupTitleNm" column="POPUP_TITLE_NM"/> | |
| 8 | + <result property="fileUrl" column="FILE_URL"/> | |
| 9 | + <result property="popupHlc" column="POPUP_HLC"/> | |
| 10 | + <result property="popupWlc" column="POPUP_WLC"/> | |
| 11 | + <result property="popupHSize" column="POPUP_HSIZE"/> | |
| 12 | + <result property="popupWSize" column="POPUP_WSIZE"/> | |
| 13 | + <result property="ntceBgnde" column="NTCE_BGNDE"/> | |
| 14 | + <result property="ntceEndde" column="NTCE_ENDDE"/> | |
| 15 | + <result property="stopVewAt" column="STOP_VEW_AT"/> | |
| 16 | + <result property="ntceAt" column="NTCE_AT"/> | |
| 17 | + <result property="popupListAt" column="POPUP_LIST_AT"/> | |
| 18 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 19 | + </resultMap> | |
| 20 | + | |
| 21 | + <resultMap id="PopupManageVOs" type="egovframework.com.uss.ion.pwm.service.PopupManageVO"> | |
| 22 | + <result property="siteId" column="SITE_ID"/> | |
| 23 | + <result property="sysTyCode" column="SYS_TY_CODE"/> | |
| 24 | + <result property="popupId" column="POPUP_ID"/> | |
| 25 | + <result property="popupTitleNm" column="POPUP_TITLE_NM"/> | |
| 26 | + <result property="fileUrl" column="FILE_URL"/> | |
| 27 | + <result property="popupHlc" column="POPUP_HLC"/> | |
| 28 | + <result property="popupWlc" column="POPUP_WLC"/> | |
| 29 | + <result property="popupHSize" column="POPUP_HSIZE"/> | |
| 30 | + <result property="popupWSize" column="POPUP_WSIZE"/> | |
| 31 | + <result property="ntceBgnde" column="NTCE_BGNDE"/> | |
| 32 | + <result property="ntceEndde" column="NTCE_ENDDE"/> | |
| 33 | + <result property="stopVewAt" column="STOP_VEW_AT"/> | |
| 34 | + <result property="ntceAt" column="NTCE_AT"/> | |
| 35 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 36 | + <result property="frstRegisterId" column="FRST_REGISTER_ID"/> | |
| 37 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 38 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 39 | + <result property="popupCn" column="POPUP_CN"/> | |
| 40 | + <result property="popupListAt" column="POPUP_LIST_AT"/> | |
| 41 | + <result property="atchFileId" column="ATCH_FILE_ID"/> | |
| 42 | + </resultMap> | |
| 43 | + | |
| 44 | + <resultMap id="servicePopup" type="egovframework.com.uss.ion.pwm.service.PopupManageVO"> | |
| 45 | + <result property="siteId" column="SITE_ID"/> | |
| 46 | + <result property="sysTyCode" column="SYS_TY_CODE"/> | |
| 47 | + <result property="popupId" column="POPUP_ID"/> | |
| 48 | + <result property="popupTitleNm" column="POPUP_TITLE_NM"/> | |
| 49 | + <result property="fileUrl" column="FILE_URL"/> | |
| 50 | + <result property="popupHlc" column="POPUP_HLC"/> | |
| 51 | + <result property="popupWlc" column="POPUP_WLC"/> | |
| 52 | + <result property="popupHSize" column="POPUP_HSIZE"/> | |
| 53 | + <result property="popupWSize" column="POPUP_WSIZE"/> | |
| 54 | + <result property="ntceBgnde" column="NTCE_BGNDE"/> | |
| 55 | + <result property="ntceEndde" column="NTCE_ENDDE"/> | |
| 56 | + <result property="stopVewAt" column="STOP_VEW_AT"/> | |
| 57 | + <result property="ntceAt" column="NTCE_AT"/> | |
| 58 | + <result property="popupCn" column="POPUP_CN"/> | |
| 59 | + <result property="popupListAt" column="POPUP_LIST_AT"/> | |
| 60 | + </resultMap> | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + <!-- 팝업창관리::목록조회 게시물정보 --> | |
| 66 | + <select id="selectPopupList" resultMap="PopupManageList"> | |
| 67 | + SELECT | |
| 68 | + A.POPUP_ID, | |
| 69 | + A.POPUP_TITLE_NM, | |
| 70 | + A.FILE_URL, | |
| 71 | + A.POPUP_HLC, | |
| 72 | + A.POPUP_WLC, | |
| 73 | + A.POPUP_HSIZE, | |
| 74 | + A.POPUP_WSIZE, | |
| 75 | + A.NTCE_BGNDE, | |
| 76 | + A.NTCE_ENDDE, | |
| 77 | + A.STOP_VEW_AT, | |
| 78 | + A.NTCE_AT, | |
| 79 | + A.FRST_REGISTER_PNTTM, | |
| 80 | + A.POPUP_LIST_AT | |
| 81 | + FROM comtnpopupmanage A | |
| 82 | + | |
| 83 | + <include refid="selectPopupListWhere"></include> | |
| 84 | + | |
| 85 | + ORDER BY POPUP_ID DESC | |
| 86 | + LIMIT #{recordCountPerPage} OFFSET #{firstIndex} | |
| 87 | + </select> | |
| 88 | + | |
| 89 | + <!-- 팝업창관리::목록조회_게시물 총갯수 --> | |
| 90 | + <select id="selectPopupListCount" resultType="int"> | |
| 91 | + SELECT | |
| 92 | + COUNT(*) | |
| 93 | + FROM comtnpopupmanage A | |
| 94 | + <include refid="selectPopupListWhere"></include> | |
| 95 | + </select> | |
| 96 | + | |
| 97 | + <sql id="selectPopupListWhere"> | |
| 98 | + <where> | |
| 99 | + SITE_ID = IFNULL(NULLIF(#{siteId},''),'SITE_000000000000001') | |
| 100 | + AND SYS_TY_CODE = IFNULL(NULLIF(#{sysTyCode},''),'SYS01') | |
| 101 | + AND USE_AT = 'Y' | |
| 102 | + | |
| 103 | + <if test='searchCondition == "1" and searchKeyword != null and searchKeyword != ""'> | |
| 104 | + AND POPUP_TITLE_NM LIKE CONCAT('%',#{searchKeyword},'%') | |
| 105 | + </if> | |
| 106 | + </where> | |
| 107 | + </sql> | |
| 108 | + | |
| 109 | + <!-- 팝업창관리::삭제 --> | |
| 110 | + <delete id="deletePopup"> | |
| 111 | + UPDATE comtnpopupmanage SET | |
| 112 | + USE_AT = 'N' | |
| 113 | + , LAST_UPDUSR_ID = #{lastUpdusrId} | |
| 114 | + , LAST_UPDUSR_PNTTM = SYSDATE() | |
| 115 | + WHERE POPUP_ID=#{popupId} | |
| 116 | + AND USE_AT = 'Y' | |
| 117 | + AND SITE_ID = IFNULL(NULLIF(#{siteId},''),'SITE_000000000000001') AND SYS_TY_CODE = IFNULL(NULLIF(#{sysTyCode},''),'SYS01') | |
| 118 | + </delete> | |
| 119 | + | |
| 120 | + <!-- 팝업창관리::수정 --> | |
| 121 | + <update id="updatePopup"> | |
| 122 | + UPDATE comtnpopupmanage SET | |
| 123 | + POPUP_TITLE_NM=#{popupTitleNm}, | |
| 124 | + FILE_URL=#{fileUrl}, | |
| 125 | + POPUP_HLC=#{popupHlc}, | |
| 126 | + POPUP_WLC=#{popupWlc}, | |
| 127 | + POPUP_HSIZE=#{popupHSize}, | |
| 128 | + POPUP_WSIZE=#{popupWSize}, | |
| 129 | + NTCE_BGNDE=#{ntceBgnde}, | |
| 130 | + NTCE_ENDDE=#{ntceEndde}, | |
| 131 | + STOP_VEW_AT=#{stopVewAt}, | |
| 132 | + NTCE_AT=#{ntceAt}, | |
| 133 | + LAST_UPDUSR_PNTTM=SYSDATE(), | |
| 134 | + LAST_UPDUSR_ID=#{lastUpdusrId}, | |
| 135 | + POPUP_CN = #{popupCn}, | |
| 136 | + POPUP_LIST_AT = #{popupListAt}, | |
| 137 | + ATCH_FILE_ID = #{atchFileId} | |
| 138 | + WHERE POPUP_ID=#{popupId} | |
| 139 | + AND USE_AT = 'Y' | |
| 140 | + AND SITE_ID = IFNULL(NULLIF(#{siteId},''),'SITE_000000000000001') AND SYS_TY_CODE = IFNULL(NULLIF(#{sysTyCode},''),'SYS01') | |
| 141 | + </update> | |
| 142 | + | |
| 143 | + | |
| 144 | + <!-- 팝업창관리::상세보기 --> | |
| 145 | + <select id="selectPopup" resultMap="PopupManageVOs"> | |
| 146 | + SELECT | |
| 147 | + A.SITE_ID, | |
| 148 | + A.SYS_TY_CODE, | |
| 149 | + A.POPUP_ID, | |
| 150 | + A.POPUP_TITLE_NM, | |
| 151 | + A.FILE_URL, | |
| 152 | + A.POPUP_HLC, | |
| 153 | + A.POPUP_WLC, | |
| 154 | + A.POPUP_HSIZE, | |
| 155 | + A.POPUP_WSIZE, | |
| 156 | + A.NTCE_BGNDE, | |
| 157 | + A.NTCE_ENDDE, | |
| 158 | + A.STOP_VEW_AT, | |
| 159 | + A.NTCE_AT, | |
| 160 | + A.FRST_REGISTER_PNTTM, | |
| 161 | + A.FRST_REGISTER_ID, | |
| 162 | + A.LAST_UPDUSR_PNTTM, | |
| 163 | + A.LAST_UPDUSR_ID, | |
| 164 | + A.POPUP_CN, | |
| 165 | + A.POPUP_LIST_AT, | |
| 166 | + A.ATCH_FILE_ID | |
| 167 | + FROM comtnpopupmanage A | |
| 168 | + WHERE A.POPUP_ID=#{popupId} | |
| 169 | + </select> | |
| 170 | + | |
| 171 | + <!-- 팝업창관리::입력 --> | |
| 172 | + <insert id="insertPopup"> | |
| 173 | + INSERT INTO comtnpopupmanage ( | |
| 174 | + POPUP_ID, | |
| 175 | + POPUP_TITLE_NM, | |
| 176 | + FILE_URL, | |
| 177 | + POPUP_HLC, | |
| 178 | + POPUP_WLC, | |
| 179 | + POPUP_HSIZE, | |
| 180 | + POPUP_WSIZE, | |
| 181 | + NTCE_BGNDE, | |
| 182 | + NTCE_ENDDE, | |
| 183 | + STOP_VEW_AT, | |
| 184 | + NTCE_AT, | |
| 185 | + FRST_REGISTER_PNTTM, | |
| 186 | + FRST_REGISTER_ID, | |
| 187 | + SYS_TY_CODE, | |
| 188 | + POPUP_CN, | |
| 189 | + SITE_ID, | |
| 190 | + USE_AT, | |
| 191 | + POPUP_LIST_AT, | |
| 192 | + ATCH_FILE_ID | |
| 193 | + )VALUES( | |
| 194 | + #{popupId}, | |
| 195 | + #{popupTitleNm}, | |
| 196 | + #{fileUrl}, | |
| 197 | + #{popupHlc}, | |
| 198 | + #{popupWlc}, | |
| 199 | + #{popupHSize}, | |
| 200 | + #{popupWSize}, | |
| 201 | + #{ntceBgnde}, | |
| 202 | + #{ntceEndde}, | |
| 203 | + #{stopVewAt}, | |
| 204 | + #{ntceAt}, | |
| 205 | + SYSDATE(), | |
| 206 | + #{frstRegisterId}, | |
| 207 | + IFNULL(NULLIF(#{sysTyCode},''),'SYS01'), | |
| 208 | + #{popupCn}, | |
| 209 | + IFNULL(NULLIF(#{siteId},''),'SITE_000000000000001'), | |
| 210 | + 'Y', | |
| 211 | + #{popupListAt}, | |
| 212 | + #{atchFileId} | |
| 213 | + ) | |
| 214 | + </insert> | |
| 215 | + | |
| 216 | + <!-- 팝업창관리:: 메인 팝업리스트 --> | |
| 217 | + <select id="selectPopupServiceList" resultMap="servicePopup"> | |
| 218 | + SELECT | |
| 219 | + A.SITE_ID, | |
| 220 | + A.SYS_TY_CODE, | |
| 221 | + A.POPUP_ID, | |
| 222 | + A.POPUP_TITLE_NM, | |
| 223 | + A.FILE_URL, | |
| 224 | + A.POPUP_HLC, | |
| 225 | + A.POPUP_WLC, | |
| 226 | + A.POPUP_HSIZE, | |
| 227 | + A.POPUP_WSIZE, | |
| 228 | + A.NTCE_BGNDE, | |
| 229 | + A.NTCE_ENDDE, | |
| 230 | + A.STOP_VEW_AT, | |
| 231 | + A.NTCE_AT, | |
| 232 | + A.POPUP_CN, | |
| 233 | + A.POPUP_LIST_AT | |
| 234 | + FROM comtnpopupmanage A | |
| 235 | + WHERE A.SITE_ID = IFNULL(NULLIF(#{siteId},''),'SITE_000000000000001') | |
| 236 | + AND A.SYS_TY_CODE = IFNULL(NULLIF(#{sysTyCode},''),'SYS01') | |
| 237 | + AND A.USE_AT = 'Y' | |
| 238 | + AND A.NTCE_AT = 'Y' | |
| 239 | + <!-- | |
| 240 | + AND TO_CHAR(SYSDATE(),'YYYYMMDDHH24MI') >= A.NTCE_BGNDE | |
| 241 | + AND TO_CHAR(SYSDATE(),'YYYYMMDDHH24MI') <= A.NTCE_ENDDE | |
| 242 | + --> | |
| 243 | + ORDER BY A.POPUP_ID DESC | |
| 244 | + </select> | |
| 245 | + | |
| 246 | +</mapper> |
--- base/src/main/resources/egovframework/spring/context-idgen.xml
+++ base/src/main/resources/egovframework/spring/context-idgen.xml
... | ... | @@ -5,25 +5,20 @@ |
| 5 | 5 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> |
| 6 | 6 |
|
| 7 | 7 |
<!-- 팝업창관리 --> |
| 8 |
- <bean name="egovPopupManageIdGnrService" |
|
| 9 |
- class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
|
| 10 |
- destroy-method="destroy"> |
|
| 8 |
+ <bean name="popupManageIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" destroy-method="destroy"> |
|
| 11 | 9 |
<property name="dataSource" ref="dataSource" /> |
| 12 |
- <property name="strategy" ref="egovPopupManageIdMsgtrategy" /> |
|
| 10 |
+ <property name="strategy" ref="popupManageIdMsgtrategy" /> |
|
| 13 | 11 |
<property name="blockSize" value="1"/> |
| 14 | 12 |
<property name="table" value="comtecopseq"/> |
| 15 | 13 |
<property name="tableName" value="POPUP_ID"/> |
| 16 | 14 |
</bean> |
| 17 |
- <bean name="egovPopupManageIdMsgtrategy" |
|
| 18 |
- class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl"> |
|
| 15 |
+ <bean name="popupManageIdMsgtrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl"> |
|
| 19 | 16 |
<property name="prefix" value="POPUP_" /> |
| 20 | 17 |
<property name="cipers" value="14" /> |
| 21 | 18 |
<property name="fillChar" value="0" /> |
| 22 | 19 |
</bean> |
| 23 | 20 |
|
| 24 |
- <bean name="egovFileIdGnrService" |
|
| 25 |
- class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
|
| 26 |
- destroy-method="destroy"> |
|
| 21 |
+ <bean name="egovFileIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" destroy-method="destroy"> |
|
| 27 | 22 |
<property name="dataSource" ref="dataSource" /> |
| 28 | 23 |
<property name="strategy" ref="fileStrategy" /> |
| 29 | 24 |
<property name="blockSize" value="1"/> |
--- base/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql.xml
... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 |
|
| 31 | 31 |
<!--<sqlMap resource="egovframework/sqlmap/mysql/uss/ion/bnr/EgovBanner_SQL_Mysql.xml"/>--> |
| 32 | 32 |
|
| 33 |
- <sqlMap resource="egovframework/sqlmap/mysql/uss/ion/pwm/PopupManage_SQL_Mysql.xml"/> |
|
| 33 |
+ <!--<sqlMap resource="egovframework/sqlmap/mysql/uss/ion/pwm/PopupManage_SQL_Mysql.xml"/>--> |
|
| 34 | 34 |
|
| 35 | 35 |
<sqlMap resource="egovframework/sqlmap/mysql/uss/ion/sit/EgovLinkSiteManage_SQL_Mysql.xml"/> |
| 36 | 36 |
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerRegist.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupRegist.jsp
... | ... | @@ -8,11 +8,11 @@ |
| 8 | 8 |
<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
| 9 | 9 |
<% org.springframework.web.util.UrlPathHelper helper = new org.springframework.web.util.UrlPathHelper();%> |
| 10 | 10 |
<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response)%>"/> |
| 11 |
-<c:set var="_C_HTML" value="/template/common/html"/> |
|
| 12 |
-<c:set var="CMMN_IMG" value="/template/common/images"/> |
|
| 13 |
-<c:set var="CMMN_JS" value="/template/common/js"/> |
|
| 11 |
+<c:set var="_C_HTML" value="/resources/template/common/html"/> |
|
| 12 |
+<c:set var="CMMN_IMG" value="/resources/template/common/images"/> |
|
| 13 |
+<c:set var="CMMN_JS" value="/resources/template/common/js"/> |
|
| 14 | 14 |
<c:set var="_IMG" value="/resources/template/manage/images"/> |
| 15 |
-<c:set var="_C_LIB" value="/lib"/> |
|
| 15 |
+<c:set var="_C_LIB" value="/resources/lib"/> |
|
| 16 | 16 |
<c:set var="_MODE" value=""/> |
| 17 | 17 |
<c:set var="_EDITOR_ID" value="popupCn"/> |
| 18 | 18 |
|
... | ... | @@ -34,7 +34,7 @@ |
| 34 | 34 |
<script type="text/javascript" src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
|
| 35 | 35 |
<script type="text/javascript" src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
|
| 36 | 36 |
|
| 37 |
-<script type="text/javascript" src="${_C_LIB}/upload/upload.js?v=43" ></script>
|
|
| 37 |
+<script type="text/javascript" src="${_C_LIB}/upload/upload.js" ></script>
|
|
| 38 | 38 |
|
| 39 | 39 |
<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
|
| 40 | 40 |
<%-- <script src="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.js"></script> --%>
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/msi/cmm/tmplatBottom.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/msi/cmm/tmplatBottom.jsp
... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 |
</h2> |
| 34 | 34 |
<div class="company-info"> |
| 35 | 35 |
<p>${siteInfo.adresReplcText}</p>
|
| 36 |
- <p class="copyright">© 2019 Hankuk University of Foreign Studies. All Rights Reserved.</p> |
|
| 36 |
+ <p class="copyright">Copyright ⓒ 2023 by 폭스CMS All Rights Reserved.</p> |
|
| 37 | 37 |
</div> |
| 38 | 38 |
</div> |
| 39 | 39 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/uss/ion/bnr/EgovBannerList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/uss/ion/bnr/BannerList.jsp
... | ... | @@ -1,42 +1,42 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<c:set var="_IMG" value="http://${siteInfo.siteUrl}/template/web/smart_001/image"/>
|
|
| 8 |
- |
|
| 9 |
-<script type="text/javascript"> |
|
| 10 |
-jQuery('.sub_menu_tab_s li').live('click', function() {
|
|
| 11 |
- jQuery('.sub_menu_tab_s li').removeClass('smt_on');
|
|
| 12 |
- jQuery(this).addClass('smt_on');
|
|
| 13 |
-}); |
|
| 14 |
-</script> |
|
| 15 |
- <div class="common_pop_t"> |
|
| 16 |
- <p class="poll_result_title">추천사이트</p> |
|
| 17 |
- <p class="result_close" > <a href="#" onclick="return cfgCommonPopHide()" title="닫기"><img src="${_IMG}/sub/smartcn/poll_result_close.gif" width="22" height="22" alt="닫기" /></a></p>
|
|
| 18 |
- </div> |
|
| 19 |
- <div class="common_pop_bg"> |
|
| 20 |
- <ul class="sub_menu_tab_s"> |
|
| 21 |
- <c:forEach var="code" items="${codeList}" varStatus="status">
|
|
| 22 |
- <li <c:if test="${status.first}">class="smt_on"</c:if>><a class="siteToptab" href="#site${status.count}" title="<c:out value="${code.codeNm}"/>"><c:out value="${code.codeNm}"/></a></li>
|
|
| 23 |
- </c:forEach> |
|
| 24 |
- </ul> |
|
| 25 |
- <c:forEach var="code" items="${codeList}" varStatus="status">
|
|
| 26 |
- <div id="site${status.count}">
|
|
| 27 |
- <div class="common_pop_con"> |
|
| 28 |
- <ul class="siteset"> |
|
| 29 |
- <c:forEach var="banner" items="${bannerList}">
|
|
| 30 |
- <c:if test="${code.code eq banner.bannerThemaClCode}">
|
|
| 31 |
- <c:if test="${banner.reflctAt eq 'Y'}">
|
|
| 32 |
- <li><a href="${banner.linkUrl}" target="_blank" title="<c:out value="${banner.bannerNm}"/>" ><img src="http://${siteInfo.siteUrl}${BannerFileStoreWebPath}${siteInfo.siteId}/${banner.bannerImageFile}" width="180" height="50" alt="<c:out value="${banner.bannerNm}"/>" /></a> </li>
|
|
| 33 |
- </c:if> |
|
| 34 |
- </c:if> |
|
| 35 |
- </c:forEach> |
|
| 36 |
- </ul> |
|
| 37 |
- </div> |
|
| 38 |
- </div> |
|
| 39 |
- </c:forEach> |
|
| 40 |
- </div> |
|
| 41 |
- |
|
| 1 |
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
+<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
+<c:set var="_IMG" value="http://${siteInfo.siteUrl}/template/web/smart_001/image"/>
|
|
| 8 |
+ |
|
| 9 |
+<script type="text/javascript"> |
|
| 10 |
+jQuery('.sub_menu_tab_s li').live('click', function() {
|
|
| 11 |
+ jQuery('.sub_menu_tab_s li').removeClass('smt_on');
|
|
| 12 |
+ jQuery(this).addClass('smt_on');
|
|
| 13 |
+}); |
|
| 14 |
+</script> |
|
| 15 |
+ <div class="common_pop_t"> |
|
| 16 |
+ <p class="poll_result_title">추천사이트</p> |
|
| 17 |
+ <p class="result_close" > <a href="#" onclick="return cfgCommonPopHide()" title="닫기"><img src="${_IMG}/sub/smartcn/poll_result_close.gif" width="22" height="22" alt="닫기" /></a></p>
|
|
| 18 |
+ </div> |
|
| 19 |
+ <div class="common_pop_bg"> |
|
| 20 |
+ <ul class="sub_menu_tab_s"> |
|
| 21 |
+ <c:forEach var="code" items="${codeList}" varStatus="status">
|
|
| 22 |
+ <li <c:if test="${status.first}">class="smt_on"</c:if>><a class="siteToptab" href="#site${status.count}" title="<c:out value="${code.codeNm}"/>"><c:out value="${code.codeNm}"/></a></li>
|
|
| 23 |
+ </c:forEach> |
|
| 24 |
+ </ul> |
|
| 25 |
+ <c:forEach var="code" items="${codeList}" varStatus="status">
|
|
| 26 |
+ <div id="site${status.count}">
|
|
| 27 |
+ <div class="common_pop_con"> |
|
| 28 |
+ <ul class="siteset"> |
|
| 29 |
+ <c:forEach var="banner" items="${bannerList}">
|
|
| 30 |
+ <c:if test="${code.code eq banner.bannerThemaClCode}">
|
|
| 31 |
+ <c:if test="${banner.reflctAt eq 'Y'}">
|
|
| 32 |
+ <li><a href="${banner.linkUrl}" target="_blank" title="<c:out value="${banner.bannerNm}"/>" ><img src="http://${siteInfo.siteUrl}${BannerFileStoreWebPath}${siteInfo.siteId}/${banner.bannerImageFile}" width="180" height="50" alt="<c:out value="${banner.bannerNm}"/>" /></a> </li>
|
|
| 33 |
+ </c:if> |
|
| 34 |
+ </c:if> |
|
| 35 |
+ </c:forEach> |
|
| 36 |
+ </ul> |
|
| 37 |
+ </div> |
|
| 38 |
+ </div> |
|
| 39 |
+ </c:forEach> |
|
| 40 |
+ </div> |
|
| 41 |
+ |
|
| 42 | 42 |
<script type="text/javascript">initLayerTabMenu("common_pop_site", "siteToptab");</script> (파일 끝에 줄바꿈 문자 없음)
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?