소스정리

main
이범준 1 year ago
parent a394412c0d
commit e0646f3660

@ -54,7 +54,7 @@ public interface CrdnUpdtMapper extends AbstractMapper {
* @param map
* @return
*/
int removeCrdn(Map<String, Object> map);
int deleteCrdn(Map<String, Object> map);

@ -84,6 +84,6 @@ public class CrdnBean extends AbstractComponent {
paramMap.put("crdnIDs", crdnIdList);
paramMap.put("removedBy", UserInfo.current().getId());
return crdnUpdtMapper.removeCrdn(paramMap) >= 1 ? true : false;
return crdnUpdtMapper.deleteCrdn(paramMap) >= 1 ? true : false;
}
}

@ -73,5 +73,5 @@ public interface AnswerWordsMapper extends AbstractMapper {
* @param crdnCvlcpt
* @return
*/
int removeCvlcptAnswerWordsInfo(CrdnCvlcpt crdnCvlcpt);
int deleteCvlcptAnswerWordsInfo(CrdnCvlcpt crdnCvlcpt);
}

@ -713,7 +713,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
public boolean removeCvlcptAnswerWordsInfo(String ansWordsId) {
CrdnCvlcpt crdnCvlcpt = new CrdnCvlcpt();
crdnCvlcpt.setAnsWordsId(ansWordsId);
return answerWordsMapper.removeCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? true : false;
return answerWordsMapper.deleteCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? true : false;
}
@Override

@ -112,8 +112,8 @@
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
</update>
<update id="removeCrdn" parameterType="map">
/* 단속자료 삭제(crdnUpdtMapper.removeCrdn) */
<update id="deleteCrdn" parameterType="map">
/* 단속자료 삭제(crdnUpdtMapper.deleteCrdn) */
UPDATE TB_CRDN
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> /* 삭제일시 */

@ -209,8 +209,8 @@ UPDATE TB_CVLCPT_ANS_WORDS
WHERE ANS_WORDS_ID = #{ansWordsId}
</update>
<update id="removeCvlcptAnswerWordsInfo" parameterType="cokr.xit.fims.cvlc.CrdnCvlcpt">
/* 본문 문구 설정 삭제(answerWordsMapper.removeCvlcptAnswerWordsInfo) */
<update id="deleteCvlcptAnswerWordsInfo" parameterType="cokr.xit.fims.cvlc.CrdnCvlcpt">
/* 본문 문구 설정 삭제(answerWordsMapper.deleteCvlcptAnswerWordsInfo) */
UPDATE TB_CVLCPT_ANS_WORDS
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />

Loading…
Cancel
Save