|
|
@@ -3524,7 +3524,7 @@ public class BillsServiceImpl extends ServiceImpl<BillsMapper, Bills> implements
|
|
|
if (!containersList.isEmpty()) {
|
|
|
List<Containers> containersListNew = new ArrayList<>();
|
|
|
for (Containers item : containersList) {
|
|
|
- if (ObjectUtils.isNull(item.getPodStationId())) {
|
|
|
+ if (ObjectUtils.isNull(item.getPodStationId()) || item.getPodStationId() == 0) {
|
|
|
throw new RuntimeException("请先维护配箱POD堆场信息");
|
|
|
}
|
|
|
item.setSrcId(item.getId());
|
|
|
@@ -3698,7 +3698,7 @@ public class BillsServiceImpl extends ServiceImpl<BillsMapper, Bills> implements
|
|
|
item.setStlStatus(null);
|
|
|
item.setStlById(null);
|
|
|
item.setStlByName(null);
|
|
|
- item.setStlTtlAmount(null);
|
|
|
+ item.setStlTtlAmount(new BigDecimal("0.00"));
|
|
|
item.setInvoiceBillId(null);
|
|
|
item.setInvoiceBillNo(null);
|
|
|
item.setInvoiceNo(null);
|