From f041817ae2868ca8543f7858e16c13b0575a1650 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 15 Jul 2024 09:12:05 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=8F=90=EA=B8=B0=EA=B2=B0=EA=B3=BC[?= =?UTF-8?q?=ED=86=B5=EB=B3=B4]=20=EC=B2=98=EB=A6=AC=20=EC=A7=84=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/adds/nims/DsuseMgtRsltQuery.java | 63 +++++++++++++++++++ .../xit/adds/nims/dao/DsuseMgtRsltMapper.java | 22 +++++++ .../mapper/adds/nims/dsuseMgtRslt-mapper.xml | 25 ++++++++ 3 files changed, 110 insertions(+) create mode 100644 src/main/java/cokr/xit/adds/nims/DsuseMgtRsltQuery.java create mode 100644 src/main/java/cokr/xit/adds/nims/dao/DsuseMgtRsltMapper.java create mode 100644 src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml diff --git a/src/main/java/cokr/xit/adds/nims/DsuseMgtRsltQuery.java b/src/main/java/cokr/xit/adds/nims/DsuseMgtRsltQuery.java new file mode 100644 index 0000000..2fbca1d --- /dev/null +++ b/src/main/java/cokr/xit/adds/nims/DsuseMgtRsltQuery.java @@ -0,0 +1,63 @@ +package cokr.xit.adds.nims; + +import cokr.xit.foundation.component.QueryRequest; + +/**폐기관리접수 정보 조회 요청 +* +*/ +public class DsuseMgtRsltQuery extends QueryRequest{ + + private static final long serialVersionUID = 1L; + + //폐기관리 + private String dscdmngId; // 폐기관리 ID + private String deptCd; // 부서 코드 + private String userId; // 사용자 ID + private String dsuseMthCd; // 폐기 방법 코드 + private String dsuseDe; // 폐기 일자 + + public String getDscdmngId() { + return ifEmpty(dscdmngId, () -> null); + } + + public T setDscdmngId(String dscdmngId) { + this.dscdmngId = dscdmngId; + return self(); + } + + public String getDeptCd() { + return ifEmpty(deptCd, () -> null); + } + + public T setDeptCd(String deptCd) { + this.deptCd = deptCd; + return self(); + } + + public String getUserId() { + return ifEmpty(userId, () -> null); + } + + public T setUserId(String userId) { + this.userId = userId; + return self(); + } + + public String getDsuseMthCd() { + return ifEmpty(dsuseMthCd, () -> null); + } + + public T setDsuseMthCd(String dsuseMthCd) { + this.dsuseMthCd = dsuseMthCd; + return self(); + } + + public String getDsuseDe() { + return ifEmpty(dsuseDe, () -> null); + } + + public T setDsuseDe(String dsuseDe) { + this.dsuseDe = dsuseDe; + return self(); + } +} diff --git a/src/main/java/cokr/xit/adds/nims/dao/DsuseMgtRsltMapper.java b/src/main/java/cokr/xit/adds/nims/dao/DsuseMgtRsltMapper.java new file mode 100644 index 0000000..928b212 --- /dev/null +++ b/src/main/java/cokr/xit/adds/nims/dao/DsuseMgtRsltMapper.java @@ -0,0 +1,22 @@ +package cokr.xit.adds.nims.dao; + +import java.util.List; + +import org.egovframe.rte.psl.dataaccess.mapper.Mapper; + +import cokr.xit.adds.nims.DsuseMgtRsltQuery; +import cokr.xit.foundation.component.AbstractMapper; +import cokr.xit.foundation.data.DataObject; + +/** 폐기관리상세 정보 DAO + */ +@Mapper("dsuseMgtRsltMapper") +public interface DsuseMgtRsltMapper extends AbstractMapper { + + /**지정한 조건에 따라 폐기관리상세 목록을 조회하여 반환한다.
+ * @param req 폐기관리상세 조회 조건 + * @return 폐기관리상세 목록 + */ + List selectDsuseMgtRsltImgList(DsuseMgtRsltQuery req); + +} diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml new file mode 100644 index 0000000..fedc1d2 --- /dev/null +++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtRslt-mapper.xml @@ -0,0 +1,25 @@ + + + + + + +