|
@@ -125,10 +125,10 @@ public class BusinessFsSaleRevenueServiceImpl extends ServiceImpl<BusinessFsSale
|
125
|
125
|
if (CollectionUtils.isNotEmpty(param.getThreeConsistenceList())) {
|
126
|
126
|
param.getThreeConsistenceList().forEach(threeConsistence -> {
|
127
|
127
|
threeConsistence.setFsSaleRevenueId(param.getId());
|
128
|
|
- threeConsistence.setProvinceAccountingQuantity(threeConsistence.getAccountingQuantity());
|
|
128
|
+ threeConsistence.setProvinceAccountingQuantity(threeConsistence.getAccountingQuantity() == null ? new BigDecimal(0) : threeConsistence.getAccountingQuantity());
|
129
|
129
|
threeConsistence.setAccountingUnitPrice(new BigDecimal(0));
|
130
|
130
|
threeConsistence.setProvinceAccountingUnitPrice(new BigDecimal(0));
|
131
|
|
- threeConsistence.setProvinceAccountingAmount(threeConsistence.getAccountingAmount());
|
|
131
|
+ threeConsistence.setProvinceAccountingAmount(threeConsistence.getAccountingAmount() == null ? new BigDecimal(0) : threeConsistence.getAccountingAmount());
|
132
|
132
|
threeConsistenceMapper.insert(threeConsistence);
|
133
|
133
|
});
|
134
|
134
|
}
|
|
@@ -157,6 +157,7 @@ public class BusinessFsSaleRevenueServiceImpl extends ServiceImpl<BusinessFsSale
|
157
|
157
|
});
|
158
|
158
|
}
|
159
|
159
|
}
|
|
160
|
+
|
160
|
161
|
// 保存子表-原核定入库价格
|
161
|
162
|
private void saveApprovalPrice(BusinessFsSaleRevenue param) {
|
162
|
163
|
if (CollectionUtils.isNotEmpty(param.getApprovalPriceList())) {
|
|
@@ -166,6 +167,7 @@ public class BusinessFsSaleRevenueServiceImpl extends ServiceImpl<BusinessFsSale
|
166
|
167
|
});
|
167
|
168
|
}
|
168
|
169
|
}
|
|
170
|
+
|
169
|
171
|
// 保存子表-差价上缴
|
170
|
172
|
private void saveDiffPrice(BusinessFsSaleRevenue param) {
|
171
|
173
|
if (CollectionUtils.isNotEmpty(param.getDiffPriceList())) {
|