Compare commits
No commits in common. "f63911eaee5ae9b5b471ba833cb13d95287fbb2cd337cd1b1d0e1c7fffa83546" and "3e721b0e186608c8c2d067378b67fb3555aeab90221dbef17282c4ff7e09b26f" have entirely different histories.
f63911eaee
...
3e721b0e18
@ -922,10 +922,9 @@ 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.isEmpty()) {
|
if (list == null) {
|
||||||
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