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 @@ + + + + + + +