|
@@ -4,8 +4,11 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.futu.course.shop.domain.Shop;
|
|
|
import com.futu.course.shop.service.ShopService;
|
|
|
import com.futu.course.shop.mapper.ShopMapper;
|
|
|
+import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
/**
|
|
|
* @author yuu
|
|
|
* @description 针对表【shop(店铺表)】的数据库操作Service实现
|
|
@@ -15,6 +18,9 @@ import org.springframework.stereotype.Service;
|
|
|
public class ShopServiceImpl extends ServiceImpl<ShopMapper, Shop>
|
|
|
implements ShopService{
|
|
|
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ RedisTemplate redisTemplate;
|
|
|
}
|
|
|
|
|
|
|