|
@@ -114,13 +114,14 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
|
|
|
storageBill.setLicensePlateStatus(0);
|
|
|
int carNum = calculateCarNum(ccmNo, licensePlate, shiftGroup, shift);
|
|
|
storageBill.setCarNum(carNum + 1);
|
|
|
+ storageBill.setLicensePlate(licensePlate);
|
|
|
}else {
|
|
|
storageBill.setLicensePlateStatus(1);
|
|
|
storageBill.setCarNum(0);
|
|
|
+ storageBill.setLicensePlate("");
|
|
|
}
|
|
|
log.info("{}{}", "C端自动化新增装运单对象信息:", JSON.toJSON(storageBill));
|
|
|
}
|
|
|
- storageBill.setLicensePlate(licensePlate);
|
|
|
}else {
|
|
|
storageBill.setLicensePlate("");
|
|
|
storageBill.setCarNum(0);
|
|
@@ -204,11 +205,12 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
|
|
|
int carNum = calculateCarNum(ccmNo, licensePlate, isStorageBill.getShiftGroup(), isStorageBill.getShift());
|
|
|
isStorageBill.setCarNum(carNum + 1);
|
|
|
log.info("{}{}", "C端自动化更新车牌,本车车次序号:", isStorageBill.getCarNum());
|
|
|
+ isStorageBill.setLicensePlate(licensePlate);
|
|
|
}else {
|
|
|
isStorageBill.setLicensePlateStatus(1);
|
|
|
+ isStorageBill.setLicensePlate("");
|
|
|
}
|
|
|
}
|
|
|
- isStorageBill.setLicensePlate(licensePlate);
|
|
|
baseMapper.updateById(isStorageBill);
|
|
|
log.info("{}{}", "C端自动化钢坯装运单车牌号更新成功: ", JSON.toJSON(isStorageBill));
|
|
|
}
|