提交 b27cce0b authored 作者: hzh's avatar hzh

代码优化

上级 937f0e1e
package org.dromara.order.base; package org.dromara.common.mybatis.service;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
......
package org.dromara.order.base; package org.dromara.common.mybatis.service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
......
package org.dromara.order.service; package org.dromara.order.service;
import org.dromara.order.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.order.domain.OrderFee; import org.dromara.order.domain.OrderFee;
import org.dromara.order.domain.bo.OrderFeeBo; import org.dromara.order.domain.bo.OrderFeeBo;
import org.dromara.order.domain.vo.OrderFeeVo; import org.dromara.order.domain.vo.OrderFeeVo;
......
package org.dromara.order.service; package org.dromara.order.service;
import org.dromara.order.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.order.domain.Order; import org.dromara.order.domain.Order;
import org.dromara.order.domain.bo.OrderBo; import org.dromara.order.domain.bo.OrderBo;
import org.dromara.order.domain.vo.OrderVo; import org.dromara.order.domain.vo.OrderVo;
......
package org.dromara.order.service; package org.dromara.order.service;
import org.dromara.order.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.order.domain.OrderTrade; import org.dromara.order.domain.OrderTrade;
import org.dromara.order.domain.bo.OrderTradeBo; import org.dromara.order.domain.bo.OrderTradeBo;
import org.dromara.order.domain.vo.OrderTradeVo; import org.dromara.order.domain.vo.OrderTradeVo;
......
...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.order.base.AbstractBaseService; import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.order.domain.OrderFee; import org.dromara.order.domain.OrderFee;
import org.dromara.order.domain.bo.OrderFeeBo; import org.dromara.order.domain.bo.OrderFeeBo;
import org.dromara.order.domain.vo.OrderFeeVo; import org.dromara.order.domain.vo.OrderFeeVo;
......
...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.order.base.AbstractBaseService; import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.order.domain.Order; import org.dromara.order.domain.Order;
import org.dromara.order.domain.bo.OrderBo; import org.dromara.order.domain.bo.OrderBo;
import org.dromara.order.domain.vo.OrderVo; import org.dromara.order.domain.vo.OrderVo;
......
...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.order.base.AbstractBaseService; import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.order.domain.OrderTrade; import org.dromara.order.domain.OrderTrade;
import org.dromara.order.domain.bo.OrderTradeBo; import org.dromara.order.domain.bo.OrderTradeBo;
import org.dromara.order.domain.vo.OrderTradeVo; import org.dromara.order.domain.vo.OrderTradeVo;
......
package org.dromara.server.base;
import cn.hutool.core.collection.CollectionUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.dromara.common.core.utils.MapstructUtils;
import org.dromara.common.core.utils.reflect.GenericsUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import java.util.Collection;
import java.util.List;
/**
* @author hzh
* @date 2024-11-18
**/
public abstract class AbstractBaseService<V, B, T> implements IBaseService<V, B, T> {
@Override
public abstract BaseMapperPlus<T, V> mapper();
@Override
public V queryById(Long id) {
return mapper().selectVoById(id);
}
@Override
public TableDataInfo<V> queryPageList(B bo, PageQuery pageQuery) {
LambdaQueryWrapper<T> lqw = buildQueryWrapper(bo);
Page<V> result = mapper().selectVoPage(pageQuery.build(), lqw);
return TableDataInfo.build(result);
}
@Override
public List<V> queryList(B bo) {
LambdaQueryWrapper<T> lqw = buildQueryWrapper(bo);
return mapper().selectVoList(lqw);
}
@Override
public V queryOne(B bo) {
LambdaQueryWrapper<T> lqw = buildQueryWrapper(bo);
List<V> list = mapper().selectVoList(lqw);
return CollectionUtil.isEmpty(list) ? null : list.get(0);
}
@Override
public Boolean insertByBo(B bo) {
Class<T> clazz = (Class<T>) GenericsUtils.getSuperClassGenricType(this.getClass(), 2);
T add = MapstructUtils.convert(bo, clazz);
validEntityBeforeSave(add);
boolean flag = mapper().insert(add) > 0;
return flag;
}
@Override
public Boolean updateByBo(B bo) {
Class<T> clazz = (Class<T>) GenericsUtils.getSuperClassGenricType(this.getClass(), 2);
T update = MapstructUtils.convert(bo, clazz);
validEntityBeforeSave(update);
return mapper().updateById(update) > 0;
}
@Override
public LambdaQueryWrapper<T> buildQueryWrapper(B bo) {
LambdaQueryWrapper<T> lqw = Wrappers.lambdaQuery();
return lqw;
}
@Override
public Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid) {
if (isValid) {
validIdsBeforeDelete(ids);
}
return mapper().deleteByIds(ids) > 0;
}
@Override
public void validIdsBeforeDelete(Collection<Long> ids) {
}
}
package org.dromara.server.base;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import java.util.Collection;
import java.util.List;
/**
* @author wenhe
*/
public interface IBaseService<V, B, T> {
/**
* 详情
*
* @param id 主键
* @return 详情
*/
V queryById(Long id);
/**
* 分页查询活动机票订单列表
*
* @param bo 查询条件
* @param pageQuery 分页参数
* @return 活动机票订单分页列表
*/
TableDataInfo<V> queryPageList(B bo, PageQuery pageQuery);
/**
* 查询符合条件的列表
*
* @param bo 查询条件
* @return 列表
*/
List<V> queryList(B bo);
/**
* 查询符合条件的对象
* @param bo 查询条件
* @return 对象
*/
V queryOne(B bo);
/**
* 新增
*
* @param bo bo
* @return 是否新增成功
*/
Boolean insertByBo(B bo);
/**
* 修改
*
* @param bo bo
* @return 是否修改成功
*/
Boolean updateByBo(B bo);
/**
* 校验并批量删除
*
* @param ids 待删除的主键集合
* @param isValid 是否进行有效性校验
* @return 是否删除成功
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 删除之前校验id
*
* @param ids 待删除的主键集合
*/
default void validIdsBeforeDelete(Collection<Long> ids){
}
/**
* 构建查询条件
*
* @param bo bo
* @return 查询条件
*/
LambdaQueryWrapper<T> buildQueryWrapper(B bo);
/**
* 保存之前校验实体
*
* @param entity 实体
*/
default void validEntityBeforeSave(T entity){
}
default BaseMapperPlus mapper() {
return null;
}
}
...@@ -158,14 +158,14 @@ public class RemoteYsOrderServiceImpl implements RemoteYsOrderService { ...@@ -158,14 +158,14 @@ public class RemoteYsOrderServiceImpl implements RemoteYsOrderService {
log.info("支付成功后确认出票,orderType:{},orderNo:{}", orderType, orderNo); log.info("支付成功后确认出票,orderType:{},orderNo:{}", orderType, orderNo);
if (StringUtils.equals(orderType, OrderType.AIRPORT.getType())) { if (StringUtils.equals(orderType, OrderType.AIRPORT.getType())) {
//飞机票 //飞机票
Optional.ofNullable(orderAirportService.queryOne(new OrderAirportBo().setOrderNo(orderNo))).ifPresent(vo -> { Optional.ofNullable(orderAirportService.getOne(new OrderAirportBo().setOrderNo(orderNo))).ifPresent(vo -> {
//确认出票 //确认出票
airportService.confirmOrder(vo.getPersonCode(), new OrderConfirmModel().setOrderNo(orderNo).setAutoDraw(1)); airportService.confirmOrder(vo.getPersonCode(), new OrderConfirmModel().setOrderNo(orderNo).setAutoDraw(1));
orderAirportService.updateOrderInfo(List.of(orderNo)); orderAirportService.updateOrderInfo(List.of(orderNo));
}); });
} else if (StringUtils.equals(orderType, OrderType.TRAIN.getType())) { } else if (StringUtils.equals(orderType, OrderType.TRAIN.getType())) {
//火车票 //火车票
Optional.ofNullable(orderTrainService.queryOne(new OrderTrainBo().setOrderNo(orderNo))).ifPresent(vo -> { Optional.ofNullable(orderTrainService.getOne(new OrderTrainBo().setOrderNo(orderNo))).ifPresent(vo -> {
//确认出票 //确认出票
trainService.confirmOrder(vo.getPersonCode(), new ConfirmOrderModel().setOrderNo(orderNo)); trainService.confirmOrder(vo.getPersonCode(), new ConfirmOrderModel().setOrderNo(orderNo));
orderTrainService.updateOrderInfo(List.of(orderNo)); orderTrainService.updateOrderInfo(List.of(orderNo));
...@@ -174,7 +174,7 @@ public class RemoteYsOrderServiceImpl implements RemoteYsOrderService { ...@@ -174,7 +174,7 @@ public class RemoteYsOrderServiceImpl implements RemoteYsOrderService {
} else if (StringUtils.equals(orderType, OrderType.HOTEL.getType())) { } else if (StringUtils.equals(orderType, OrderType.HOTEL.getType())) {
//酒店 //酒店
Optional.ofNullable(orderHotelService.queryOne(new OrderHotelBo().setOrderNo(orderNo))).ifPresent(vo -> { Optional.ofNullable(orderHotelService.getOne(new OrderHotelBo().setOrderNo(orderNo))).ifPresent(vo -> {
//确认出票 //确认出票
hotelService.orderPay(vo.getPersonCode(), new PayOrderModel().setOrderNo(orderNo)); hotelService.orderPay(vo.getPersonCode(), new PayOrderModel().setOrderNo(orderNo));
orderHotelService.updateOrderInfo(List.of(orderNo)); orderHotelService.updateOrderInfo(List.of(orderNo));
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.Apply; import org.dromara.server.domain.Apply;
import org.dromara.server.domain.bo.ApplyApproveBo; import org.dromara.server.domain.bo.ApplyApproveBo;
import org.dromara.server.domain.bo.ApplyBo; import org.dromara.server.domain.bo.ApplyBo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.BizUser; import org.dromara.server.domain.BizUser;
import org.dromara.server.domain.bo.BizUserBo; import org.dromara.server.domain.bo.BizUserBo;
import org.dromara.server.domain.vo.BizUserVo; import org.dromara.server.domain.vo.BizUserVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderAirportRefund; import org.dromara.server.domain.OrderAirportRefund;
import org.dromara.server.domain.bo.OrderAirportRefundBo; import org.dromara.server.domain.bo.OrderAirportRefundBo;
import org.dromara.server.domain.vo.OrderAirportRefundVo; import org.dromara.server.domain.vo.OrderAirportRefundVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderAirport; import org.dromara.server.domain.OrderAirport;
import org.dromara.server.domain.bo.OrderAirportBo; import org.dromara.server.domain.bo.OrderAirportBo;
import org.dromara.server.domain.vo.OrderAirportVo; import org.dromara.server.domain.vo.OrderAirportVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderHotel; import org.dromara.server.domain.OrderHotel;
import org.dromara.server.domain.bo.OrderHotelBo; import org.dromara.server.domain.bo.OrderHotelBo;
import org.dromara.server.domain.vo.OrderHotelVo; import org.dromara.server.domain.vo.OrderHotelVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderTrainRefund; import org.dromara.server.domain.OrderTrainRefund;
import org.dromara.server.domain.bo.OrderTrainRefundBo; import org.dromara.server.domain.bo.OrderTrainRefundBo;
import org.dromara.server.domain.vo.OrderTrainRefundVo; import org.dromara.server.domain.vo.OrderTrainRefundVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderTrain; import org.dromara.server.domain.OrderTrain;
import org.dromara.server.domain.bo.OrderTrainBo; import org.dromara.server.domain.bo.OrderTrainBo;
import org.dromara.server.domain.vo.OrderTrainVo; import org.dromara.server.domain.vo.OrderTrainVo;
......
package org.dromara.server.service; package org.dromara.server.service;
import org.dromara.server.base.IBaseService; import org.dromara.common.mybatis.service.IBaseService;
import org.dromara.server.domain.OrderVehicles; import org.dromara.server.domain.OrderVehicles;
import org.dromara.server.domain.bo.OrderVehiclesBo; import org.dromara.server.domain.bo.OrderVehiclesBo;
import org.dromara.server.domain.vo.OrderVehiclesVo; import org.dromara.server.domain.vo.OrderVehiclesVo;
......
...@@ -10,8 +10,8 @@ import org.dromara.common.core.utils.StringUtils; ...@@ -10,8 +10,8 @@ import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.satoken.utils.LoginHelper; import org.dromara.common.satoken.utils.LoginHelper;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.constant.ApplyStatus; import org.dromara.server.constant.ApplyStatus;
import org.dromara.server.domain.Apply; import org.dromara.server.domain.Apply;
import org.dromara.server.domain.ApplyApprove; import org.dromara.server.domain.ApplyApprove;
......
...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.server.base.AbstractBaseService; import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.server.domain.BizUser; import org.dromara.server.domain.BizUser;
import org.dromara.server.domain.bo.BizUserBo; import org.dromara.server.domain.bo.BizUserBo;
import org.dromara.server.domain.vo.BizUserVo; import org.dromara.server.domain.vo.BizUserVo;
......
...@@ -8,13 +8,13 @@ import lombok.RequiredArgsConstructor; ...@@ -8,13 +8,13 @@ import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StreamUtils; import org.dromara.common.core.utils.StreamUtils;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.model.res.airport.OrderRefundDetailModel; import org.dromara.common.ys.model.res.airport.OrderRefundDetailModel;
import org.dromara.common.ys.model.res.airport.other.InsuranceInfoBean; import org.dromara.common.ys.model.res.airport.other.InsuranceInfoBean;
import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean;
import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean;
import org.dromara.common.ys.model.res.airport.other.OrderRangeInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderRangeInfoBean;
import org.dromara.common.ys.service.IAirportService; import org.dromara.common.ys.service.IAirportService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.*; import org.dromara.server.domain.*;
import org.dromara.server.domain.bo.OrderAirportRefundBo; import org.dromara.server.domain.bo.OrderAirportRefundBo;
import org.dromara.server.domain.vo.OrderAirportRefundVo; import org.dromara.server.domain.vo.OrderAirportRefundVo;
......
...@@ -10,10 +10,10 @@ import org.dromara.common.core.utils.StringUtils; ...@@ -10,10 +10,10 @@ import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.model.res.airport.QueryTkOrderModel; import org.dromara.common.ys.model.res.airport.QueryTkOrderModel;
import org.dromara.common.ys.model.res.airport.other.*; import org.dromara.common.ys.model.res.airport.other.*;
import org.dromara.common.ys.service.IAirportService; import org.dromara.common.ys.service.IAirportService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.*; import org.dromara.server.domain.*;
import org.dromara.server.domain.bo.OrderAirportBo; import org.dromara.server.domain.bo.OrderAirportBo;
import org.dromara.server.domain.vo.OrderAirportRangeVo; import org.dromara.server.domain.vo.OrderAirportRangeVo;
......
...@@ -8,13 +8,13 @@ import lombok.RequiredArgsConstructor; ...@@ -8,13 +8,13 @@ import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StreamUtils; import org.dromara.common.core.utils.StreamUtils;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean;
import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean;
import org.dromara.common.ys.model.res.hotel.HotelOrderQueryDetailModel; import org.dromara.common.ys.model.res.hotel.HotelOrderQueryDetailModel;
import org.dromara.common.ys.model.res.hotel.bean.HotelOrderPriceInfoBean; import org.dromara.common.ys.model.res.hotel.bean.HotelOrderPriceInfoBean;
import org.dromara.common.ys.model.res.hotel.bean.HotelOrderPsgInfoBean; import org.dromara.common.ys.model.res.hotel.bean.HotelOrderPsgInfoBean;
import org.dromara.common.ys.service.IHotelService; import org.dromara.common.ys.service.IHotelService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.*; import org.dromara.server.domain.*;
import org.dromara.server.domain.bo.OrderHotelBo; import org.dromara.server.domain.bo.OrderHotelBo;
import org.dromara.server.domain.vo.OrderHotelVo; import org.dromara.server.domain.vo.OrderHotelVo;
......
...@@ -8,6 +8,7 @@ import lombok.RequiredArgsConstructor; ...@@ -8,6 +8,7 @@ import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.StreamUtils; import org.dromara.common.core.utils.StreamUtils;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.common.PageInfo; import org.dromara.common.ys.common.PageInfo;
import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean;
import org.dromara.common.ys.model.res.train.OrderRefundDetailModel; import org.dromara.common.ys.model.res.train.OrderRefundDetailModel;
...@@ -16,7 +17,6 @@ import org.dromara.common.ys.model.res.train.bean.BusinessInfo; ...@@ -16,7 +17,6 @@ import org.dromara.common.ys.model.res.train.bean.BusinessInfo;
import org.dromara.common.ys.model.res.train.bean.BxOrderInfoBean; import org.dromara.common.ys.model.res.train.bean.BxOrderInfoBean;
import org.dromara.common.ys.model.res.train.bean.TrRefundticketInfoBean; import org.dromara.common.ys.model.res.train.bean.TrRefundticketInfoBean;
import org.dromara.common.ys.service.ITrainService; import org.dromara.common.ys.service.ITrainService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.*; import org.dromara.server.domain.*;
import org.dromara.server.domain.bo.OrderTrainRefundBo; import org.dromara.server.domain.bo.OrderTrainRefundBo;
import org.dromara.server.domain.vo.OrderTrainRefundVo; import org.dromara.server.domain.vo.OrderTrainRefundVo;
......
...@@ -10,15 +10,15 @@ import org.dromara.common.core.utils.StringUtils; ...@@ -10,15 +10,15 @@ import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.model.req.train.OrderQueryModel; import org.dromara.common.ys.model.req.train.OrderQueryModel;
import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean;
import org.dromara.common.ys.model.res.train.*; import org.dromara.common.ys.model.res.train.OrderInfoModel;
import org.dromara.common.ys.model.res.train.bean.BusinessInfo; import org.dromara.common.ys.model.res.train.bean.BusinessInfo;
import org.dromara.common.ys.model.res.train.bean.PayInfo; import org.dromara.common.ys.model.res.train.bean.PayInfo;
import org.dromara.common.ys.model.res.train.bean.RangeInfo; import org.dromara.common.ys.model.res.train.bean.RangeInfo;
import org.dromara.common.ys.model.res.train.bean.TicketInfo; import org.dromara.common.ys.model.res.train.bean.TicketInfo;
import org.dromara.common.ys.service.ITrainService; import org.dromara.common.ys.service.ITrainService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.*; import org.dromara.server.domain.*;
import org.dromara.server.domain.bo.OrderTrainBo; import org.dromara.server.domain.bo.OrderTrainBo;
import org.dromara.server.domain.vo.OrderTrainRangeVo; import org.dromara.server.domain.vo.OrderTrainRangeVo;
......
...@@ -10,11 +10,11 @@ import org.dromara.common.core.utils.StringUtils; ...@@ -10,11 +10,11 @@ import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.service.AbstractBaseService;
import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderBusinessInfoBean;
import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean; import org.dromara.common.ys.model.res.airport.other.OrderPayInfoBean;
import org.dromara.common.ys.model.res.vehicles.OrderDetailModel; import org.dromara.common.ys.model.res.vehicles.OrderDetailModel;
import org.dromara.common.ys.service.IVehiclesService; import org.dromara.common.ys.service.IVehiclesService;
import org.dromara.server.base.AbstractBaseService;
import org.dromara.server.domain.BizUser; import org.dromara.server.domain.BizUser;
import org.dromara.server.domain.OrderVehicles; import org.dromara.server.domain.OrderVehicles;
import org.dromara.server.domain.OrderVehiclesBusiness; import org.dromara.server.domain.OrderVehiclesBusiness;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论