From 0cde0dd7993ddd9d61fc6287ad9294d2bab8e20b Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 3 Sep 2024 16:44:26 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"view=20=ED=85=8C=EC=9D=B4=EB=B8=94=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=EC=8B=9C=20=EC=9E=84=EB=8C=80=EA=B8=B0?= =?UTF-8?q?=EC=97=85=EB=B2=88=ED=98=B8=20=EC=95=94=ED=98=B8=ED=99=94"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ea9de163fb7fe88f9016e7b2332bfdfc6ca1e863. --- .../cokr/xit/fims/rent/service/bean/LsctBean.java | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java b/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java index 49f32d1f..b5276cb9 100644 --- a/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java +++ b/src/main/java/cokr/xit/fims/rent/service/bean/LsctBean.java @@ -58,18 +58,8 @@ public class LsctBean extends AbstractBean { // 기존 과태료 시스템에서 사용하던 암/복호화 함수 사용을 위해서.. XitAria crypto = new XitAria("xit-aria"); - // 연계 view 테이블 검색 조건에 사용할 소유주 암호화 하기 - if (req.getSchEntNos() != null && req.getSchEntNos().length > 0 ) { // 임대기업번호s 암호화 - int tnocs = req.getSchEntNos().length; - - String[] strArray = req.getSchEntNos(); - String[] encArray = new String[tnocs]; - - for (int iLoop = 0; iLoop < tnocs; iLoop++) { - encArray[iLoop] = crypto.encrypt(strArray[iLoop]); - } - req.setOmJnos(encArray); - } else { // 임대기업번호 암호화 + // 임대기업번호 암호화 + if (req.getSchEntNo() != null && !req.getSchEntNo().equals("")) { req.setOmJno(crypto.encrypt(req.getSchEntNo())); }