조사원 현황 수정
This commit is contained in:
@@ -27,10 +27,7 @@ import java.util.stream.Collectors;
|
|||||||
class AdminUpdatePostController {
|
class AdminUpdatePostController {
|
||||||
|
|
||||||
private final AdminUpdateValidator adminUpdateValidator;
|
private final AdminUpdateValidator adminUpdateValidator;
|
||||||
private final RoleListPortIn roleListPortIn;
|
|
||||||
private final UICodeListPortIn uiCodeListPortIn;
|
|
||||||
private final SaveAdminPortIn saveAdminPortIn;
|
private final SaveAdminPortIn saveAdminPortIn;
|
||||||
private final MessageUtil messageUtil;
|
|
||||||
|
|
||||||
@PostMapping(path = "/api/settings/admin/update")
|
@PostMapping(path = "/api/settings/admin/update")
|
||||||
ResponseEntity<?> operate( @RequestBody AdminUpdateBindingVO bindingVO, BindingResult bindingResult) {
|
ResponseEntity<?> operate( @RequestBody AdminUpdateBindingVO bindingVO, BindingResult bindingResult) {
|
||||||
|
|||||||
@@ -5,13 +5,14 @@ import app.module.core.config.adapters.persistence.component.AuditCommand;
|
|||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
public class ResearchersVisitDetailReqVO {
|
public class ResearchersVisitDetailReqVO extends AuditCommand {
|
||||||
private String id;
|
private Integer id;
|
||||||
private String visitDate;
|
private LocalDate visitDate;
|
||||||
private ManagementType managementType;
|
private ManagementType managementType;
|
||||||
private String content;
|
private String content;
|
||||||
private String isGiftSent;
|
private String isGiftSent;
|
||||||
|
|||||||
@@ -225,8 +225,15 @@
|
|||||||
set visit_date = #{visitDate},
|
set visit_date = #{visitDate},
|
||||||
content = #{content},
|
content = #{content},
|
||||||
management_type = #{managementType},
|
management_type = #{managementType},
|
||||||
is_gift_sent = #{isGiftSent},
|
<choose>
|
||||||
<include refid="common.fields.UpdateBaseSet" />
|
<when test="isGiftSent">
|
||||||
|
is_gift_sent = true,
|
||||||
|
</when>
|
||||||
|
<when test="!isGiftSent">
|
||||||
|
is_gift_sent = false,
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
<include refid="common.fields.UpdateBaseSet" />
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,14 @@
|
|||||||
<th layout:fragment="content">
|
<th layout:fragment="content">
|
||||||
<section>
|
<section>
|
||||||
<table class="type-form confirm" th:object="${researcherDto}" >
|
<table class="type-form confirm" th:object="${researcherDto}" >
|
||||||
|
<colgroup>
|
||||||
|
<col width="8%" />
|
||||||
|
<col width="25.3%" />
|
||||||
|
<col width="8%" />
|
||||||
|
<col width="25.3%" />
|
||||||
|
<col width="8%" />
|
||||||
|
<col width="25.3%" />
|
||||||
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>아이디</th>
|
<th>아이디</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user