2023-10-31 05:59:10 +00:00
|
|
|
<?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="com.dbnt.kcscbackend.standardCode.mapper.StandardCodeMapper">
|
|
|
|
|
|
2023-10-31 07:01:46 +00:00
|
|
|
<select id="selectStandardCodeList" parameterType="TnDocumentInfo" resultType="TnDocumentInfo">
|
2023-10-31 05:59:10 +00:00
|
|
|
SELECT
|
|
|
|
|
doc_info_seq,
|
|
|
|
|
use_yn,
|
|
|
|
|
rvsn_ymd,
|
|
|
|
|
rvsn_file_grp_id,
|
|
|
|
|
old_seq,
|
|
|
|
|
old_kcsc_cd,
|
|
|
|
|
last_yn,
|
|
|
|
|
last_chg_id,
|
|
|
|
|
last_chg_dt,
|
|
|
|
|
kcsc_cd,
|
|
|
|
|
group_seq,
|
|
|
|
|
frst_crt_id,
|
|
|
|
|
frst_crt_dt,
|
|
|
|
|
estb_ymd,
|
|
|
|
|
doc_yr,
|
|
|
|
|
doc_rvsn_remark,
|
|
|
|
|
doc_rev_hist_seq,
|
|
|
|
|
doc_relation,
|
|
|
|
|
doc_publish,
|
|
|
|
|
doc_order,
|
|
|
|
|
doc_nm,
|
|
|
|
|
doc_file_grp_id,
|
|
|
|
|
doc_er,
|
|
|
|
|
doc_dept,
|
|
|
|
|
doc_cycl,
|
|
|
|
|
doc_consider,
|
|
|
|
|
doc_brief,
|
|
|
|
|
doc_advice,
|
|
|
|
|
aplcn_end_ymd,
|
|
|
|
|
aplcn_bgng_ymd
|
|
|
|
|
FROM
|
|
|
|
|
tn_document_info
|
|
|
|
|
WHERE 1 = 1
|
|
|
|
|
ORDER BY doc_info_seq desc
|
|
|
|
|
LIMIT #{recordCountPerPage} OFFSET #{firstIndex}
|
|
|
|
|
</select>
|
|
|
|
|
|
2023-10-31 07:01:46 +00:00
|
|
|
<select id="selectStandardCodeListCnt" parameterType="TnDocumentInfo" resultType="int">
|
2023-10-31 05:59:10 +00:00
|
|
|
SELECT count(*)
|
|
|
|
|
FROM
|
|
|
|
|
tn_document_info
|
|
|
|
|
WHERE 1 = 1
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|