|
@@ -365,6 +365,22 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
billetLiftingBillUpdate.setAssemblyNumber(getAssemblyNumber(billetBasicInfoLists));
|
|
|
billetLiftingBillService.updateById(billetLiftingBillUpdate);
|
|
|
}
|
|
|
+ // 验证空的装运单
|
|
|
+ if (oConvertUtils.isEmpty(isStorageBill)) {
|
|
|
+ // 循环三次处理
|
|
|
+ for (int i = 0; i < 6; i++) {
|
|
|
+ // 延迟10秒
|
|
|
+ try {
|
|
|
+ Thread.sleep(10000);
|
|
|
+ } catch (InterruptedException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ isStorageBill = storageBillService.getOne(queryWrapper2);
|
|
|
+ if (!oConvertUtils.isEmpty(isStorageBill)){
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
// 钢坯装运单
|
|
|
if (oConvertUtils.isEmpty(isStorageBill)) {
|
|
|
log.info("未查询钢坯装运单信息,车位号为:{},C端自动化轧钢外运<保存>失败!", positionNum);
|