Compare commits

..

No commits in common. "f63911eaee5ae9b5b471ba833cb13d95287fbb2cd337cd1b1d0e1c7fffa83546" and "3e721b0e186608c8c2d067378b67fb3555aeab90221dbef17282c4ff7e09b26f" have entirely different histories.

View File

@ -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.ORDER_TYPE.eq(BikeOrderType.DISPATCH));
List<EbikeBikeOrder> list = list(queryWrapper);
if (list.isEmpty()) {
if (list == null) {
throw new EbikeException("列表中车辆工单均不存在或已作废");
}
queryWrapper.clear();
EbikeDispatchConfiguration dispatchConfiguration = ebikeDispatchConfigurationMapper.selectOneByQuery(queryWrapper);
for (EbikeBikeOrder bikeOrder : list) {
bikeOrder.setSiteId(dispatchVo.getSiteId());