[CORE] daily.record core package 로 이동.

This commit is contained in:
김현주
2025-06-25 14:18:05 +09:00
parent eaa886c66b
commit 9a890768e6
6 changed files with 12 additions and 25 deletions

View File

@@ -95,9 +95,9 @@ public class DailyRecordDao implements DailyRecordPortOut {
/** /**
* 일계부 전체 입력상태 변경 * 일계부 전체 입력상태 변경
* *
* @param searchMonth * @param searchMonth 검색 월(yyyyMM)
* @param dayGroupNo * @param dayGroupNo 검색 그룸번호
* @param householdSeq * @param householdSeq 임가 일련번호
*/ */
private void updateByAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) { private void updateByAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) {
String allStatus = this.getUpdateAllStatus(searchMonth, dayGroupNo, householdSeq); String allStatus = this.getUpdateAllStatus(searchMonth, dayGroupNo, householdSeq);
@@ -121,11 +121,11 @@ public class DailyRecordDao implements DailyRecordPortOut {
} }
/** /**
* TODO 변경할 전체 입력상태 조회 * 변경할 전체 입력상태 조회
* *
* @param searchMonth * @param searchMonth 검색 월(yyyyMM)
* @param dayGroupNo * @param dayGroupNo 검색 그룸번호
* @param householdSeq * @param householdSeq 임가 일련번호
* @return 변경할 전체 입력상태 * @return 변경할 전체 입력상태
*/ */
private String getUpdateAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) { private String getUpdateAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) {
@@ -199,6 +199,6 @@ public class DailyRecordDao implements DailyRecordPortOut {
* @return true=입력대상인데 데이터가 없는 경우, false=입력대상 아니거나, 데이터가 있는 경우 * @return true=입력대상인데 데이터가 없는 경우, false=입력대상 아니거나, 데이터가 있는 경우
*/ */
private boolean checkTargetDataNone(DailyTargetStatus status, Integer count) { private boolean checkTargetDataNone(DailyTargetStatus status, Integer count) {
return DailyTargetStatus.TARGET.equals(status) && count == 0; return this.checkTarget(status) && count == 0;
} }
} }

View File

@@ -59,7 +59,6 @@ public class DailyRecordDto {
private List<DailySort> stepList; private List<DailySort> stepList;
/** /**
* 다음 단계로 이동될 단계 조회 * 다음 단계로 이동될 단계 조회
*
* @return 다음 단계명 * @return 다음 단계명
*/ */
public String getNextStep() { public String getNextStep() {

View File

@@ -1,14 +0,0 @@
package app.module.core.usecase.daily.record.adapters.persistence.model;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class UpdateDailyRecordDto {
private String monthly;
private String updatedBy;
private String statusType;
private String statusCode;
}

View File

@@ -11,17 +11,17 @@ public class DailyUIReqVO {
} }
public DailyUIReqVO(String searchMonth, Integer groupNo, Long householdSeq) { public DailyUIReqVO(String searchMonth, Integer groupNo, Long householdSeq) {
this.householdSeq = householdSeq;
this.searchMonth = searchMonth; this.searchMonth = searchMonth;
this.groupNo = groupNo; this.groupNo = groupNo;
this.householdSeq = householdSeq;
} }
public DailyUIReqVO(String searchMonth, String groupNo, Long householdSeq) { public DailyUIReqVO(String searchMonth, String groupNo, Long householdSeq) {
this.householdSeq = householdSeq;
this.searchMonth = searchMonth; this.searchMonth = searchMonth;
if (!StringUtils.isBlank(groupNo)) { if (!StringUtils.isBlank(groupNo)) {
this.groupNo = Integer.parseInt(groupNo); this.groupNo = Integer.parseInt(groupNo);
} }
this.householdSeq = householdSeq;
} }
/** /**

View File

@@ -19,6 +19,7 @@ public class CreateDailyRecordCmd extends AuditCommand {
private String recordMonth; private String recordMonth;
private int dayGroupNo; private int dayGroupNo;
private Long householdSeq; private Long householdSeq;
private LocalDate startDate; private LocalDate startDate;
private LocalDate endDate; private LocalDate endDate;
private DailyStatus allStatus; private DailyStatus allStatus;

View File

@@ -14,6 +14,7 @@ public class UpdateDailyRecordStatusCmd extends AuditCommand {
private String recordMonth; private String recordMonth;
private Integer dayGroupNo; private Integer dayGroupNo;
private Long householdSeq; private Long householdSeq;
private String allStatus; private String allStatus;
private String targetType; private String targetType;
private String targetStatus; private String targetStatus;