dev #78

Merged
ysCha merged 26 commits from dev into dev-deploy 2025-06-10 14:47:40 +09:00
4 changed files with 22 additions and 0 deletions
Showing only changes of commit e2f05fc410 - Show all commits

View File

@ -150,4 +150,6 @@ public interface EstimateMapper {
public int updateEstimateInit(EstimateRequest estimateRequest);
public int updateEstimateInfoInit(EstimateRequest estimateRequest);
public int insertCanvasPopupStatusCopy(EstimateCopyRequest estimateCopyRequest);
}

View File

@ -901,6 +901,7 @@ public class EstimateService {
estimateCopyRequest.setCopyPlanNo("1");
estimateMapper.insertEstimateCopy(estimateCopyRequest);
estimateMapper.insertEstimateInfoCopy(estimateCopyRequest);
estimateMapper.insertCanvasPopupStatusCopy(estimateCopyRequest);
// [5]. 견적서 아이템 복사
for (ItemRequest itemRequest : itemList) {

View File

@ -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]. 견적서 아이템 복사

View File

@ -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