diff --git a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java
index c20b6eb4..3bdae70b 100644
--- a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java
+++ b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java
@@ -102,7 +102,7 @@ public class StngController extends ApplicationController {
String account = currentUser().getAccount();
ManagedUser currentUser = userMapper.getUser(account, institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
@@ -148,7 +148,7 @@ public class StngController extends ApplicationController {
String account = currentUser().getAccount();
ManagedUser currentUser = userMapper.getUser(account, institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
String bgPath = "files/background/"+sggCd;
@@ -213,7 +213,7 @@ public class StngController extends ApplicationController {
String account = currentUser().getAccount();
ManagedUser currentUser = userMapper.getUser(account, institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
diff --git a/src/main/java/cokr/xit/fims/crdn/dao/GlobalStngMapper.java b/src/main/java/cokr/xit/fims/crdn/dao/GlobalStngMapper.java
index a01525ea..39f5488c 100644
--- a/src/main/java/cokr/xit/fims/crdn/dao/GlobalStngMapper.java
+++ b/src/main/java/cokr/xit/fims/crdn/dao/GlobalStngMapper.java
@@ -20,12 +20,6 @@ public interface GlobalStngMapper extends AbstractMapper {
*/
String selectBasicAmt(CrdnQuery query);
- /**부서코드에 따른 시군구코드를 조회한다.
- * @param deptCode 부서코드
- * @return 시군구코드
- */
- String selectSggCd(String deptCode);
-
/**시군구코드에 따른 법정동명 목록을 조회한다.
* @param sggCd 시군구코드
* @return 법정동 목록
diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java
index 81615a5b..1cf158b8 100644
--- a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java
+++ b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java
@@ -99,7 +99,7 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
crdn.setTaskSeCd(taskSeCd);
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
String deptCd = currentUser.getDeptCode();
- crdn.setSggCd(globalStngMapper.selectSggCd(deptCd));
+ crdn.setSggCd(currentUser.getOrgID());
Map dividedInfo = this.divideInformation(linkFileInfoList, fileGroupType);
DataObject metaFileInfo = (DataObject) dividedInfo.get("metaInfo");
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
index f19187c4..b41583ea 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
@@ -97,7 +97,7 @@ public class Crdn02Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java
index 3cbb7e96..e816ff28 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java
@@ -79,7 +79,7 @@ public class Crdn03Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
index 642a5347..66517872 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
@@ -123,7 +123,7 @@ public class Crdn05Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
return setCollectionInfo(new ModelAndView("jsonView"),crdnService.getCrackdownList(query),"","");
@@ -159,7 +159,7 @@ public class Crdn05Controller extends ApplicationController {
String taskSeCd = hReq.getParameter("taskSeCd");
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
List layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
@@ -215,7 +215,7 @@ public class Crdn05Controller extends ApplicationController {
String taskSeCd = hReq.getParameter("taskSeCd");
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
List layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
@@ -262,7 +262,7 @@ public class Crdn05Controller extends ApplicationController {
String institute = currentUser().getInstitute();
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
List layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
@@ -399,7 +399,7 @@ public class Crdn05Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd));
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
index 08c3813e..e2643e69 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
@@ -101,7 +101,7 @@ public class Crdn06Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
if("xls".equals(query.getDownload())) {
@@ -269,7 +269,7 @@ public class Crdn06Controller extends ApplicationController {
// 법정동
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd));
// 공통코드 - 위반 내역 코드
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn07Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn07Controller.java
index fb988874..9c249d78 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn07Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn07Controller.java
@@ -77,7 +77,7 @@ public class Crdn07Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
return setCollectionInfo(new ModelAndView("jsonView"), crdnStngService.getTeamList(query),"","");
}
@@ -92,7 +92,7 @@ public class Crdn07Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
return setCollectionInfo(new ModelAndView("jsonView"), crdnStngService.getRemovedTeamList(query),"","");
@@ -133,7 +133,7 @@ public class Crdn07Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
team.setSggCd(sggCd);
String rtnMsg = crdnStngService.saveTeamInfo(team);
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java
index 7b551bf4..09f21625 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java
@@ -77,7 +77,7 @@ public class Crdn08Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
if("xls".equals(query.getDownload())) {
@@ -156,7 +156,7 @@ public class Crdn08Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- exmptnVhcl.setSggCd(globalStngMapper.selectSggCd(deptCd));
+ exmptnVhcl.setSggCd(currentUser.getOrgID());
boolean saved = false;
@@ -182,7 +182,7 @@ public class Crdn08Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- exmptnVhcl.setSggCd(globalStngMapper.selectSggCd(deptCd));
+ exmptnVhcl.setSggCd(currentUser.getOrgID());
boolean saved = false;
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java
index db01cfe4..43e9b4ed 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java
@@ -114,7 +114,7 @@ public class Cvlc01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
if("xls".equals(query.getDownload())) {
@@ -280,7 +280,7 @@ public class Cvlc01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd));
String vltnByTask = "";
@@ -333,7 +333,7 @@ public class Cvlc01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
crdn.setSggCd(sggCd);
crdnCvlcpt.setSggCd(sggCd);
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java
index 5653f763..55142b53 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java
@@ -96,7 +96,7 @@ public class Cvlc02Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
if("xls".equals(query.getDownload())) {
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java
index 42655e79..fb4beff5 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java
@@ -82,7 +82,7 @@ public class Cvlc03Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd);
if("xls".equals(query.getDownload())) {
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc04Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc04Controller.java
index 044f75ad..6cfec989 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc04Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc04Controller.java
@@ -73,7 +73,7 @@ public class Cvlc04Controller extends ApplicationController {
public ModelAndView getDmndDataList(CrdnQuery query) {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- query.setSggCd(globalStngMapper.selectSggCd(deptCd));
+ query.setSggCd(currentUser.getOrgID());
setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getDmndDataList(query),"","");
@@ -92,7 +92,7 @@ public class Cvlc04Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- crdnCvlcpt.setSggCd(globalStngMapper.selectSggCd(deptCd));
+ crdnCvlcpt.setSggCd(currentUser.getOrgID());
boolean saved = false;
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java
index 6b39adce..865e9f71 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java
@@ -77,7 +77,7 @@ public class Cvlc05Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- String currentSggCd = globalStngMapper.selectSggCd(deptCd);
+ String currentSggCd = currentUser.getOrgID();
crdnQuery.setSggCd(currentSggCd);
Map info = crdnCvlcptService.getCvlcptAnswerWordsInfo(crdnQuery);
@@ -114,7 +114,7 @@ public class Cvlc05Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- String currentSggCd = globalStngMapper.selectSggCd(deptCd);
+ String currentSggCd = currentUser.getOrgID();
crdnCvlcpt.setSggCd(currentSggCd);
String saveData = hReq.getParameter("saveData");
diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc06Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc06Controller.java
index 9360bf43..f0b58353 100644
--- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc06Controller.java
+++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc06Controller.java
@@ -66,7 +66,7 @@ public class Cvlc06Controller extends ApplicationController {
public ModelAndView getWarningWordsList(CrdnQuery crdnQuery) {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- String currentSggCd = globalStngMapper.selectSggCd(deptCd);
+ String currentSggCd = currentUser.getOrgID();
crdnQuery.setSggCd(currentSggCd);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getWarningWordsList(crdnQuery),"","");
}
@@ -84,7 +84,7 @@ public class Cvlc06Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String deptCd = currentUser.getDeptCode();
- String currentSggCd = globalStngMapper.selectSggCd(deptCd);
+ String currentSggCd = currentUser.getOrgID();
crdnCvlcpt.setSggCd(currentSggCd);
String rtnMsg = crdnCvlcptService.saveWarningWordsInfo(crdnCvlcpt);
diff --git a/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java
index aec47d05..b5b03248 100644
--- a/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java
+++ b/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java
@@ -55,7 +55,11 @@ public interface FactionMapper extends AbstractMapper {
*/
List selectAllSggList();
-
+ /**부서코드에 매칭되는 시군구코드를 반환한다.
+ * @param deptCd 부서코드
+ * @return 시군구코드
+ */
+ String selectSggCdByDeptCd(String deptCd);
/**시군구 정보를 수정한다.
* @param params 파라미터
diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java
index 5789aadd..3a99f0fc 100644
--- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java
+++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java
@@ -146,7 +146,7 @@ public class Sprt01Controller extends ApplicationController {
String account = currentUser().getAccount();
ManagedUser currentUser = userMapper.getUser(account, institute);
String deptCd = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(deptCd);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
Map> commonCodes = getCodesOf("FIM003", "FIM010", "FIM026", "FIM054"
diff --git a/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java b/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java
index 9220f479..6a639dc4 100644
--- a/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java
+++ b/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java
@@ -66,7 +66,7 @@ public class Stat01Controller extends ApplicationController {
//ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
//String curDeptCode = currentUser.getDeptCode();
- //String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ //String sggCd = currentUser.getOrgID();
//statQuery.setSggCd(sggCd);
List codeGroup = new ArrayList();
@@ -149,7 +149,7 @@ public class Stat01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
@@ -174,7 +174,7 @@ public class Stat01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
@@ -200,7 +200,7 @@ public class Stat01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
@@ -224,7 +224,7 @@ public class Stat01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
@@ -248,7 +248,7 @@ public class Stat01Controller extends ApplicationController {
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
String curDeptCode = currentUser.getDeptCode();
- String sggCd = globalStngMapper.selectSggCd(curDeptCode);
+ String sggCd = currentUser.getOrgID();
mav.addObject("sggCd", sggCd);
DataObject sgg = statMapper.selectSggByCode(sggCd);
String sggNm = sgg.string("NAME");
diff --git a/src/main/resources/sql/mapper/fims/crdn/global-stng-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/global-stng-mapper.xml
index a69ccafb..842c1f8a 100644
--- a/src/main/resources/sql/mapper/fims/crdn/global-stng-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/crdn/global-stng-mapper.xml
@@ -2,28 +2,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+