[FO] 일계부 항목 수정 가능하도록 추가

This commit is contained in:
김현주
2025-06-12 15:58:57 +09:00
parent 1ed5e7ad69
commit 2f7591e687
6 changed files with 61 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ public interface DailyRecordMapper {
DailyRecordDto getDailyRecord(DailyRecordUIReqVO reqVO);
/**
* 일계부 등록 여부
* 일계부 항목 등록 여부
*
* @param reqVO
* @return
@@ -20,14 +20,21 @@ public interface DailyRecordMapper {
Integer getDailyRecordExistCount(DailyRecordUIReqVO reqVO);
/**
* 일계부 등록(생성)
* 일계부 항목 등록(생성)
*
* @param command
*/
void createDailyRecord(CreateDailyRecordCmd command);
/**
* 일계부 상태 수정
* 일계부 항목 수정
*
* @param command
*/
void updateDailyRecord(CreateDailyRecordCmd command);
/**
* 일계부 항목의 상태 수정
*
* @param command
* @return

View File

@@ -66,6 +66,9 @@ public class DailyRecordServiceImpl implements DailyRecordService {
log.debug("[CreateDailyRecord] record={}", command);
} else {
// TODO : NONE 으로 변경시 연관 테이블 데이터 삭제할 것인가?
dailyRecordMapper.updateDailyRecord(command);
log.warn("[DailyRecordCreate] existCount={}, recordMonth={}, dayGroupNo={}", existCount, reqVO.getRecordMonth(), reqVO.getDayGroupNo());
}
}