refactor : 단속 테이블 컬럼 수정

main
이범준 1 year ago
parent e9ba310c83
commit 4f86997ecf

@ -141,7 +141,7 @@ public class FimsConst {
*/ */
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum RegistSeCode { public enum CrdnRegSeCd {
AUTO_REGIST("10", "자동등록"), AUTO_REGIST("10", "자동등록"),
MANUAL_REGIST("20", "수기등록"), MANUAL_REGIST("20", "수기등록"),
; ;

@ -249,7 +249,7 @@ public class CctvCrackdownDTO {
private String regltSeCode; private String regltSeCode;
private String inputSeCode; private String inputSeCode;
private String registSeCode; private String crdnRegSeCd;
// 단속 데이타 생성시 필요 // 단속 데이타 생성시 필요
private String violtLrgNm; private String violtLrgNm;

@ -355,7 +355,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
* *
*/ */
private boolean ansCreate; private boolean ansCreate;
private String registSeCode; private String crdnRegSeCd;
private String violtDtlsNm; private String violtDtlsNm;
} }
} }

@ -338,7 +338,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
.regltSeCode(extrDTO.getRegltSeCode()) .regltSeCode(extrDTO.getRegltSeCode())
.inputSeCode(extrDTO.getInputSeCode()) .inputSeCode(extrDTO.getInputSeCode())
.jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getRegltSeCode())) .jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getRegltSeCode()))
.registSeCode(FimsConst.RegistSeCode.AUTO_REGIST.getCode()) .crdnRegSeCd(FimsConst.CrdnRegSeCd.AUTO_REGIST.getCode())
.regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode()) .regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode())
.regltPlace(extrDTO.getRegltPlace()) .regltPlace(extrDTO.getRegltPlace())
.regltDongNm(extrDTO.getRegltDongNm()) .regltDongNm(extrDTO.getRegltDongNm())

@ -151,7 +151,7 @@ public class EcNatlNewspaperServiceBean extends AbstractServiceBean implements E
.crdnId(dtl.getCrdnId()) .crdnId(dtl.getCrdnId())
.regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode()) .regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN_INIT.getCode())
.violtDtlsNm(violtDtlsNm) .violtDtlsNm(violtDtlsNm)
.registSeCode(FimsConst.RegistSeCode.AUTO_REGIST.getCode()) .crdnRegSeCd(FimsConst.CrdnRegSeCd.AUTO_REGIST.getCode())
.rgtr(getUserInfo().getUniqId()) .rgtr(getUserInfo().getUniqId())
.build(); .build();

@ -162,7 +162,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String registSeCode; private String crdnRegSeCd;
/** /**
* *
*/ */
@ -373,7 +373,7 @@ public class RtDTO {
/** /**
* : FIM026 - 10:, 20: * : FIM026 - 10:, 20:
*/ */
private String registSeCode; private String crdnRegSeCd;
/** /**
* *
*/ */

@ -92,43 +92,7 @@ public class XitBbsCreateMngServiceBean extends AbstractServiceBean implements X
bbsPrcuseVO.setRgtr(vo.getRgtr()); bbsPrcuseVO.setRgtr(vo.getRgtr());
bbsPrcuseVO.setUse_yn("Y"); bbsPrcuseVO.setUse_yn("Y");
/* ********************************************
* (XIT_BBS_PRCUSE.REGIST_SE_CODE)
******************************************** */
// UserInfVO userVO = new UserInfVO();
// userVO.setTrgetId(vo.getTrgetId());
// List<UserInfVO> tmpList = null;
// Iterator<UserInfVO> iter = null;
// if ("REGC05".equals(vo.getRegistSeCode())) {
// tmpList = userService.selectAllClubUser(userVO);
// iter = tmpList.iterator();
// while (iter.hasNext()) {
// bbsPrcuseVO = new BoardUseInf();
//
// bbsPrcuseVO.setBbsId(bbsId);
// bbsPrcuseVO.setTrgetId(((UserInfVO)iter.next()).getUniqId());
// bbsPrcuseVO.setRegistSeCode("REGC07");
// bbsPrcuseVO.setUseYn("Y");
// bbsPrcuseVO.setRgtr(vo.getRgtr());
//
// bbsUseDAO.insertBBSUseInf(bbsPrcuseVO);
// }
// } else if ("REGC06".equals(vo.getRegistSeCode())) {
// tmpList = userService.selectAllCmmntyUser(userVO);
// iter = tmpList.iterator();
// while (iter.hasNext()) {
// bbsPrcuseVO = new BoardUseInf();
//
// bbsPrcuseVO.setBbsId(bbsId);
// bbsPrcuseVO.setTrgetId(((UserInfVO)iter.next()).getUniqId());
// bbsPrcuseVO.setRegistSeCode("REGC07");
// bbsPrcuseVO.setUseYn("Y");
// bbsPrcuseVO.setRgtr(vo.getRgtr());
//
// bbsUseDAO.insertBBSUseInf(bbsPrcuseVO);
// }
// }
}

