jsp파일명, 컨트롤러 파일명 변경

main
이범준 4 months ago
parent 42ef395cce
commit 8e7d8a1690

@ -1,13 +1,316 @@
package cokr.xit.fims.base.web;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.io.FilenameUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.user.Department;
import cokr.xit.base.user.Sigungu;
import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.service.SigunguDepartmentService;
import cokr.xit.base.user.web.SigunguDepartmentController;
import cokr.xit.fims.base.FimsDepartment;
import cokr.xit.fims.base.FimsSigungu;
import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.cmmn.service.StngService;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.mngt.service.bean.TaskBean;
import cokr.xit.fims.mngt.service.bean.VltnBean;
import cokr.xit.foundation.UserInfo;
import cokr.xit.foundation.data.DataObject;
@Controller
public class OgdpController extends SigunguDepartmentController<Sigungu, Department> {
public class METHOD_URL {
public static final String
sggStngMain = "/ogdp/sggStngMain.do",
getSggStngInfo = "/ogdp/getSggStngInfo.do",
getTasks = "/ogdp/getTasks.do",
getVltns = "/ogdp/getVltns.do",
updateSggStng = "/ogdp/updateSggStng.do",
updateTaskStng = "/ogdp/updateTaskStng.do",
createTaskStng = "/ogdp/createTaskStng.do",
deptStngMain = "/ogdp/deptStngMain.do",
getDeptStngList = "/ogdp/getDeptStngList.do",
getDeptStngInfo = "/ogdp/getDeptStngInfo.do",
updateDeptStng = "/ogdp/updateDeptStng.do"
;
}
@Resource(name="sigunguDepartmentService")
private SigunguDepartmentService sggDeptService;
@Resource(name="ogdpBean")
private OgdpBean ogdpBean;
/** 설정 정보 서비스 */
@Resource(name = "stngService")
private StngService stngService;
/** 업무 정보 Bean */
@Resource(name = "taskBean")
private TaskBean taskBean;
/** 위반 정보 Bean */
@Resource(name = "vltnBean")
private VltnBean vltnBean;
/** .
* @return fims/ogdp/ogdp01010-main
*/
@RequestMapping(name="시군구 설정 정보 관리 메인", value=METHOD_URL.sggStngMain)
public ModelAndView sggStngMain(String sggCd) {
ModelAndView mav = new ModelAndView();
UserInfo userInfo = currentUser();
if(userInfo.getInstitute().equals("default")) {
if(ifEmpty(sggCd, ()->"").equals("")) {
mav.setViewName("fims/ogdp/select-sgg");
mav.addObject("pageName", "selectSgg");
List<DataObject> sggList = ogdpBean.selectAllSggList();
mav.addObject("sggList", sggList);
} else {
mav.setViewName("fims/ogdp/ogdp01010-main");
mav.addObject("pageName", "ogdp01010");
mav.addObject("sggCd", sggCd);
}
} else {
mav.setViewName("fims/ogdp/ogdp01010-main");
mav.addObject("pageName", "ogdp01010");
ogdpBean.initUserInfo(userInfo);
mav.addObject("sggCd", userInfo.getInfo().get("sggCd"));
}
return mav;
}
/** .<br />
* @param req
* @return jsonView
*/
@RequestMapping(name="시군구 설정 조회", value=METHOD_URL.getSggStngInfo)
public ModelAndView getSggStngInfo(OgdpQuery req) {
ModelAndView mav = new ModelAndView("jsonView");
DataObject sggInfo = ogdpBean.getSggStngInfo(req);
mav.addObject("sggInfo", sggInfo);
return mav;
}
/** .<br />
* @param req
* @return jsonView
*/
@RequestMapping(name="업무 조회", value=METHOD_URL.getTasks)
public ModelAndView getTasks(CmmnQuery req) {
List<DataObject> result = taskBean.getTasks(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "task");
}
/** .<br />
* @return
*/
@RequestMapping(name="위반정보 조회", value=METHOD_URL.getVltns)
public ModelAndView getVltns(VltnQuery req) {
List<DataObject> result = vltnBean.getVltns(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn");
}
/** .
* @param sgg , symbol , logo , offcs
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="시군구 설정 정보 수정", value=METHOD_URL.updateSggStng)
public ModelAndView updateSggStng(FimsSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
ModelAndView mav = new ModelAndView("jsonView");
String sggCd = sgg.getSggID();
if(symbol != null && !symbol.isEmpty() && symbol.getSize() != 0) {
Map<String,String> newSymbol = this.uploadForSgg(symbol, sggCd, "symbol");
sgg.setSymbolFilepath(newSymbol.get("filePath"));
sgg.setSymbolFilename(newSymbol.get("fileName"));
}
if(logo != null && !logo.isEmpty() && logo.getSize() != 0) {
Map<String,String> newLogo = this.uploadForSgg(logo, sggCd, "logo");
sgg.setLogoFilepath(newLogo.get("filePath"));
sgg.setLogoFilename(newLogo.get("fileName"));
}
if(offcs != null && !offcs.isEmpty() && offcs.getSize() != 0) {
Map<String,String> newOffcs = this.uploadForSgg(offcs, sggCd, "offcs");
sgg.setOfficialSealFilepath(newOffcs.get("filePath"));
sgg.setOfficialSealFilename(newOffcs.get("fileName"));
}
boolean saved = ogdpBean.updateSggStng(sgg);
mav.addObject("saved", saved);
return mav;
}
private Map<String, String> uploadForSgg(MultipartFile mf, String sggCd, String fileSe){
Map<String,String> newFileInfoMap = new HashMap<>();
String workDirPath = "files/attachment/etc/"+fileSe;
String ext = FilenameUtils.getExtension(mf.getOriginalFilename());
String fileName = sggCd+"."+ext;
File workDir = new File(workDirPath);
workDir.mkdirs();
String newFileFullPath = workDirPath + "/" + fileName;
try {
File newFile = new File(newFileFullPath);
if(newFile.exists()) {
if(!newFile.delete()) {
throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다.");
}
}
mf.transferTo(newFile);
} catch (Exception e) {
throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다.");
}
newFileInfoMap.put("filePath", newFileFullPath);
newFileInfoMap.put("fileName", mf.getOriginalFilename());
return newFileInfoMap;
}
/** , .
* @param sgg
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="업무 설정 정보 수정", value=METHOD_URL.updateTaskStng)
public ModelAndView updateTaskStng(Task task) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
String rtnMsg = stngService.updateTaskStng(task, task.getVltnStngList());
if(rtnMsg.contains("[S]")) {
saved = true;
}
mav.addObject("saved", saved);
return mav;
}
/** , .
* @param sggCd , taskSeCd
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="시군구 과태료 업무 추가", value=METHOD_URL.createTaskStng)
public ModelAndView createTaskStng(String sggCd, String taskSeCd) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
String rtnMsg = stngService.createTaskStng(sggCd, taskSeCd);
if(rtnMsg.contains("[S]")) {
saved = true;
}
mav.addObject("saved", saved);
return mav;
}
/** .
* @return fims/ogdp/ogdp02010-main
*/
@RequestMapping(name="부서 설정 정보 관리 메인", value=METHOD_URL.deptStngMain)
public ModelAndView deptStngMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/ogdp/ogdp02010-main");
mav.addObject("pageName", "ogdp02010");
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
mav.addObject("sggList", allSggList);
return mav;
}
/** .<br />
* {@link OgdpService#getDeptStngList(CmmnQuery)}
* @param query
* @return jsonView
*/
@RequestMapping(name="부서 설정 목록 조회", value=METHOD_URL.getDeptStngList)
public ModelAndView getDeptStngList(OgdpQuery query) {
setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), ogdpBean.getDeptStngList(query),"","");
}
/** ID (info) .
* @param query
* @return fims/ogdp/ogdp02020-info jsonView
* <pre>{
* "deptInfo":
* }</pre>
*/
@RequestMapping(name="부서 설정 상세 조회", value=METHOD_URL.getDeptStngInfo)
public ModelAndView getDeptStngInfo(OgdpQuery query) {
DataObject deptInfo = new DataObject();
if(!ifEmpty(query.getDeptCd(), ()->"").equals("")) {
deptInfo = ogdpBean.getDeptStngInfo(query);
} else {
deptInfo = null;
}
boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/ogdp/ogdp02020-info");
mav.addObject("pageName", "ogdp02020");
mav.addObject("deptInfo", json ? deptInfo : toJson(deptInfo));
return mav;
}
/** .
* @param dept
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="부서 설정 수정", value=METHOD_URL.updateDeptStng)
public ModelAndView updateDeptStng(FimsDepartment dept) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = ogdpBean.updateDeptStng(dept);
mav.addObject("saved", saved);
return mav;
}
}

@ -1,237 +0,0 @@
package cokr.xit.fims.mngt.web;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.io.FilenameUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.base.FimsSigungu;
import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.cmmn.service.StngService;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.mngt.service.bean.TaskBean;
import cokr.xit.fims.mngt.service.bean.VltnBean;
import cokr.xit.foundation.UserInfo;
import cokr.xit.foundation.data.DataObject;
/** .<br />
* { }/mngt/mngt03 .
* @author leebj
*/
@Controller
@RequestMapping(name="시군구 정보 관리", value=Mngt03Controller.CLASS_URL)
public class Mngt03Controller extends ApplicationController {
public static final String CLASS_URL = "/mngt/mngt03";
public class METHOD_URL {
public static final String
sggMngtMain = "/010/main.do",
getSggStngInfo = "/010/getSggInfo.do",
getTasks = "/010/getTasks.do",
getVltns = "/010/getVltns.do",
updateSggStng = "/010/updateSgg.do",
updateTaskStng = "/010/updateTaskStng.do",
createTaskStng = "/010/createTaskStng.do"
;
}
@Resource(name="ogdpBean")
private OgdpBean ogdpBean;
/** 설정 정보 서비스 */
@Resource(name = "stngService")
private StngService stngService;
/** 업무 정보 Bean */
@Resource(name = "taskBean")
private TaskBean taskBean;
/** 위반 정보 Bean */
@Resource(name = "vltnBean")
private VltnBean vltnBean;
/** .
* @return fims/mngt/mngt03010-main
*/
@RequestMapping(name="시군구 정보 관리 메인", value=METHOD_URL.sggMngtMain)
public ModelAndView sggMngtMain(String sggCd) {
ModelAndView mav = new ModelAndView();
UserInfo userInfo = currentUser();
if(userInfo.getInstitute().equals("default")) {
if(ifEmpty(sggCd, ()->"").equals("")) {
mav.setViewName("fims/mngt/select-sgg");
mav.addObject("pageName", "selectSgg");
List<DataObject> sggList = ogdpBean.selectAllSggList();
mav.addObject("sggList", sggList);
} else {
mav.setViewName("fims/mngt/mngt03010-main");
mav.addObject("pageName", "mngt03010");
mav.addObject("sggCd", sggCd);
}
} else {
mav.setViewName("fims/mngt/mngt03010-main");
mav.addObject("pageName", "mngt03010");
ogdpBean.initUserInfo(userInfo);
mav.addObject("sggCd", userInfo.getInfo().get("sggCd"));
}
return mav;
}
/** .<br />
* @param req
* @return jsonView
*/
@RequestMapping(name="시군구 설정 조회", value=METHOD_URL.getSggStngInfo)
public ModelAndView getSggInfo(OgdpQuery req) {
ModelAndView mav = new ModelAndView("jsonView");
DataObject sggInfo = ogdpBean.getSggStngInfo(req);
mav.addObject("sggInfo", sggInfo);
return mav;
}
/** .<br />
* @param req
* @return jsonView
*/
@RequestMapping(name="업무 조회", value=METHOD_URL.getTasks)
public ModelAndView getTasks(CmmnQuery req) {
List<DataObject> result = taskBean.getTasks(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "task");
}
/** .<br />
* @return
*/
@RequestMapping(name="위반정보 조회", value=METHOD_URL.getVltns)
public ModelAndView getVltns(VltnQuery req) {
List<DataObject> result = vltnBean.getVltns(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn");
}
/** .
* @param sgg , symbol , logo , offcs
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="시군구 설정 정보 수정", value=METHOD_URL.updateSggStng)
public ModelAndView updateSggStng(FimsSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
ModelAndView mav = new ModelAndView("jsonView");
String sggCd = sgg.getSggID();
if(symbol != null && !symbol.isEmpty() && symbol.getSize() != 0) {
Map<String,String> newSymbol = this.uploadForSgg(symbol, sggCd, "symbol");
sgg.setSymbolFilepath(newSymbol.get("filePath"));
sgg.setSymbolFilename(newSymbol.get("fileName"));
}
if(logo != null && !logo.isEmpty() && logo.getSize() != 0) {
Map<String,String> newLogo = this.uploadForSgg(logo, sggCd, "logo");
sgg.setLogoFilepath(newLogo.get("filePath"));
sgg.setLogoFilename(newLogo.get("fileName"));
}
if(offcs != null && !offcs.isEmpty() && offcs.getSize() != 0) {
Map<String,String> newOffcs = this.uploadForSgg(offcs, sggCd, "offcs");
sgg.setOfficialSealFilepath(newOffcs.get("filePath"));
sgg.setOfficialSealFilename(newOffcs.get("fileName"));
}
boolean saved = ogdpBean.updateSggStng(sgg);
mav.addObject("saved", saved);
return mav;
}
private Map<String, String> uploadForSgg(MultipartFile mf, String sggCd, String fileSe){
Map<String,String> newFileInfoMap = new HashMap<>();
String workDirPath = "files/attachment/etc/"+fileSe;
String ext = FilenameUtils.getExtension(mf.getOriginalFilename());
String fileName = sggCd+"."+ext;
File workDir = new File(workDirPath);
workDir.mkdirs();
String newFileFullPath = workDirPath + "/" + fileName;
try {
File newFile = new File(newFileFullPath);
if(newFile.exists()) {
if(!newFile.delete()) {
throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다.");
}
}
mf.transferTo(newFile);
} catch (Exception e) {
throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다.");
}
newFileInfoMap.put("filePath", newFileFullPath);
newFileInfoMap.put("fileName", mf.getOriginalFilename());
return newFileInfoMap;
}
/** , .
* @param sgg
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="업무 설정 정보 수정", value=METHOD_URL.updateTaskStng)
public ModelAndView updateTaskStng(Task task) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
String rtnMsg = stngService.updateTaskStng(task, task.getVltnStngList());
if(rtnMsg.contains("[S]")) {
saved = true;
}
mav.addObject("saved", saved);
return mav;
}
/** , .
* @param sggCd , taskSeCd
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="시군구 과태료 업무 추가", value=METHOD_URL.createTaskStng)
public ModelAndView createTaskStng(String sggCd, String taskSeCd) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
String rtnMsg = stngService.createTaskStng(sggCd, taskSeCd);
if(rtnMsg.contains("[S]")) {
saved = true;
}
mav.addObject("saved", saved);
return mav;
}
}

@ -1,121 +0,0 @@
package cokr.xit.fims.mngt.web;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.service.SigunguDepartmentService;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.base.FimsDepartment;
import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.foundation.data.DataObject;
/** .<br />
* { }/mngt/mngt04 .
* @author leebj
*/
@Controller
@RequestMapping(name="부서 정보 관리", value=Mngt04Controller.CLASS_URL)
public class Mngt04Controller extends ApplicationController {
public static final String CLASS_URL = "/mngt/mngt04";
public class METHOD_URL {
public static final String
deptStngMngtMain = "/010/main.do"
, getDeptStngList = "/010/list.do"
, getDeptStngInfo = "/020/info.do"
, updateDeptStng = "/020/update.do"
;
}
@Resource(name="sigunguDepartmentService")
private SigunguDepartmentService sggDeptService;
/** 소속 정보 서비스 */
@Resource(name = "ogdpBean")
private OgdpBean ogdpBean;
/** .
* @return fims/mngt/mngt04010-main
*/
@RequestMapping(name="부서 설정 정보 관리 메인", value=METHOD_URL.deptStngMngtMain)
public ModelAndView deptStngMngtMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/mngt/mngt04010-main");
mav.addObject("pageName", "mngt04010");
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
mav.addObject("sggList", allSggList);
return mav;
}
/** .<br />
* {@link OgdpService#getDeptStngList(CmmnQuery)}
* @param query
* @return jsonView
*/
@RequestMapping(name="부서 목록 조회", value=METHOD_URL.getDeptStngList)
public ModelAndView getDeptStngList(OgdpQuery query) {
setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), ogdpBean.getDeptStngList(query),"","");
}
/** ID (info) .
* @param query
* @return fims/mngt/mngt04020-info jsonView
* <pre>{
* "deptInfo":
* }</pre>
*/
@RequestMapping(name="부서 상세 조회", value=METHOD_URL.getDeptStngInfo)
public ModelAndView getDeptStngInfo(OgdpQuery query) {
DataObject deptInfo = new DataObject();
if(!ifEmpty(query.getDeptCd(), ()->"").equals("")) {
deptInfo = ogdpBean.getDeptStngInfo(query);
} else {
deptInfo = null;
}
boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/mngt/mngt04020-info");
mav.addObject("pageName", "mngt04020");
mav.addObject("deptInfo", json ? deptInfo : toJson(deptInfo));
return mav;
}
/** .
* @param dept
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@RequestMapping(name="부서 설정 수정", value=METHOD_URL.updateDeptStng)
public ModelAndView updateDeptStng(FimsDepartment dept) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = ogdpBean.updateDeptStng(dept);
mav.addObject("saved", saved);
return mav;
}
}

@ -263,7 +263,7 @@ $(document).ready(function(){
$P.getSggInfo = async function(){
return new Promise((resolve, reject) => {
ajax.get({
url: wctx.url("mngt/mngt03/010/getSggInfo.do"),
url: wctx.url("user/ogdp/getSggStngInfo.do"),
data: {
sggCd : $P.curSggCd
},
@ -309,7 +309,7 @@ $(document).ready(function(){
$P.getSggTaskInfo = async function(){
return new Promise((resolve, reject) => {
ajax.get({
url: wctx.url("mngt/mngt03/010/getTasks.do"),
url: wctx.url("user/ogdp/getTasks.do"),
data: {
useYn : "Y",
sggCd : $P.curSggCd
@ -381,7 +381,7 @@ $(document).ready(function(){
$P.getVltnInfo = async function(){
return new Promise((resolve, reject) => {
ajax.get({
url: wctx.url("mngt/mngt03/010/getVltns.do"),
url: wctx.url("user/ogdp/getVltns.do"),
data: {
useYN : "Y",
sggCd : $P.curSggCd
@ -421,7 +421,7 @@ $(document).ready(function(){
var formData = new FormData($("#mainForm--${pageName}")[0]);
ajax.post({
url: wctx.url("mngt/mngt03/010/updateSgg.do"),
url: wctx.url("user/ogdp/updateSggStng.do"),
data: formData,
contentType : false, processData : false,
success: (resp) => {
@ -478,7 +478,7 @@ $(document).ready(function(){
$("#selectTaskModal").modal("hide");
ajax.post({
url: wctx.url("mngt/mngt03/010/createTaskStng.do"),
url: wctx.url("user/ogdp/createTaskStng.do"),
data: {
sggCd : $("#mainForm--${pageName}").find("[name='sggID']").val(),
taskSeCd : taskSeCd
@ -515,7 +515,7 @@ $(document).ready(function(){
}
ajax.post({
url: wctx.url("mngt/mngt03/010/updateTaskStng.do"),
url: wctx.url("user/ogdp/updateTaskStng.do"),
data: formData,
contentType : false, processData : false,
success: (resp) => {

@ -157,9 +157,8 @@ $(document).ready(function(){
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.DEPT_CD : "",
urls : {
load : wctx.url("/mngt/mngt04/010/list.do"),
getInfo : wctx.url("/mngt/mngt04/020/info.do"),
remove : wctx.url("/mngt/mngt04/010/remove.do")
load : wctx.url("/user/ogdp/getDeptStngList.do"),
getInfo : wctx.url("/user/ogdp/getDeptStngInfo.do")
},
formats: {
REG_DT : datetimeFormat,

@ -287,8 +287,7 @@ $(document).ready(function(){
dataGetter : obj => obj["List"], appendData : true,
keymapper : info => info ? info.DEPT_CD : "",
urls : {
create : wctx.url("/mngt/mngt04/020/create.do"),
update : wctx.url("/mngt/mngt04/020/update.do")
update : wctx.url("/user/ogdp/updateDeptStng.do")
},
formats: {

@ -21,7 +21,7 @@
<script>
function fnGoToEditSgg(selected){
let menuUrl = wctx.url("/mngt/mngt03/010/main.do");
let menuUrl = wctx.url("user/ogdp/sggStngMain.do");
let curTabId = getActiveRootTabArea().id;
Loading…
Cancel
Save