fix : 미사용 소스 제거
parent
111d3d8cba
commit
fa32751322
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Ec0100Mapper {
|
||||
List<Map<String, Object>> selectEc0100List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectEc0100();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Ec0200Mapper {
|
||||
List<Map<String, Object>> selectEc0200List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectEc0200();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Ec0300Mapper {
|
||||
List<Map<String, Object>> selectEc0300List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectEc0300();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Ec0400Mapper {
|
||||
List<Map<String, Object>> selectEc0400List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectEc0400();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Ec0500Mapper {
|
||||
List<Map<String, Object>> selectEc0500List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectEc0500();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Ec0100Service {
|
||||
List<Map<String, Object>> findEc0100List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findEc0100(String keyField);
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Ec0200Service {
|
||||
List<Map<String, Object>> findEc0200List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findEc0200();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Ec0300Service {
|
||||
List<Map<String, Object>> findEc0300List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findEc0300();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Ec0400Service {
|
||||
List<Map<String, Object>> findEc0400List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findEc0400();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Ec0500Service {
|
||||
List<Map<String, Object>> findEc0500List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findEc0500();
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.ec.dao.Ec0100Mapper;
|
||||
import kr.xit.fims.biz.ec.service.Ec0100Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Ec0100ServiceBean extends AbstractServiceBean implements Ec0100Service {
|
||||
private final Ec0100Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findEc0100List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectEc0100List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findEc0100(String keyField) {
|
||||
return mapper.selectEc0100();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.ec.dao.Ec0200Mapper;
|
||||
import kr.xit.fims.biz.ec.service.Ec0200Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Ec0200ServiceBean extends AbstractServiceBean implements Ec0200Service {
|
||||
private final Ec0200Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findEc0200List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectEc0200List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findEc0200() {
|
||||
return mapper.selectEc0200();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.ec.dao.Ec0300Mapper;
|
||||
import kr.xit.fims.biz.ec.service.Ec0300Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Ec0300ServiceBean extends AbstractServiceBean implements Ec0300Service {
|
||||
private final Ec0300Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findEc0300List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectEc0300List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findEc0300() {
|
||||
return mapper.selectEc0300();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.ec.dao.Ec0400Mapper;
|
||||
import kr.xit.fims.biz.ec.service.Ec0400Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Ec0400ServiceBean extends AbstractServiceBean implements Ec0400Service {
|
||||
private final Ec0400Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findEc0400List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectEc0400List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findEc0400() {
|
||||
return mapper.selectEc0400();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.ec.dao.Ec0500Mapper;
|
||||
import kr.xit.fims.biz.ec.service.Ec0500Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Ec0500ServiceBean extends AbstractServiceBean implements Ec0500Service {
|
||||
private final Ec0500Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findEc0500List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectEc0500List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public Map<String, Object> findEc0500() {
|
||||
return mapper.selectEc0500();
|
||||
}
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.FimsConst;
|
||||
import kr.xit.fims.biz.ec.service.Ec0100Service;
|
||||
import kr.xit.fims.framework.biz.mng.menu.dto.ProgramMngVO;
|
||||
import kr.xit.fims.framework.core.constants.FrameworkConstants;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import kr.xit.fims.framework.support.util.AjaxMessageMapRenderer;
|
||||
import kr.xit.fims.framework.support.util.Checks;
|
||||
import kr.xit.fims.framework.support.util.constants.MessageKey;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/ec")
|
||||
public class Ec0100Controler {
|
||||
private final Ec0100Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/ec0100Form")
|
||||
public void ec0100Form(){
|
||||
|
||||
}
|
||||
|
||||
@RequestMapping(name = "", value = "/ec0100Popup")
|
||||
public ModelAndView ec0100Popup(@RequestParam(required = false) String keyField) {
|
||||
ModelAndView mav = new ModelAndView();
|
||||
|
||||
mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH +"ec/ec0100Popup.popup");
|
||||
if(Checks.isEmpty(keyField)) mav.addObject("", new ProgramMngVO());
|
||||
else mav.addObject("", service.findEc0100(keyField));
|
||||
|
||||
return mav;
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0100List")
|
||||
public ModelAndView findEc0100List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findEc0100List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0100")
|
||||
public ModelAndView findEc0100(String key){
|
||||
return ResultResponse.of(service.findEc0100(key));
|
||||
}
|
||||
|
||||
@PostMapping(name = "", value = "/addEc0100")
|
||||
public ModelAndView addEc0100(@RequestParam Map<String, Object> paraMap){
|
||||
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
|
||||
|
||||
// 서비스 호출
|
||||
|
||||
AjaxMessageMapRenderer.success(mav, MessageKey.CMM_INSERT_SUCCESS);
|
||||
return mav;
|
||||
}
|
||||
|
||||
@PostMapping(name = "", value = "/modifyEc0100")
|
||||
public ModelAndView modifyEc0100(@RequestParam Map<String, Object> paraMap){
|
||||
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
|
||||
|
||||
// 서비스 호출
|
||||
|
||||
AjaxMessageMapRenderer.success(mav, MessageKey.CMM_UPDATE_SUCCESS);
|
||||
return mav;
|
||||
}
|
||||
|
||||
@PostMapping(name = "", value = "/removeEc0100")
|
||||
public ModelAndView removeEc0100(@RequestParam String key){
|
||||
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
|
||||
|
||||
// 서비스 호출
|
||||
|
||||
AjaxMessageMapRenderer.success(mav, MessageKey.CMM_INSERT_SUCCESS);
|
||||
return mav;
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.ec.service.Ec0200Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/ec")
|
||||
public class Ec0200Controler {
|
||||
private final Ec0200Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/ec0200Form")
|
||||
public void ec0200Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0200List")
|
||||
public ModelAndView findEc0200List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findEc0200List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0200")
|
||||
public ModelAndView findEc0200(){
|
||||
return ResultResponse.of(service.findEc0200());
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.ec.service.Ec0300Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/ec")
|
||||
public class Ec0300Controler {
|
||||
private final Ec0300Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/ec0300Form")
|
||||
public void ec0300Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0300List")
|
||||
public ModelAndView findEc0300List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findEc0300List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0300")
|
||||
public ModelAndView findEc0300(){
|
||||
return ResultResponse.of(service.findEc0300());
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.ec.service.Ec0400Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/ec")
|
||||
public class Ec0400Controler {
|
||||
private final Ec0400Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/ec0400Form")
|
||||
public void ec0400Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0400List")
|
||||
public ModelAndView findEc0400List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findEc0400List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0400")
|
||||
public ModelAndView findEc0400(){
|
||||
return ResultResponse.of(service.findEc0400());
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.ec.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.ec.service.Ec0500Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/ec")
|
||||
public class Ec0500Controler {
|
||||
private final Ec0500Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/ec0500Form")
|
||||
public void ec0500Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0500List")
|
||||
public ModelAndView findEc0500List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findEc0500List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findEc0500")
|
||||
public ModelAndView findEc0500(){
|
||||
return ResultResponse.of(service.findEc0500());
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@SuppressWarnings("MybatisXMapperMethodInspection")
|
||||
@Mapper
|
||||
public interface Rt0300Mapper {
|
||||
List<Map<String, Object>> selectRt0300List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectRt0300();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Rt0400Mapper {
|
||||
List<Map<String, Object>> selectRt0400List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectRt0400();
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface Rt0500Mapper {
|
||||
List<Map<String, Object>> selectRt0500List(Map<String, Object> paraMap, RowBounds rowBounds);
|
||||
|
||||
Map<String, Object> selectRt0500();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Rt0300Service {
|
||||
List<Map<String, Object>> findRt0300List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findRt0300();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Rt0400Service {
|
||||
List<Map<String, Object>> findRt0400List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findRt0400();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
|
||||
public interface Rt0500Service {
|
||||
List<Map<String, Object>> findRt0500List(Map<String, Object> paraMap, RowBounds pagingInfo);
|
||||
Map<String, Object> findRt0500();
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.rt.dao.Rt0300Mapper;
|
||||
import kr.xit.fims.biz.rt.service.Rt0300Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Rt0300ServiceBean extends AbstractServiceBean implements Rt0300Service {
|
||||
private final Rt0300Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findRt0300List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectRt0300List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findRt0300() {
|
||||
return mapper.selectRt0300();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.rt.dao.Rt0400Mapper;
|
||||
import kr.xit.fims.biz.rt.service.Rt0400Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Rt0400ServiceBean extends AbstractServiceBean implements Rt0400Service {
|
||||
private final Rt0400Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findRt0400List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectRt0400List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findRt0400() {
|
||||
return mapper.selectRt0400();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
import org.apache.ibatis.session.RowBounds;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import kr.xit.fims.biz.rt.dao.Rt0500Mapper;
|
||||
import kr.xit.fims.biz.rt.service.Rt0500Service;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class Rt0500ServiceBean extends AbstractServiceBean implements Rt0500Service {
|
||||
private final Rt0500Mapper mapper;
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<Map<String, Object>> findRt0500List(Map<String, Object> paraMap, RowBounds rowBounds) {
|
||||
return mapper.selectRt0500List(paraMap, rowBounds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Map<String, Object> findRt0500() {
|
||||
return mapper.selectRt0500();
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.rt.service.Rt0300Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/rt")
|
||||
public class Rt0300Controler {
|
||||
private final Rt0300Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/rt0300Form")
|
||||
public void rt0300Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0300List")
|
||||
public ModelAndView findRt0300List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findRt0300List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0300")
|
||||
public ModelAndView findRt0300(){
|
||||
return ResultResponse.of(service.findRt0300());
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.rt.service.Rt0400Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/rt")
|
||||
public class Rt0400Controler {
|
||||
private final Rt0400Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/rt0400Form")
|
||||
public void rt0400Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0400List")
|
||||
public ModelAndView findRt0400List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findRt0400List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0400")
|
||||
public ModelAndView findRt0400(){
|
||||
return ResultResponse.of(service.findRt0400());
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package kr.xit.fims.biz.rt.web;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import kr.xit.fims.biz.rt.service.Rt0500Service;
|
||||
import kr.xit.fims.framework.core.dto.ResultResponse;
|
||||
import kr.xit.fims.framework.support.mybatis.MybatisUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Controller
|
||||
@RequestMapping(name = "", value = "/fims/biz/rt")
|
||||
public class Rt0500Controler {
|
||||
private final Rt0500Service service;
|
||||
|
||||
@GetMapping(name = "", value = "/rt0500Form")
|
||||
public void rt0500Form(){
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0500List")
|
||||
public ModelAndView findRt0500List(@RequestParam Map<String,Object> paraMap){
|
||||
return ResultResponse.of(service.findRt0500List(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
||||
}
|
||||
|
||||
@GetMapping(name = "", value = "/findRt0500")
|
||||
public ModelAndView findRt0500(){
|
||||
return ResultResponse.of(service.findRt0500());
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.ec.dao.Ec0100Mapper">
|
||||
|
||||
<select id="selectEc0100List" parameterType="map" resultType="caseMap">
|
||||
/* ec0100-mysql-mapper|selectEc0100List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectEc0100" parameterType="string" resultType="string">
|
||||
/* ec0100-mysql-mapper|selectEc0100-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.ec.dao.Ec0200Mapper">
|
||||
|
||||
<select id="selectEc0200List" parameterType="map" resultType="caseMap">
|
||||
/* ec0200-mysql-mapper|selectEc0200List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectEc0200" parameterType="string" resultType="string">
|
||||
/* ec0200-mysql-mapper|selectEc0200-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.ec.dao.Ec0300Mapper">
|
||||
|
||||
<select id="selectEc0300List" parameterType="map" resultType="caseMap">
|
||||
/* ec0300-mysql-mapper|selectEc0300List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectEc0300" parameterType="string" resultType="string">
|
||||
/* ec0300-mysql-mapper|selectEc0300-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.ec.dao.Ec0400Mapper">
|
||||
|
||||
<select id="selectEc0400List" parameterType="map" resultType="caseMap">
|
||||
/* ec0400-mysql-mapper|selectEc0400List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectEc0400" parameterType="string" resultType="string">
|
||||
/* ec0400-mysql-mapper|selectEc0400-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.ec.dao.Ec0500Mapper">
|
||||
|
||||
<select id="selectEc0500List" parameterType="map" resultType="caseMap">
|
||||
/* ec0500-mysql-mapper|selectEc0500List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectEc0500" parameterType="string" resultType="string">
|
||||
/* ec0500-mysql-mapper|selectEc0500-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.rt.dao.Rt0300Mapper">
|
||||
|
||||
<select id="selectRt0300List" parameterType="map" resultType="caseMap">
|
||||
/* rt0300-mysql-mapper|selectRt0300List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectRt0300" parameterType="string" resultType="string">
|
||||
/* rt0300-mysql-mapper|selectRt0300-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.rt.dao.Rt0400Mapper">
|
||||
|
||||
<select id="selectRt0400List" parameterType="map" resultType="caseMap">
|
||||
/* rt0400-mysql-mapper|selectRt0400List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectRt0400" parameterType="string" resultType="string">
|
||||
/* rt0400-mysql-mapper|selectRt0400-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="kr.xit.fims.biz.rt.dao.Rt0500Mapper">
|
||||
|
||||
<select id="selectRt0500List" parameterType="map" resultType="caseMap">
|
||||
/* rt0500-mysql-mapper|selectRt0500List-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
<select id="selectRt0500" parameterType="string" resultType="string">
|
||||
/* rt0500-mysql-mapper|selectRt0500-|julim */
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,205 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
|
||||
|
||||
<style>
|
||||
h1 {font-size:12px;}
|
||||
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
|
||||
</style>
|
||||
|
||||
<form name="frmSearch" id="frmSearch">
|
||||
|
||||
<div class="container-search">
|
||||
<table>
|
||||
<caption>검색조건</caption>
|
||||
<colgroup>
|
||||
<col style="width: 15%">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 8%;">
|
||||
<col>
|
||||
<col style="width: 8%;">
|
||||
<col>
|
||||
<col style="width: 7%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<th>프로그램 한글명</th>
|
||||
<td>
|
||||
<input name="searchKeyword" id="searchKeyword" type="text" size="60" value="<c:out value='${searchKeyword}'/>" maxlength="60" title="검색조건">
|
||||
</td>
|
||||
<td colspan="6">
|
||||
<button type="button" id="btnSearch" class="btn btn-search" title="검색">검색</button>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
<!-- //검색 -->
|
||||
|
||||
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
|
||||
<c:choose>
|
||||
<c:when test="${param.tilesDef == 'popup'}">
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="container-page-btn">
|
||||
<span>
|
||||
<a href="#" class="btn btn-darkgray" id="btnRegist" title="등록" onClick="mngProgramMgtForm.addProgram()">등록</a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //버튼 및 페이지정보 -->
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<!-- 데이터 출력 -->
|
||||
<div id="grid_t0"></div>
|
||||
|
||||
<script type="text/javaScript">
|
||||
let GRID = null;
|
||||
|
||||
/* ========================
|
||||
* 데이터 조회 : popup에서 사용
|
||||
======================== */
|
||||
var findEc0100List = function(){
|
||||
GRID.reloadData();
|
||||
};
|
||||
|
||||
/* ========================
|
||||
* 상세 팝업 오픈 버튼 클릭
|
||||
-상세 팝업을 OPEN 한다.
|
||||
======================== */
|
||||
const fnClickProgramBtn = (props) => {
|
||||
const rowData = props.grid.getRow(props.rowKey);
|
||||
|
||||
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
|
||||
//모달창 외부 클릭시 닫기
|
||||
,onOverlayClick: () => {
|
||||
$.unblockUI();
|
||||
popup?.self?.close();
|
||||
}
|
||||
});
|
||||
popup = CmmPopup.open(
|
||||
'<c:url value="/fims/biz/ec/ec0100Popup.do"/>'
|
||||
, {
|
||||
progrmFileNm: rowData.progrmFileNm
|
||||
}
|
||||
, {
|
||||
width: 720
|
||||
, height: 655
|
||||
}
|
||||
, '프로그램 상세'
|
||||
)
|
||||
};
|
||||
|
||||
const init = () => {
|
||||
|
||||
const gridColumns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
|
||||
{
|
||||
header: '프로그램 파일명',
|
||||
name: 'progrmFileNm',
|
||||
minWidth: 200,
|
||||
sortable: true,
|
||||
sortingType: 'desc',
|
||||
align: 'left',
|
||||
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
|
||||
<c:if test="${param.tilesDef != 'popup'}">
|
||||
renderer: {
|
||||
type: CustomButtonRenderer,
|
||||
options: {
|
||||
formatter : (props) => ({
|
||||
formatter : props.grid.getRow(props.rowKey).progrmFileNm
|
||||
, element: "text"
|
||||
})
|
||||
, eventFunction: this.fnClickProgramBtn //function(){alert("1234")}
|
||||
, eventType : "click"
|
||||
}
|
||||
}
|
||||
</c:if>
|
||||
},
|
||||
{
|
||||
header: '프로그램 한글명',
|
||||
name: 'progrmKoreanNm',
|
||||
minWidth: 200,
|
||||
sortable: false,
|
||||
align: 'left'
|
||||
},
|
||||
{
|
||||
header: 'URL',
|
||||
name: 'url',
|
||||
minWidth: 300,
|
||||
sortable: true,
|
||||
align: 'left'
|
||||
},
|
||||
{
|
||||
header: '프로그램 설명',
|
||||
name: 'progrmDc',
|
||||
width: 150,
|
||||
sortable: false,
|
||||
align: 'left'
|
||||
}
|
||||
];
|
||||
const gridDatasource = { //DataSource
|
||||
/* -----------------------
|
||||
* DataSource API Setting
|
||||
----------------------- */
|
||||
//initialRequest: true, // 화면 load시 조회 안함 - default
|
||||
api: {
|
||||
readData: {
|
||||
url: '<c:url value="/fims/biz/ec/findEc0100List.do"/>'
|
||||
, method: 'get'
|
||||
, serializer: (params) => {
|
||||
return fnAddPageInfo(document.frmSearch, params);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const gridOptions = {
|
||||
el: 'grid_t0',
|
||||
rowHeaders: ['rowNum'],
|
||||
columns: gridColumns,
|
||||
columnOptions: {
|
||||
frozenCount: 1 //고정컬럼 갯수
|
||||
, minWidth: 80 //최소 사이즈
|
||||
}
|
||||
};
|
||||
GRID = TuiGrid.of(gridOptions, gridDatasource);
|
||||
/* ******************************
|
||||
* Grid end
|
||||
****************************** */
|
||||
|
||||
/** ******************************
|
||||
* Event 정의
|
||||
* ******************************/
|
||||
$('#btnSearch').on('click', () => {
|
||||
GRID.reloadData();
|
||||
//GRID.refreshLayout();
|
||||
});
|
||||
};
|
||||
|
||||
/* ========================
|
||||
* 데이터 등록
|
||||
======================== */
|
||||
const addProgram = () => {
|
||||
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
|
||||
//모달창 외부 클릭시 닫기
|
||||
,onOverlayClick: () => {
|
||||
$.unblockUI();
|
||||
popup?.self?.close();
|
||||
}
|
||||
});
|
||||
popup = CmmPopup.open(
|
||||
'<c:url value="/fims/biz/ec/ec0100Popup.do"/>'
|
||||
, null
|
||||
, {
|
||||
width: 720
|
||||
, height: 655
|
||||
}
|
||||
, 'EC ㄷㅡㅇ록'
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
// initialize
|
||||
$(document).ready(function(){
|
||||
init();
|
||||
});
|
||||
</script>
|
@ -1,155 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
|
||||
|
||||
<form:form id="frmEc0100">
|
||||
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window1" style="max-width: 700px;">
|
||||
<p class="container-window-header2"> 프로그램 상세조회 /수정</p>
|
||||
<table class="table-03">
|
||||
<caption>프로그램 상세조회 /수정</caption>
|
||||
<colgroup>
|
||||
<col style="width: 20%; height: 23px;">
|
||||
<col style="width: 80%; height: 23px;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="progrmFileNm" class="required">프로그램파일명</label>
|
||||
</th>
|
||||
<td nowrap="nowrap">
|
||||
<c:choose>
|
||||
<c:when test="${!empty progrmMngVO.progrmFileNm and fn:length(progrmMngVO.progrmFileNm) > 0}">
|
||||
<input type="text" id='progrmFileNm' name='progrmFileNm' disabled="disabled" value="<c:out value='${progrmMngVO.progrmFileNm}'/>">
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="text" id='progrmFileNm' name='progrmFileNm' value="<c:out value='${progrmMngVO.progrmFileNm}'/>">
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<form:input path="progrmFileNm" size="50" maxlength="50" title="프로그램파일명" cssStyle="display:none" />
|
||||
<form:errors path="progrmFileNm"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="progrmStrePath" class="required">저장경로</label>
|
||||
</th>
|
||||
<td nowrap="nowrap">
|
||||
<form:input path="progrmStrePath" size="50" maxlength="50" title="저장경로" disabled="disabled"/>
|
||||
<form:errors path="progrmStrePath"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="progrmKoreanNm" class="required">프로그램 한글명</label>
|
||||
</th>
|
||||
<td nowrap="nowrap">
|
||||
<form:input path="progrmKoreanNm" size="60" maxlength="50" title="프로그램 한글명"/>
|
||||
<form:errors path="progrmKoreanNm" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="URL" class="required">URL</label>
|
||||
</th>
|
||||
<td nowrap="nowrap">
|
||||
<form:input path="URL" size="100" maxlength="100" title="URL" />
|
||||
<form:errors path="URL" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="progrmDc" class="required">프로그램설명</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:textarea path="progrmDc" rows="14" cols="75" title="프로그램설명"/>
|
||||
<form:errors path="progrmDc"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="container-window-btn1">
|
||||
<span colspan="4">
|
||||
<c:choose>
|
||||
<c:when test="${!empty progrmMngVO.progrmFileNm and fn:length(progrmMngVO.progrmFileNm) > 0}">
|
||||
<a href="#LINK" class="btn btn-blue" id="btnModify" onclick="mngProgramMgtPopup.modifyProgram()">변경</a>
|
||||
<a href="#LINK" class="btn btn-red" id="btnRemove" onclick="mngProgramMgtPopup.removeProgram()">삭제</a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a href="#LINK" class="btn btn-blue" id="btnModify" onClick="mngProgramMgtPopup.addProgram()">등록</a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<a href="#" class="btn btn-lightgray" id="btnClose" >닫기</a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
</form:form>
|
||||
|
||||
<script type="text/javaScript">
|
||||
const init = () => {
|
||||
//닫기 버튼 Event
|
||||
$("#btnClose").click(function() {
|
||||
window.close();
|
||||
});
|
||||
|
||||
$(".popup").css("position","absolute");
|
||||
|
||||
|
||||
};
|
||||
|
||||
const addEc0100 = () => {
|
||||
//유효성 체크
|
||||
//if(!validateProgrmMngVO(document.getElementById("progrmMngVO")))
|
||||
// return;
|
||||
|
||||
const varFrom = document.getElementById("frmEc0100");
|
||||
if($CmmAnsTmplDtl("저장 하시겠습니까?")){
|
||||
cmmAjax({
|
||||
url: '<c:url value="/fims/biz/ec/addEc0100.do"/>'
|
||||
,data: $(varFrom).serialize()
|
||||
,success: () => {
|
||||
window.opener.findEc0100List();
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const modifyEc0100 = () => {
|
||||
//if(!validateProgrmMngVO(document.getElementById("progrmMngVO")))
|
||||
// return;
|
||||
|
||||
const varFrom = document.getElementById("frmEc0100");
|
||||
if(confirm("변경 하시겠습니까?")){
|
||||
cmmAjax({
|
||||
url: '<c:url value="/fims/biz/ec/modifyEc0100.do"/>'
|
||||
,data: $(varFrom).serialize()
|
||||
,success: () => {
|
||||
window.opener.findEc0100List();
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const removeEc0100 = () => {
|
||||
if(confirm("삭제 하시겠습니까?")){
|
||||
cmmAjax({
|
||||
url: '<c:url value="/fims/biz/ec/removeEc0100.do"/>'
|
||||
,data: {}
|
||||
,success: () => {
|
||||
window.opener.findEc0100List();
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
mngProgramMgtPopup.init();
|
||||
});
|
||||
</script>
|
Loading…
Reference in New Issue