Compare commits

..

No commits in common. "30dc11b37a7992c5adabb9f66d74d655705562ee" and "48dff518b3b694d2f81c05a3315cfcf2a726cd95" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View File

@ -457,6 +457,7 @@ public class EstimateService {
itemRequest.setItemCtgGr(itemResponse.getItemCtgGr());
itemRequest.setPartAdd("0");
itemRequest.setDelFlg("0");
itemRequest.setQcastCustPrdId(itemResponse.getQcastCustPrdId());
break;
}
}
@ -679,13 +680,6 @@ public class EstimateService {
itemRequest.setObjectNo(estimateRequest.getObjectNo());
itemRequest.setPlanNo(estimateRequest.getPlanNo());
// 선택한 PCS 아이템이 다른 경우
for (ItemRequest qcastCPI : itemList) {
if(qcastCPI.getQcastCustPrdId() != null && qcastCPI.getQcastCustPrdId().equals(itemRequest.getPcItemId())) {
itemRequest.setQcastCustPrdId(qcastCPI.getQcastCustPrdId());
}
}
estimateMapper.insertEstimateRoofItem(itemRequest);
}
}

View File

@ -388,7 +388,7 @@
FROM T_PART_ROOF_ITEM_ESTIMATE (NOLOCK)
WHERE OBJECT_NO = PE.OBJECT_NO
AND PLAN_NO = PE.PLAN_NO
AND ISNULL(NULLIF(QCAST_CUST_PRD_ID, ''), PC_ITEM_ID) = PE.ITEM_ID
AND PC_ITEM_ID = PE.ITEM_ID
), 0) AS MODULE_VOL_KW
FROM T_PLAN P WITH (NOLOCK)
INNER JOIN T_PART_ESTIMATE PE WITH (NOLOCK)