Commit fb9b9ce4 authored by liuzeheng's avatar liuzeheng

修改提示

parent e0042f37
...@@ -152,6 +152,8 @@ public class BoxPkgOrderServiceImpl extends AbstractService<BoxPkgOrderMapper, B ...@@ -152,6 +152,8 @@ public class BoxPkgOrderServiceImpl extends AbstractService<BoxPkgOrderMapper, B
} }
} }
}else{
throw exception(ORDER_CASE_NUM_NOT_EXIST);
} }
// Long orderId = orderService.getOrderIdByOrderNo(orderNumber); // Long orderId = orderService.getOrderIdByOrderNo(orderNumber);
...@@ -210,19 +212,9 @@ public class BoxPkgOrderServiceImpl extends AbstractService<BoxPkgOrderMapper, B ...@@ -210,19 +212,9 @@ public class BoxPkgOrderServiceImpl extends AbstractService<BoxPkgOrderMapper, B
} }
} }
}else { }else {
throw exception(ErrorCodeConstants.ORDER_NOT_EXISTS); throw exception(ORDER_CASE_NUM_NOT_EXIST);
} }
// Long orderId = orderService.getOrderIdByOrderNo(createReqVO.getOrderNo());
// vo.setOrderId(orderId);
// //BoxMergePkgDO boxMergePkgDO = boxMergePkgService.selectOne(new LambdaQueryWrapperX<BoxMergePkgDO>().eq(BoxMergePkgDO::getPkgNum,createReqVO.getPkgNum()));
// vo.setPkgId(boxMergePkgDO.getId()) ;
// BoxPkgOrderDO pkgOrderDO = boxPkgOrderMapper.selectOne(new LambdaQueryWrapperX<BoxPkgOrderDO>().eq(BoxPkgOrderDO::getOrderId,orderId).eq(BoxPkgOrderDO::getPkgId,boxMergePkgDO.getId()));
// if(pkgOrderDO!=null){
// throw exception(ORDER_IS_PRE_INSTALLED);
// }
// if(vo.getOrderId()!=null && vo.getPkgId()!=null){//订单和包裹id 不为空,调用装箱方法
// this.create(vo);
// }
} }
// 返回 // 返回
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment