[CORE] daily.record core package 로 이동.
This commit is contained in:
@@ -95,9 +95,9 @@ public class DailyRecordDao implements DailyRecordPortOut {
|
||||
/**
|
||||
* 일계부 전체 입력상태 변경
|
||||
*
|
||||
* @param searchMonth
|
||||
* @param dayGroupNo
|
||||
* @param householdSeq
|
||||
* @param searchMonth 검색 월(yyyyMM)
|
||||
* @param dayGroupNo 검색 그룸번호
|
||||
* @param householdSeq 임가 일련번호
|
||||
*/
|
||||
private void updateByAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) {
|
||||
String allStatus = this.getUpdateAllStatus(searchMonth, dayGroupNo, householdSeq);
|
||||
@@ -121,11 +121,11 @@ public class DailyRecordDao implements DailyRecordPortOut {
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO 변경할 전체 입력상태 조회
|
||||
* 변경할 전체 입력상태 조회
|
||||
*
|
||||
* @param searchMonth
|
||||
* @param dayGroupNo
|
||||
* @param householdSeq
|
||||
* @param searchMonth 검색 월(yyyyMM)
|
||||
* @param dayGroupNo 검색 그룸번호
|
||||
* @param householdSeq 임가 일련번호
|
||||
* @return 변경할 전체 입력상태
|
||||
*/
|
||||
private String getUpdateAllStatus(String searchMonth, Integer dayGroupNo, Long householdSeq) {
|
||||
@@ -199,6 +199,6 @@ public class DailyRecordDao implements DailyRecordPortOut {
|
||||
* @return true=입력대상인데 데이터가 없는 경우, false=입력대상 아니거나, 데이터가 있는 경우
|
||||
*/
|
||||
private boolean checkTargetDataNone(DailyTargetStatus status, Integer count) {
|
||||
return DailyTargetStatus.TARGET.equals(status) && count == 0;
|
||||
return this.checkTarget(status) && count == 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,6 @@ public class DailyRecordDto {
|
||||
private List<DailySort> stepList;
|
||||
/**
|
||||
* 다음 단계로 이동될 단계 조회
|
||||
*
|
||||
* @return 다음 단계명
|
||||
*/
|
||||
public String getNextStep() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -11,17 +11,17 @@ public class DailyUIReqVO {
|
||||
}
|
||||
|
||||
public DailyUIReqVO(String searchMonth, Integer groupNo, Long householdSeq) {
|
||||
this.householdSeq = householdSeq;
|
||||
this.searchMonth = searchMonth;
|
||||
this.groupNo = groupNo;
|
||||
this.householdSeq = householdSeq;
|
||||
}
|
||||
|
||||
public DailyUIReqVO(String searchMonth, String groupNo, Long householdSeq) {
|
||||
this.householdSeq = householdSeq;
|
||||
this.searchMonth = searchMonth;
|
||||
if (!StringUtils.isBlank(groupNo)) {
|
||||
this.groupNo = Integer.parseInt(groupNo);
|
||||
}
|
||||
this.householdSeq = householdSeq;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ public class CreateDailyRecordCmd extends AuditCommand {
|
||||
private String recordMonth;
|
||||
private int dayGroupNo;
|
||||
private Long householdSeq;
|
||||
|
||||
private LocalDate startDate;
|
||||
private LocalDate endDate;
|
||||
private DailyStatus allStatus;
|
||||
|
||||
@@ -14,6 +14,7 @@ public class UpdateDailyRecordStatusCmd extends AuditCommand {
|
||||
private String recordMonth;
|
||||
private Integer dayGroupNo;
|
||||
private Long householdSeq;
|
||||
|
||||
private String allStatus;
|
||||
private String targetType;
|
||||
private String targetStatus;
|
||||
|
||||
Reference in New Issue
Block a user