批量生成调度工单

This commit is contained in:
PC 2026-01-19 16:52:47 +08:00
parent 98c5d661d7
commit 8355ee14a2
2 changed files with 1 additions and 1 deletions

View File

@ -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;
/** /**

View File

@ -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:车辆状态