복사 할때 T_CANVAS_POPUP_STATUS 내용도 복사
This commit is contained in:
parent
4f4b3b7ba0
commit
50693caac6
@ -150,4 +150,6 @@ public interface EstimateMapper {
|
||||
public int updateEstimateInit(EstimateRequest estimateRequest);
|
||||
|
||||
public int updateEstimateInfoInit(EstimateRequest estimateRequest);
|
||||
|
||||
public int insertCanvasPopupStatusCopy(EstimateCopyRequest estimateCopyRequest);
|
||||
}
|
||||
|
||||
@ -901,6 +901,7 @@ public class EstimateService {
|
||||
estimateCopyRequest.setCopyPlanNo("1");
|
||||
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
||||
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
||||
estimateMapper.insertCanvasPopupStatusCopy(estimateCopyRequest);
|
||||
|
||||
// [5]. 견적서 아이템 복사
|
||||
for (ItemRequest itemRequest : itemList) {
|
||||
|
||||
@ -670,6 +670,7 @@ public class ObjectService {
|
||||
estimateCopyRequest.setUserId(planRequest.getUserId());
|
||||
estimateMapper.insertEstimateCopy(estimateCopyRequest);
|
||||
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
|
||||
estimateMapper.insertCanvasPopupStatusCopy(estimateCopyRequest);
|
||||
|
||||
if (estimateResponse != null && !StringUtils.isEmpty(estimateResponse.getEstimateDate())) {
|
||||
// [4]. 견적서 아이템 복사
|
||||
|
||||
@ -1371,6 +1371,24 @@
|
||||
AND PDE.PLAN_NO = #{planNo}
|
||||
</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">
|
||||
/* sqlid : com.interplug.qcast.biz.estimate.updatePlanConfirmSync */
|
||||
UPDATE T_PLAN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user