pdf정보추출, 전자고지발송정보 등록 수정
parent
19553ee51b
commit
e6acf793c8
@ -0,0 +1,18 @@
|
||||
package cokr.xit.fims.cmmn;
|
||||
|
||||
public class ExtrStngQuery extends CmmnQuery {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String templateId;
|
||||
|
||||
public String getTemplateId() {
|
||||
return ifEmpty(templateId, () -> null);
|
||||
}
|
||||
|
||||
public <T extends ExtrStngQuery> T setTemplateId(String templateId) {
|
||||
this.templateId = templateId;
|
||||
return self();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cokr.xit.fims.cmmn.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.fims.cmmn.ExtrStngQuery;
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
import cokr.xit.foundation.data.DataObject;
|
||||
|
||||
@Mapper("extrStngMapper")
|
||||
public interface ExtrStngMapper extends AbstractMapper {
|
||||
|
||||
List<DataObject> selectExtrArtclStngList(ExtrStngQuery extrStngQuery);
|
||||
|
||||
DataObject selectExtrBscStng(ExtrStngQuery extrStngQuery);
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
<?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.ExtrStngMapper">
|
||||
|
||||
<select id="selectExtrArtclStngList" parameterType="cokr.xit.fims.cmmn.ExtrStngQuery" resultType="dataobject">
|
||||
/* 추출 항목 설정 조회(otptStngMapper.selectExtrArtclStngList) */
|
||||
SELECT EXTR_FORM_ID
|
||||
, SGG_CD
|
||||
, TASK_SE_CD
|
||||
, TMPLAT_ID
|
||||
, EXTR_ARTCL_NM
|
||||
, EXTR_ARTCL_DSCRT
|
||||
, LEFT_PSTN
|
||||
, TOP_PSTN
|
||||
, WIDTH_SZ
|
||||
, HEIGHT_SZ
|
||||
FROM TB_EXTR_FORM_STNG
|
||||
WHERE USE_YN = 'Y'
|
||||
AND SGG_CD = #{sggCd}
|
||||
AND TASK_SE_CD = #{taskSeCd}
|
||||
AND TMPLAT_ID = #{templateId}
|
||||
</select>
|
||||
|
||||
<select id="selectExtrBscStng" parameterType="cokr.xit.fims.cmmn.ExtrStngQuery" resultType="dataobject">
|
||||
/* 추출 기본 설정 조회(otptStngMapper.selectExtrBscStng) */
|
||||
SELECT EXTR_BSC_ID
|
||||
, SGG_CD
|
||||
, TASK_SE_CD
|
||||
, MOBILE_PAGE_TMPLT
|
||||
FROM TB_EXTR_BSC_STNG
|
||||
WHERE USE_YN = 'Y'
|
||||
AND SGG_CD = #{sggCd}
|
||||
AND TASK_SE_CD = #{taskSeCd}
|
||||
AND TMPLAT_ID = #{templateId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue