조사원 현황 수정
This commit is contained in:
@@ -27,10 +27,7 @@ import java.util.stream.Collectors;
|
||||
class AdminUpdatePostController {
|
||||
|
||||
private final AdminUpdateValidator adminUpdateValidator;
|
||||
private final RoleListPortIn roleListPortIn;
|
||||
private final UICodeListPortIn uiCodeListPortIn;
|
||||
private final SaveAdminPortIn saveAdminPortIn;
|
||||
private final MessageUtil messageUtil;
|
||||
|
||||
@PostMapping(path = "/api/settings/admin/update")
|
||||
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.Setter;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class ResearchersVisitDetailReqVO {
|
||||
private String id;
|
||||
private String visitDate;
|
||||
public class ResearchersVisitDetailReqVO extends AuditCommand {
|
||||
private Integer id;
|
||||
private LocalDate visitDate;
|
||||
private ManagementType managementType;
|
||||
private String content;
|
||||
private String isGiftSent;
|
||||
|
||||
@@ -225,8 +225,15 @@
|
||||
set visit_date = #{visitDate},
|
||||
content = #{content},
|
||||
management_type = #{managementType},
|
||||
is_gift_sent = #{isGiftSent},
|
||||
<include refid="common.fields.UpdateBaseSet" />
|
||||
<choose>
|
||||
<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}
|
||||
</update>
|
||||
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
<th layout:fragment="content">
|
||||
<section>
|
||||
<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>
|
||||
<tr>
|
||||
<th>아이디</th>
|
||||
|
||||
Reference in New Issue
Block a user