소스 정리

main
이범준 9 months ago
parent b664e81160
commit ef87f3000b

@ -22,7 +22,6 @@ import cokr.xit.fims.cmmn.service.StngService;
import cokr.xit.fims.cmmn.service.bean.ExtrStngBean; import cokr.xit.fims.cmmn.service.bean.ExtrStngBean;
import cokr.xit.fims.cmmn.service.bean.OtptStngBean; import cokr.xit.fims.cmmn.service.bean.OtptStngBean;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.stat.dao.StatMapper; import cokr.xit.fims.stat.dao.StatMapper;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -65,9 +64,6 @@ public class StngController extends ApplicationController {
@Resource(name = "userMapper") @Resource(name = "userMapper")
private UserMapper userMapper; private UserMapper userMapper;
@Resource(name = "globalStngMapper")
private GlobalStngMapper globalStngMapper;
@Resource(name = "statMapper") @Resource(name = "statMapper")
private StatMapper statMapper; private StatMapper statMapper;

@ -10,8 +10,8 @@ import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDescriptor;
import cokr.xit.foundation.component.AbstractMapper; import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@Mapper("globalStngMapper") @Mapper("crdnStngMapper")
public interface GlobalStngMapper extends AbstractMapper { public interface CrdnStngMapper extends AbstractMapper {
/** .<br /> /** .<br />
* {@link cokr.xit.fims.crdn.service.bean.CrdnStngBean#getBasicAmt(CrdnQuery)} * {@link cokr.xit.fims.crdn.service.bean.CrdnStngBean#getBasicAmt(CrdnQuery)}

@ -27,8 +27,8 @@ import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInfoMapper; import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
import cokr.xit.fims.crdn.dao.CrdnInstMapper; import cokr.xit.fims.crdn.dao.CrdnInstMapper;
import cokr.xit.fims.crdn.dao.CrdnListMapper; import cokr.xit.fims.crdn.dao.CrdnListMapper;
import cokr.xit.fims.crdn.dao.CrdnStngMapper;
import cokr.xit.fims.crdn.dao.CrdnUpdtMapper; import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.dao.ImportMapper; import cokr.xit.fims.crdn.dao.ImportMapper;
import cokr.xit.fims.crdn.send.nxrp.AttachedTxtMaker; import cokr.xit.fims.crdn.send.nxrp.AttachedTxtMaker;
import cokr.xit.fims.crdn.send.nxrp.LinkFileMaker; import cokr.xit.fims.crdn.send.nxrp.LinkFileMaker;
@ -62,8 +62,8 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
@Resource(name="crdnInfoMapper") @Resource(name="crdnInfoMapper")
private CrdnInfoMapper crdnInfoMapper; private CrdnInfoMapper crdnInfoMapper;
@Resource(name="globalStngMapper") @Resource(name="crdnStngMapper")
private GlobalStngMapper globalStngMapper; private CrdnStngMapper crdnStngMapper;
@Resource(name="totalInfoMapper") @Resource(name="totalInfoMapper")
private TotalInfoMapper totalInfoMapper; private TotalInfoMapper totalInfoMapper;
@ -448,7 +448,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
Map<String, Object> stdgQuery = new HashMap<>(); Map<String, Object> stdgQuery = new HashMap<>();
stdgQuery.put("sggCd", crdnInfo.string("SGG_CD")); stdgQuery.put("sggCd", crdnInfo.string("SGG_CD"));
stdgQuery.put("emdNm", crdnInfo.string("CRDN_STDG_NM")); stdgQuery.put("emdNm", crdnInfo.string("CRDN_STDG_NM"));
List<String> stdgCds = globalStngMapper.selectStdgCdListByStdgNm(stdgQuery); List<String> stdgCds = crdnStngMapper.selectStdgCdListByStdgNm(stdgQuery);
if(stdgCds != null && stdgCds.size() == 1 && stdgCds.get(0) != null && !stdgCds.get(0).equals("")) { if(stdgCds != null && stdgCds.size() == 1 && stdgCds.get(0) != null && !stdgCds.get(0).equals("")) {
crdnInfo.put("STDG_CD", stdgCds.get(0)); crdnInfo.put("STDG_CD", stdgCds.get(0));

@ -12,9 +12,9 @@ import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.ExmptnVhcl; import cokr.xit.fims.crdn.ExmptnVhcl;
import cokr.xit.fims.crdn.Team; import cokr.xit.fims.crdn.Team;
import cokr.xit.fims.crdn.dao.CrdnStngMapper;
import cokr.xit.fims.crdn.dao.CrdnTeamMapper; import cokr.xit.fims.crdn.dao.CrdnTeamMapper;
import cokr.xit.fims.crdn.dao.ExmptnVhclMapper; import cokr.xit.fims.crdn.dao.ExmptnVhclMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDescriptor; import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDescriptor;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -31,8 +31,8 @@ public class CrdnStngBean extends AbstractComponent {
public static String[] CAR_GROUP2 = {"11","13"}; //승용자동차등 public static String[] CAR_GROUP2 = {"11","13"}; //승용자동차등
public static String[] CAR_GROUP3 = {"31"}; //이륜자동차등 public static String[] CAR_GROUP3 = {"31"}; //이륜자동차등
@Resource(name = "globalStngMapper") @Resource(name = "crdnStngMapper")
private GlobalStngMapper globalStngMapper; private CrdnStngMapper crdnStngMapper;
@Resource(name = "crdnTeamMapper") @Resource(name = "crdnTeamMapper")
private CrdnTeamMapper crdnTeamMapper; private CrdnTeamMapper crdnTeamMapper;
@ -120,7 +120,7 @@ public class CrdnStngBean extends AbstractComponent {
query.setDtlAmtDcsnCd("02"); query.setDtlAmtDcsnCd("02");
} }
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(crdnStngMapper.selectBasicAmt(query), () -> "0"));
if(ffnlgCrdnAmt > 0 && ifEmpty(crdn.getOvtimeYn(), ()-> "").equals("Y")) { if(ffnlgCrdnAmt > 0 && ifEmpty(crdn.getOvtimeYn(), ()-> "").equals("Y")) {
ffnlgCrdnAmt += 10000; ffnlgCrdnAmt += 10000;
@ -142,7 +142,7 @@ public class CrdnStngBean extends AbstractComponent {
query.setAmtDcsnCd("03"); query.setAmtDcsnCd("03");
} }
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(crdnStngMapper.selectBasicAmt(query), () -> "0"));
amt[0] = ffnlgCrdnAmt; amt[0] = ffnlgCrdnAmt;
amt[1] = ffnlgCrdnAmt; amt[1] = ffnlgCrdnAmt;
@ -151,7 +151,7 @@ public class CrdnStngBean extends AbstractComponent {
query.setAmtDcsnCdGroupId("FIM006"); query.setAmtDcsnCdGroupId("FIM006");
query.setAmtDcsnCd(crdn.getVltnCd()); query.setAmtDcsnCd(crdn.getVltnCd());
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(crdnStngMapper.selectBasicAmt(query), () -> "0"));
amt[0] = ffnlgCrdnAmt; amt[0] = ffnlgCrdnAmt;
amt[1] = (int)(ffnlgCrdnAmt * 0.8); amt[1] = (int)(ffnlgCrdnAmt * 0.8);
@ -160,7 +160,7 @@ public class CrdnStngBean extends AbstractComponent {
query.setAmtDcsnCdGroupId("FIM061"); query.setAmtDcsnCdGroupId("FIM061");
query.setAmtDcsnCd(crdn.getVltnCd()); query.setAmtDcsnCd(crdn.getVltnCd());
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(crdnStngMapper.selectBasicAmt(query), () -> "0"));
amt[0] = ffnlgCrdnAmt; amt[0] = ffnlgCrdnAmt;
amt[1] = (int)(ffnlgCrdnAmt * 0.8); amt[1] = (int)(ffnlgCrdnAmt * 0.8);
@ -190,7 +190,7 @@ public class CrdnStngBean extends AbstractComponent {
} }
; ;
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(crdnStngMapper.selectBasicAmt(query), () -> "0"));
amt[0] = ffnlgCrdnAmt; amt[0] = ffnlgCrdnAmt;
boolean isPenaltyAmt = (crdn.getFfnlgCarmdlCd().equals("13") || crdn.getFfnlgCarmdlCd().equals("14")); //과징금 boolean isPenaltyAmt = (crdn.getFfnlgCarmdlCd().equals("13") || crdn.getFfnlgCarmdlCd().equals("14")); //과징금
if(isPenaltyAmt) { if(isPenaltyAmt) {
@ -406,13 +406,13 @@ public class CrdnStngBean extends AbstractComponent {
* @return * @return
*/ */
public List<LayoutDescriptor> getLinkFileLayoutMetadata(CrdnQuery query) { public List<LayoutDescriptor> getLinkFileLayoutMetadata(CrdnQuery query) {
return globalStngMapper.selectLinkFileLayoutMetadata(query); return crdnStngMapper.selectLinkFileLayoutMetadata(query);
} }
public LayoutDescriptor getLinkFileLayoutMetadata(String fileLayoutId) { public LayoutDescriptor getLinkFileLayoutMetadata(String fileLayoutId) {
CrdnQuery query = new CrdnQuery(); CrdnQuery query = new CrdnQuery();
query.setFileLayoutId(fileLayoutId); query.setFileLayoutId(fileLayoutId);
List<LayoutDescriptor> list = globalStngMapper.selectLinkFileLayoutMetadata(query); List<LayoutDescriptor> list = crdnStngMapper.selectLinkFileLayoutMetadata(query);
return list == null ? null : list.get(0); return list == null ? null : list.get(0);
} }

@ -22,7 +22,6 @@ import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.Team; import cokr.xit.fims.crdn.Team;
import cokr.xit.fims.crdn.dao.CrdnTeamMapper; import cokr.xit.fims.crdn.dao.CrdnTeamMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.receive.eqpmnt.SingleFileParser; import cokr.xit.fims.crdn.receive.eqpmnt.SingleFileParser;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.crdn.service.ImportService; import cokr.xit.fims.crdn.service.ImportService;
@ -46,8 +45,7 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
private CrdnService crdnService; private CrdnService crdnService;
@Resource(name = "crdnBean") @Resource(name = "crdnBean")
private CrdnBean crdnBean; private CrdnBean crdnBean;
@Resource(name = "globalStngMapper")
private GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
@Resource(name = "crdnTeamMapper") @Resource(name = "crdnTeamMapper")

@ -23,7 +23,6 @@ import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInfoMapper; import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.crdn.service.CrdnStngService; import cokr.xit.fims.crdn.service.CrdnStngService;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -54,9 +53,6 @@ public class Crdn02Controller extends ApplicationController {
@Resource(name="crdnInfoMapper") @Resource(name="crdnInfoMapper")
private CrdnInfoMapper crdnInfoMapper; private CrdnInfoMapper crdnInfoMapper;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -22,7 +22,6 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.crdn.service.CrdnStngService; import cokr.xit.fims.crdn.service.CrdnStngService;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -49,9 +48,6 @@ public class Crdn03Controller extends ApplicationController {
@Resource(name="crdnStngService") @Resource(name="crdnStngService")
private CrdnStngService crdnStngService; private CrdnStngService crdnStngService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -29,7 +29,7 @@ import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInstMapper; import cokr.xit.fims.crdn.dao.CrdnInstMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper; import cokr.xit.fims.crdn.dao.CrdnStngMapper;
import cokr.xit.fims.crdn.receive.eqpmnt.AttachedTxtParser; import cokr.xit.fims.crdn.receive.eqpmnt.AttachedTxtParser;
import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDescriptor; import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDescriptor;
import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDiscriminator; import cokr.xit.fims.crdn.receive.eqpmnt.LayoutDiscriminator;
@ -84,12 +84,12 @@ public class Crdn05Controller extends ApplicationController {
@Resource(name="crdnInstMapper") @Resource(name="crdnInstMapper")
private CrdnInstMapper crdnInstMapper; private CrdnInstMapper crdnInstMapper;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
@Resource(name="crdnStngMapper")
private CrdnStngMapper crdnStngMapper;
@Resource(name="factionBean") @Resource(name="factionBean")
protected FactionBean factionBean; protected FactionBean factionBean;
@ -164,7 +164,7 @@ public class Crdn05Controller extends ApplicationController {
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd); List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
for(int i=0; i < layoutDescriptors.size(); i++) { for(int i=0; i < layoutDescriptors.size(); i++) {
DataObject remoteInfo = globalStngMapper.selectRemoteInfo(layoutDescriptors.get(i).getFileLayoutId()); DataObject remoteInfo = crdnStngMapper.selectRemoteInfo(layoutDescriptors.get(i).getFileLayoutId());
if(remoteInfo == null) { if(remoteInfo == null) {
continue; continue;
} }
@ -401,8 +401,8 @@ public class Crdn05Controller extends ApplicationController {
String curDeptCode = currentUser.getDeptCode(); String curDeptCode = currentUser.getDeptCode();
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd); mav.addObject("sggCd", sggCd);
List<String> stdgNmList = crdnStngMapper.selectStdgNmList(sggCd);
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd)); mav.addObject("stdgNmList", stdgNmList);
String vltnByTask = ""; String vltnByTask = "";

@ -24,7 +24,7 @@ import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper; import cokr.xit.fims.crdn.dao.CrdnStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.crdn.service.CrdnStngService; import cokr.xit.fims.crdn.service.CrdnStngService;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -61,8 +61,8 @@ public class Crdn06Controller extends ApplicationController {
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
@Resource(name="globalStngMapper") @Resource(name="crdnStngMapper")
protected GlobalStngMapper globalStngMapper; protected CrdnStngMapper crdnStngMapper;
@Resource(name = "fileBean") @Resource(name = "fileBean")
private FileBean fileBean; private FileBean fileBean;
@ -270,7 +270,8 @@ public class Crdn06Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute()); ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode(); String curDeptCode = currentUser.getDeptCode();
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd)); List<String> stdgNmList = crdnStngMapper.selectStdgNmList(sggCd);
mav.addObject("stdgNmList", stdgNmList);
// 공통코드 - 위반 내역 코드 // 공통코드 - 위반 내역 코드
String vltnByTask = ""; String vltnByTask = "";

@ -14,7 +14,6 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.Team; import cokr.xit.fims.crdn.Team;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnStngService; import cokr.xit.fims.crdn.service.CrdnStngService;
/** .<br /> /** .<br />
@ -39,9 +38,6 @@ public class Crdn07Controller extends ApplicationController {
@Resource(name="crdnStngService") @Resource(name="crdnStngService")
private CrdnStngService crdnStngService; private CrdnStngService crdnStngService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -22,7 +22,6 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.ExmptnVhcl; import cokr.xit.fims.crdn.ExmptnVhcl;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnStngService; import cokr.xit.fims.crdn.service.CrdnStngService;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -52,9 +51,6 @@ public class Crdn08Controller extends ApplicationController {
@Resource(name="userMapper") @Resource(name="userMapper")
private UserMapper userMapper; private UserMapper userMapper;
@Resource(name="globalStngMapper")
private GlobalStngMapper globalStngMapper;
/** . /** .
* @return fims/crdn/crdn08010-main * @return fims/crdn/crdn08010-main
*/ */

@ -19,7 +19,6 @@ import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInfoMapper; import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
import cokr.xit.fims.crdn.dao.CrdnInstMapper; import cokr.xit.fims.crdn.dao.CrdnInstMapper;
import cokr.xit.fims.crdn.dao.CrdnUpdtMapper; import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.dao.AnswerWordsMapper; import cokr.xit.fims.cvlc.dao.AnswerWordsMapper;
import cokr.xit.fims.cvlc.dao.CrdnCvlcptMapper; import cokr.xit.fims.cvlc.dao.CrdnCvlcptMapper;
@ -45,9 +44,6 @@ public class CrdnCvlcptMainBean extends AbstractComponent {
@Resource(name = "userMapper") @Resource(name = "userMapper")
private UserMapper userMapper; private UserMapper userMapper;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name = "crdnCvlcptMapper") @Resource(name = "crdnCvlcptMapper")
private CrdnCvlcptMapper crdnCvlcptMapper; private CrdnCvlcptMapper crdnCvlcptMapper;

@ -22,7 +22,6 @@ import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInfoMapper; import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
import cokr.xit.fims.crdn.dao.CrdnInstMapper; import cokr.xit.fims.crdn.dao.CrdnInstMapper;
import cokr.xit.fims.crdn.dao.CrdnUpdtMapper; import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.bean.CrdnStngBean; import cokr.xit.fims.crdn.service.bean.CrdnStngBean;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.dao.AnswerWordsMapper; import cokr.xit.fims.cvlc.dao.AnswerWordsMapper;
@ -87,9 +86,6 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
@Resource(name="crdnUpdtMapper") @Resource(name="crdnUpdtMapper")
protected CrdnUpdtMapper crdnUpdtMapper; protected CrdnUpdtMapper crdnUpdtMapper;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Override @Override
public List<DataObject> getCivilComplaintList(CrdnQuery query) { public List<DataObject> getCivilComplaintList(CrdnQuery query) {
List<DataObject> dataObjectList = new ArrayList<DataObject>(); List<DataObject> dataObjectList = new ArrayList<DataObject>();

@ -31,7 +31,7 @@ import cokr.xit.fims.cmmn.hwp.format.CvlcptOrgn;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper; import cokr.xit.fims.crdn.dao.CrdnStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
@ -62,8 +62,6 @@ public class Cvlc01Controller extends ApplicationController {
; ;
} }
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
@ -86,6 +84,9 @@ public class Cvlc01Controller extends ApplicationController {
@Resource(name = "crdnCvlcptMainBean") @Resource(name = "crdnCvlcptMainBean")
private CrdnCvlcptMainBean crdnCvlcptMainBean; private CrdnCvlcptMainBean crdnCvlcptMainBean;
@Resource(name="crdnStngMapper")
private CrdnStngMapper crdnStngMapper;
/** . /** .
* @return fims/cvlc/cvlc01010-main * @return fims/cvlc/cvlc01010-main
*/ */
@ -281,7 +282,8 @@ public class Cvlc01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute()); ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode(); String curDeptCode = currentUser.getDeptCode();
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd)); List<String> stdgNmList = crdnStngMapper.selectStdgNmList(sggCd);
mav.addObject("stdgNmList", stdgNmList);
String vltnByTask = ""; String vltnByTask = "";
switch(urlTaskSeCd) { switch(urlTaskSeCd) {

@ -25,7 +25,6 @@ import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
@ -56,9 +55,6 @@ public class Cvlc02Controller extends ApplicationController {
@Resource(name="crdnCvlcptService") @Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService; private CrdnCvlcptService crdnCvlcptService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -22,7 +22,6 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -48,9 +47,6 @@ public class Cvlc03Controller extends ApplicationController {
@Resource(name="crdnCvlcptService") @Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService; private CrdnCvlcptService crdnCvlcptService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -13,7 +13,6 @@ import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
@ -41,9 +40,6 @@ public class Cvlc04Controller extends ApplicationController {
@Resource(name="crdnCvlcptService") @Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService; private CrdnCvlcptService crdnCvlcptService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
private UserMapper userMapper; private UserMapper userMapper;

@ -14,7 +14,6 @@ import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.UserInfo;
@ -40,9 +39,6 @@ public class Cvlc05Controller extends ApplicationController {
@Resource(name="crdnCvlcptService") @Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService; private CrdnCvlcptService crdnCvlcptService;
@Resource(name="globalStngMapper")
private GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
private UserMapper userMapper; private UserMapper userMapper;

@ -13,7 +13,6 @@ import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
@ -39,9 +38,6 @@ public class Cvlc06Controller extends ApplicationController {
@Resource(name = "stngBean") @Resource(name = "stngBean")
private StngBean stngBean; private StngBean stngBean;
@Resource(name="globalStngMapper")
private GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
private UserMapper userMapper; private UserMapper userMapper;

@ -19,7 +19,6 @@ import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.levy.LevyQuery; import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.levy.Rduct;
import cokr.xit.fims.levy.service.RductService; import cokr.xit.fims.levy.service.RductService;
@ -61,9 +60,6 @@ public class Levy02Controller extends ApplicationController {
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
/** (levy/levy02010-main) . /** (levy/levy02010-main) .
* {@link #getRductList(RductQuery) } . * {@link #getRductList(RductQuery) } .
* @return /rduct/rduct-main * @return /rduct/rduct-main

@ -9,7 +9,6 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.user.dao.UserMapper; import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.mngt.FineIntegrationDepartment; import cokr.xit.fims.mngt.FineIntegrationDepartment;
import cokr.xit.fims.mngt.FineIntegrationSigungu; import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.fims.mngt.dao.FactionMapper; import cokr.xit.fims.mngt.dao.FactionMapper;
@ -23,9 +22,6 @@ public class FactionBean extends AbstractComponent {
@Resource(name = "factionMapper") @Resource(name = "factionMapper")
private FactionMapper factionMapper; private FactionMapper factionMapper;
@Resource(name = "globalStngMapper")
private GlobalStngMapper globalStngMapper;
@Resource(name = "userMapper") @Resource(name = "userMapper")
private UserMapper userMapper; private UserMapper userMapper;

@ -43,7 +43,6 @@ import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnListMapper; import cokr.xit.fims.crdn.dao.CrdnListMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.mngt.service.bean.FactionBean; import cokr.xit.fims.mngt.service.bean.FactionBean;
import cokr.xit.fims.mngt.service.bean.TaskBean; import cokr.xit.fims.mngt.service.bean.TaskBean;
import cokr.xit.fims.sprt.Keyword; import cokr.xit.fims.sprt.Keyword;
@ -97,9 +96,6 @@ public class Sprt01Controller extends ApplicationController {
@Resource(name="integrationSearchService") @Resource(name="integrationSearchService")
private IntegrationSearchService integrationSearchService; private IntegrationSearchService integrationSearchService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -14,7 +14,6 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper; import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.stat.CodeSubsetInfo; import cokr.xit.fims.stat.CodeSubsetInfo;
import cokr.xit.fims.stat.GroupInfo; import cokr.xit.fims.stat.GroupInfo;
import cokr.xit.fims.stat.NumberValueInfo; import cokr.xit.fims.stat.NumberValueInfo;
@ -46,9 +45,6 @@ public class Stat01Controller extends ApplicationController {
@Resource(name="statService") @Resource(name="statService")
private StatService statService; private StatService statService;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cokr.xit.fims.crdn.dao.GlobalStngMapper"> <mapper namespace="cokr.xit.fims.crdn.dao.CrdnStngMapper">
<select id="selectBasicAmt" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="string"> <select id="selectBasicAmt" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="string">
/* 기본금액 조회(globalStngMapper.selectBasicAmt) */ /* 기본금액 조회(crdnStngMapper.selectBasicAmt) */
SELECT AMT SELECT AMT
FROM TB_AMT_INFO FROM TB_AMT_INFO
WHERE USE_YN = 'Y' WHERE USE_YN = 'Y'
@ -23,7 +23,7 @@ SELECT AMT
<select id="selectStdgNmList" parameterType="string" resultType="string"> <select id="selectStdgNmList" parameterType="string" resultType="string">
/* 법정동코드 목록 조회(globalStngMapper.selectStdgNmList) */ /* 법정동코드 목록 조회(crdnStngMapper.selectStdgNmList) */
SELECT CONCAT(A.EMD_NM, SELECT CONCAT(A.EMD_NM,
CASE WHEN A.LI_NM = '' CASE WHEN A.LI_NM = ''
THEN '' THEN ''
@ -36,7 +36,7 @@ SELECT CONCAT(A.EMD_NM,
</select> </select>
<select id="selectStdgCdListByStdgNm" parameterType="map" resultType="string"> <select id="selectStdgCdListByStdgNm" parameterType="map" resultType="string">
/* 법정동명으로 법정동코드 조회(globalStngMapper.selectStdgCdListByStdgNm) */ /* 법정동명으로 법정동코드 조회(crdnStngMapper.selectStdgCdListByStdgNm) */
SELECT STDG_CD SELECT STDG_CD
FROM TB_STDG FROM TB_STDG
WHERE EMD_NM IS NOT NULL WHERE EMD_NM IS NOT NULL
@ -70,7 +70,7 @@ SELECT STDG_CD
</resultMap> </resultMap>
<select id="selectLinkFileLayoutMetadata" parameterType="map" resultMap="descriptorRow"> <select id="selectLinkFileLayoutMetadata" parameterType="map" resultMap="descriptorRow">
/* 연계파일 레이아웃 정보 조회(globalStngMapper.selectLinkFileLayoutMetadata) */ /* 연계파일 레이아웃 정보 조회(crdnStngMapper.selectLinkFileLayoutMetadata) */
SELECT A.FILE_LAYOUT_ID SELECT A.FILE_LAYOUT_ID
, A.SGG_CD , A.SGG_CD
, A.TASK_SE_CD , A.TASK_SE_CD
@ -109,7 +109,7 @@ SELECT A.FILE_LAYOUT_ID
</select> </select>
<select id="selectRemoteInfo" parameterType="string" resultType="dataobject"> <select id="selectRemoteInfo" parameterType="string" resultType="dataobject">
/* 연계파일 fpt정보 조회(globalStngMapper.selectRemoteInfo) */ /* 연계파일 fpt정보 조회(crdnStngMapper.selectRemoteInfo) */
SELECT FILE_LAYOUT_ID SELECT FILE_LAYOUT_ID
, REMOTE_IP , REMOTE_IP
, REMOTE_ID , REMOTE_ID
Loading…
Cancel
Save