|
@@ -427,6 +427,7 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
|
|
public JSONObject addParkingSpaceDepart(StorageBill storageBill) {
|
|
public JSONObject addParkingSpaceDepart(StorageBill storageBill) {
|
|
JSONObject result = new JSONObject();
|
|
JSONObject result = new JSONObject();
|
|
try {
|
|
try {
|
|
|
|
+ log.info("{}{}", "前端传递的装运单信息:", JSON.toJSON(storageBill));
|
|
// 根据装运单ID,校验钢坯装运单是否存在
|
|
// 根据装运单ID,校验钢坯装运单是否存在
|
|
StorageBill storageBillInfo = baseMapper.selectById(storageBill.getId());
|
|
StorageBill storageBillInfo = baseMapper.selectById(storageBill.getId());
|
|
if (storageBillInfo == null){
|
|
if (storageBillInfo == null){
|
|
@@ -436,9 +437,8 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
|
|
List<RollClubCommon> rollClubCommonList = new ArrayList<>();
|
|
List<RollClubCommon> rollClubCommonList = new ArrayList<>();
|
|
List<BilletAutoTmp> billetAutoTmpList = new ArrayList<>();
|
|
List<BilletAutoTmp> billetAutoTmpList = new ArrayList<>();
|
|
if ("上若".equals(storageBillInfo.getDestination()) && "16".equals(storageBillInfo.getTypeConfigId())){
|
|
if ("上若".equals(storageBillInfo.getDestination()) && "16".equals(storageBillInfo.getTypeConfigId())){
|
|
- List<RollOutShippDetails> rollOutShippDetailsList = rollOutShippDetailsService.list(new LambdaQueryWrapper<RollOutShippDetails>()
|
|
|
|
- .eq(RollOutShippDetails::getStorageBillId, storageBill.getId()));
|
|
|
|
- if (oConvertUtils.listIsEmpty(billetAutoTmpList)){
|
|
|
|
|
|
+ List<RollOutShippDetails> rollOutShippDetailsList = rollOutShippDetailsService.list(new LambdaQueryWrapper<RollOutShippDetails>().eq(RollOutShippDetails::getStorageBillId, storageBill.getId()));
|
|
|
|
+ if (oConvertUtils.listIsEmpty(rollOutShippDetailsList)){
|
|
result.put("fail", "去上若钢坯装运明细不存在,车位发车失败!");
|
|
result.put("fail", "去上若钢坯装运明细不存在,车位发车失败!");
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|