1.修改订单同步状态值更新

master
MrZhai 3 years ago
parent de473eb6c5
commit e3f2a08218

@ -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);
}

Loading…
Cancel
Save