product模块搭建

This commit is contained in:
2023-09-15 10:22:02 +08:00
parent 32d2af152e
commit 54f0e54a28
87 changed files with 1356 additions and 23 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.atguigu</groupId>
<artifactId>service</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>service-product</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

View File

@@ -0,0 +1,19 @@
package com.atguigu.ssyx;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* ClassName: ServiceProductApplication
* Package: com.atguigu.ssyx
*
* @author yovinchen
* @Create 2023/9/15 09:47
*/
@SpringBootApplication
public class ServiceProductApplication {
public static void main(String[] args) {
SpringApplication.run(ServiceProductApplication.class, args);
}
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 商品属性 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/attr")
public class AttrController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 属性分组 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/attr-group")
public class AttrGroupController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 三级分类表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/base-category-trademark")
public class BaseCategoryTrademarkController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 商品三级分类 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/category")
public class CategoryController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 商品评价 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/comment")
public class CommentController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 产品评价回复表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/comment-replay")
public class CommentReplayController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* mq去重表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/mq-repeat-record")
public class MqRepeatRecordController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 城市仓库关联表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/region-ware")
public class RegionWareController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* spu属性值 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-attr-value")
public class SkuAttrValueController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* spu属性值 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-detail")
public class SkuDetailController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 商品图片 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-image")
public class SkuImageController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* sku信息 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-info")
public class SkuInfoController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 商品海报表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-poster")
public class SkuPosterController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* sku的库存历史记录 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/sku-stock-history")
public class SkuStockHistoryController {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 仓库表 前端控制器
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@RestController
@RequestMapping("/product/ware")
public class WareController {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.AttrGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 属性分组 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface AttrGroupMapper extends BaseMapper<AttrGroup> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.Attr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商品属性 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface AttrMapper extends BaseMapper<Attr> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.BaseCategoryTrademark;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 三级分类表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface BaseCategoryTrademarkMapper extends BaseMapper<BaseCategoryTrademark> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商品三级分类 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CategoryMapper extends BaseMapper<Category> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商品评价 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CommentMapper extends BaseMapper<Comment> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.CommentReplay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 产品评价回复表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CommentReplayMapper extends BaseMapper<CommentReplay> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.base.MqRepeatRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* mq去重表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface MqRepeatRecordMapper extends BaseMapper<MqRepeatRecord> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.sys.RegionWare;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 城市仓库关联表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface RegionWareMapper extends BaseMapper<RegionWare> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuAttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* spu属性值 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuAttrValueMapper extends BaseMapper<SkuAttrValue> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* spu属性值 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuDetailMapper extends BaseMapper<SkuDetail> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商品图片 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuImageMapper extends BaseMapper<SkuImage> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* sku信息 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuInfoMapper extends BaseMapper<SkuInfo> {
}

View File

@@ -0,0 +1,17 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuPoster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商品海报表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuPosterMapper extends BaseMapper<SkuPoster> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.product.SkuStockHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* sku的库存历史记录 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuStockHistoryMapper extends BaseMapper<SkuStockHistory> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.mapper;
import com.atguigu.ssyx.model.sys.Ware;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 仓库表 Mapper 接口
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface WareMapper extends BaseMapper<Ware> {
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.AttrGroupMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.AttrMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.BaseCategoryTrademarkMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.CategoryMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.CommentMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.CommentReplayMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.MqRepeatRecordMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.RegionWareMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuAttrValueMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuDetailMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuImageMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuInfoMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuPosterMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.SkuStockHistoryMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.atguigu.ssyx.product.mapper.WareMapper">
</mapper>

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.AttrGroup;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 属性分组 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface AttrGroupService extends IService<AttrGroup> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.Attr;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 商品属性 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface AttrService extends IService<Attr> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.BaseCategoryTrademark;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 三级分类表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface BaseCategoryTrademarkService extends IService<BaseCategoryTrademark> {
}

View File

@@ -0,0 +1,17 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.Category;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 商品三级分类 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CategoryService extends IService<Category> {
}

View File

@@ -0,0 +1,17 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.CommentReplay;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 产品评价回复表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CommentReplayService extends IService<CommentReplay> {
}

View File

@@ -0,0 +1,17 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 商品评价 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface CommentService extends IService<Comment> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.base.MqRepeatRecord;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* mq去重表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface MqRepeatRecordService extends IService<MqRepeatRecord> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.sys.RegionWare;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 城市仓库关联表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface RegionWareService extends IService<RegionWare> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuAttrValue;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* spu属性值 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuAttrValueService extends IService<SkuAttrValue> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuDetail;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* spu属性值 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuDetailService extends IService<SkuDetail> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuImage;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 商品图片 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuImageService extends IService<SkuImage> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* sku信息 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuInfoService extends IService<SkuInfo> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuPoster;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 商品海报表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuPosterService extends IService<SkuPoster> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.product.SkuStockHistory;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* sku的库存历史记录 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface SkuStockHistoryService extends IService<SkuStockHistory> {
}

View File

@@ -0,0 +1,16 @@
package com.atguigu.ssyx.product.service;
import com.atguigu.ssyx.model.sys.Ware;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 仓库表 服务类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
public interface WareService extends IService<Ware> {
}

View File

@@ -0,0 +1,21 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.AttrGroup;
import com.atguigu.ssyx.product.mapper.AttrGroupMapper;
import com.atguigu.ssyx.product.service.AttrGroupService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 属性分组 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class AttrGroupServiceImpl extends ServiceImpl<AttrGroupMapper, AttrGroup> implements AttrGroupService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.Attr;
import com.atguigu.ssyx.product.mapper.AttrMapper;
import com.atguigu.ssyx.product.service.AttrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 商品属性 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class AttrServiceImpl extends ServiceImpl<AttrMapper, Attr> implements AttrService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.BaseCategoryTrademark;
import com.atguigu.ssyx.product.mapper.BaseCategoryTrademarkMapper;
import com.atguigu.ssyx.product.service.BaseCategoryTrademarkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 三级分类表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class BaseCategoryTrademarkServiceImpl extends ServiceImpl<BaseCategoryTrademarkMapper, BaseCategoryTrademark> implements BaseCategoryTrademarkService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.Category;
import com.atguigu.ssyx.product.mapper.CategoryMapper;
import com.atguigu.ssyx.product.service.CategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 商品三级分类 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.CommentReplay;
import com.atguigu.ssyx.product.mapper.CommentReplayMapper;
import com.atguigu.ssyx.product.service.CommentReplayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 产品评价回复表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class CommentReplayServiceImpl extends ServiceImpl<CommentReplayMapper, CommentReplay> implements CommentReplayService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.Comment;
import com.atguigu.ssyx.product.mapper.CommentMapper;
import com.atguigu.ssyx.product.service.CommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 商品评价 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService {
}

View File

@@ -0,0 +1,21 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.base.MqRepeatRecord;
import com.atguigu.ssyx.product.mapper.MqRepeatRecordMapper;
import com.atguigu.ssyx.product.service.MqRepeatRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* mq去重表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class MqRepeatRecordServiceImpl extends ServiceImpl<MqRepeatRecordMapper, MqRepeatRecord> implements MqRepeatRecordService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.sys.RegionWare;
import com.atguigu.ssyx.product.mapper.RegionWareMapper;
import com.atguigu.ssyx.product.service.RegionWareService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 城市仓库关联表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class RegionWareServiceImpl extends ServiceImpl<RegionWareMapper, RegionWare> implements RegionWareService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuAttrValue;
import com.atguigu.ssyx.product.mapper.SkuAttrValueMapper;
import com.atguigu.ssyx.product.service.SkuAttrValueService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* spu属性值 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuAttrValueServiceImpl extends ServiceImpl<SkuAttrValueMapper, SkuAttrValue> implements SkuAttrValueService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuDetail;
import com.atguigu.ssyx.product.mapper.SkuDetailMapper;
import com.atguigu.ssyx.product.service.SkuDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* spu属性值 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuDetailServiceImpl extends ServiceImpl<SkuDetailMapper, SkuDetail> implements SkuDetailService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuImage;
import com.atguigu.ssyx.product.mapper.SkuImageMapper;
import com.atguigu.ssyx.product.service.SkuImageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 商品图片 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuImageServiceImpl extends ServiceImpl<SkuImageMapper, SkuImage> implements SkuImageService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuInfo;
import com.atguigu.ssyx.product.mapper.SkuInfoMapper;
import com.atguigu.ssyx.product.service.SkuInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* sku信息 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuInfoServiceImpl extends ServiceImpl<SkuInfoMapper, SkuInfo> implements SkuInfoService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuPoster;
import com.atguigu.ssyx.product.mapper.SkuPosterMapper;
import com.atguigu.ssyx.product.service.SkuPosterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 商品海报表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuPosterServiceImpl extends ServiceImpl<SkuPosterMapper, SkuPoster> implements SkuPosterService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.product.SkuStockHistory;
import com.atguigu.ssyx.product.mapper.SkuStockHistoryMapper;
import com.atguigu.ssyx.product.service.SkuStockHistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* sku的库存历史记录 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class SkuStockHistoryServiceImpl extends ServiceImpl<SkuStockHistoryMapper, SkuStockHistory> implements SkuStockHistoryService {
}

View File

@@ -0,0 +1,20 @@
package com.atguigu.ssyx.product.service.impl;
import com.atguigu.ssyx.model.sys.Ware;
import com.atguigu.ssyx.product.mapper.WareMapper;
import com.atguigu.ssyx.product.service.WareService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 仓库表 服务实现类
* </p>
*
* @author atguigu
* @since 2023-09-15
*/
@Service
public class WareServiceImpl extends ServiceImpl<WareMapper, Ware> implements WareService {
}

View File

@@ -0,0 +1,19 @@
server:
port: 8203
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://82.157.68.223:3306/shequ-product?characterEncoding=utf-8&useSSL=false
username: shequ-product
password: shequ-product
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8

View File

@@ -0,0 +1,5 @@
spring:
application:
name: service-product
profiles:
active: dev