Compare commits
No commits in common. "509803e92d61fdbea8dda33a75c561eee1efa89c" and "493a7c1868cf734cd7900315153e5f1fa7bb2ab5" have entirely different histories.
509803e92d
...
493a7c1868
@ -96,11 +96,4 @@ public class EstimateController {
|
|||||||
throws Exception {
|
throws Exception {
|
||||||
estimateService.excelDownload(request, response, estimateRequest);
|
estimateService.excelDownload(request, response, estimateRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "2차점 특가 있는 2nd Agency 목록을 조회한다.")
|
|
||||||
@GetMapping("/agency-cust-list")
|
|
||||||
@ResponseStatus(HttpStatus.OK)
|
|
||||||
public EstimateApiResponse selectAgencyCustList(PriceRequest priceRequest) throws Exception {
|
|
||||||
return estimateService.selectAgencyCustList(priceRequest);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1409,12 +1409,6 @@ public class EstimateService {
|
|||||||
itemResponse.setSalePrice("");
|
itemResponse.setSalePrice("");
|
||||||
itemResponse.setSaleTotPrice("");
|
itemResponse.setSaleTotPrice("");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 886 Excel, PDF에 OPEN_FLG = 1은 단가필드에 OPEN 텍스트로 보여주도록
|
|
||||||
if ("1".equals(itemResponse.getOpenFlg())) {
|
|
||||||
itemResponse.setSalePrice("OPEN");
|
|
||||||
itemResponse.setSaleTotPrice("OPEN");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 합산 문자열 통화로 변환 처리
|
// 합산 문자열 통화로 변환 처리
|
||||||
@ -1730,8 +1724,6 @@ public class EstimateService {
|
|||||||
|
|
||||||
quoteList.add(estimateSendResponse);
|
quoteList.add(estimateSendResponse);
|
||||||
estimateSendRequest.setQuoteList(quoteList);
|
estimateSendRequest.setQuoteList(quoteList);
|
||||||
// 2차점명
|
|
||||||
estimateSendResponse.setSecSapSalesStoreCd(estimateRequest.getSecSapSalesStoreCd());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EstimateApiResponse response = null;
|
EstimateApiResponse response = null;
|
||||||
@ -2254,35 +2246,4 @@ public class EstimateService {
|
|||||||
|
|
||||||
return circuitCfg;
|
return circuitCfg;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EstimateApiResponse selectAgencyCustList(PriceRequest priceRequest) throws Exception {
|
|
||||||
// Validation
|
|
||||||
|
|
||||||
if (StringUtils.isEmpty(priceRequest.getSapSalesStoreCd())) {
|
|
||||||
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE,
|
|
||||||
message.getMessage("common.message.required.data", "Sap Sale Store Code"));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
EstimateApiResponse response = null;
|
|
||||||
/* [1]. QSP API (url + param) Setting */
|
|
||||||
String url = QSP_API_URL + "/api/master/agencyCustList";
|
|
||||||
String apiUrl = UriComponentsBuilder.fromHttpUrl(url)
|
|
||||||
.queryParam("sapSalesStoreCd", priceRequest.getSapSalesStoreCd()).build().toUriString();
|
|
||||||
|
|
||||||
/* [2]. QSP API CALL -> Response */
|
|
||||||
String strResponse = interfaceQsp.callApi(HttpMethod.GET, apiUrl, null);
|
|
||||||
|
|
||||||
if (!"".equals(strResponse)) {
|
|
||||||
com.fasterxml.jackson.databind.ObjectMapper om =
|
|
||||||
new com.fasterxml.jackson.databind.ObjectMapper()
|
|
||||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
|
||||||
response = om.readValue(strResponse, EstimateApiResponse.class);
|
|
||||||
} else {
|
|
||||||
// [msg] No data
|
|
||||||
throw new QcastException(ErrorCode.NOT_FOUND, message.getMessage("common.message.no.data"));
|
|
||||||
}
|
|
||||||
|
|
||||||
return response;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -212,8 +212,4 @@ public class EstimateRequest {
|
|||||||
|
|
||||||
@Schema(description = "발전시뮬레이션 타입")
|
@Schema(description = "발전시뮬레이션 타입")
|
||||||
private String pwrGnrSimType;
|
private String pwrGnrSimType;
|
||||||
|
|
||||||
@Schema(description = "2차 SAP 판매점코드")
|
|
||||||
private String secSapSalesStoreCd;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -279,7 +279,4 @@ public class EstimateResponse {
|
|||||||
|
|
||||||
@Schema(description = "SAP STORE CD")
|
@Schema(description = "SAP STORE CD")
|
||||||
private String sapSalesStoreCd;
|
private String sapSalesStoreCd;
|
||||||
|
|
||||||
@Schema(description = "2차 SAP 판매점코드")
|
|
||||||
private String secSapSalesStoreCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,7 +115,4 @@ public class EstimateSendResponse {
|
|||||||
|
|
||||||
@Schema(description = "첨부파일 목록")
|
@Schema(description = "첨부파일 목록")
|
||||||
List<FileResponse> fileList;
|
List<FileResponse> fileList;
|
||||||
|
|
||||||
@Schema(description = "2차 SAP 판매점코드")
|
|
||||||
private String secSapSalesStoreCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -106,7 +106,4 @@ public class ItemRequest {
|
|||||||
|
|
||||||
@Schema(description = "사용자아이디")
|
@Schema(description = "사용자아이디")
|
||||||
private String userId;
|
private String userId;
|
||||||
|
|
||||||
@Schema(description = "아이템 타입 코드")
|
|
||||||
public String itemTpCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -85,7 +85,4 @@ public class ItemResponse {
|
|||||||
|
|
||||||
@Schema(description = "회로구성도")
|
@Schema(description = "회로구성도")
|
||||||
private String circuitCfg;
|
private String circuitCfg;
|
||||||
|
|
||||||
@Schema(description = "아이템 타입 코드")
|
|
||||||
public String itemTpCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,4 @@ public class PriceRequest {
|
|||||||
|
|
||||||
@Schema(description = "아이템번호 목록")
|
@Schema(description = "아이템번호 목록")
|
||||||
private List<PriceItemRequest> itemIdList;
|
private List<PriceItemRequest> itemIdList;
|
||||||
|
|
||||||
@Schema(description = "2차 SAP 판매점코드")
|
|
||||||
private String secSapSalesStoreCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,6 +25,4 @@ public class UserResponse {
|
|||||||
private String storeLvl; // Store Level
|
private String storeLvl; // Store Level
|
||||||
private String groupId; // groupId
|
private String groupId; // groupId
|
||||||
private String custCd; // custCd
|
private String custCd; // custCd
|
||||||
//시공사 번호
|
|
||||||
private String builderNo;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,9 +21,9 @@ public class MainPageController {
|
|||||||
private final ObjectService objectService;
|
private final ObjectService objectService;
|
||||||
|
|
||||||
@Operation(description = "메인 물건정보 목록을 조회한다.")
|
@Operation(description = "메인 물건정보 목록을 조회한다.")
|
||||||
@GetMapping("/object/{saleStoreId}/{userId}/{builderNo}/list")
|
@GetMapping("/object/{saleStoreId}/list")
|
||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
public MainPageResponse selectObjectList(@PathVariable String saleStoreId, @PathVariable String userId, @PathVariable String builderNo) throws Exception {
|
public MainPageResponse selectObjectList(@PathVariable String saleStoreId) throws Exception {
|
||||||
MainPageResponse mainPageResponse = new MainPageResponse();
|
MainPageResponse mainPageResponse = new MainPageResponse();
|
||||||
|
|
||||||
// 판매점명 조회
|
// 판매점명 조회
|
||||||
@ -39,11 +39,6 @@ public class MainPageController {
|
|||||||
// 물건정보 목록 조회
|
// 물건정보 목록 조회
|
||||||
ObjectRequest objectRequest = new ObjectRequest();
|
ObjectRequest objectRequest = new ObjectRequest();
|
||||||
objectRequest.setSaleStoreId(saleStoreId);
|
objectRequest.setSaleStoreId(saleStoreId);
|
||||||
objectRequest.setUserId(userId);
|
|
||||||
if(builderNo != null && !"null".equals(builderNo)) {
|
|
||||||
objectRequest.setBuilderNo(builderNo);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
List<ObjectResponse> objectList = objectService.selectObjectMainList(objectRequest);
|
List<ObjectResponse> objectList = objectService.selectObjectMainList(objectRequest);
|
||||||
mainPageResponse.setObjectList(objectList);
|
mainPageResponse.setObjectList(objectList);
|
||||||
|
|||||||
@ -23,7 +23,6 @@ import com.interplug.qcast.config.Exception.QcastException;
|
|||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.Parameter;
|
import io.swagger.v3.oas.annotations.Parameter;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import jakarta.servlet.http.HttpServletRequest;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
@ -44,15 +43,13 @@ public class MasterController {
|
|||||||
|
|
||||||
@Operation(description = "지붕재 목록을 조회한다.")
|
@Operation(description = "지붕재 목록을 조회한다.")
|
||||||
@GetMapping("/getRoofMaterialList")
|
@GetMapping("/getRoofMaterialList")
|
||||||
public ApiResponse<List<ApiRoofMaterialResponse>> getRoofMaterialList(
|
public ApiResponse<List<ApiRoofMaterialResponse>> getRoofMaterialList() {
|
||||||
HttpServletRequest request) {
|
return masterService.getRoofMaterialList();
|
||||||
return masterService.getRoofMaterialList(request.getHeader("Referer"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "모듈 타입별 아이템 목록을 조회한다.")
|
@Operation(description = "모듈 타입별 아이템 목록을 조회한다.")
|
||||||
@GetMapping("/getModuleTypeItemList")
|
@GetMapping("/getModuleTypeItemList")
|
||||||
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
|
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
|
||||||
HttpServletRequest request,
|
|
||||||
@Parameter(description = "지붕재 코드 목록") @RequestParam("arrRoofMatlCd")
|
@Parameter(description = "지붕재 코드 목록") @RequestParam("arrRoofMatlCd")
|
||||||
List<String> roofMaterialCd)
|
List<String> roofMaterialCd)
|
||||||
throws QcastException {
|
throws QcastException {
|
||||||
@ -62,13 +59,12 @@ public class MasterController {
|
|||||||
|| roofMaterialCd.stream().anyMatch(s -> s == null || s.trim().isEmpty())) {
|
|| roofMaterialCd.stream().anyMatch(s -> s == null || s.trim().isEmpty())) {
|
||||||
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE);
|
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE);
|
||||||
}
|
}
|
||||||
return masterService.getModuleTypeItemList(request.getHeader("Referer"), roofMaterialCd);
|
return masterService.getModuleTypeItemList(roofMaterialCd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "가대 목록 조회한다.")
|
@Operation(description = "가대 목록 조회한다.")
|
||||||
@GetMapping("/getTrestleList")
|
@GetMapping("/getTrestleList")
|
||||||
public ApiResponse<List<ApiTrestleResponse>> getTrestleList(
|
public ApiResponse<List<ApiTrestleResponse>> getTrestleList(
|
||||||
HttpServletRequest request,
|
|
||||||
@Parameter(description = "모듈타입코드") @RequestParam(required = false) String moduleTpCd,
|
@Parameter(description = "모듈타입코드") @RequestParam(required = false) String moduleTpCd,
|
||||||
@Parameter(description = "지붕재코드") @RequestParam(required = false) String roofMatlCd,
|
@Parameter(description = "지붕재코드") @RequestParam(required = false) String roofMatlCd,
|
||||||
@Parameter(description = "서까래기초코드") @RequestParam(required = false) String raftBaseCd,
|
@Parameter(description = "서까래기초코드") @RequestParam(required = false) String raftBaseCd,
|
||||||
@ -89,7 +85,6 @@ public class MasterController {
|
|||||||
.setRoofBaseCd(roofBaseCd)
|
.setRoofBaseCd(roofBaseCd)
|
||||||
.build();
|
.build();
|
||||||
return masterService.getTrestleList(
|
return masterService.getTrestleList(
|
||||||
request.getHeader("Referer"),
|
|
||||||
atb.getModuleTpCd(),
|
atb.getModuleTpCd(),
|
||||||
atb.getRoofMatlCd(),
|
atb.getRoofMatlCd(),
|
||||||
atb.getRaftBaseCd(),
|
atb.getRaftBaseCd(),
|
||||||
@ -101,7 +96,6 @@ public class MasterController {
|
|||||||
@Operation(description = "시공법 목록 조회한다.")
|
@Operation(description = "시공법 목록 조회한다.")
|
||||||
@GetMapping("/getConstructionList")
|
@GetMapping("/getConstructionList")
|
||||||
public ApiResponse<List<ApiConstructionResponse>> getConstructionList(
|
public ApiResponse<List<ApiConstructionResponse>> getConstructionList(
|
||||||
HttpServletRequest request,
|
|
||||||
@Parameter(description = "모듈타입코드") @RequestParam String moduleTpCd,
|
@Parameter(description = "모듈타입코드") @RequestParam String moduleTpCd,
|
||||||
@Parameter(description = "지붕재코드") @RequestParam String roofMatlCd,
|
@Parameter(description = "지붕재코드") @RequestParam String roofMatlCd,
|
||||||
@Parameter(description = "가대메이커코드") @RequestParam String trestleMkrCd,
|
@Parameter(description = "가대메이커코드") @RequestParam String trestleMkrCd,
|
||||||
@ -170,7 +164,6 @@ public class MasterController {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
return masterService.getConstructionList(
|
return masterService.getConstructionList(
|
||||||
request.getHeader("Referer"),
|
|
||||||
acb.getModuleTpCd(),
|
acb.getModuleTpCd(),
|
||||||
acb.getRoofMatlCd(),
|
acb.getRoofMatlCd(),
|
||||||
acb.getTrestleMkrCd(),
|
acb.getTrestleMkrCd(),
|
||||||
@ -188,13 +181,12 @@ public class MasterController {
|
|||||||
@Operation(description = "가대 상세 조회한다.")
|
@Operation(description = "가대 상세 조회한다.")
|
||||||
@PostMapping("/getTrestleDetailList")
|
@PostMapping("/getTrestleDetailList")
|
||||||
public ArrayList<ApiResponse<ApiTrestleDetailResponse>> getTrestleDetailList(
|
public ArrayList<ApiResponse<ApiTrestleDetailResponse>> getTrestleDetailList(
|
||||||
HttpServletRequest request, @RequestBody List<ApiTrestleDetailRequest> reqList) {
|
@RequestBody List<ApiTrestleDetailRequest> reqList) {
|
||||||
ArrayList<ApiResponse<ApiTrestleDetailResponse>> results = new ArrayList<>();
|
ArrayList<ApiResponse<ApiTrestleDetailResponse>> results = new ArrayList<>();
|
||||||
for (ApiTrestleDetailRequest req : reqList) {
|
for (ApiTrestleDetailRequest req : reqList) {
|
||||||
|
|
||||||
ApiResponse<ApiTrestleDetailResponse> response =
|
ApiResponse<ApiTrestleDetailResponse> response =
|
||||||
masterService.getTrestleDetailList(
|
masterService.getTrestleDetailList(
|
||||||
request.getHeader("Referer"),
|
|
||||||
req.getModuleTpCd(),
|
req.getModuleTpCd(),
|
||||||
req.getRoofMatlCd(),
|
req.getRoofMatlCd(),
|
||||||
req.getTrestleMkrCd(),
|
req.getTrestleMkrCd(),
|
||||||
@ -226,67 +218,57 @@ public class MasterController {
|
|||||||
@Operation(description = "PCS 메이커, 시리즈 조회한다.")
|
@Operation(description = "PCS 메이커, 시리즈 조회한다.")
|
||||||
@GetMapping("/pcsMakerList")
|
@GetMapping("/pcsMakerList")
|
||||||
public ApiResponse<List<ApiPcsMakerResponse>> getPcsMakerList(
|
public ApiResponse<List<ApiPcsMakerResponse>> getPcsMakerList(
|
||||||
HttpServletRequest request,
|
|
||||||
@Parameter(description = "PCS 메이커 코드") @RequestParam(required = false) String pcsMkrCd,
|
@Parameter(description = "PCS 메이커 코드") @RequestParam(required = false) String pcsMkrCd,
|
||||||
@Parameter(description = "혼합모듈번호") @RequestParam(required = false) String mixMatlNo) {
|
@Parameter(description = "혼합모듈번호") @RequestParam(required = false) String mixMatlNo) {
|
||||||
return masterService.getPcsMakerList(request.getHeader("Referer"), pcsMkrCd, mixMatlNo);
|
return masterService.getPcsMakerList(pcsMkrCd, mixMatlNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "PCS 시리즈 아이템 목록을 조회한다.")
|
@Operation(description = "PCS 시리즈 아이템 목록을 조회한다.")
|
||||||
@PostMapping("/getPcsSeriesItemList")
|
@PostMapping("/getPcsSeriesItemList")
|
||||||
public ApiResponse<List<ApiPcsSeriesItemResponse>> getPcsSeriesItemList(
|
public ApiResponse<List<ApiPcsSeriesItemResponse>> getPcsSeriesItemList(
|
||||||
HttpServletRequest request, @RequestBody ApiPcsSeriesItemRequest pcsSeriesItemListRequest) {
|
@RequestBody ApiPcsSeriesItemRequest pcsSeriesItemListRequest) {
|
||||||
return masterService.getPcsSeriesItemList(
|
return masterService.getPcsSeriesItemList(pcsSeriesItemListRequest);
|
||||||
request.getHeader("Referer"), pcsSeriesItemListRequest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "시리즈 중 자동으로 추천 PCS 정보를 조회한다.")
|
@Operation(description = "시리즈 중 자동으로 추천 PCS 정보를 조회한다.")
|
||||||
@PostMapping("/getPcsAutoRecommendList")
|
@PostMapping("/getPcsAutoRecommendList")
|
||||||
public ApiResponse<ApiPcsAutoRecommendResponse> getPcsAutoRecommendList(
|
public ApiResponse<ApiPcsAutoRecommendResponse> getPcsAutoRecommendList(
|
||||||
HttpServletRequest request, @RequestBody ApiPcsInfoRequest autoRecommendRequest) {
|
@RequestBody ApiPcsInfoRequest autoRecommendRequest) {
|
||||||
return masterService.getPcsAutoRecommendList(
|
return masterService.getPcsAutoRecommendList(autoRecommendRequest);
|
||||||
request.getHeader("Referer"), autoRecommendRequest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "배치된 모듈을 선택한 PCS로 회로 구성 가능 여부 체크한다.")
|
@Operation(description = "배치된 모듈을 선택한 PCS로 회로 구성 가능 여부 체크한다.")
|
||||||
@PostMapping("/getPcsVoltageChk")
|
@PostMapping("/getPcsVoltageChk")
|
||||||
public ApiResultResponse getPcsVoltageChk(
|
public ApiResultResponse getPcsVoltageChk(@RequestBody ApiPcsInfoRequest pcsVoltageChkRequest) {
|
||||||
HttpServletRequest request, @RequestBody ApiPcsInfoRequest pcsVoltageChkRequest) {
|
return masterService.getPcsVoltageChk(pcsVoltageChkRequest).getResult();
|
||||||
return masterService
|
|
||||||
.getPcsVoltageChk(request.getHeader("Referer"), pcsVoltageChkRequest)
|
|
||||||
.getResult();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "PCS 승압설정 정보를 조회한다.")
|
@Operation(description = "PCS 승압설정 정보를 조회한다.")
|
||||||
@PostMapping("/getPcsVoltageStepUpList")
|
@PostMapping("/getPcsVoltageStepUpList")
|
||||||
public ApiResponse<ApiPcsVoltageStepUpResponse> getPcsVoltageStepUpList(
|
public ApiResponse<ApiPcsVoltageStepUpResponse> getPcsVoltageStepUpList(
|
||||||
HttpServletRequest request, @RequestBody ApiPcsInfoRequest pcsVoltageStepUpRequest) {
|
@RequestBody ApiPcsInfoRequest pcsVoltageStepUpRequest) {
|
||||||
return masterService.getPcsVoltageStepUpList(
|
return masterService.getPcsVoltageStepUpList(pcsVoltageStepUpRequest);
|
||||||
request.getHeader("Referer"), pcsVoltageStepUpRequest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "PCS 수동회로 확정 체크한다.")
|
@Operation(description = "PCS 수동회로 확정 체크한다.")
|
||||||
@PostMapping("/getPcsMenualConfChk")
|
@PostMapping("/getPcsMenualConfChk")
|
||||||
public ApiResultResponse getPcsMenualConfChk(
|
public ApiResultResponse getPcsMenualConfChk(
|
||||||
HttpServletRequest request, @RequestBody ApiPcsMenualConfRequest pcsMenualConfChkRequest) {
|
@RequestBody ApiPcsMenualConfRequest pcsMenualConfChkRequest) {
|
||||||
return masterService
|
return masterService.getPcsMenualConfChk(pcsMenualConfChkRequest).getResult();
|
||||||
.getPcsMenualConfChk(request.getHeader("Referer"), pcsMenualConfChkRequest)
|
|
||||||
.getResult();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(description = "PCS 접속함 및 옵션 목록을 조회한다.")
|
@Operation(description = "PCS 접속함 및 옵션 목록을 조회한다.")
|
||||||
@PostMapping("/getPcsConnOptionItemList")
|
@PostMapping("/getPcsConnOptionItemList")
|
||||||
public ApiResponse<ApiPcsConnOptionResponse> getPcsConnOptionItemList(
|
public ApiResponse<ApiPcsConnOptionResponse> getPcsConnOptionItemList(
|
||||||
HttpServletRequest request, @RequestBody ApiPcsConnOptionRequest pcsConnOptionRequest) {
|
@RequestBody ApiPcsConnOptionRequest pcsConnOptionRequest) {
|
||||||
return masterService.getPcsConnOptionItemList(
|
return masterService.getPcsConnOptionItemList(pcsConnOptionRequest);
|
||||||
request.getHeader("Referer"), pcsConnOptionRequest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** remote api group : quotation */
|
/** remote api group : quotation */
|
||||||
@Operation(description = "견적서 아이템을 조회한다.")
|
@Operation(description = "견적서 아이템을 조회한다.")
|
||||||
@PostMapping("/getQuotationItem")
|
@PostMapping("/getQuotationItem")
|
||||||
public ApiResponse<List<ApiQuotationItemResponse>> getQuotationItem(
|
public ApiResponse<List<ApiQuotationItemResponse>> getQuotationItem(
|
||||||
HttpServletRequest request, @RequestBody ApiQuotationItemRequest quotationItemRequest) {
|
@RequestBody ApiQuotationItemRequest quotationItemRequest) {
|
||||||
return quotationService.getQuotationItem(request.getHeader("Referer"), quotationItemRequest);
|
return quotationService.getQuotationItem(quotationItemRequest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,6 @@ import org.springframework.cloud.openfeign.FeignClient;
|
|||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestHeader;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
|
||||||
// @FeignClient(name = "master", url = "${feign.master.url}")
|
// @FeignClient(name = "master", url = "${feign.master.url}")
|
||||||
@ -30,19 +29,16 @@ public interface MasterService {
|
|||||||
|
|
||||||
// 지붕재 목록 조회
|
// 지붕재 목록 조회
|
||||||
@GetMapping("/roofMaterialList")
|
@GetMapping("/roofMaterialList")
|
||||||
public ApiResponse<List<ApiRoofMaterialResponse>> getRoofMaterialList(
|
public ApiResponse<List<ApiRoofMaterialResponse>> getRoofMaterialList();
|
||||||
@RequestHeader("Referer") String referer);
|
|
||||||
|
|
||||||
// 모듈 타입별 아이템 목록 조회
|
// 모듈 타입별 아이템 목록 조회
|
||||||
@GetMapping("/moduleTypeItemList")
|
@GetMapping("/moduleTypeItemList")
|
||||||
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
|
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
|
||||||
@RequestHeader("Referer") String referer,
|
|
||||||
@RequestParam("arrRoofMatlCd") List<String> roofMaterialCd);
|
@RequestParam("arrRoofMatlCd") List<String> roofMaterialCd);
|
||||||
|
|
||||||
// 가대 목록 조회
|
// 가대 목록 조회
|
||||||
@GetMapping("/trestle")
|
@GetMapping("/trestle")
|
||||||
public ApiResponse<List<ApiTrestleResponse>> getTrestleList(
|
public ApiResponse<List<ApiTrestleResponse>> getTrestleList(
|
||||||
@RequestHeader("Referer") String referer,
|
|
||||||
@RequestParam(required = false) String moduleTpCd,
|
@RequestParam(required = false) String moduleTpCd,
|
||||||
@RequestParam(required = false) String roofMatlCd,
|
@RequestParam(required = false) String roofMatlCd,
|
||||||
@RequestParam(required = false) String raftBaseCd,
|
@RequestParam(required = false) String raftBaseCd,
|
||||||
@ -53,7 +49,6 @@ public interface MasterService {
|
|||||||
// 시공법 목록 조회
|
// 시공법 목록 조회
|
||||||
@GetMapping("/construction")
|
@GetMapping("/construction")
|
||||||
public ApiResponse<List<ApiConstructionResponse>> getConstructionList(
|
public ApiResponse<List<ApiConstructionResponse>> getConstructionList(
|
||||||
@RequestHeader("Referer") String referer,
|
|
||||||
@RequestParam String moduleTpCd,
|
@RequestParam String moduleTpCd,
|
||||||
@RequestParam String roofMatlCd,
|
@RequestParam String roofMatlCd,
|
||||||
@RequestParam String trestleMkrCd,
|
@RequestParam String trestleMkrCd,
|
||||||
@ -70,7 +65,6 @@ public interface MasterService {
|
|||||||
// 가대 상세 조회
|
// 가대 상세 조회
|
||||||
@GetMapping(value = "/trestle/detail", consumes = "application/json")
|
@GetMapping(value = "/trestle/detail", consumes = "application/json")
|
||||||
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(
|
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(
|
||||||
@RequestHeader("Referer") String referer,
|
|
||||||
@RequestParam String moduleTpCd,
|
@RequestParam String moduleTpCd,
|
||||||
@RequestParam String roofMatlCd,
|
@RequestParam String roofMatlCd,
|
||||||
@RequestParam String trestleMkrCd,
|
@RequestParam String trestleMkrCd,
|
||||||
@ -89,37 +83,34 @@ public interface MasterService {
|
|||||||
// PCS Maker, 시리즈 목록 조회
|
// PCS Maker, 시리즈 목록 조회
|
||||||
@GetMapping("/pcsMakerList")
|
@GetMapping("/pcsMakerList")
|
||||||
public ApiResponse<List<ApiPcsMakerResponse>> getPcsMakerList(
|
public ApiResponse<List<ApiPcsMakerResponse>> getPcsMakerList(
|
||||||
@RequestHeader("Referer") String referer,
|
|
||||||
@RequestParam(required = false) String pcsMkrCd,
|
@RequestParam(required = false) String pcsMkrCd,
|
||||||
@RequestParam(required = false) String mixMatlNo);
|
@RequestParam(required = false) String mixMatlNo);
|
||||||
|
|
||||||
// PCS 시리즈 아이템 목록 조회
|
// PCS 시리즈 아이템 목록 조회
|
||||||
@PostMapping("/pcsSeriesItemList")
|
@PostMapping("/pcsSeriesItemList")
|
||||||
public ApiResponse<List<ApiPcsSeriesItemResponse>> getPcsSeriesItemList(
|
public ApiResponse<List<ApiPcsSeriesItemResponse>> getPcsSeriesItemList(
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsSeriesItemRequest req);
|
@RequestBody ApiPcsSeriesItemRequest req);
|
||||||
|
|
||||||
// 시리즈 중 자동으로 추천 PCS 정보 조회
|
// 시리즈 중 자동으로 추천 PCS 정보 조회
|
||||||
@PostMapping("/pcsAutoRecommendList")
|
@PostMapping("/pcsAutoRecommendList")
|
||||||
public ApiResponse<ApiPcsAutoRecommendResponse> getPcsAutoRecommendList(
|
public ApiResponse<ApiPcsAutoRecommendResponse> getPcsAutoRecommendList(
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsInfoRequest req);
|
@RequestBody ApiPcsInfoRequest req);
|
||||||
|
|
||||||
// 배치된 모듈을 선택한 PCS로 회로 구성 가능 여부 체크
|
// 배치된 모듈을 선택한 PCS로 회로 구성 가능 여부 체크
|
||||||
@PostMapping("/pcsVoltageChk")
|
@PostMapping("/pcsVoltageChk")
|
||||||
public ApiResponse<JsonNode> getPcsVoltageChk(
|
public ApiResponse<JsonNode> getPcsVoltageChk(@RequestBody ApiPcsInfoRequest req);
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsInfoRequest req);
|
|
||||||
|
|
||||||
// PCS 승압설정 정보 조회
|
// PCS 승압설정 정보 조회
|
||||||
@PostMapping("/pcsVoltageStepUpList")
|
@PostMapping("/pcsVoltageStepUpList")
|
||||||
public ApiResponse<ApiPcsVoltageStepUpResponse> getPcsVoltageStepUpList(
|
public ApiResponse<ApiPcsVoltageStepUpResponse> getPcsVoltageStepUpList(
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsInfoRequest req);
|
@RequestBody ApiPcsInfoRequest req);
|
||||||
|
|
||||||
// PCS 수동회로 확정 체크
|
// PCS 수동회로 확정 체크
|
||||||
@PostMapping("/pcsMenualConfChk")
|
@PostMapping("/pcsMenualConfChk")
|
||||||
public ApiResponse<JsonNode> getPcsMenualConfChk(
|
public ApiResponse<JsonNode> getPcsMenualConfChk(@RequestBody ApiPcsMenualConfRequest req);
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsMenualConfRequest req);
|
|
||||||
|
|
||||||
// PCS 접속함 및 옵션 목록 조회
|
// PCS 접속함 및 옵션 목록 조회
|
||||||
@PostMapping("/pcsConnOptionItemList")
|
@PostMapping("/pcsConnOptionItemList")
|
||||||
public ApiResponse<ApiPcsConnOptionResponse> getPcsConnOptionItemList(
|
public ApiResponse<ApiPcsConnOptionResponse> getPcsConnOptionItemList(
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiPcsConnOptionRequest req);
|
@RequestBody ApiPcsConnOptionRequest req);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import java.util.List;
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestHeader;
|
|
||||||
|
|
||||||
@FeignClient(name = "quotation", url = "${qsp.url}/api/quotation")
|
@FeignClient(name = "quotation", url = "${qsp.url}/api/quotation")
|
||||||
public interface QuotationService {
|
public interface QuotationService {
|
||||||
@ -15,5 +14,5 @@ public interface QuotationService {
|
|||||||
// 견적서 아이템 조회
|
// 견적서 아이템 조회
|
||||||
@PostMapping("/item")
|
@PostMapping("/item")
|
||||||
public ApiResponse<List<ApiQuotationItemResponse>> getQuotationItem(
|
public ApiResponse<List<ApiQuotationItemResponse>> getQuotationItem(
|
||||||
@RequestHeader("Referer") String referer, @RequestBody ApiQuotationItemRequest req);
|
@RequestBody ApiQuotationItemRequest req);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,7 +43,4 @@ public class ApiModuleTpItemResponse {
|
|||||||
|
|
||||||
@Schema(description = "MIX배치 여부")
|
@Schema(description = "MIX배치 여부")
|
||||||
private String mixAsgYn;
|
private String mixAsgYn;
|
||||||
|
|
||||||
@Schema(description = "북면설치 여부")
|
|
||||||
private String northModuleYn;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
package com.interplug.qcast.biz.master.dto.quotation;
|
package com.interplug.qcast.biz.master.dto.quotation;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import java.util.List;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@ -22,7 +22,4 @@ public class ApiQuotationItemRequest {
|
|||||||
@Schema(description = "PCS 목록")
|
@Schema(description = "PCS 목록")
|
||||||
@NotNull
|
@NotNull
|
||||||
public List<ApiQuotationItemPcsRequest> pcses;
|
public List<ApiQuotationItemPcsRequest> pcses;
|
||||||
|
|
||||||
@Schema(description = "양단 케이블 갯수")
|
|
||||||
public Integer dblCblTotCnt = 0;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,4 @@ public class ApiQuotationItemResponse {
|
|||||||
|
|
||||||
@Schema(description = "수량")
|
@Schema(description = "수량")
|
||||||
public Integer amount;
|
public Integer amount;
|
||||||
|
|
||||||
@Schema(description = "아이템 타입 코드")
|
|
||||||
public String itemTpCd;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -170,7 +170,4 @@ public class ObjectRequest {
|
|||||||
|
|
||||||
@Schema(description = "종료 Row")
|
@Schema(description = "종료 Row")
|
||||||
private String endRow;
|
private String endRow;
|
||||||
|
|
||||||
@Schema(description = "시공사 번호")
|
|
||||||
private String builderNo;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,9 +26,6 @@ public class InterfaceQsp {
|
|||||||
@Value("${qsp.url}")
|
@Value("${qsp.url}")
|
||||||
private String qspUrl;
|
private String qspUrl;
|
||||||
|
|
||||||
@Value("${front.url}")
|
|
||||||
private String frontUrl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* API Call
|
* API Call
|
||||||
*
|
*
|
||||||
@ -66,7 +63,6 @@ public class InterfaceQsp {
|
|||||||
con.setReadTimeout(120000); // InputStream 읽어 오는 Timeout 시간 설정
|
con.setReadTimeout(120000); // InputStream 읽어 오는 Timeout 시간 설정
|
||||||
con.setRequestMethod(httpMethod.toString());
|
con.setRequestMethod(httpMethod.toString());
|
||||||
con.setRequestProperty("Content-Type", "application/json");
|
con.setRequestProperty("Content-Type", "application/json");
|
||||||
con.setRequestProperty("Referer", frontUrl);
|
|
||||||
con.setDoInput(true);
|
con.setDoInput(true);
|
||||||
con.setUseCaches(false);
|
con.setUseCaches(false);
|
||||||
con.setDefaultUseCaches(false);
|
con.setDefaultUseCaches(false);
|
||||||
@ -174,7 +170,6 @@ public class InterfaceQsp {
|
|||||||
con.setReadTimeout(30000); // InputStream 읽어 오는 Timeout 시간 설정
|
con.setReadTimeout(30000); // InputStream 읽어 오는 Timeout 시간 설정
|
||||||
con.setRequestMethod(httpMethod.toString());
|
con.setRequestMethod(httpMethod.toString());
|
||||||
con.setRequestProperty("Content-Type", "application/json");
|
con.setRequestProperty("Content-Type", "application/json");
|
||||||
con.setRequestProperty("Referer", frontUrl);
|
|
||||||
con.setDoInput(true);
|
con.setDoInput(true);
|
||||||
con.setUseCaches(false);
|
con.setUseCaches(false);
|
||||||
con.setDefaultUseCaches(false);
|
con.setDefaultUseCaches(false);
|
||||||
|
|||||||
@ -58,7 +58,4 @@ file:
|
|||||||
root.path: /home/development/public/files
|
root.path: /home/development/public/files
|
||||||
ini.root.path: /home/development/public/files/NewEstimate
|
ini.root.path: /home/development/public/files/NewEstimate
|
||||||
ini.base.filename: 料金シミュレーション.ini
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
||||||
|
|
||||||
front:
|
|
||||||
url: http://1.248.227.176:3000
|
|
||||||
@ -58,7 +58,4 @@ file:
|
|||||||
root.path: C:\\
|
root.path: C:\\
|
||||||
ini.root.path: C:\\NewEstimate
|
ini.root.path: C:\\NewEstimate
|
||||||
ini.base.filename: 料金シミュレーション.ini
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
ini.drawing.img.path: C:\\NewEstimate\Drawing
|
ini.drawing.img.path: C:\\NewEstimate\Drawing
|
||||||
|
|
||||||
front:
|
|
||||||
url: http://localhost:8080
|
|
||||||
@ -58,7 +58,4 @@ file:
|
|||||||
root.path: /home/production/public/files
|
root.path: /home/production/public/files
|
||||||
ini.root.path: /home/production/public/files/NewEstimate
|
ini.root.path: /home/production/public/files/NewEstimate
|
||||||
ini.base.filename: 料金シミュレーション.ini
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing
|
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing
|
||||||
|
|
||||||
front:
|
|
||||||
url: https://hanasys.jp
|
|
||||||
@ -56,7 +56,6 @@
|
|||||||
, PI.SYNC_FLG
|
, PI.SYNC_FLG
|
||||||
, PI.CREATE_DATETIME
|
, PI.CREATE_DATETIME
|
||||||
, PI.CREATE_USER
|
, PI.CREATE_USER
|
||||||
, PI.SEC_SAP_SALES_STORE_CD
|
|
||||||
, O.OBJECT_NAME
|
, O.OBJECT_NAME
|
||||||
, O.OBJECT_NAME_OMIT
|
, O.OBJECT_NAME_OMIT
|
||||||
, O.REMARKS AS OBJECT_REMARKS
|
, O.REMARKS AS OBJECT_REMARKS
|
||||||
@ -176,7 +175,7 @@
|
|||||||
, P.CONSTRUCT_SPECIFICATION
|
, P.CONSTRUCT_SPECIFICATION
|
||||||
, P.NORTH_ARRANGEMENT
|
, P.NORTH_ARRANGEMENT
|
||||||
, PI.ESTIMATE_TYPE
|
, PI.ESTIMATE_TYPE
|
||||||
, PI.PKG_ASP
|
, P.PKG_ASP
|
||||||
, P.DEL_FLG
|
, P.DEL_FLG
|
||||||
, CONVERT(NVARCHAR(10), PI.CREATE_DATETIME, 121) AS ESTIMATE_DETAIL_CREATE_DATE
|
, CONVERT(NVARCHAR(10), PI.CREATE_DATETIME, 121) AS ESTIMATE_DETAIL_CREATE_DATE
|
||||||
, P.LAST_EDIT_DATETIME
|
, P.LAST_EDIT_DATETIME
|
||||||
@ -192,7 +191,7 @@
|
|||||||
ON O.OBJECT_NO = OI.OBJECT_NO
|
ON O.OBJECT_NO = OI.OBJECT_NO
|
||||||
INNER JOIN M_SALES_STORE SS WITH(NOLOCK)
|
INNER JOIN M_SALES_STORE SS WITH(NOLOCK)
|
||||||
ON O.SALE_STORE_ID = SS.SALE_STORE_ID
|
ON O.SALE_STORE_ID = SS.SALE_STORE_ID
|
||||||
WHERE PI.SYNC_FLG = '0'
|
WHERE P.SYNC_FLG = '0'
|
||||||
AND OI.SOURCE_ORIGIN = 'QCAST_III'
|
AND OI.SOURCE_ORIGIN = 'QCAST_III'
|
||||||
AND OI.ORG_DEL_FLG = '0'
|
AND OI.ORG_DEL_FLG = '0'
|
||||||
</select>
|
</select>
|
||||||
@ -283,7 +282,6 @@
|
|||||||
, PEI.OPEN_FLG
|
, PEI.OPEN_FLG
|
||||||
, PEI.ITEM_CHANGE_FLG
|
, PEI.ITEM_CHANGE_FLG
|
||||||
, PEI.DISP_CABLE_FLG
|
, PEI.DISP_CABLE_FLG
|
||||||
, PEI.ITEM_TP_CD
|
|
||||||
, I.PNOW_W
|
, I.PNOW_W
|
||||||
, CASE WHEN I.POWER_COM_FLG = '1' THEN 'PC_'
|
, CASE WHEN I.POWER_COM_FLG = '1' THEN 'PC_'
|
||||||
WHEN I.ITEM_GROUP = 'PC_' AND I.POWER_COM_FLG = '0' THEN 'STORAGE_BATTERY'
|
WHEN I.ITEM_GROUP = 'PC_' AND I.POWER_COM_FLG = '0' THEN 'STORAGE_BATTERY'
|
||||||
@ -681,7 +679,6 @@
|
|||||||
UPDATE T_PLAN_INFO
|
UPDATE T_PLAN_INFO
|
||||||
SET
|
SET
|
||||||
ESTIMATE_TYPE = #{estimateType}
|
ESTIMATE_TYPE = #{estimateType}
|
||||||
, SEC_SAP_SALES_STORE_CD = #{secSapSalesStoreCd}
|
|
||||||
<choose>
|
<choose>
|
||||||
<when test='drawingFlg != null and drawingFlg == "1"'>
|
<when test='drawingFlg != null and drawingFlg == "1"'>
|
||||||
, CONSTRUCT_SPECIFICATION_MULTI = #{constructSpecificationMulti}
|
, CONSTRUCT_SPECIFICATION_MULTI = #{constructSpecificationMulti}
|
||||||
@ -734,7 +731,6 @@
|
|||||||
, PKG_ASP = NULL
|
, PKG_ASP = NULL
|
||||||
, PRICE_CD = #{priceCd}
|
, PRICE_CD = #{priceCd}
|
||||||
, TEMP_FLG = CASE WHEN TEMP_FLG = '0' THEN '0' ELSE #{tempFlg} END
|
, TEMP_FLG = CASE WHEN TEMP_FLG = '0' THEN '0' ELSE #{tempFlg} END
|
||||||
, SEC_SAP_SALES_STORE_CD = #{secSapSalesStoreCd}
|
|
||||||
WHERE OBJECT_NO = #{objectNo}
|
WHERE OBJECT_NO = #{objectNo}
|
||||||
AND PLAN_NO = #{planNo}
|
AND PLAN_NO = #{planNo}
|
||||||
</update>
|
</update>
|
||||||
@ -839,7 +835,6 @@
|
|||||||
, OPEN_FLG
|
, OPEN_FLG
|
||||||
, ITEM_CHANGE_FLG
|
, ITEM_CHANGE_FLG
|
||||||
, DISP_CABLE_FLG
|
, DISP_CABLE_FLG
|
||||||
, ITEM_TP_CD
|
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#{objectNo}
|
#{objectNo}
|
||||||
, #{planNo}
|
, #{planNo}
|
||||||
@ -858,7 +853,6 @@
|
|||||||
, #{openFlg}
|
, #{openFlg}
|
||||||
, #{itemChangeFlg}
|
, #{itemChangeFlg}
|
||||||
, #{dispCableFlg}
|
, #{dispCableFlg}
|
||||||
, #{itemTpCd}
|
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
@ -1173,7 +1167,6 @@
|
|||||||
, SYNC_FLG
|
, SYNC_FLG
|
||||||
, CREATE_DATETIME
|
, CREATE_DATETIME
|
||||||
, CREATE_USER
|
, CREATE_USER
|
||||||
, SEC_SAP_SALES_STORE_CD
|
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
#{copyObjectNo} AS OBJECT_NO
|
#{copyObjectNo} AS OBJECT_NO
|
||||||
@ -1194,7 +1187,6 @@
|
|||||||
, '0' AS SYNC_FLG
|
, '0' AS SYNC_FLG
|
||||||
, GETDATE() AS CREATE_DATETIME
|
, GETDATE() AS CREATE_DATETIME
|
||||||
, #{userId} AS CREATE_USER
|
, #{userId} AS CREATE_USER
|
||||||
, PI.SEC_SAP_SALES_STORE_CD
|
|
||||||
FROM T_PLAN_INFO PI WITH (NOLOCK)
|
FROM T_PLAN_INFO PI WITH (NOLOCK)
|
||||||
WHERE PI.OBJECT_NO = #{objectNo}
|
WHERE PI.OBJECT_NO = #{objectNo}
|
||||||
AND PI.PLAN_NO = #{planNo}
|
AND PI.PLAN_NO = #{planNo}
|
||||||
|
|||||||
@ -183,9 +183,6 @@
|
|||||||
FROM T_OBJECT O WITH (NOLOCK)
|
FROM T_OBJECT O WITH (NOLOCK)
|
||||||
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
|
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
|
||||||
ON O.OBJECT_NO = OI.OBJECT_NO
|
ON O.OBJECT_NO = OI.OBJECT_NO
|
||||||
<if test='builderNo != null and builderNo != ""'>
|
|
||||||
AND OI.CREATE_USER = #{userId}
|
|
||||||
</if>
|
|
||||||
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
|
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
|
||||||
ON O.SALE_STORE_ID = S.SALE_STORE_ID
|
ON O.SALE_STORE_ID = S.SALE_STORE_ID
|
||||||
<if test='saleStoreId != null and saleStoreId != "T01"'>
|
<if test='saleStoreId != null and saleStoreId != "T01"'>
|
||||||
@ -277,9 +274,6 @@
|
|||||||
FROM T_OBJECT O WITH (NOLOCK)
|
FROM T_OBJECT O WITH (NOLOCK)
|
||||||
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
|
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
|
||||||
ON O.OBJECT_NO = OI.OBJECT_NO
|
ON O.OBJECT_NO = OI.OBJECT_NO
|
||||||
<if test='builderNo != null and builderNo != ""'>
|
|
||||||
AND OI.CREATE_USER = #{userId}
|
|
||||||
</if>
|
|
||||||
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
|
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
|
||||||
ON O.SALE_STORE_ID = S.SALE_STORE_ID
|
ON O.SALE_STORE_ID = S.SALE_STORE_ID
|
||||||
<if test='(saleStoreId != null and saleStoreId != "T01") or (schSelSaleStoreId != null and schSelSaleStoreId != "")'>
|
<if test='(saleStoreId != null and saleStoreId != "T01") or (schSelSaleStoreId != null and schSelSaleStoreId != "")'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user