견적서 복사 API 수정(도면복사 추가)
This commit is contained in:
parent
1337c682e5
commit
a495879072
@ -1,6 +1,8 @@
|
|||||||
package com.interplug.qcast.biz.estimate;
|
package com.interplug.qcast.biz.estimate;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||||
|
import com.interplug.qcast.biz.canvasStatus.CanvasStatusService;
|
||||||
|
import com.interplug.qcast.biz.canvasStatus.dto.CanvasStatusCopyRequest;
|
||||||
import com.interplug.qcast.biz.estimate.dto.EstimateApiResponse;
|
import com.interplug.qcast.biz.estimate.dto.EstimateApiResponse;
|
||||||
import com.interplug.qcast.biz.estimate.dto.EstimateCopyRequest;
|
import com.interplug.qcast.biz.estimate.dto.EstimateCopyRequest;
|
||||||
import com.interplug.qcast.biz.estimate.dto.EstimateRequest;
|
import com.interplug.qcast.biz.estimate.dto.EstimateRequest;
|
||||||
@ -76,6 +78,8 @@ public class EstimateService {
|
|||||||
|
|
||||||
private final FileMapper fileMapper;
|
private final FileMapper fileMapper;
|
||||||
|
|
||||||
|
@Autowired private CanvasStatusService canvasStatusService;
|
||||||
|
|
||||||
@Autowired private PwrGnrSimService pwrGnrSimService;
|
@Autowired private PwrGnrSimService pwrGnrSimService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -848,6 +852,13 @@ public class EstimateService {
|
|||||||
estimateMapper.insertEstimateDrawingItemCopy(estimateCopyRequest);
|
estimateMapper.insertEstimateDrawingItemCopy(estimateCopyRequest);
|
||||||
|
|
||||||
// [7]. 견적서 도면 복사 (추후 개발 필요)
|
// [7]. 견적서 도면 복사 (추후 개발 필요)
|
||||||
|
CanvasStatusCopyRequest cs = new CanvasStatusCopyRequest();
|
||||||
|
cs.setOriginObjectNo(estimateCopyRequest.getObjectNo());
|
||||||
|
cs.setOriginPlanNo(estimateCopyRequest.getPlanNo());
|
||||||
|
cs.setObjectNo(estimateCopyRequest.getCopyObjectNo());
|
||||||
|
cs.setPlanNo(estimateCopyRequest.getCopyPlanNo());
|
||||||
|
cs.setUserId(estimateCopyRequest.getUserId());
|
||||||
|
canvasStatusService.copyCanvasStatus(cs);
|
||||||
|
|
||||||
// [8]. QSP Q.CAST SEND API
|
// [8]. QSP Q.CAST SEND API
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user