|
|
@ -278,11 +278,11 @@ public class WareHouseController {
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
@GetMapping("warehouse/inout/submitOrderWeb")
|
|
|
|
@GetMapping("warehouse/inout/submitOrderWeb")
|
|
|
|
public BaseResponse submitOrderWeb(AddOrderRequest orderEntity) {
|
|
|
|
public BaseResponse submitOrderWeb(AddOrderRequest orderEntity) {
|
|
|
|
if (null != orderEntity) {
|
|
|
|
// if (null != orderEntity) {
|
|
|
|
if (StrUtil.isBlank(orderEntity.getInvWarehouseCode())) {
|
|
|
|
// if (StrUtil.isBlank(orderEntity.getInvWarehouseCode())) {
|
|
|
|
return ResultVOUtils.error(500, "分仓未选择");
|
|
|
|
// return ResultVOUtils.error(500, "分仓未选择");
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
orderService.updateOrderStatus(orderEntity.getOrderId(), ConstantStatus.ORDER_STATUS_PROCESS);
|
|
|
|
orderService.updateOrderStatus(orderEntity.getOrderId(), ConstantStatus.ORDER_STATUS_PROCESS);
|
|
|
|
return saveOrderWeb(orderEntity);
|
|
|
|
return saveOrderWeb(orderEntity);
|
|
|
|
}
|
|
|
|
}
|
|
|
|