mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
分堆打包-空包裹数据无法封包,新增分配用户接口
This commit is contained in:
+10
-1
@@ -309,12 +309,16 @@ public class PackServiceImpl implements PackService {
|
||||
|
||||
}
|
||||
|
||||
|
||||
return typeConversion(orderPackageDO);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(reqVO.getAddPartsIdList().isEmpty() && reqVO.getAddPlateIdList().isEmpty() && reqVO.getDeletePartsIdList().isEmpty()){
|
||||
throw exception(PART_PACK_DATA_ERROR);
|
||||
}
|
||||
|
||||
|
||||
OrderPackageDO orderPackageDO = orderPackageMapper.selectByPackId(reqVO.getPackId(),reqVO.getOrderId(), getUserOrganId());
|
||||
|
||||
AssertUtils.notEmpty(orderPackageDO,ORDER_PACK_DATA_ERROR);
|
||||
@@ -432,6 +436,11 @@ public class PackServiceImpl implements PackService {
|
||||
}
|
||||
|
||||
|
||||
if(packageVO.getAddPlateIdList().isEmpty() && packageVO.getAddPartsIdList().isEmpty() && packageVO.getDeletePlateIdList().isEmpty()){
|
||||
throw exception(PART_PACK_DATA_ERROR);
|
||||
}
|
||||
|
||||
|
||||
OrderPackageDO orderPackageDO = orderPackageMapper.selectByPackId(packageVO.getPackId(),packageVO.getOrderId(), getUserOrganId());
|
||||
|
||||
AssertUtils.notEmpty(orderPackageDO,ORDER_PACK_DATA_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user