批量生成调度工单
This commit is contained in:
parent
8936827725
commit
8677287d2f
@ -152,7 +152,7 @@ public class EbikeBikeOrderController {
|
||||
/**
|
||||
* 批量生成调度工单。
|
||||
*
|
||||
* @param dispatchSwapVo 车辆编号
|
||||
* @param dispatchSwapVo 信息
|
||||
* @return 结果
|
||||
*/
|
||||
@PostMapping("dispatchSwapOrders")
|
||||
|
||||
@ -13,9 +13,16 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DispatchSwapVo {
|
||||
|
||||
/**
|
||||
* 车辆编号
|
||||
*/
|
||||
@NotNull(message = "车辆编号不能为空")
|
||||
private List<String> bikeCodes;
|
||||
|
||||
/**
|
||||
* 是否在创建的同时接单
|
||||
*/
|
||||
@NotNull(message = "是否接单不能为空")
|
||||
private Boolean acceptOrders;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user