@ -42,7 +42,7 @@
, trr.reglt_process_sttus_code , trr.reglt_process_sttus_code
, trr.last_process_dt -- 최종처리일시 , trr.last_process_dt -- 최종처리일시
, trr.last_opetr -- 최종 처리자 , trr.last_opetr -- 최종 처리자
, trr.regist_se_code -- 등록구분 , trr.crdn_reg_se_cd -- 등록구분
, CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime , CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime
, trr.reg_dt , trr.reg_dt
, teerc.extrl_reglt_cntc_id -- CCTV data ID : 접수번호로 보여줄 것 , teerc.extrl_reglt_cntc_id -- CCTV data ID : 접수번호로 보여줄 것
@ -129,8 +129,8 @@
<if test='regltSeCode != null and regltSeCode != ""'> <if test='regltSeCode != null and regltSeCode != ""'>
AND trr.reglt_se_code = #{regltSeCode} AND trr.reglt_se_code = #{regltSeCode}
</if> </if>
<if test='registSeCode != null and registSeCode != ""'> <if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
AND trr.regist_se_code = #{registSeCode} AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
</if> </if>
</where> </where>
ORDER BY trr.sys_se_cd, trr.reglt_se_code ORDER BY trr.sys_se_cd, trr.reglt_se_code
@ -190,7 +190,7 @@
/* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */ /* cmm-fims-crackdown-mysql-mapper|updateRtReglt-단속 정보 초기 자료 반영|julim */
UPDATE tb_rt_reglt UPDATE tb_rt_reglt
SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode}) SET reglt_se_code = IF(reglt_se_code = #{regltSeCode}, reglt_se_code, #{regltSeCode})
, regist_se_code = IF(regist_se_code = #{registSeCode}, regist_se_code, #{registSeCode}) , crdn_reg_se_cd = IF(crdn_reg_se_cd = #{crdnRegSeCd}, crdn_reg_se_cd, #{crdnRegSeCd})
, sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd}) , sys_se_cd = IF(sys_se_cd = #{sysSeCd}, sys_se_cd, #{sysSeCd})
, reglt_de = IF(reglt_de = REPLACE(#{regltDe}, '-', ''), reglt_de, REPLACE(#{regltDe}, '-', '')) , reglt_de = IF(reglt_de = REPLACE(#{regltDe}, '-', ''), reglt_de, REPLACE(#{regltDe}, '-', ''))
, reglt_begin_time = IF(reglt_begin_time = REPLACE(#{regltBeginTime}, ':', ''), reglt_begin_time, REPLACE(#{regltBeginTime}, ':', '')) , reglt_begin_time = IF(reglt_begin_time = REPLACE(#{regltBeginTime}, ':', ''), reglt_begin_time, REPLACE(#{regltBeginTime}, ':', ''))

@ -229,7 +229,7 @@
, image_nmrs , image_nmrs
, vhrno , vhrno
, reglt_process_sttus_code , reglt_process_sttus_code
, regist_se_code , crdn_reg_se_cd
, reg_dt , reg_dt
, rgtr , rgtr
) SELECT ecsd.crdn_id ) SELECT ecsd.crdn_id
@ -273,7 +273,7 @@
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수
, ecsd.vhrno , ecsd.vhrno
, #{regltProcessSttusCode} -- 단속:10, 서손:11 , #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode} , #{crdnRegSeCd}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{rgtr} , #{rgtr}
FROM tb_ec_ctzn_sttemnt_detail ecsd FROM tb_ec_ctzn_sttemnt_detail ecsd

@ -161,7 +161,7 @@
, image_nmrs , image_nmrs
, vhrno , vhrno
, reglt_process_sttus_code , reglt_process_sttus_code
, regist_se_code , crdn_reg_se_cd
, reg_dt , reg_dt
, rgtr , rgtr
) SELECT #{crdnId} ) SELECT #{crdnId}
@ -212,7 +212,7 @@
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수
, vhrno , vhrno
, #{regltProcessSttusCode} -- 단속:10, 서손:11 , #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode} , #{crdnRegSeCd}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{rgtr} , #{rgtr}
FROM tb_ec_extrl_reglt_cntc FROM tb_ec_extrl_reglt_cntc

@ -43,7 +43,7 @@
, trr.last_process_dt , trr.last_process_dt
, trr.last_opetr , trr.last_opetr
, trr.reg_dt , trr.reg_dt
, trr.regist_se_code , trr.crdn_reg_se_cd
, CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime , CONCAT(trr.reglt_de, trr.reglt_begin_time) AS regltDeTime
FROM tb_rt_reglt trr FROM tb_rt_reglt trr
</sql> </sql>
@ -74,8 +74,8 @@
<if test='regltSeCode != null and regltSeCode != ""'> <if test='regltSeCode != null and regltSeCode != ""'>
AND trr.reglt_se_code = #{regltSeCode} AND trr.reglt_se_code = #{regltSeCode}
</if> </if>
<if test='registSeCode != null and registSeCode != ""'> <if test='crdnRegSeCd != null and crdnRegSeCd != ""'>
AND trr.regist_se_code = #{registSeCode} AND trr.crdn_reg_se_cd = #{crdnRegSeCd}
</if> </if>
<if test='cnfmYn != null and cnfmYn != ""'> <if test='cnfmYn != null and cnfmYn != ""'>
<if test='cnfmYn eq "Y"'> <if test='cnfmYn eq "Y"'>

@ -22,7 +22,7 @@ Date Author Description
font-weight: bold; font-weight: bold;
} }
#registSeCode { #crdnRegSeCd {
color: #2a48ff; color: #2a48ff;
background-color: #d8e7ff; background-color: #d8e7ff;
} }

