초기 세팅 중
This commit is contained in:
parent
60fb77b370
commit
2fc1867072
27
pom.xml
27
pom.xml
@ -587,33 +587,6 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<excludes>
|
|
||||||
<exclude>egovframework/sqlmap/config/altibase/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/cubrid/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/maria/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/mysql/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/oracle/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/tibero/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/config/postgresql/*.xml</exclude>
|
|
||||||
<exclude>egovframework/sqlmap/let/**/*.xml</exclude>
|
|
||||||
</excludes>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/egovframework/sqlmap/config/${db.type}</directory>
|
|
||||||
<includes>
|
|
||||||
<include>*.xml</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/egovframework/sqlmap/let</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*SQL_${db.type}.xml</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
<defaultGoal>install</defaultGoal>
|
<defaultGoal>install</defaultGoal>
|
||||||
<directory>${basedir}/target</directory>
|
<directory>${basedir}/target</directory>
|
||||||
<finalName>ipedu</finalName>
|
<finalName>ipedu</finalName>
|
||||||
|
|||||||
@ -1,31 +0,0 @@
|
|||||||
package egovframework.migration.service;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Repository;
|
|
||||||
|
|
||||||
import com.ibatis.sqlmap.client.SqlMapClient;
|
|
||||||
|
|
||||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
|
||||||
|
|
||||||
@Repository("KcdfNewDAO")
|
|
||||||
public class KcdfNewDAO extends EgovAbstractDAO {
|
|
||||||
@Override
|
|
||||||
@Resource(name ="kcdfSqlMapClient")
|
|
||||||
public void setSuperSqlMapClient(SqlMapClient sqlMapClient) {
|
|
||||||
super.setSuperSqlMapClient(sqlMapClient);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectKcdfBasicCount() {
|
|
||||||
return (int)select("KcdfNewDAO.selectKcdfBasicCount");
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public List<KcdfNewBbsVO> selectKcdfBbsList(KcdfNewBbsVO tempKcdfNewBbsVO) throws Exception{
|
|
||||||
return (List<KcdfNewBbsVO>)list("KcdfNewDAO.selectKcdfBbsList", tempKcdfNewBbsVO);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,126 +0,0 @@
|
|||||||
package egovframework.migration.service;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
@Service("MariaMigrationService")
|
|
||||||
public class MariaMigrationService {
|
|
||||||
|
|
||||||
@Resource(name = "KcdfNewDAO")
|
|
||||||
private KcdfNewDAO kcdfNewDAO;
|
|
||||||
|
|
||||||
@Resource(name = "NcmsDAO")
|
|
||||||
private NcmsDAO ncmsDAO;
|
|
||||||
|
|
||||||
|
|
||||||
public int selectOracleBasicCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectMariaBasicCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectOraclePublishCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectMariaPublishCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectOracleFileCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectMariaFileCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectOracleResrvationCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectMariaResrvationCount() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void selectOracleBasicList() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void selectOraclePublishList() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void selectOracleFileList() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void selectOracleResrvationList() {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public int selectKcdfBasicCount() {
|
|
||||||
return kcdfNewDAO.selectKcdfBasicCount();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void kcdfMigration() {
|
|
||||||
try {
|
|
||||||
|
|
||||||
int selectKcdfBasicCount = kcdfNewDAO.selectKcdfBasicCount();
|
|
||||||
List<KcdfNewBbsVO> list = new ArrayList<KcdfNewBbsVO>();
|
|
||||||
KcdfNewBbsVO tempKcdfNewBbsVO = new KcdfNewBbsVO(); //limit 를 위해 사용
|
|
||||||
int enterval = 100;
|
|
||||||
int i = 0;
|
|
||||||
if(selectKcdfBasicCount > enterval){
|
|
||||||
for(i=0; i< selectKcdfBasicCount; i++){ //enterval 개씩 끊어서 insert
|
|
||||||
if (i % enterval == 0 ){ //0
|
|
||||||
tempKcdfNewBbsVO.setRecordCountPerPage(enterval);
|
|
||||||
tempKcdfNewBbsVO.setFirstIndex(i);
|
|
||||||
list = kcdfNewDAO.selectKcdfBbsList(tempKcdfNewBbsVO);
|
|
||||||
for(int j=0; j< list.size(); j++){
|
|
||||||
ncmsDAO.insertNcmsBbsInfo(list.get(j));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*if(selectKcdfBasicCount != tempKcdfNewBbsVO.getFirstIndex()) { // enterval 개씩 끊어서 insert 후 남은 데이터 insert
|
|
||||||
tempKcdfNewBbsVO.setFirstIndex(selectKcdfBasicCount);
|
|
||||||
tempKcdfNewBbsVO.setRecordCountPerPage(enterval);
|
|
||||||
list = kcdfNewDAO.selectKcdfBbsList(tempKcdfNewBbsVO);
|
|
||||||
for(i=0; i< list.size(); i++){
|
|
||||||
kcdfNewDAO.insertNcmsBbsInfo(list.get(i));
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
}else{ //enterval 개 미만
|
|
||||||
tempKcdfNewBbsVO.setFirstIndex(0);
|
|
||||||
tempKcdfNewBbsVO.setRecordCountPerPage(enterval);
|
|
||||||
list = kcdfNewDAO.selectKcdfBbsList(tempKcdfNewBbsVO);
|
|
||||||
for(i=0; i< selectKcdfBasicCount; i++){
|
|
||||||
ncmsDAO.insertNcmsBbsInfo(list.get(i));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.err.println("migration Exception Error");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,81 +0,0 @@
|
|||||||
package egovframework.migration.web;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import egovframework.migration.service.MariaMigrationService;
|
|
||||||
|
|
||||||
@Controller
|
|
||||||
public class MariaMigrationController {
|
|
||||||
|
|
||||||
@Resource(name = "MariaMigrationService")
|
|
||||||
private MariaMigrationService mariaMigrationService;
|
|
||||||
|
|
||||||
@RequestMapping(value="/maria/migration.do")
|
|
||||||
public String mariaTestPage(ModelMap model) throws Exception{
|
|
||||||
|
|
||||||
int selectKcdfBasicCount = mariaMigrationService.selectKcdfBasicCount();
|
|
||||||
|
|
||||||
mariaMigrationService.kcdfMigration();
|
|
||||||
|
|
||||||
/*List<OrcaleTestVO> list = orcalTestDAO.selectOracleBasicList();*/
|
|
||||||
mariaMigrationService.selectOracleBasicList();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int selectMariaBasicCount = mariaMigrationService.selectMariaBasicCount();
|
|
||||||
|
|
||||||
int selectOraclePublishCount = mariaMigrationService.selectOraclePublishCount();
|
|
||||||
int selectMariaPublishCount = mariaMigrationService.selectMariaPublishCount();
|
|
||||||
|
|
||||||
int selectOracleFileCount = mariaMigrationService.selectOracleFileCount();
|
|
||||||
int selectMariaFileCount = mariaMigrationService.selectMariaFileCount();
|
|
||||||
|
|
||||||
int selectOracleResrvationCount = mariaMigrationService.selectOracleResrvationCount();
|
|
||||||
int selectMariaResrvationCount = mariaMigrationService.selectMariaResrvationCount();
|
|
||||||
|
|
||||||
/*model.addAttribute("selectOracleBasicCount", selectOracleBasicCount );
|
|
||||||
model.addAttribute("selectMariaBasicCount", selectMariaBasicCount );
|
|
||||||
|
|
||||||
model.addAttribute("selectOraclePublishCount", selectOraclePublishCount );
|
|
||||||
model.addAttribute("selectMariaPublishCount", selectMariaPublishCount );
|
|
||||||
|
|
||||||
model.addAttribute("selectOracleFileCount", selectOracleFileCount );
|
|
||||||
model.addAttribute("selectMariaFileCount", selectMariaFileCount );
|
|
||||||
|
|
||||||
model.addAttribute("selectOracleResrvationCount", selectOracleResrvationCount );
|
|
||||||
model.addAttribute("selectMariaResrvationCount", selectMariaResrvationCount );*/
|
|
||||||
return "test/oracle/TestOracle";
|
|
||||||
}
|
|
||||||
|
|
||||||
@RequestMapping(value="/maria/dataBaseAjax.do")
|
|
||||||
public ModelAndView mariaDataBaseAjax(@RequestParam Map<String, Object> commandMap){
|
|
||||||
ModelAndView modelAndView = new ModelAndView();
|
|
||||||
modelAndView.setViewName("jsonView");
|
|
||||||
|
|
||||||
|
|
||||||
String type = (String) commandMap.get("type");
|
|
||||||
|
|
||||||
System.out.println("type : " + type);
|
|
||||||
if(type =="basic" || type.equals("basic")){
|
|
||||||
mariaMigrationService.selectOracleBasicList();
|
|
||||||
}else if(type =="Publish" || type.equals("Publish")){
|
|
||||||
mariaMigrationService.selectOraclePublishList();
|
|
||||||
}else if(type =="file" || type.equals("file")){
|
|
||||||
mariaMigrationService.selectOracleFileList();
|
|
||||||
}else if(type =="Resrvation" || type.equals("Resrvation")){
|
|
||||||
mariaMigrationService.selectOracleResrvationList();
|
|
||||||
}
|
|
||||||
|
|
||||||
modelAndView.addObject("result", "TEST");
|
|
||||||
return modelAndView;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -37,7 +37,6 @@ import kcc.kccadr.adjclsmgr.service.AdjClsMgrService;
|
|||||||
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
|
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
|
||||||
import kcc.kccadr.cmm.CmmUtil;
|
import kcc.kccadr.cmm.CmmUtil;
|
||||||
import kcc.kccadr.cmm.KccadrConstants;
|
import kcc.kccadr.cmm.KccadrConstants;
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -79,11 +78,6 @@ public class AdjClsMgrController {
|
|||||||
@Resource(name = "internalApprovManageService")
|
@Resource(name = "internalApprovManageService")
|
||||||
private InternalApprovManageService internalApprovManageService;
|
private InternalApprovManageService internalApprovManageService;
|
||||||
|
|
||||||
// SMS, Email 전송
|
|
||||||
@Resource(name = "SMSOracleService")
|
|
||||||
private SMSOracleService sMSOracleService;
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjclsmgr/adjCloseMangeList.do")
|
@RequestMapping(value = "/kccadr/adjclsmgr/adjCloseMangeList.do")
|
||||||
public String adjCloseMangeList(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
|
public String adjCloseMangeList(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
|
||||||
|
|
||||||
@ -341,7 +335,6 @@ public class AdjClsMgrController {
|
|||||||
|
|
||||||
@RequestMapping(value = "/web/adjclsmgr/sendTestEmail2Ajax.do")
|
@RequestMapping(value = "/web/adjclsmgr/sendTestEmail2Ajax.do")
|
||||||
public void sendTestEmail2Ajax(HttpServletRequest request) throws Exception {
|
public void sendTestEmail2Ajax(HttpServletRequest request) throws Exception {
|
||||||
//sMSOracleService.insertEmailSend(null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/web/adjclsmgr/sendTestEmailAjax.do")
|
@RequestMapping(value = "/web/adjclsmgr/sendTestEmailAjax.do")
|
||||||
|
|||||||
@ -42,7 +42,6 @@ import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
|||||||
import kcc.kccadr.adjst.service.AdjstReqService;
|
import kcc.kccadr.adjst.service.AdjstReqService;
|
||||||
import kcc.kccadr.adjst.service.AdjstReqVO;
|
import kcc.kccadr.adjst.service.AdjstReqVO;
|
||||||
import kcc.kccadr.cmm.KccadrConstants;
|
import kcc.kccadr.cmm.KccadrConstants;
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||||
|
|
||||||
@ -68,10 +67,6 @@ public class AdjstReqWebController {
|
|||||||
|
|
||||||
private static final Logger LOGGER = LoggerFactory.getLogger(AdjstReqWebController.class);
|
private static final Logger LOGGER = LoggerFactory.getLogger(AdjstReqWebController.class);
|
||||||
|
|
||||||
// 오라클 연동 테스트
|
|
||||||
@Resource(name = "SMSOracleService")
|
|
||||||
private SMSOracleService sMSOracleService;
|
|
||||||
|
|
||||||
// 교육신청 서비스단
|
// 교육신청 서비스단
|
||||||
@Resource(name = "AdjstReqService")
|
@Resource(name = "AdjstReqService")
|
||||||
private AdjstReqService adjstReqService;
|
private AdjstReqService adjstReqService;
|
||||||
@ -205,13 +200,6 @@ public class AdjstReqWebController {
|
|||||||
public String adjstReqRegistInformation(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
public String adjstReqRegistInformation(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||||
adjstReqVO.setStep(KccadrConstants.STEP0);
|
adjstReqVO.setStep(KccadrConstants.STEP0);
|
||||||
|
|
||||||
// 오라클 연동 테스트 > 여현준
|
|
||||||
// sMSOracleService.selectOracleTest();
|
|
||||||
// AdjReqMgrVO adjReqMgrVO = new AdjReqMgrVO();
|
|
||||||
// adjReqMgrVO.setAdrSeq("ADR_0000000000000381");
|
|
||||||
// adjReqMgrVO.setStatCd("104010");
|
|
||||||
// sMSOracleService.insertSmsSend(adjReqMgrVO);
|
|
||||||
|
|
||||||
return "/web/kccadr/adjst/adjstReqRegistInformation";
|
return "/web/kccadr/adjst/adjstReqRegistInformation";
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
package kcc.kccadr.cmm.service;
|
|
||||||
|
|
||||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 저작위 SMS서버를 사용하기 위한 서비스
|
|
||||||
* @author 여현준
|
|
||||||
* @since 2021.10.25
|
|
||||||
* @version 1.0
|
|
||||||
* @see
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* << 개정이력(Modification Information) >>
|
|
||||||
*
|
|
||||||
* 수정일 수정자 수정내용
|
|
||||||
* ------- -------- ---------------------------
|
|
||||||
* 2021.10.25 여현준 최초 생성
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public interface SMSOracleService {
|
|
||||||
|
|
||||||
// 오라클 연동 테스트
|
|
||||||
public void selectOracleTest() throws Exception;
|
|
||||||
|
|
||||||
// SMS 전송(저작위 SMS서버 DB등록)
|
|
||||||
public String insertSmsSend(VEEduAplctVO vEEduAplctVO) throws Exception;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
package kcc.kccadr.cmm.service.impl;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Repository;
|
|
||||||
|
|
||||||
import com.ibatis.sqlmap.client.SqlMapClient;
|
|
||||||
|
|
||||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
|
||||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 저작위 SMS서버를 사용하기 위한 데이터 접근 클래스
|
|
||||||
* @author 여현준
|
|
||||||
* @since 2021.10.25
|
|
||||||
* @version 1.0
|
|
||||||
* @see
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* << 개정이력(Modification Information) >>
|
|
||||||
*
|
|
||||||
* 수정일 수정자 수정내용
|
|
||||||
* ------- -------- ---------------------------
|
|
||||||
* 2021.10.25 여현준 최초 생성
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
@Repository("SMSOracleDAO")
|
|
||||||
public class SMSOracleDAO extends EgovAbstractDAO {
|
|
||||||
@Override
|
|
||||||
@Resource(name ="oracleSqlMapClient")
|
|
||||||
public void setSuperSqlMapClient(SqlMapClient sqlMapClient) {
|
|
||||||
super.setSuperSqlMapClient(sqlMapClient);
|
|
||||||
}
|
|
||||||
|
|
||||||
// SMS 전송 등록
|
|
||||||
public void insertSmsSend(EgovMap egovMap) throws Exception{
|
|
||||||
insert("SMSOracleDAO.insertSmsSend", egovMap);
|
|
||||||
}
|
|
||||||
|
|
||||||
// MMS 전송 등록
|
|
||||||
public void insertMmsSend(EgovMap egovMap) throws Exception{
|
|
||||||
insert("SMSOracleDAO.insertMmsSend", egovMap);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 연동 테스트
|
|
||||||
public int selectOracleTest() throws Exception{
|
|
||||||
return (int) select("SMSOracleDAO.selectOracleTest");
|
|
||||||
}
|
|
||||||
|
|
||||||
//test
|
|
||||||
public void insertSmsSendTest() throws Exception{
|
|
||||||
|
|
||||||
insert("SMSOracleDAO.insertSmsSendTest");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,115 +0,0 @@
|
|||||||
package kcc.kccadr.cmm.service.impl;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
|
||||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
|
||||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
|
|
||||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.impl.VEEduAplctSndHstryDAO;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 저작위 SMS서버를 사용하기 위한 서비스 구현 클래스
|
|
||||||
* @author 여현준
|
|
||||||
* @since 2021.10.25
|
|
||||||
* @version 1.0
|
|
||||||
* @see
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* << 개정이력(Modification Information) >>
|
|
||||||
*
|
|
||||||
* 수정일 수정자 수정내용
|
|
||||||
* ------- -------- ---------------------------
|
|
||||||
* 2021.10.25 여현준 최초 생성
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
@Service("SMSOracleService")
|
|
||||||
public class SMSOracleServiceImpl extends EgovAbstractServiceImpl implements SMSOracleService {
|
|
||||||
private static final Logger LOGGER = LoggerFactory.getLogger(SMSOracleServiceImpl.class);
|
|
||||||
|
|
||||||
@Value("#{globalSettings['Globals.SMSDB.SendTelNo']}")
|
|
||||||
private String sendTelNo; // 송신 전화번호
|
|
||||||
|
|
||||||
@Value("#{globalSettings['Globals.SMSDB.TrId']}")
|
|
||||||
private String trId; // 시스템 구분자
|
|
||||||
|
|
||||||
// SMS전송(SMS전송서버-오라클DB)
|
|
||||||
@Resource(name = "SMSOracleDAO")
|
|
||||||
private SMSOracleDAO smsOracleDAO;
|
|
||||||
|
|
||||||
//과정
|
|
||||||
@Resource(name="vEEduAplctSndHstryDAO")
|
|
||||||
private VEEduAplctSndHstryDAO vEEduAplctSndHstryDAO;
|
|
||||||
|
|
||||||
@Resource(name = "egovCryptoUtil")
|
|
||||||
EgovCryptoUtil egovCryptoUtil;
|
|
||||||
|
|
||||||
|
|
||||||
// 오라클 연동 테스트
|
|
||||||
public void selectOracleTest() throws Exception {
|
|
||||||
int test = 0;
|
|
||||||
|
|
||||||
try {
|
|
||||||
test = smsOracleDAO.selectOracleTest();
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.out.println("Exception Occured!!!");
|
|
||||||
}
|
|
||||||
|
|
||||||
LOGGER.debug("테스트결과:" + test);
|
|
||||||
}
|
|
||||||
|
|
||||||
// SMS 전송(저작위 SMS서버 DB등록)
|
|
||||||
@Override
|
|
||||||
public String insertSmsSend(VEEduAplctVO vEEduAplctVO) throws Exception {
|
|
||||||
String result = "fail";
|
|
||||||
|
|
||||||
|
|
||||||
// LOGGER.debug("SMS 전송DB 등록");
|
|
||||||
try {
|
|
||||||
EgovMap map = new EgovMap();
|
|
||||||
// test 수신자 번호
|
|
||||||
//map.put("rpplPhone", "010-7544-2416");
|
|
||||||
map.put("rpplPhone", vEEduAplctVO.getClphone());
|
|
||||||
// test
|
|
||||||
|
|
||||||
map.put("sendTelNo", sendTelNo); // 송신자 번호
|
|
||||||
map.put("trId", trId); // 시스템 구분자
|
|
||||||
|
|
||||||
String sndCn = vEEduAplctVO.getSndCn();
|
|
||||||
//String sndCd = (String) map.get("sndCd");
|
|
||||||
|
|
||||||
int bytes = sndCn.getBytes("euc-kr").length;
|
|
||||||
|
|
||||||
if (bytes > 90) {
|
|
||||||
|
|
||||||
} else {
|
|
||||||
map.put("sendMsg", vEEduAplctVO.getSndCn());
|
|
||||||
//찾교는 단문만 지원
|
|
||||||
smsOracleDAO.insertSmsSend(map); // SMS 등록 단문 > SMS DB(오라클)
|
|
||||||
vEEduAplctSndHstryDAO.insert(vEEduAplctVO);; // SMS 이력 등록 단문
|
|
||||||
}
|
|
||||||
|
|
||||||
result = "succ";
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.out.println("Exception Occured!!!");
|
|
||||||
}
|
|
||||||
|
|
||||||
LOGGER.debug("SMS 전송DB 등록 결과:[" + result +"]");
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
//test
|
|
||||||
public void insertSmsSendTest() throws Exception{
|
|
||||||
|
|
||||||
smsOracleDAO.insertSmsSendTest();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -13,7 +13,6 @@ import kcc.com.cmm.util.StringUtil2;
|
|||||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||||
import kcc.kccadr.adjreqmgr.service.impl.AdjReqMgrDAO;
|
import kcc.kccadr.adjreqmgr.service.impl.AdjReqMgrDAO;
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
||||||
import kcc.let.sym.ccm.cde.service.CmmnDetailCodeVO;
|
import kcc.let.sym.ccm.cde.service.CmmnDetailCodeVO;
|
||||||
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
||||||
@ -33,10 +32,6 @@ public class KccadrMgrUdtServiceImpl implements KccadrMgrUdtService{
|
|||||||
@Resource(name = "checkAdrProcessUtil")
|
@Resource(name = "checkAdrProcessUtil")
|
||||||
private CheckAdrProcessUtil checkAdrProcessUtil;
|
private CheckAdrProcessUtil checkAdrProcessUtil;
|
||||||
|
|
||||||
// SMS전송
|
|
||||||
@Resource(name = "SMSOracleService")
|
|
||||||
private SMSOracleService sMSOracleService;
|
|
||||||
|
|
||||||
//상세 코드 정보
|
//상세 코드 정보
|
||||||
@Resource(name = "CmmnDetailCodeManageService")
|
@Resource(name = "CmmnDetailCodeManageService")
|
||||||
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
||||||
@ -98,8 +93,6 @@ public class KccadrMgrUdtServiceImpl implements KccadrMgrUdtService{
|
|||||||
// 알림(SMS) 전송
|
// 알림(SMS) 전송
|
||||||
if ("real".equals(prodIsLocal)) {
|
if ("real".equals(prodIsLocal)) {
|
||||||
LOGGER.debug("@@@ updateAdrMgrUdt 알림SMS 전송 yu3145 start");
|
LOGGER.debug("@@@ updateAdrMgrUdt 알림SMS 전송 yu3145 start");
|
||||||
//sMSOracleService.selectOracleTest(); // 연동 테스트. 콘솔 로그 확인
|
|
||||||
//sMSOracleService.insertSmsSend(adjReqMgrVO);
|
|
||||||
LOGGER.debug("@@@ updateAdrMgrUdt 알림SMS 전송 yu3145 end");
|
LOGGER.debug("@@@ updateAdrMgrUdt 알림SMS 전송 yu3145 end");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -63,7 +63,6 @@ import kcc.com.cmm.captcha.CaptchaUtil;
|
|||||||
import kcc.com.cmm.spring.data.util.ProfileUtil;
|
import kcc.com.cmm.spring.data.util.ProfileUtil;
|
||||||
import kcc.com.cmm.util.WebUtil;
|
import kcc.com.cmm.util.WebUtil;
|
||||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.let.sym.log.clg.service.EgovLoginLogService;
|
import kcc.let.sym.log.clg.service.EgovLoginLogService;
|
||||||
import kcc.let.sym.log.clg.service.LoginLog;
|
import kcc.let.sym.log.clg.service.LoginLog;
|
||||||
import kcc.let.sym.mnu.mpm.service.MenuManageJTreeVO;
|
import kcc.let.sym.mnu.mpm.service.MenuManageJTreeVO;
|
||||||
@ -177,9 +176,6 @@ public class EgovLoginController {
|
|||||||
@Resource(name = "mberManageService")
|
@Resource(name = "mberManageService")
|
||||||
private EgovMberManageService mberManageService;
|
private EgovMberManageService mberManageService;
|
||||||
|
|
||||||
@Resource(name = "SMSOracleService")
|
|
||||||
private SMSOracleService sMSOracleService;
|
|
||||||
|
|
||||||
//강사 정보
|
//강사 정보
|
||||||
@Resource(name="vEInstrService")
|
@Resource(name="vEInstrService")
|
||||||
private VEInstrService vEInstrService;
|
private VEInstrService vEInstrService;
|
||||||
@ -446,16 +442,11 @@ public class EgovLoginController {
|
|||||||
|
|
||||||
//if (ProfileUtil.isProd()) {
|
//if (ProfileUtil.isProd()) {
|
||||||
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Start");
|
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Start");
|
||||||
//sMSOracleService.selectOracleTest(); // 연동 테스트. 콘솔 로그 확인
|
|
||||||
//AdjReqMgrVO adjReqMgrVO = new AdjReqMgrVO();
|
|
||||||
//sMSOracleService.insertSmsSend(adjReqMgrVO);
|
|
||||||
//sMSOracleService.insertSmsSendTest();
|
|
||||||
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@End");
|
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@End");
|
||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// LOGGER.debug("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
|
// LOGGER.debug("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
|
||||||
// sMSOracleService.selectOracleTest(); // 연동 테스트. 콘솔 로그 확인
|
|
||||||
// LOGGER.debug("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
|
// LOGGER.debug("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
|
||||||
|
|
||||||
return "redirect:/web/main/mainPage.do";
|
return "redirect:/web/main/mainPage.do";
|
||||||
|
|||||||
@ -25,7 +25,6 @@ import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
|||||||
import kcc.com.utl.user.service.CheckFileUtil;
|
import kcc.com.utl.user.service.CheckFileUtil;
|
||||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrService;
|
import kcc.kccadr.adjreqmgr.service.AdjReqMgrService;
|
||||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
|
||||||
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
||||||
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
||||||
import kcc.let.uss.ion.cnt.service.CntManageVO;
|
import kcc.let.uss.ion.cnt.service.CntManageVO;
|
||||||
@ -181,10 +180,6 @@ public class SndMngController {
|
|||||||
@Resource(name = "sndGnrService")
|
@Resource(name = "sndGnrService")
|
||||||
private EgovIdGnrService sndGnrService;
|
private EgovIdGnrService sndGnrService;
|
||||||
|
|
||||||
//snd_hstry id gen
|
|
||||||
@Resource(name = "SMSOracleService")
|
|
||||||
private SMSOracleService smsOracleService;
|
|
||||||
|
|
||||||
@Resource(name = "egovCntManageService")
|
@Resource(name = "egovCntManageService")
|
||||||
private EgovCntManageService egovCntManageService;
|
private EgovCntManageService egovCntManageService;
|
||||||
|
|
||||||
@ -295,7 +290,6 @@ public class SndMngController {
|
|||||||
|
|
||||||
System.out.println(vEEduAplctVO.getSndFlag());
|
System.out.println(vEEduAplctVO.getSndFlag());
|
||||||
|
|
||||||
// returnMsg = smsOracleService.insertSmsSend(vEEduAplctVO);
|
|
||||||
|
|
||||||
//문자 발송 로그
|
//문자 발송 로그
|
||||||
/*String snd_sms_ord = sndGnrService.getNextStringId();
|
/*String snd_sms_ord = sndGnrService.getNextStringId();
|
||||||
@ -344,7 +338,7 @@ public class SndMngController {
|
|||||||
|
|
||||||
vEEduAplctVO.setSndId(loginVO.getUniqId());
|
vEEduAplctVO.setSndId(loginVO.getUniqId());
|
||||||
//System.out.println("@@@@@@@ 오라클 시작 ----------------------------------");
|
//System.out.println("@@@@@@@ 오라클 시작 ----------------------------------");
|
||||||
returnMsg = smsOracleService.insertSmsSend(vEEduAplctVO);
|
// returnMsg = smsOracleService.insertSmsSend(vEEduAplctVO);
|
||||||
//System.out.println("@@@@@@@ 오라클 끝 ----------------------------------");
|
//System.out.println("@@@@@@@ 오라클 끝 ----------------------------------");
|
||||||
|
|
||||||
//System.out.println("@@@@@@@ 히스토리 시작 ----------------------------------");
|
//System.out.println("@@@@@@@ 히스토리 시작 ----------------------------------");
|
||||||
|
|||||||
@ -19,97 +19,6 @@
|
|||||||
<alias name="dataSource-${Globals.DbType}" alias="dataSource" />
|
<alias name="dataSource-${Globals.DbType}" alias="dataSource" />
|
||||||
<alias name="dataSource-${Globals.DbType}" alias="egov.dataSource" />
|
<alias name="dataSource-${Globals.DbType}" alias="egov.dataSource" />
|
||||||
|
|
||||||
<!-- mysql -->
|
|
||||||
<bean id="dataSource-mysql-spied" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
|
||||||
<property name="url" value="${Globals.Url}" />
|
|
||||||
<property name="username" value="${Globals.UserName}" />
|
|
||||||
<property name="password" value="${Globals.Password}" />
|
|
||||||
<property name="initialSize" value="30" />
|
|
||||||
<property name="maxActive" value="100" />
|
|
||||||
<property name="maxWait" value="-1" />
|
|
||||||
<!-- 특정 시간마다 validationQuery를 실행 셋팅 시작 -->
|
|
||||||
<property name="validationQuery" value="select 1" />
|
|
||||||
<property name="testWhileIdle" value="true" />
|
|
||||||
<property name="timeBetweenEvictionRunsMillis" value="7200000" />
|
|
||||||
<!-- 특정 시간마다 validationQuery<72><79><EFBFBD> 실행 셋팅 끝 -->
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="dataSource-mysql" class="net.sf.log4jdbc.Log4jdbcProxyDataSource">
|
|
||||||
<constructor-arg ref="dataSource-mysql-spied" />
|
|
||||||
<property name="logFormatter">
|
|
||||||
<bean class="kcc.let.utl.log4j.Log4JdbcCustomFormatter">
|
|
||||||
<property name="loggingType" value="MULTI_LINE" />
|
|
||||||
<property name="margin" value="8" />
|
|
||||||
<property name="sqlPrefix" value="SQL:" />
|
|
||||||
</bean>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- Oracle -->
|
|
||||||
<bean id="dataSource-oracle" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="${Globals.SMSDB.DriverClassName}" />
|
|
||||||
<property name="url" value="${Globals.SMSDB.Url}" />
|
|
||||||
<property name="username" value="${Globals.SMSDB.UserName}" />
|
|
||||||
<property name="password" value="${Globals.SMSDB.Password}" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- kcdf migration db -->
|
|
||||||
<bean id="dataSource-kcdf" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="core.log.jdbc.driver.MysqlDriver" />
|
|
||||||
<property name="url" value="jdbc:mysql://121.163.40.153:3306/kcdf_new" />
|
|
||||||
<property name="username" value="kcdf_new" />
|
|
||||||
<property name="password" value="kcdf_new" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- Oracle -->
|
|
||||||
<!-- 기존소스 -->
|
|
||||||
<!-- <bean id="dataSource-oracle" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="${Globals.DriverClassName}"/>
|
|
||||||
<property name="url" value="${Globals.Url}" /> <property name="username" value="${Globals.UserName}"/> <property name="password" value="${Globals.Password}"/> </bean> -->
|
|
||||||
|
|
||||||
<!-- Altibase -->
|
|
||||||
<bean id="dataSource-altibase" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
|
||||||
<property name="url" value="${Globals.Url}" />
|
|
||||||
<property name="username" value="${Globals.UserName}" />
|
|
||||||
<property name="password" value="${Globals.Password}" />
|
|
||||||
<property name="maxActive" value="10" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- Tibero -->
|
|
||||||
<bean id="dataSource-tibero-spied" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
|
||||||
<property name="url" value="${Globals.Url}" />
|
|
||||||
<property name="username" value="${Globals.UserName}" />
|
|
||||||
<property name="password" value="${Globals.Password}" />
|
|
||||||
<!-- 특정 시간마다 validationQuery를 실행 셋팅 시작 -->
|
|
||||||
<property name="validationQuery" value="select 1 FROM DUAL" />
|
|
||||||
<property name="initialSize" value="10" />
|
|
||||||
<property name="minIdle" value="10" />
|
|
||||||
<property name="maxWait" value="30000" />
|
|
||||||
<property name="maxActive" value="100" />
|
|
||||||
<property name="maxIdle" value="100" />
|
|
||||||
<property name="minEvictableIdleTimeMillis" value="60000" />
|
|
||||||
<property name="removeAbandonedTimeout" value="60" />
|
|
||||||
<property name="timeBetweenEvictionRunsMillis" value="7200000" />
|
|
||||||
|
|
||||||
<property name="testOnBorrow" value="true" />
|
|
||||||
<property name="testWhileIdle" value="true" />
|
|
||||||
<!-- <property name="timeBetweenEvictionRunsMillis" value="7200000" /> -->
|
|
||||||
<!-- 특정 시간마다 validationQuery를 실행 셋팅 끝 -->
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="dataSource-tibero" class="net.sf.log4jdbc.Log4jdbcProxyDataSource">
|
|
||||||
<constructor-arg ref="dataSource-tibero-spied" />
|
|
||||||
<property name="logFormatter">
|
|
||||||
<bean class="kcc.let.utl.log4j.Log4JdbcCustomFormatter">
|
|
||||||
<property name="loggingType" value="MULTI_LINE" />
|
|
||||||
<property name="margin" value="8" />
|
|
||||||
<property name="sqlPrefix" value="SQL:" />
|
|
||||||
</bean>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- PostgreSQL -->
|
<!-- PostgreSQL -->
|
||||||
<bean id="dataSource-postgresql-spied" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
<bean id="dataSource-postgresql-spied" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
||||||
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
||||||
@ -143,12 +52,4 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- cubrid -->
|
|
||||||
<bean id="dataSource-cubrid" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
||||||
<property name="driverClassName" value="${Globals.DriverClassName}" />
|
|
||||||
<property name="url" value="${Globals.Url}" />
|
|
||||||
<property name="username" value="${Globals.UserName}" />
|
|
||||||
<property name="password" value="${Globals.Password}" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
@ -26,49 +26,4 @@
|
|||||||
<property name="dataSource" ref="dataSource-${Globals.DbType}" />
|
<property name="dataSource" ref="dataSource-${Globals.DbType}" />
|
||||||
<property name="lobHandler" ref="lobHandler" />
|
<property name="lobHandler" ref="lobHandler" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<bean id="oracleSqlMapClient" class="egovframework.rte.psl.orm.ibatis.SqlMapClientFactoryBean">
|
|
||||||
<property name="configLocations">
|
|
||||||
<list>
|
|
||||||
<value>classpath:/egovframework/sqlmap/config/oracle/*.xml</value>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="dataSource" ref="dataSource-oracle" />
|
|
||||||
<property name="lobHandler" ref="lobHandler" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- kcdf maria migration -->
|
|
||||||
<bean id="kcdfSqlMapClient" class="egovframework.rte.psl.orm.ibatis.SqlMapClientFactoryBean">
|
|
||||||
<property name="configLocations">
|
|
||||||
<list>
|
|
||||||
<value>classpath:/egovframework/sqlmap/config/maria/*.xml</value>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="dataSource" ref="dataSource-kcdf" />
|
|
||||||
<property name="lobHandler" ref="lobHandler" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Mybatis 설정 -->
|
|
||||||
<!-- <bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean">
|
|
||||||
<property name="dataSource" ref="dataSource-${Globals.DbType}" />
|
|
||||||
<property name="configLocation" value="classpath:/egovframework/spring/com/mybatis-config.xml" />
|
|
||||||
<property name="mapperLocations">
|
|
||||||
<list>
|
|
||||||
<value>classpath:/egovframework/sqlmap/mappers/*.xml</value>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean class="egovframework.rte.psl.dataaccess.mapper.MapperConfigurer">
|
|
||||||
<property name="basePackage" value="kcc.kccadr.adjPgrMgr" />
|
|
||||||
</bean> -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user