견적서 토탈 볼륨 오류 API 수정
This commit is contained in:
parent
2135a56724
commit
d3f1d20896
@ -1603,12 +1603,12 @@ public class EstimateService {
|
||||
// YJSS인 경우 (PKG 단가 * 모듈용량) + 패키지 제외상품 총 합산
|
||||
// YJOD인 경우 모든 아이템의 총 합산
|
||||
if ("YJSS".equals(estimateType)) {
|
||||
if ("1".equals(itemResponse.getModuleFlg())) {
|
||||
totVol = totVol.add(pnowW.multiply(amount));
|
||||
}
|
||||
|
||||
if ("1".equals(itemResponse.getPkgMaterialFlg())) { // 패키지 제외상품 여부(1)
|
||||
supplyPrice = supplyPrice.add(salePrice.multiply(amount));
|
||||
} else {
|
||||
if ("1".equals(itemResponse.getModuleFlg())) {
|
||||
totVol = totVol.add(pnowW.multiply(amount));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ("1".equals(itemResponse.getModuleFlg())) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user