Showing
1 changed file
with
1 additions
and
3 deletions
| ... | ... | @@ -7,8 +7,6 @@ import com.lframework.starter.web.core.utils.PageResultUtil; |
| 7 | 7 | import com.lframework.starter.web.core.components.resp.PageResult; |
| 8 | 8 | import com.lframework.starter.web.core.components.resp.InvokeResult; |
| 9 | 9 | import javax.validation.constraints.NotBlank; |
| 10 | - | |
| 11 | -import com.lframework.xingyun.sc.bo.shipments.car.GetDraftRequestCarTicketBo; | |
| 12 | 10 | import com.lframework.xingyun.sc.bo.shipments.delay.GetDelayedShipmentBo; |
| 13 | 11 | import com.lframework.xingyun.sc.entity.DelayedShipment; |
| 14 | 12 | import com.lframework.xingyun.sc.entity.DelayedShipmentDetail; |
| ... | ... | @@ -135,7 +133,7 @@ public class DelayedShipmentController extends DefaultBaseController { |
| 135 | 133 | @ApiOperation("取消") |
| 136 | 134 | @HasPermission({"shipping-plan-manage:delay-invoice:cancel"}) |
| 137 | 135 | @GetMapping("/cancel") |
| 138 | - public InvokeResult<Void> cancel(@Valid String id) { | |
| 136 | + public InvokeResult<Void> cancel(@NotBlank(message = "id不能为空!") String id) { | |
| 139 | 137 | |
| 140 | 138 | delayedShipmentService.updateStatus(id, "CANCEL"); |
| 141 | 139 | ... | ... |