fix : 메소드명 변경

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

@ -11,10 +11,11 @@ import kr.xit.fims.biz.ec.NatlNewspaperRcvXmlDTO;
@Mapper
public interface EcNatlNewspaperMapper {
List<NatlNewspaperRcvDTO> selectEcEsbInterfaces(Map<String, Object> paraMap, RowBounds rowBounds);
NatlNewspaperRcvDTO selectEcEsbInterface(final String interfaceSeqN);
List<NatlNewspaperRcvDTO> selectEsbInterfaces(Map<String, Object> paraMap, RowBounds rowBounds);
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
@Transactional(readOnly = true)
public List<NatlNewspaperRcvDTO> findEsbInterfaces(final Map<String, Object> paraMap, final RowBounds rowBounds) {
return mapper.selectEcEsbInterfaces(paraMap, rowBounds);
return mapper.selectEsbInterfaces(paraMap, rowBounds);
}
@Override
@Transactional(readOnly = true)
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.setRegD(xmlDto.getRegD().replaceAll("[-: ]", ""));
xmlDto.setRgtr(getUserInfo().getUniqId());
mapper.insertEcEsbInterface(xmlDto);
mapper.insertEsbInterface(xmlDto);
//-------------------------------------------------------------
//시민 신고 마스터 데이타 생성

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

Loading…
Cancel
Save