@ -17,7 +17,7 @@ Date Author Description
<style> <style>
#registSeCode { #crdnRegSeCd {
color: #2a48ff; color: #2a48ff;
background-color: #d8e7ff; background-color: #d8e7ff;
} }
@ -64,7 +64,7 @@ Date Author Description
<tr> <tr>
<th>등록구분</th> <th>등록구분</th>
<td> <td>
<code:select id="registSeCode" name="registSeCode" grpId="FIM026" title="단속자료등록구분" cls="form-select" alt="단속자료등록구분"/> <code:select id="crdnRegSeCd" name="crdnRegSeCd" grpId="FIM026" title="단속자료등록구분" cls="form-select" alt="단속자료등록구분"/>
</td> </td>
<th>자료출처</th> <th>자료출처</th>
<td> <td>
@ -521,7 +521,7 @@ Date Author Description
,interfaceSeqN: $('input[name=interfaceSeqN]').val() ,interfaceSeqN: $('input[name=interfaceSeqN]').val()
,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val() ,ctznSttemntDetailSn: $('input[name=ctznSttemntDetailSn]').val()
,regltSeCode: $('select[name=regltSeCode]').val() ,regltSeCode: $('select[name=regltSeCode]').val()
,registSeCode: $('select[name=registSeCode]').val() ,crdnRegSeCd: $('select[name=crdnRegSeCd]').val()
,regltDe: $('input[name=regltDe]').val().replaceAll('-','') ,regltDe: $('input[name=regltDe]').val().replaceAll('-','')
,regltBeginTime: $('input[name=regltBeginTime]').val() ,regltBeginTime: $('input[name=regltBeginTime]').val()
,sysSeCd: $('select[name=sysSeCd]').val() ,sysSeCd: $('select[name=sysSeCd]').val()

