换电
This commit is contained in:
parent
440f64f4b1
commit
3c1465609c
@ -133,6 +133,7 @@ public class EbikeBikeOrderServiceImpl extends ServiceImpl<EbikeBikeOrderMapper,
|
||||
.build();
|
||||
if (acceptOrder){
|
||||
ebikeBikeOrder.setReceiverId(StpUtil.getLoginIdAsLong());
|
||||
ebikeBikeOrder.setHandleState(OrderHandleState.ACCEPTED);
|
||||
}
|
||||
this.mapper.insert(ebikeBikeOrder);
|
||||
//换电不处理车辆状态,电量低时用户不允许开锁
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user