Compare commits
2 Commits
3e721b0e18
...
f63911eaee
| Author | SHA256 | Date | |
|---|---|---|---|
| f63911eaee | |||
| 317c6cca65 |
@ -922,9 +922,10 @@ public class EbikeBikeOrderServiceImpl extends ServiceImpl<EbikeBikeOrderMapper,
|
|||||||
.where(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.ACCEPTED).or(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.UNPROCESSED)))
|
.where(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.ACCEPTED).or(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.UNPROCESSED)))
|
||||||
.where(EBIKE_BIKE_ORDER.ORDER_TYPE.eq(BikeOrderType.DISPATCH));
|
.where(EBIKE_BIKE_ORDER.ORDER_TYPE.eq(BikeOrderType.DISPATCH));
|
||||||
List<EbikeBikeOrder> list = list(queryWrapper);
|
List<EbikeBikeOrder> list = list(queryWrapper);
|
||||||
if (list == null) {
|
if (list.isEmpty()) {
|
||||||
throw new EbikeException("列表中车辆工单均不存在或已作废");
|
throw new EbikeException("列表中车辆工单均不存在或已作废");
|
||||||
}
|
}
|
||||||
|
queryWrapper.clear();
|
||||||
EbikeDispatchConfiguration dispatchConfiguration = ebikeDispatchConfigurationMapper.selectOneByQuery(queryWrapper);
|
EbikeDispatchConfiguration dispatchConfiguration = ebikeDispatchConfigurationMapper.selectOneByQuery(queryWrapper);
|
||||||
for (EbikeBikeOrder bikeOrder : list) {
|
for (EbikeBikeOrder bikeOrder : list) {
|
||||||
bikeOrder.setSiteId(dispatchVo.getSiteId());
|
bikeOrder.setSiteId(dispatchVo.getSiteId());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user