dev #47
@ -150,4 +150,6 @@ public interface EstimateMapper {
|
|||||||
public int updateEstimateInit(EstimateRequest estimateRequest);
|
public int updateEstimateInit(EstimateRequest estimateRequest);
|
||||||
|
|
||||||
public int updateEstimateInfoInit(EstimateRequest estimateRequest);
|
public int updateEstimateInfoInit(EstimateRequest estimateRequest);
|
||||||
|
|
||||||
|
public int insertCanvasPopupStatusCopy(EstimateCopyRequest estimateCopyRequest);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -901,6 +901,7 @@ public class EstimateService {
|
|||||||
estimateCopyRequest.setCopyPlanNo("1");
|
estimateCopyRequest.setCopyPlanNo("1");
|
||||||
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
||||||
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
||||||
|
estimateMapper.insertCanvasPopupStatusCopy(estimateCopyRequest);
|
||||||
|
|
||||||
// [5]. 견적서 아이템 복사
|
// [5]. 견적서 아이템 복사
|
||||||
for (ItemRequest itemRequest : itemList) {
|
for (ItemRequest itemRequest : itemList) {
|
||||||
|
|||||||
@ -670,6 +670,7 @@ public class ObjectService {
|
|||||||
estimateCopyRequest.setUserId(planRequest.getUserId());
|
estimateCopyRequest.setUserId(planRequest.getUserId());
|
||||||
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
||||||
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
||||||
|
estimateMapper.insertCanvasPopupStatusCopy(estimateCopyRequest);
|
||||||
|
|
||||||
if (estimateResponse != null && !StringUtils.isEmpty(estimateResponse.getEstimateDate())) {
|
if (estimateResponse != null && !StringUtils.isEmpty(estimateResponse.getEstimateDate())) {
|
||||||
// [4]. 견적서 아이템 복사
|
// [4]. 견적서 아이템 복사
|
||||||
|
|||||||
@ -1371,6 +1371,24 @@
|
|||||||
AND PDE.PLAN_NO = #{planNo}
|
AND PDE.PLAN_NO = #{planNo}
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
<insert id="insertCanvasPopupStatusCopy" parameterType="com.interplug.qcast.biz.estimate.dto.EstimateCopyRequest">
|
||||||
|
INSERT INTO T_CANVAS_POPUP_STATUS
|
||||||
|
(
|
||||||
|
OBJECT_NO
|
||||||
|
, PLAN_NO
|
||||||
|
, POPUP_TYPE
|
||||||
|
, POPUP_STATUS
|
||||||
|
)
|
||||||
|
SELECT
|
||||||
|
#{copyObjectNo} AS OBJECT_NO
|
||||||
|
, #{copyPlanNo} AS PLAN_NO
|
||||||
|
, POPUP_TYPE
|
||||||
|
, POPUP_STATUS
|
||||||
|
FROM T_CANVAS_POPUP_STATUS O WITH (NOLOCK)
|
||||||
|
WHERE O.OBJECT_NO = #{objectNo}
|
||||||
|
AND PLAN_NO = #{planNo}
|
||||||
|
</insert>
|
||||||
|
|
||||||
<update id="updatePlanConfirmSync" parameterType="com.interplug.qcast.biz.estimate.dto.PlanSyncResponse">
|
<update id="updatePlanConfirmSync" parameterType="com.interplug.qcast.biz.estimate.dto.PlanSyncResponse">
|
||||||
/* sqlid : com.interplug.qcast.biz.estimate.updatePlanConfirmSync */
|
/* sqlid : com.interplug.qcast.biz.estimate.updatePlanConfirmSync */
|
||||||
UPDATE T_PLAN
|
UPDATE T_PLAN
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user