|
|
|
@ -2,8 +2,9 @@
|
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
<mapper namespace="kr.xit.biz.sisul.mapper.IBizSisulMapper">
|
|
|
|
|
<select id="findDeptInfoByTmplId" resultType="kr.xit.biz.ens.model.cmm.TmplatManage">
|
|
|
|
|
/** ens-sysul-mysql-mapper|findDeptInfoByTmplId-템플릿ID로 부서정보 조회|seojh */
|
|
|
|
|
|
|
|
|
|
<select id="selectDeptInfoByTmplId" resultType="kr.xit.biz.ens.model.cmm.TmplatManage">
|
|
|
|
|
/** ens-sysul-mysql-mapper|selectDeptInfoByTmplId-템플릿ID로 부서정보 조회|seojh */
|
|
|
|
|
SELECT tetm.signgu_code
|
|
|
|
|
, tetm.ffnlg_code
|
|
|
|
|
, tetm.try1
|
|
|
|
@ -118,4 +119,32 @@
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectSndngResultMaster" resultType="kr.xit.biz.ens.model.cmm.TmplatManage">
|
|
|
|
|
/** ens-sysul-mysql-mapper|selectSndngResultMaster-발송결과정보 마스터 조회|julim */
|
|
|
|
|
SELECT tesn.unity_sndng_mastr_id
|
|
|
|
|
, tesn.sndng_se_code
|
|
|
|
|
, tesn.tmplat_id
|
|
|
|
|
, tesn.sndng_co
|
|
|
|
|
, tesn.sndng_process_sttus
|
|
|
|
|
, tcsr.requst_dt
|
|
|
|
|
FROM tb_ens_sndng_mastr tesn
|
|
|
|
|
JOIN tb_cntc_sndng_detail tcsnd
|
|
|
|
|
ON tesn.unity_sndng_mastr_id = tcsnd.unity_sndng_mastr_id
|
|
|
|
|
JOIN tb_cntc_sndng_result tcsr
|
|
|
|
|
ON tcsnd.unity_sndng_detail_id = tcsr.unity_sndng_detail_id
|
|
|
|
|
WHERE tesn.unity_sndng_mastr_id = #{unitySndngMastrId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectSndngResultDetails" resultType="kr.xit.biz.ens.model.cmm.TmplatManage">
|
|
|
|
|
/** ens-sysul-mysql-mapper|selectSndngResultDetails-발송결과정보 상세 조회|julim */
|
|
|
|
|
SELECT tetm.signgu_code
|
|
|
|
|
, tetm.ffnlg_code
|
|
|
|
|
, tetm.try1
|
|
|
|
|
, tetm.post_dlvr_se
|
|
|
|
|
, tetm.post_tmplat_code
|
|
|
|
|
FROM tb_ens_tmplat_manage tetm
|
|
|
|
|
WHERE tmplat_id = #{tmplatId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|