[FO] 일계부 테스트로 수정기간 변경, 건의사항 팝업 오류 수정
This commit is contained in:
@@ -74,7 +74,9 @@ public class DailyRecordDto {
|
||||
* @return true=수정 가능, false=수정 불가
|
||||
*/
|
||||
public boolean isModifiable() {
|
||||
LocalDate limitStart = LocalDate.now().minusDays(15);
|
||||
// TODO : 15일로 변경, 테스트를 위해 30일로 진행중
|
||||
LocalDate limitStart = LocalDate.now().minusDays(30);
|
||||
log.debug("@@limitStart: {}", limitStart);
|
||||
|
||||
return (limitStart.isBefore(startDate) || limitStart.isEqual(startDate) || limitStart.isEqual(endDate));
|
||||
}
|
||||
|
||||
@@ -31,6 +31,6 @@ public class SuggestionController {
|
||||
|
||||
suggestionPortIn.create(formVO);
|
||||
|
||||
return ResponseEntity.status(HttpStatus.OK).body(null);
|
||||
return ResponseEntity.status(HttpStatus.OK).body(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<div class="component-btns">
|
||||
<div class="btns-row">
|
||||
@@ -40,6 +39,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="modal-close"></button>
|
||||
|
||||
Reference in New Issue
Block a user