diff --git a/mens-api/src/main/java/kr/xit/biz/sisul/mapper/IBizSisulMapper.java b/mens-api/src/main/java/kr/xit/biz/sisul/mapper/IBizSisulMapper.java index 65f2c8f..6b0e6f7 100644 --- a/mens-api/src/main/java/kr/xit/biz/sisul/mapper/IBizSisulMapper.java +++ b/mens-api/src/main/java/kr/xit/biz/sisul/mapper/IBizSisulMapper.java @@ -23,7 +23,7 @@ import org.egovframe.rte.psl.dataaccess.mapper.Mapper; */ @Mapper public interface IBizSisulMapper { - Optional findDeptInfoByTmplId(final String tmplatId); + Optional selectDeptInfoByTmplId(final String tmplatId); int insertCntcSndngMst(CntcDTO.SndngMst dto); int insertCntcSndngDtl(CntcDTO.SndngDtl dto); int insertCi(CmmEnsFileInfDTO.FmcInfExcelRslt dto); diff --git a/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java b/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java index 4f2a453..c7b3a04 100644 --- a/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java +++ b/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java @@ -82,7 +82,7 @@ public class BizSisulService extends EgovAbstractServiceImpl implements IBizSisu // 템플릿 정보 조회 final List fmcExcels = parsingFmcExcel(fileReq.getFiles()[0]); - TmplatManage tmpDTO = mapper.findDeptInfoByTmplId( + TmplatManage tmpDTO = mapper.selectDeptInfoByTmplId( fmcExcels.get(0).getTmplatId()) .orElseThrow(() -> BizRuntimeException.create("템플릿 정보를 찾을 수 없습니다.")); diff --git a/mens-api/src/main/resources/egovframework/mapper/biz/ens-sisul-mysql-mapper.xml b/mens-api/src/main/resources/egovframework/mapper/biz/ens-sisul-mysql-mapper.xml index 203dd16..233c4b8 100644 --- a/mens-api/src/main/resources/egovframework/mapper/biz/ens-sisul-mysql-mapper.xml +++ b/mens-api/src/main/resources/egovframework/mapper/biz/ens-sisul-mysql-mapper.xml @@ -2,8 +2,9 @@ - + /** ens-sysul-mysql-mapper|selectDeptInfoByTmplId-템플릿ID로 부서정보 조회|seojh */ SELECT tetm.signgu_code , tetm.ffnlg_code , tetm.try1 @@ -118,4 +119,32 @@ ) + + + + +