fix : 메소드명 변경

main
이범준 1 year ago
parent bbf658bb37
commit 4efe98b8be

@ -11,10 +11,11 @@ import kr.xit.fims.biz.ec.NatlNewspaperRcvXmlDTO;
@Mapper @Mapper
public interface EcNatlNewspaperMapper { public interface EcNatlNewspaperMapper {
List<NatlNewspaperRcvDTO> selectEcEsbInterfaces(Map<String, Object> paraMap, RowBounds rowBounds); List<NatlNewspaperRcvDTO> selectEsbInterfaces(Map<String, Object> paraMap, RowBounds rowBounds);
NatlNewspaperRcvDTO selectEcEsbInterface(final String interfaceSeqN); NatlNewspaperRcvDTO selectEsbInterface(final String interfaceSeqN);
int insertEsbInterface(final NatlNewspaperRcvXmlDTO dto);
int insertEcEsbInterface(final NatlNewspaperRcvXmlDTO dto);
} }

@ -75,13 +75,13 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
@Override @Override
@Transactional(readOnly = true) @Transactional(readOnly = true)
public List<NatlNewspaperRcvDTO> findEsbInterfaces(final Map<String, Object> paraMap, final RowBounds rowBounds) { public List<NatlNewspaperRcvDTO> findEsbInterfaces(final Map<String, Object> paraMap, final RowBounds rowBounds) {
return mapper.selectEcEsbInterfaces(paraMap, rowBounds); return mapper.selectEsbInterfaces(paraMap, rowBounds);
} }
@Override @Override
@Transactional(readOnly = true) @Transactional(readOnly = true)
public NatlNewspaperRcvDTO findEsbInterface(final String interfaceSeqN) { public NatlNewspaperRcvDTO findEsbInterface(final String interfaceSeqN) {
return mapper.selectEcEsbInterface(interfaceSeqN); return mapper.selectEsbInterface(interfaceSeqN);
} }
/** /**
@ -122,7 +122,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
xmlDto.setAncRegD(xmlDto.getAncRegD().replaceAll("[-: ]", "")); xmlDto.setAncRegD(xmlDto.getAncRegD().replaceAll("[-: ]", ""));
xmlDto.setRegD(xmlDto.getRegD().replaceAll("[-: ]", "")); xmlDto.setRegD(xmlDto.getRegD().replaceAll("[-: ]", ""));
xmlDto.setRgtr(getUserInfo().getUniqId()); xmlDto.setRgtr(getUserInfo().getUniqId());
mapper.insertEcEsbInterface(xmlDto); mapper.insertEsbInterface(xmlDto);
//------------------------------------------------------------- //-------------------------------------------------------------
//시민 신고 마스터 데이타 생성 //시민 신고 마스터 데이타 생성

@ -6,7 +6,7 @@
<!-- ************************************************************************************************************* <!-- *************************************************************************************************************
* tb_ec_esb_interface : 민원연계(국민신문고) 인터페이스 * tb_ec_esb_interface : 민원연계(국민신문고) 인터페이스
************************************************************************************************************** --> ************************************************************************************************************** -->
<sql id="sqlEcEsbInterface"> <sql id="sqlEsbInterface">
SELECT teei.interface_seq_n SELECT teei.interface_seq_n
, teei.sys_gubun_c , teei.sys_gubun_c
, teei.anc_code_v , teei.anc_code_v
@ -70,20 +70,20 @@
FROM tb_ec_esb_interface teei FROM tb_ec_esb_interface teei
</sql> </sql>
<select id="selectEcEsbInterfaces" resultType="kr.xit.fims.biz.ec.NatlNewspaperRcvDTO"> <select id="selectEsbInterfaces" resultType="kr.xit.fims.biz.ec.NatlNewspaperRcvDTO">
/* ec-esb-interface-mysql-mapper|selectEcEsbInterfaces-민원연계(국민신문고) 목록 조회|julim */ /* ec-esb-interface-mysql-mapper|selectEsbInterfaces-민원연계(국민신문고) 목록 조회|julim */
<include refid="sqlEcEsbInterface"/> <include refid="sqlEsbInterface"/>
ORDER BY teei.interface_seq_n ORDER BY teei.interface_seq_n
</select> </select>
<select id="selectEcEsbInterface" resultType="kr.xit.fims.biz.ec.NatlNewspaperRcvDTO"> <select id="selectEsbInterface" resultType="kr.xit.fims.biz.ec.NatlNewspaperRcvDTO">
/* ec-esb-interface-mysql-mapper|selectEcEsbInterface-민원연계(국민신문고) 정보 조회|julim */ /* ec-esb-interface-mysql-mapper|selectEsbInterface-민원연계(국민신문고) 정보 조회|julim */
<include refid="sqlEcEsbInterface"/> <include refid="sqlEsbInterface"/>
WHERE teei.interface_seq_n = #{interfaceSeqN} WHERE teei.interface_seq_n = #{interfaceSeqN}
</select> </select>
<insert id="insertEcEsbInterface"> <insert id="insertEsbInterface">
/* ec-esb-interface-mysql-mapper|insertEcEsbInterface-민원연계(국민신문고) 등록|julim */ /* ec-esb-interface-mysql-mapper|insertEsbInterface-민원연계(국민신문고) 등록|julim */
INSERT INSERT
INTO tb_ec_esb_interface ( INTO tb_ec_esb_interface (
interface_seq_n interface_seq_n

Loading…
Cancel
Save