|
|
|
@ -78,7 +78,11 @@ public class IOOrderStatusController {
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
}
|
|
|
|
|
boolean b = ioOrderStatusService.deleteByOrderId(orderStatusFilterRequest.getOrderId());
|
|
|
|
|
//boolean b = ioOrderStatusService.deleteByOrderId(orderStatusFilterRequest.getOrderId());
|
|
|
|
|
IOOrderStatusEntity ioOrderStatusEntity = new IOOrderStatusEntity();
|
|
|
|
|
ioOrderStatusEntity.setOrderId(orderStatusFilterRequest.getOrderId());
|
|
|
|
|
ioOrderStatusEntity.setStatus(orderStatusFilterRequest.getStatus());
|
|
|
|
|
boolean b = ioOrderStatusService.updateOrderStatus(ioOrderStatusEntity);
|
|
|
|
|
if (!b) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
|
|
|
|
|
}
|
|
|
|
|