refactor: dead class remove

main
Jonguk. Lim 2 years ago
parent ac70426b4f
commit 777d5e8666

@ -1,119 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.fims.biz.cmm.fimsTotalPopup.mapper.FimsTotalPopupMapper">
<select id="findTotalView" parameterType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO" resultType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
/** FimsTotalPopup.findList.cjm */
/** 단속자료 단건 조회 */
select
tr.*
, tecsd.interface_seq_n
from tb_rt_reglt tr
inner join tb_ec_ctzn_sttemnt_detail tecsd on(tr.reglt_id = tecsd.reglt_id)
<!--
1단계 차적조회를 안하고 바로 자료 전송
하여 payer를 알수 없음.
inner join tb_rt_payer tpr on (tr.payer_id = tpr.payer_id)-->
left outer join tb_rt_erpp te on (tr.reglt_id = te.reglt_id)
where 1=1
and tr.reglt_id = #{regltId}
</select>
<insert id="addProc" parameterType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
/** FimsTotalPopup.addProc.cjm */
/** 단속자료 단건등록 */
insert into tb_rt_reglt(
reglt_id
, instt_code
, sys_code
, reglt_se_code
, input_se_code
, reglt_de
, reglt_place
, violt_co
, redution_amount
, redution_aft_amount
, rciv_amount
, rdcamt
, adamt
, vhcle_no
, vhcle_nm
, regist_dt
, spcmnt_matter
,reglt_process_sttus_code
)
values(
LPAD(NEXTVAL(seq_rt_reglt), 16, '0')
, #{insttCode}
, #{sysCode}
, #{regltSeCode}
, #{inputSeCode}
, #{regltDe}
, #{regltPlace}
, #{violtCo}
, #{redutionAmount}
, #{redutionAftAmount}
, #{rcivAmount}
, #{rdcamt}
, #{adamt}
, #{vhcleNo}
, #{vhcleNm}
, #{registDt}
, #{spcmntMatter}
, #{regltProcessSttusCode}
)
</insert>
<update id="modifyProc" parameterType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
/** FimsTotalPopup.modifyProc */
/** 개별 총정보 수정 */
update tb_rt_reglt
set
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(regltId )">reglt_id = #{regltId}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(insttCode )">,instt_code = #{insttCode}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(sysCode )">,sys_code = #{sysCode}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(regltSeCode )">,reglt_se_code = #{regltSeCode}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(inputSeCode )">,input_se_code = #{inputSeCode}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(regltDe )">,reglt_de = #{regltDe}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(regltPlace )">,reglt_place = #{regltPlace}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(violtCo )">,violt_co = #{violtCo}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(redutionAmount )">,redution_amount = #{redutionAmount}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(redutionAftAmount )">,redution_aft_amount = #{redutionAftAmount}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(rcivAmount )">,rciv_amount = #{rcivAmount}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(rdcamt )">,rdcamt = #{rdcamt}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(adamt )">,adamt = #{adamt}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(vhcleNo )">,vhcle_no = #{vhcleNo}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(vhcleNm )">,vhcle_nm = #{vhcleNm}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(registDt )">,regist_dt = #{registDt}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(violtDtlsCode )">,violt_dtls_code = #{violtDtlsCode}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(spcmntMatter )">,spcmnt_matter = #{spcmntMatter}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(regltProcessSttusCode )">,reglt_process_sttus_code = #{regltProcessSttusCode}</if>
where reglt_id = #{regltId}
</update>
<!--<update id="modifyProcPayer" parameterType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
/** FimsTotalPopup.modifyProcPayer */
/** 개별 총정보 소유주 수정 */
UPDATE TB_RT_PAYER
SET
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(payerNm )">PAYER_NM = #{payerNm}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(payerCttpc )">,PAYER_CTTPC = #{payerCttpc}</if>
<if test="@kr.xit.fims.biz.utils.CommonUtil@notBlank(adres )">,ADRES = #{adres}</if>
WHERE PAYER_ID = #{payerId}
</update>-->
<delete id="removeProc" parameterType="kr.xit.fims.biz.cmm.fimsTotalPopup.dto.FimsTotalPopupVO">
/** FimsTotalPopup.removeProc.cjm */
/** 개별 총정보 자료 삭제 */
delete from tb_rt_reglt
where reglt_id = #{regltId}
</delete>
</mapper>
Loading…
Cancel
Save