yshop2.0.1微信公众号与支付配置新增redis标识解决必须api模块必须重启配置才能生效的问题
This commit is contained in:
@ -38,6 +38,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@ -56,24 +57,35 @@ import java.util.*;
|
||||
@Slf4j
|
||||
@Service
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class YxStoreCartServiceImpl extends BaseServiceImpl<YxStoreCartMapper, YxStoreCart> implements YxStoreCartService {
|
||||
|
||||
private final YxStoreCartMapper yxStoreCartMapper;
|
||||
private final YxStoreSeckillMapper storeSeckillMapper;
|
||||
private final YxStoreBargainMapper yxStoreBargainMapper;
|
||||
private final YxStoreCombinationMapper storeCombinationMapper;
|
||||
@Autowired
|
||||
private YxStoreCartMapper yxStoreCartMapper;
|
||||
@Autowired
|
||||
private YxStoreSeckillMapper storeSeckillMapper;
|
||||
@Autowired
|
||||
private YxStoreBargainMapper yxStoreBargainMapper;
|
||||
@Autowired
|
||||
private YxStoreCombinationMapper storeCombinationMapper;
|
||||
|
||||
private final YxStoreProductService productService;
|
||||
private final YxStoreProductAttrService productAttrService;
|
||||
private final YxStoreCombinationService storeCombinationService;
|
||||
private final YxStoreSeckillService storeSeckillService;
|
||||
private final YxStoreBargainService storeBargainService;
|
||||
private final YxStoreOrderService storeOrderService;
|
||||
private final YxUserService userService;
|
||||
@Autowired
|
||||
private YxStoreProductService productService;
|
||||
@Autowired
|
||||
private YxStoreProductAttrService productAttrService;
|
||||
@Autowired
|
||||
private YxStoreCombinationService storeCombinationService;
|
||||
@Autowired
|
||||
private YxStoreSeckillService storeSeckillService;
|
||||
@Autowired
|
||||
private YxStoreBargainService storeBargainService;
|
||||
@Autowired
|
||||
private YxStoreOrderService storeOrderService;
|
||||
@Autowired
|
||||
private YxUserService userService;
|
||||
|
||||
private final CartMap cartMap;
|
||||
@Autowired
|
||||
private CartMap cartMap;
|
||||
|
||||
/**
|
||||
* 删除购物车
|
||||
|
@ -31,6 +31,7 @@ import com.baomidou.mybatisplus.core.metadata.OrderItem;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@ -51,20 +52,27 @@ import java.util.Map;
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
@AllArgsConstructor
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class YxStoreProductServiceImpl extends BaseServiceImpl<YxStoreProductMapper, YxStoreProduct> implements YxStoreProductService {
|
||||
|
||||
private final YxStoreProductMapper yxStoreProductMapper;
|
||||
private final YxStoreProductAttrValueMapper storeProductAttrValueMapper;
|
||||
@Autowired
|
||||
private YxStoreProductMapper yxStoreProductMapper;
|
||||
@Autowired
|
||||
private YxStoreProductAttrValueMapper storeProductAttrValueMapper;
|
||||
|
||||
private final YxStoreProductAttrService storeProductAttrService;
|
||||
private final YxStoreProductRelationService relationService;
|
||||
private final YxStoreProductReplyService replyService;
|
||||
private final YxUserService userService;
|
||||
private final YxSystemStoreService systemStoreService;
|
||||
@Autowired
|
||||
private YxStoreProductAttrService storeProductAttrService;
|
||||
@Autowired
|
||||
private YxStoreProductRelationService relationService;
|
||||
@Autowired
|
||||
private YxStoreProductReplyService replyService;
|
||||
@Autowired
|
||||
private YxUserService userService;
|
||||
@Autowired
|
||||
private YxSystemStoreService systemStoreService;
|
||||
|
||||
private final YxStoreProductMap storeProductMap;
|
||||
@Autowired
|
||||
private YxStoreProductMap storeProductMap;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user