새올 관련 파일명,메소드명 변경

main
이범준 2 months ago
parent 2a6c5b2f73
commit 512310ca10

@ -13,8 +13,8 @@ import cokr.xit.foundation.data.DataObject;
/** DAO
* @author leebj
*/
@Mapper("saCvlcptIndviDmndMapper")
public interface SaCvlcptIndviDmndMapper extends AbstractMapper {
@Mapper("soCvlcptIndviDmndMapper")
public interface SoCvlcptIndviDmndMapper extends AbstractMapper {
/** .
* @param crdnQuery

@ -24,7 +24,7 @@ import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.cvlc.dao.AnswerWordsMapper;
import cokr.xit.fims.cvlc.dao.CrdnCvlcptMapper;
import cokr.xit.fims.cvlc.dao.SaCvlcptIndviDmndMapper;
import cokr.xit.fims.cvlc.dao.SoCvlcptIndviDmndMapper;
import cokr.xit.foundation.UserInfo;
import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject;
@ -52,8 +52,8 @@ public class CrdnCvlcptMainBean extends AbstractBean {
@Resource(name = "answerWordsMapper")
private AnswerWordsMapper answerWordsMapper;
@Resource(name = "saCvlcptIndviDmndMapper")
SaCvlcptIndviDmndMapper saCvlcptIndviDmndMapper;
@Resource(name = "soCvlcptIndviDmndMapper")
SoCvlcptIndviDmndMapper soCvlcptIndviDmndMapper;
@Resource(name = "crdnInfoMapper")
private CrdnInfoMapper crdnInfoMapper;
@ -365,7 +365,7 @@ public class CrdnCvlcptMainBean extends AbstractBean {
*/
public List<DataObject> selectDmndDataList(CrdnQuery query) {
query.setOrderBy("INDIV_ID");
return saCvlcptIndviDmndMapper.selectDmndDataList(query);
return soCvlcptIndviDmndMapper.selectDmndDataList(query);
}
/** .
@ -376,7 +376,7 @@ public class CrdnCvlcptMainBean extends AbstractBean {
* </ul>
*/
public boolean createDmndDataInfo(CrdnCvlcpt crdnCvlcpt) {
return saCvlcptIndviDmndMapper.insertDmndDataInfo(crdnCvlcpt) == 1 ? true : false;
return soCvlcptIndviDmndMapper.insertDmndDataInfo(crdnCvlcpt) == 1 ? true : false;
}
/** .
@ -394,7 +394,7 @@ public class CrdnCvlcptMainBean extends AbstractBean {
paramMap.put("indivIds", indivIdList);
paramMap.put("removedBy", UserInfo.current().getId());
return saCvlcptIndviDmndMapper.deleteDmndDataInfo(paramMap) >= 1 ? true : false;
return soCvlcptIndviDmndMapper.deleteDmndDataInfo(paramMap) >= 1 ? true : false;
}
}

@ -1,9 +1,9 @@
<?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.cvlc.dao.SaCvlcptIndviDmndMapper">
<mapper namespace="cokr.xit.fims.cvlc.dao.SoCvlcptIndviDmndMapper">
<select id="selectDmndDataList" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="dataobject">
/* 새올요청자료 목록 조회(saCvlcptIndviDmndMapper.selectDmndDataList) */
/* 새올요청자료 목록 조회(soCvlcptIndviDmndMapper.selectDmndDataList) */
<include refid="utility.paging-prefix"/>
SELECT SA.INDIV_ID <!-- 개별 ID -->
, SA.DMND_YMD <!-- 요청일자 -->
@ -37,7 +37,7 @@ SELECT SA.INDIV_ID <!-- 개별 ID -->
<property name="pad" value="30" />
</include>
</selectKey>
/* 새올요청자료 등록(saCvlcptIndviDmndMapper.insertDmndDataInfo) */
/* 새올요청자료 등록(soCvlcptIndviDmndMapper.insertDmndDataInfo) */
INSERT
INTO TB_SA_CVLCPT_INDIV_DMND (
INDIV_ID
@ -70,7 +70,7 @@ INSERT
</insert>
<update id="deleteDmndDataInfo" parameterType="map">
/* 새올요청자료 삭제(saCvlcptIndviDmndMapper.deleteDmndDataInfo) */
/* 새올요청자료 삭제(soCvlcptIndviDmndMapper.deleteDmndDataInfo) */
UPDATE TB_SA_CVLCPT_INDIV_DMND
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> /* 삭제일시 */
Loading…
Cancel
Save