@ -109,7 +109,7 @@ Date Author Description
<tr> <tr>
<th>등록구분</th> <th>등록구분</th>
<td> <td>
<code:select id="registSeCode" name="registSeCode" grpId="FIM026" title="단속자료등록구분" cls="form-select" alt="단속자료등록구분" disabled="true"/> <code:select id="crdnRegSeCd" name="crdnRegSeCd" grpId="FIM026" title="단속자료등록구분" cls="form-select" alt="단속자료등록구분" disabled="true"/>
</td> </td>
<th>자료출처</th> <th>자료출처</th>
<td> <td>

@ -22,7 +22,7 @@ Date Author Description
font-weight: bold; font-weight: bold;
} }
#registSeCode { #crdnRegSeCd {
color: #2a48ff; color: #2a48ff;
background-color: #d8e7ff; background-color: #d8e7ff;
} }

@ -503,7 +503,7 @@ Date Author Description
const gridColumns = [ const gridColumns = [
{ {
header: '등록구분', header: '등록구분',
name: 'registSeCode', name: 'crdnRegSeCd',
minWidth: 50, minWidth: 50,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -512,7 +512,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.registSeCode listItems: ComboCodeData.crdnRegSeCd
} }
} }
}, },

@ -582,7 +582,7 @@ Date Author Description
const gridColumns = [ const gridColumns = [
{ {
header: '등록구분', header: '등록구분',
name: 'registSeCode', name: 'crdnRegSeCd',
minWidth: 50, minWidth: 50,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -591,7 +591,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.registSeCode listItems: ComboCodeData.crdnRegSeCd
} }
}, },
}, },

@ -491,12 +491,12 @@ Date Author Description
const gridColumns = [ const gridColumns = [
{ {
header: '등록구분', header: '등록구분',
name: 'registSeCode', name: 'crdnRegSeCd',
minWidth: 50, minWidth: 50,
sortable: false, sortable: false,
align: 'center', align: 'center',
formatter({value}) { formatter({value}) {
return (new CodeFormat(ComboCodeData.registSeCode)).format(value); return (new CodeFormat(ComboCodeData.crdnRegSeCd)).format(value);
} }
}, },
{ {

@ -225,7 +225,7 @@ Date Author Description
// /webapp/resources/js/fims/biz/common/codeComboData.js에 정의한 코드값 매핑 // /webapp/resources/js/fims/biz/common/codeComboData.js에 정의한 코드값 매핑
{ {
header: '등록구분', header: '등록구분',
name: 'registSeCode', name: 'crdnRegSeCd',
minWidth: 60, minWidth: 60,
sortable: false, sortable: false,
align: 'center', align: 'center',
@ -234,7 +234,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.registSeCode // listItems: ComboCodeData.crdnRegSeCd //
} }
}, },
} }

@ -14,7 +14,7 @@ ComboCodeData = {
] ]
// 등록구분 : FIM026 // 등록구분 : FIM026
,registSeCode: [ ,crdnRegSeCd: [
{value: '10', text: '자동등록'} {value: '10', text: '자동등록'}
,{value: '20', text: '수기등록'} ,{value: '20', text: '수기등록'}
] ]

Loading…
Cancel
Save