납품데이터 등록 수정 #172
@@ -540,5 +540,11 @@ public class DatasetDto {
|
||||
public static class AddDeliveriesReq {
|
||||
@Schema(description = "경로", example = "/")
|
||||
private String filePath;
|
||||
|
||||
private String title;
|
||||
private String memo;
|
||||
private Integer compareYyyy;
|
||||
private Integer targetYyyy;
|
||||
private Long roundNo;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -631,8 +631,11 @@ public class DatasetService {
|
||||
|
||||
datasetMngRegDto.setUid(uid);
|
||||
datasetMngRegDto.setDataType("DELIVER");
|
||||
datasetMngRegDto.setCompareYyyy(0);
|
||||
datasetMngRegDto.setTargetYyyy(0);
|
||||
datasetMngRegDto.setCompareYyyy(req.getCompareYyyy() == null ? 0 : req.getCompareYyyy());
|
||||
datasetMngRegDto.setTargetYyyy(req.getTargetYyyy() == null ? 0 : req.getTargetYyyy());
|
||||
datasetMngRegDto.setRoundNo(req.getRoundNo() == null ? null : req.getRoundNo());
|
||||
datasetMngRegDto.setTitle(req.getTitle() == null ? null : req.getTitle());
|
||||
datasetMngRegDto.setMemo(req.getMemo() == null ? null : req.getMemo());
|
||||
datasetMngRegDto.setDatasetPath(req.getFilePath());
|
||||
|
||||
// 마스터 저장 (트랜잭션 내부)
|
||||
|
||||
Reference in New Issue
Block a user