feat: PCS 수동회로 확정 체크 api 추가
This commit is contained in:
parent
3d9d326daa
commit
81f4ddbb9b
@ -6,6 +6,7 @@ import com.interplug.qcast.biz.master.dto.moduletype.ApiModuleTpResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.ApiPcsInfoRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.autorecommend.ApiPcsAutoRecommendResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.maker.ApiPcsMakerResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.menualconf.ApiPcsMenualConfRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.series.ApiPcsSeriesItemRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.series.ApiPcsSeriesItemResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.voltagestepup.ApiPcsVoltageStepUpResponse;
|
||||
@ -247,6 +248,13 @@ public class MasterController {
|
||||
return masterService.getPcsVoltageStepUpList(pcsVoltageStepUpRequest);
|
||||
}
|
||||
|
||||
@Operation(description = "PCS 수동회로 확정 체크한다.")
|
||||
@PostMapping("/getPcsMenualConfChk")
|
||||
public ApiResultResponse getPcsMenualConfChk(
|
||||
@RequestBody ApiPcsMenualConfRequest pcsMenualConfChkRequest) {
|
||||
return masterService.getPcsMenualConfChk(pcsMenualConfChkRequest).getResult();
|
||||
}
|
||||
|
||||
/** remote api group : quotation */
|
||||
@Operation(description = "견적서 아이템을 조회한다.")
|
||||
@PostMapping("/getQuotationItem")
|
||||
|
||||
@ -7,6 +7,7 @@ import com.interplug.qcast.biz.master.dto.moduletype.ApiModuleTpResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.ApiPcsInfoRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.autorecommend.ApiPcsAutoRecommendResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.maker.ApiPcsMakerResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.menualconf.ApiPcsMenualConfRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.series.ApiPcsSeriesItemRequest;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.series.ApiPcsSeriesItemResponse;
|
||||
import com.interplug.qcast.biz.master.dto.pcs.voltagestepup.ApiPcsVoltageStepUpResponse;
|
||||
@ -101,4 +102,8 @@ public interface MasterService {
|
||||
@PostMapping("/pcsVoltageStepUpList")
|
||||
public ApiResponse<ApiPcsVoltageStepUpResponse> getPcsVoltageStepUpList(
|
||||
@RequestBody ApiPcsInfoRequest req);
|
||||
|
||||
// PCS 수동회로 확정 체크
|
||||
@PostMapping("/pcsMenualConfChk")
|
||||
public ApiResponse<JsonNode> getPcsMenualConfChk(@RequestBody ApiPcsMenualConfRequest req);
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.voltagestepup;
|
||||
package com.interplug.qcast.biz.master.dto.pcs;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
@ -7,8 +7,8 @@ import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(description = "PCS 승압설정 정보 조회 직렬매수 응답 객체")
|
||||
public class ApiPcsVoltageStepUpSerQtyResponse {
|
||||
@Schema(description = "PCS 직렬매수 객체")
|
||||
public class ApiPcsSerQtyDto {
|
||||
|
||||
@Schema(description = "직렬매수", maxLength = 10)
|
||||
private Integer serQty;
|
||||
@ -23,5 +23,5 @@ public class ApiPcsVoltageStepUpSerQtyResponse {
|
||||
private String usePossYn;
|
||||
|
||||
@Schema(description = "지붕면 목록")
|
||||
private List<ApiPcsVoltageStepUpRoofSurfaceResponse> roofSurfaceList;
|
||||
private List<ApiPcsSerQtyRoofSurfaceDto> roofSurfaceList;
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.voltagestepup;
|
||||
package com.interplug.qcast.biz.master.dto.pcs;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
@ -7,8 +7,8 @@ import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(description = "PCS 승압설정 정보 조회 지붕면 응답 객체")
|
||||
public class ApiPcsVoltageStepUpRoofSurfaceResponse {
|
||||
@Schema(description = "PCS 직렬매수 지붕면 객체")
|
||||
public class ApiPcsSerQtyRoofSurfaceDto {
|
||||
|
||||
@Schema(description = "지붕면ID", maxLength = 50)
|
||||
private String roofSurfaceId;
|
||||
@ -20,5 +20,5 @@ public class ApiPcsVoltageStepUpRoofSurfaceResponse {
|
||||
private Double roofSurfaceIncl;
|
||||
|
||||
@Schema(description = "모듈아이템 List(도면에 설치된 모듈)")
|
||||
private List<ApiPcsVoltageStepUpRoofSurfaceModuleResponse> moduleList;
|
||||
private List<ApiPcsSerQtyRoofSurfaceModuleDto> moduleList;
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.voltagestepup;
|
||||
package com.interplug.qcast.biz.master.dto.pcs;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
@ -6,12 +6,15 @@ import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(description = "PCS 승압설정 정보 조회 모듈아이템 List(도면에 설치된 모듈) 응답 객체")
|
||||
public class ApiPcsVoltageStepUpRoofSurfaceModuleResponse {
|
||||
@Schema(description = "PCS 직렬매수 지붕면 모듈아이템 List(도면에 설치된 모듈) 객체")
|
||||
public class ApiPcsSerQtyRoofSurfaceModuleDto {
|
||||
|
||||
@Schema(description = "제품ID", maxLength = 20)
|
||||
private String itemId;
|
||||
|
||||
@Schema(description = "회로구성번호((1-1,1-1,1-2,1-2,2-1,2-2.....))", maxLength = 10)
|
||||
private String circuit;
|
||||
|
||||
@Schema(description = "PCS 아이템ID", maxLength = 20)
|
||||
private String pcsItemId;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.menualconf;
|
||||
|
||||
import com.interplug.qcast.biz.master.dto.pcs.ApiPcsSerQtyDto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(description = "PCS 수동회로 확정 체크 PCS 아이템 목록 요청 객체")
|
||||
public class ApiPcsMenualConfPcsItemRequest {
|
||||
@Schema(description = "PCS메이커코드", maxLength = 10)
|
||||
@NotNull
|
||||
private String pcsMkrCd;
|
||||
|
||||
@Schema(description = "PCS시리즈코드", maxLength = 10)
|
||||
@NotNull
|
||||
private String pcsSerCd;
|
||||
|
||||
@Schema(description = "PCS제품ID", maxLength = 20)
|
||||
@NotNull
|
||||
private String itemId;
|
||||
|
||||
@Schema(description = "PCS제품명", maxLength = 100)
|
||||
@NotNull
|
||||
private String itemNm;
|
||||
|
||||
@Schema(description = "PCS 제품명(Basic Material)", maxLength = 40)
|
||||
@NotNull
|
||||
private String goodsNo;
|
||||
|
||||
@Schema(description = "직렬매수 목록")
|
||||
private List<ApiPcsSerQtyDto> serQtyList;
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.menualconf;
|
||||
|
||||
import com.interplug.qcast.biz.master.dto.pcs.ApiPcsModuleItemRequest;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(description = "PCS 수동회로 확정 체크 요청 객체")
|
||||
public class ApiPcsMenualConfRequest {
|
||||
@Schema(description = "Max접속(과적)여부")
|
||||
@NotNull
|
||||
public String maxConnYn;
|
||||
|
||||
@Schema(description = "동일회로도여부")
|
||||
@NotNull
|
||||
public String smpCirYn;
|
||||
|
||||
@Schema(description = "한랭지여부")
|
||||
@NotNull
|
||||
public String coldZoneYn;
|
||||
|
||||
@Schema(description = "사용된 모듈아이템 List")
|
||||
@NotNull
|
||||
public List<ApiPcsModuleItemRequest> useModuleItemList;
|
||||
|
||||
@Schema(description = "PCS 아이템 목록")
|
||||
@NotNull
|
||||
public List<ApiPcsMenualConfPcsItemRequest> pcsItemList;
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
package com.interplug.qcast.biz.master.dto.pcs.voltagestepup;
|
||||
|
||||
import com.interplug.qcast.biz.master.dto.pcs.ApiPcsSerQtyDto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
@ -29,7 +30,7 @@ public class ApiPcsVoltageStepUpPcsItemResponse {
|
||||
private String circuitCfg;
|
||||
|
||||
@Schema(description = "직렬매수 목록")
|
||||
private List<ApiPcsVoltageStepUpSerQtyResponse> serQtyList;
|
||||
private List<ApiPcsSerQtyDto> serQtyList;
|
||||
|
||||
@Schema(description = "연결함목록")
|
||||
private List<ApiPcsVoltageStepUpConnResponse> connList;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user