|
|
@@ -75,34 +75,35 @@ import java.util.stream.Collectors;
|
|
|
@Slf4j
|
|
|
public class OrderService {
|
|
|
|
|
|
- private OrderRepo orderRepo;
|
|
|
- private CollectionRepo collectionRepo;
|
|
|
- private UserAddressRepo userAddressRepo;
|
|
|
- private UserRepo userRepo;
|
|
|
- private Environment env;
|
|
|
- private AlipayClient alipayClient;
|
|
|
- private AlipayProperties alipayProperties;
|
|
|
- private WxPayService wxPayService;
|
|
|
- private WxPayProperties wxPayProperties;
|
|
|
- private AssetService assetService;
|
|
|
- private SysConfigService sysConfigService;
|
|
|
- private AssetRepo assetRepo;
|
|
|
- private UserCouponRepo userCouponRepo;
|
|
|
- private CollectionService collectionService;
|
|
|
- private CommissionRecordRepo commissionRecordRepo;
|
|
|
- private AdapayProperties adapayProperties;
|
|
|
- private GeneralProperties generalProperties;
|
|
|
- private RocketMQTemplate rocketMQTemplate;
|
|
|
+ private OrderRepo orderRepo;
|
|
|
+ private CollectionRepo collectionRepo;
|
|
|
+ private UserAddressRepo userAddressRepo;
|
|
|
+ private UserRepo userRepo;
|
|
|
+ private Environment env;
|
|
|
+ private AlipayClient alipayClient;
|
|
|
+ private AlipayProperties alipayProperties;
|
|
|
+ private WxPayService wxPayService;
|
|
|
+ private WxPayProperties wxPayProperties;
|
|
|
+ private AssetService assetService;
|
|
|
+ private SysConfigService sysConfigService;
|
|
|
+ private AssetRepo assetRepo;
|
|
|
+ private UserCouponRepo userCouponRepo;
|
|
|
+ private CollectionService collectionService;
|
|
|
+ private CommissionRecordRepo commissionRecordRepo;
|
|
|
+ private AdapayProperties adapayProperties;
|
|
|
+ private GeneralProperties generalProperties;
|
|
|
+ private RocketMQTemplate rocketMQTemplate;
|
|
|
private RedisTemplate<String, Object> redisTemplate;
|
|
|
- private SnowflakeIdWorker snowflakeIdWorker;
|
|
|
- private SmsService smsService;
|
|
|
- private ErrorOrderRepo errorOrderRepo;
|
|
|
- private ShowCollectionRepo showCollectionRepo;
|
|
|
- private ShowroomService showroomService;
|
|
|
- private CollectionPrivilegeRepo collectionPrivilegeRepo;
|
|
|
- private UserBankCardRepo userBankCardRepo;
|
|
|
- private CacheService cacheService;
|
|
|
- private UserPropertyRepo userPropertyRepo;
|
|
|
+ private SnowflakeIdWorker snowflakeIdWorker;
|
|
|
+ private SmsService smsService;
|
|
|
+ private ErrorOrderRepo errorOrderRepo;
|
|
|
+ private ShowCollectionRepo showCollectionRepo;
|
|
|
+ private ShowroomService showroomService;
|
|
|
+ private CollectionPrivilegeRepo collectionPrivilegeRepo;
|
|
|
+ private UserBankCardRepo userBankCardRepo;
|
|
|
+ private IdentityAuthRepo identityAuthRepo;
|
|
|
+ private CacheService cacheService;
|
|
|
+ private UserPropertyRepo userPropertyRepo;
|
|
|
|
|
|
public Page<Order> all(PageQuery pageQuery) {
|
|
|
return orderRepo.findAll(JpaUtils.toSpecification(pageQuery, Order.class), JpaUtils.toPageRequest(pageQuery));
|