고지서 외주파일 설정 조회 추가
parent
2198376026
commit
c41c401efc
@ -0,0 +1,20 @@
|
||||
package cokr.xit.fims.cmmn.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.fims.cmmn.OtptStngQuery;
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
import cokr.xit.foundation.data.DataObject;
|
||||
|
||||
@Mapper("outsourcingStngMapper")
|
||||
public interface OutsourcingStngMapper extends AbstractMapper {
|
||||
|
||||
/**지정한 조건에 따라 외주파일 출력 항목 설정을 조회한다.<br />
|
||||
* @param query 출력물 설정 조회 조건
|
||||
* @return 출력물 설정 항목
|
||||
*/
|
||||
List<DataObject> selectArtclStngList(OtptStngQuery query);
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cokr.xit.fims.cmmn.service.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import cokr.xit.fims.cmmn.OtptStngQuery;
|
||||
import cokr.xit.fims.cmmn.dao.OutsourcingStngMapper;
|
||||
import cokr.xit.foundation.AbstractComponent;
|
||||
import cokr.xit.foundation.data.DataObject;
|
||||
|
||||
@Component("outsourcingStngBean")
|
||||
public class OutsourcingStngBean extends AbstractComponent {
|
||||
|
||||
@Resource(name = "outsourcingStngMapper")
|
||||
private OutsourcingStngMapper outsourcingStngMapper;
|
||||
|
||||
|
||||
public List<DataObject> getArtclStngList(OtptStngQuery query){
|
||||
return outsourcingStngMapper.selectArtclStngList(query);
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cokr.xit.fims.cmmn.dao.OutsourcingStngMapper">
|
||||
|
||||
<select id="selectArtclStngList" parameterType="cokr.xit.fims.cmmn.OtptStngQuery" resultType="dataobject">
|
||||
/* 외주파일 항목 설정 조회(outsourcingStngMapper.selectArtclStngList) */
|
||||
SELECT OUTSOURCING_FORM_ID
|
||||
, SGG_CD
|
||||
, TASK_SE_CD
|
||||
, SNDNG_SE_CD
|
||||
, ARTCL_NM
|
||||
, ARTCL_SZ
|
||||
, ARTCL_ORDR
|
||||
FROM TB_OUTSOURCING_FORM_STNG
|
||||
WHERE USE_YN = 'Y'
|
||||
AND SGG_CD = #{sggCd}
|
||||
AND TASK_SE_CD = #{taskSeCd}
|
||||
AND SNDNG_SE_CD = #{sndngSeCd}
|
||||
ORDER BY ARTCL_ORDR
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue