批量生成调度工单
This commit is contained in:
parent
98c5d661d7
commit
8355ee14a2
@ -84,7 +84,6 @@ public class EbikeBikeOrder implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 处理状态: 0-未处理 1-已接单 2-已处理 3-作废
|
* 处理状态: 0-未处理 1-已接单 2-已处理 3-作废
|
||||||
*/
|
*/
|
||||||
@Column(onInsertValue = "0")
|
|
||||||
private Integer handleState;
|
private Integer handleState;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -205,6 +205,7 @@ public class EbikeBikeOrderServiceImpl extends ServiceImpl<EbikeBikeOrderMapper,
|
|||||||
.orderType(BikeOrderType.DISPATCH)
|
.orderType(BikeOrderType.DISPATCH)
|
||||||
.operatorId(bikeInfo.getOperatorId())
|
.operatorId(bikeInfo.getOperatorId())
|
||||||
.dispatchState(OrderDispatchState.PROCESSED)
|
.dispatchState(OrderDispatchState.PROCESSED)
|
||||||
|
.handleState(OrderHandleState.UNPROCESSED)
|
||||||
.build();
|
.build();
|
||||||
this.mapper.insert(ebikeBikeOrder);
|
this.mapper.insert(ebikeBikeOrder);
|
||||||
//TODO:车辆状态
|
//TODO:车辆状态
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user