|
@@ -2752,8 +2752,9 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
|
|
|
// 根据装运单ID查询钢坯临时表
|
|
|
List<BilletAutoTmp> billetAutoTmpList = billetAutoTmpService.list(new LambdaQueryWrapper<BilletAutoTmp>()
|
|
|
.eq(BilletAutoTmp::getStorageBillId, storageBill.getId()));
|
|
|
- if (oConvertUtils.listIsEmpty(billetAutoTmpList) || "1024".equals(storageBill.getTypeConfigId())){
|
|
|
- result.put("fail", "钢坯轧钢外运未知目的地明细不存在!");
|
|
|
+ if (oConvertUtils.listIsEmpty(billetAutoTmpList)){
|
|
|
+ baseMapper.updateById(storageBill);
|
|
|
+ result.put("fail", "钢坯轧钢外运未知目的地明细不存在,更新目的地成功!");
|
|
|
return result;
|
|
|
}
|
|
|
billetAutoTmpList.forEach(x ->{
|