소스정리

main
이범준 1 year ago
parent a394412c0d
commit e0646f3660

@ -54,7 +54,7 @@ public interface CrdnUpdtMapper extends AbstractMapper {
* @param map * @param map
* @return * @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("crdnIDs", crdnIdList);
paramMap.put("removedBy", UserInfo.current().getId()); 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 * @param crdnCvlcpt
* @return * @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) { public boolean removeCvlcptAnswerWordsInfo(String ansWordsId) {
CrdnCvlcpt crdnCvlcpt = new CrdnCvlcpt(); CrdnCvlcpt crdnCvlcpt = new CrdnCvlcpt();
crdnCvlcpt.setAnsWordsId(ansWordsId); crdnCvlcpt.setAnsWordsId(ansWordsId);
return answerWordsMapper.removeCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? true : false; return answerWordsMapper.deleteCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? true : false;
} }
@Override @Override

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

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

Loading…
Cancel
Save