From a5a0c7c05dd3124abae4848a0b8beaad3590e1e3 Mon Sep 17 00:00:00 2001 From: Kurt92 Date: Fri, 28 Apr 2023 10:18:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=84=B0=20=ED=95=84?= =?UTF-8?q?=ED=84=B0=EB=A7=81=20=EB=B0=8F=20=EC=9D=B4=EC=B2=A9=EC=B7=A8?= =?UTF-8?q?=EC=86=8C=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/managerlog/service/MngrCountVO.java | 4 - .../inr010402/web/Inr010402Controller.java | 4 +- .../inr/inr010501/vo/Inr010501VO.java | 2 +- .../rev010102/service/Rev010102Service.java | 5 - .../service/impl/Rev010102ServiceImpl.java | 49 --------- .../rev010102/web/Rev010102Controller.java | 14 +-- .../vips/process/core/dao/VipsUnitMapper.java | 2 - .../process/core/service/VipsUnitService.java | 5 - .../service/impl/VipsUnitServiceImpl.java | 10 -- .../xit/sqlmap/oracle/vips/VipsUnit_SQL.xml | 12 --- .../rev/rev0101/rev010102/rev010102_list.jsp | 56 ---------- .../rev/rev0101/rev010104/rev010104_list.jsp | 100 +----------------- .../webapp/resource/js/cmmn/cmmnFunction.js | 72 ------------- 13 files changed, 6 insertions(+), 329 deletions(-) diff --git a/src/main/java/xit/itgcms/core/managerlog/service/MngrCountVO.java b/src/main/java/xit/itgcms/core/managerlog/service/MngrCountVO.java index adb3683..c1fddef 100644 --- a/src/main/java/xit/itgcms/core/managerlog/service/MngrCountVO.java +++ b/src/main/java/xit/itgcms/core/managerlog/service/MngrCountVO.java @@ -1,15 +1,11 @@ package xit.itgcms.core.managerlog.service; -import xit.vips.process.model.OwnerVO; - public class MngrCountVO extends MngrStatsSearchVO{ /** * */ private static final long serialVersionUID = 7933827690458807888L; - private OwnerVO ownerVo; - /** 날짜통계인덱스 */ String cdIdx = ""; diff --git a/src/main/java/xit/vips/category/inr/inr010402/web/Inr010402Controller.java b/src/main/java/xit/vips/category/inr/inr010402/web/Inr010402Controller.java index f1c8f4d..52e53c6 100644 --- a/src/main/java/xit/vips/category/inr/inr010402/web/Inr010402Controller.java +++ b/src/main/java/xit/vips/category/inr/inr010402/web/Inr010402Controller.java @@ -217,8 +217,8 @@ public class Inr010402Controller { ,@ModelAttribute PostVO postVO ,ModelMap model, HttpServletRequest request, HttpServletResponse response) throws IOException, SQLException, RuntimeException, JSONException { boolean result = false; - - + + /** * 분기처리 */ diff --git a/src/main/java/xit/vips/category/inr/inr010501/vo/Inr010501VO.java b/src/main/java/xit/vips/category/inr/inr010501/vo/Inr010501VO.java index 19a0106..3629252 100644 --- a/src/main/java/xit/vips/category/inr/inr010501/vo/Inr010501VO.java +++ b/src/main/java/xit/vips/category/inr/inr010501/vo/Inr010501VO.java @@ -12,7 +12,7 @@ public class Inr010501VO extends CmmnInrVO { private static final long serialVersionUID = 1L; private PostDocVO postDocVO; - private CmmnSendAdresVO cmmnSendAdresVO; + private CmmnSendAdresVO cmmnSendAdresVO ; diff --git a/src/main/java/xit/vips/category/rev/rev010102/service/Rev010102Service.java b/src/main/java/xit/vips/category/rev/rev010102/service/Rev010102Service.java index 3636530..b37e896 100644 --- a/src/main/java/xit/vips/category/rev/rev010102/service/Rev010102Service.java +++ b/src/main/java/xit/vips/category/rev/rev010102/service/Rev010102Service.java @@ -11,9 +11,4 @@ public interface Rev010102Service { // public Rev010102VO findView(Rev010102VO vo); public void modifyProc(Rev010102VO vo,String flag); - - /** 2023.02.27 최정민 - * 이첩대장 삭제기능 추가 - * */ - public void deleteProc(Rev010102VO vo,String flag); } diff --git a/src/main/java/xit/vips/category/rev/rev010102/service/impl/Rev010102ServiceImpl.java b/src/main/java/xit/vips/category/rev/rev010102/service/impl/Rev010102ServiceImpl.java index 209ec7d..5afa7a4 100644 --- a/src/main/java/xit/vips/category/rev/rev010102/service/impl/Rev010102ServiceImpl.java +++ b/src/main/java/xit/vips/category/rev/rev010102/service/impl/Rev010102ServiceImpl.java @@ -104,53 +104,4 @@ public class Rev010102ServiceImpl implements Rev010102Service { } } - /** 2023.02.27 최정민 - * 이첩대장 삭제기능 추가 - * */ - @Override - public void deleteProc(Rev010102VO vo,String flag) { - String user_cd =CommUtil.getMngrMemId(); - - for(int i=0; i findTrfntfRegv(CmmnRevSearchVO searchVO)throws SQLException; public int modifyTrfntfRegv(CmmnRevVO vo)throws SQLException; - - public int deleteTrfntfRegv(CmmnRevVO vo)throws SQLException; public AdstrdVO findAdstrd(AdstrdVO vo) throws SQLException; public int addAdstrd(AdstrdVO vo) throws SQLException; diff --git a/src/main/java/xit/vips/process/core/service/VipsUnitService.java b/src/main/java/xit/vips/process/core/service/VipsUnitService.java index 950ecde..52a092d 100644 --- a/src/main/java/xit/vips/process/core/service/VipsUnitService.java +++ b/src/main/java/xit/vips/process/core/service/VipsUnitService.java @@ -95,11 +95,6 @@ public interface VipsUnitService { public int addTrfntfRegv(CmmnRevVO vo); public List findTrfntfRegv(CmmnRevSearchVO searchVO); public int modifyTrfntfRegv(CmmnRevVO vo); - - /** 2023.02.27 최정민 - * 이첩대장 삭제기능 추가 - * */ - public int deleteTrfntfRegv(CmmnRevVO vo); public AdstrdVO findAdstrd(AdstrdVO vo); public int addAdstrd(AdstrdVO vo); diff --git a/src/main/java/xit/vips/process/core/service/impl/VipsUnitServiceImpl.java b/src/main/java/xit/vips/process/core/service/impl/VipsUnitServiceImpl.java index 7ceb93d..6151f98 100644 --- a/src/main/java/xit/vips/process/core/service/impl/VipsUnitServiceImpl.java +++ b/src/main/java/xit/vips/process/core/service/impl/VipsUnitServiceImpl.java @@ -10587,14 +10587,4 @@ public class VipsUnitServiceImpl implements VipsUnitService{ } } - @Override - public int deleteTrfntfRegv(CmmnRevVO vo) { - try { - int result = vipsUnitMapper.deleteTrfntfRegv(vo); - return result; - } catch (SQLException e) { - throw new RuntimeException("(이첩대장) ERROR 삭제 中 오류 발생", e); - } - } - } diff --git a/src/main/resources/xit/sqlmap/oracle/vips/VipsUnit_SQL.xml b/src/main/resources/xit/sqlmap/oracle/vips/VipsUnit_SQL.xml index 0184b43..87b70f9 100644 --- a/src/main/resources/xit/sqlmap/oracle/vips/VipsUnit_SQL.xml +++ b/src/main/resources/xit/sqlmap/oracle/vips/VipsUnit_SQL.xml @@ -120,18 +120,6 @@ AND MANAGE_no = #{manage_no} - - /** deleteTrfntfRegv */ - /** 이첩대장 자료 삭제*/ - DELETE FROM TB_REGIST_VIOLT_TRFNTF - WHERE SEND_ATDRC_CD =#{atdrc_cd} - AND vhcle_no = #{vhcle_no} - AND violt_iem_cd = #{violt_iem_cd} - AND MANAGE_YEAR = #{manage_year} - AND MANAGE_no = #{manage_no} - - - - - - - - - - - - - - -
- - - -
- \ No newline at end of file diff --git a/src/main/webapp/resource/js/cmmn/cmmnFunction.js b/src/main/webapp/resource/js/cmmn/cmmnFunction.js index 668f182..89fd53f 100644 --- a/src/main/webapp/resource/js/cmmn/cmmnFunction.js +++ b/src/main/webapp/resource/js/cmmn/cmmnFunction.js @@ -3173,75 +3173,3 @@ function personalCheck(){ } } -/** 2023.03.28 최정민 - * 데이터 필터링 공통 - * */ -class DataFilter { - constructor(obj) { - this.obj = obj; - this.createDialog(); - this.dialogOpen(); - } - - dialogOpen(){ - $("#diaRegexRemove").dialog({ - title : this.obj.title, - width : 370, - height: 190, - modal : true, - }).prev(".ui-dialog-titlebar").css("background","#515151"); - } - - setSelectOptions(){ - let options = []; - for(const key in this.obj.options){ - options.push({'value':this.obj.options[key], 'text':key}); - } - return this.obj.options = options; - } - - createDialog(){ - this.setSelectOptions(); - document.querySelector('#filterSelectBox').innerHTML=''; - for(const key in this.obj.options){ - let option = document.createElement("option"); - option.value = this.obj.options[key].value; - option.text = this.obj.options[key].text; - document.querySelector('#filterSelectBox').append(option); - } - } - - /** - * @param option : filterSelectBox > option - * @param param : filteringInput - * @returns 필터링 데이터 - */ - dataFilter(option, param){ - let count = 0; - let result = this.obj.data.filter((data, i)=>{ - let paramLeng = this.obj.data[i][option].indexOf(param); - if(paramLeng != -1) { - console.log('걸린 데이터 : ', data[option]); - document.querySelector("tr["+option+"='"+data[option]+"']").remove(); - count++ - } - console.log(this.obj.data.length); - return paramLeng == -1; - }) - this.obj.data=result; - if (count == 0){ - alert('[' + param + '] 를 포함한 자료가 존재하지 않습니다.'); - } else { - alert(count + '개의 자료를 제외하였습니다.'); - } - $('#div_tbody').siblings('div.cnt_tbody').text(this.obj.data.length+' 건'); - return this.obj.data; - } - dataRollBack(){ - fn_gridDraw(this.obj.copyDataSet); - this.obj.data = this.obj.copyDataSet; - $('#div_tbody').siblings('div.cnt_tbody').text(this.obj.data.length+' 건'); - return this.obj.copyDataSet; - } -} -