diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamInfoController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamInfoController.java new file mode 100644 index 0000000..6ddaab0 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamInfoController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:ActivityTeamInfoController + * @Date:2024/11/19 9:21 + */ +@Api(tags = "商品拼团信息") +@RestController +@RequestMapping("/ActivityTeamInfo") +public class ActivityTeamInfoController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamOpenInfoController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamOpenInfoController.java new file mode 100644 index 0000000..cb5e058 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamOpenInfoController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:ActivityTeamOpenInfoController + * @Date:2024/11/19 9:22 + */ +@Api(tags = "团购活动执行表") +@RestController +@RequestMapping("/ActivityTeamOpenInfo") +public class ActivityTeamOpenInfoController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamProductSkuInfoController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamProductSkuInfoController.java new file mode 100644 index 0000000..269a82a --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/ActivityTeamProductSkuInfoController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:ActivityTeamProductSkuInfoController + * @Date:2024/11/19 9:22 + */ +@Api(tags = "商品拼团规格信息表") +@RestController +@RequestMapping("/ActivityTeamProductSkuInfo") +public class ActivityTeamProductSkuInfoController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/GoodsController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/GoodsController.java deleted file mode 100644 index f630671..0000000 --- a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/GoodsController.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.muyu.goods.controller; - -import com.muyu.common.core.web.controller.BaseController; -import com.muyu.goods.service.GoodsService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -/** - * 参数配置 信息操作处理 - * - * @author muyu - */ -@RestController -@RequestMapping("/goods") -public class GoodsController extends BaseController { - - @Autowired - private GoodsService configService; - - -} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionController.java new file mode 100644 index 0000000..19890cf --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:TeamStrategyExemptionController + * @Date:2024/11/19 9:23 + */ +@Api(tags = "拼团免单策略") +@RestController +@RequestMapping("/TeamStrategyExemption") +public class TeamStrategyExemptionController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionHundredController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionHundredController.java new file mode 100644 index 0000000..7d48a8c --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionHundredController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:TeamStrategyExemptionHundredController + * @Date:2024/11/19 9:22 + */ +@Api(tags = "百人策略") +@RestController +@RequestMapping("/TeamStrategyExemptionHundred") +public class TeamStrategyExemptionHundredController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionOrdinaryController.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionOrdinaryController.java new file mode 100644 index 0000000..5a563bc --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/controller/TeamStrategyExemptionOrdinaryController.java @@ -0,0 +1,18 @@ +package com.muyu.goods.controller; + +import io.swagger.annotations.Api; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author:尚志豪 + * @Package:com.muyu.goods.controller + * @Project:cloud-server + * @name:TeamStrategyExemptionOrdinaryController + * @Date:2024/11/19 9:24 + */ +@Api(tags = "普通策略") +@RestController +@RequestMapping("/TeamStrategyExemptionOrdinary") +public class TeamStrategyExemptionOrdinaryController { +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamInfo.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamInfo.java new file mode 100644 index 0000000..4fedff0 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamInfo.java @@ -0,0 +1,197 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品拼团信息 + * @TableName activity_team_info + */ +@TableName(value ="activity_team_info") +@Data +public class ActivityTeamInfo implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 拼团名称 + */ + private String name; + + /** + * 商品ID + */ + private Long productId; + + /** + * 商品活动图 + */ + private String productImage; + + /** + * 活动简介 + */ + private String introduction; + + /** + * 单位 + */ + private String unit; + + /** + * 轮播图 + */ + private String imageList; + + /** + * 活动结束时间 + */ + private Date endTime; + + /** + * 活动排序 + */ + private Integer sort; + + /** + * 活动详情 + */ + private String content; + + /** + * 活动状态 + */ + private String status; + + /** + * 策略类型 + */ + private String strategyType; + + /** + * 策略ID + */ + private Long strategyId; + + /** + * 备注 + */ + private String remark; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + ActivityTeamInfo other = (ActivityTeamInfo) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) + && (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId())) + && (this.getProductImage() == null ? other.getProductImage() == null : this.getProductImage().equals(other.getProductImage())) + && (this.getIntroduction() == null ? other.getIntroduction() == null : this.getIntroduction().equals(other.getIntroduction())) + && (this.getUnit() == null ? other.getUnit() == null : this.getUnit().equals(other.getUnit())) + && (this.getImageList() == null ? other.getImageList() == null : this.getImageList().equals(other.getImageList())) + && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime())) + && (this.getSort() == null ? other.getSort() == null : this.getSort().equals(other.getSort())) + && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getStrategyType() == null ? other.getStrategyType() == null : this.getStrategyType().equals(other.getStrategyType())) + && (this.getStrategyId() == null ? other.getStrategyId() == null : this.getStrategyId().equals(other.getStrategyId())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); + result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode()); + result = prime * result + ((getProductImage() == null) ? 0 : getProductImage().hashCode()); + result = prime * result + ((getIntroduction() == null) ? 0 : getIntroduction().hashCode()); + result = prime * result + ((getUnit() == null) ? 0 : getUnit().hashCode()); + result = prime * result + ((getImageList() == null) ? 0 : getImageList().hashCode()); + result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); + result = prime * result + ((getSort() == null) ? 0 : getSort().hashCode()); + result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getStrategyType() == null) ? 0 : getStrategyType().hashCode()); + result = prime * result + ((getStrategyId() == null) ? 0 : getStrategyId().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", productId=").append(productId); + sb.append(", productImage=").append(productImage); + sb.append(", introduction=").append(introduction); + sb.append(", unit=").append(unit); + sb.append(", imageList=").append(imageList); + sb.append(", endTime=").append(endTime); + sb.append(", sort=").append(sort); + sb.append(", content=").append(content); + sb.append(", status=").append(status); + sb.append(", strategyType=").append(strategyType); + sb.append(", strategyId=").append(strategyId); + sb.append(", remark=").append(remark); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamOpenInfo.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamOpenInfo.java new file mode 100644 index 0000000..cc38fb9 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamOpenInfo.java @@ -0,0 +1,189 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 团购活动执行表 + * @TableName activity_team_open_info + */ +@TableName(value ="activity_team_open_info") +@Data +public class ActivityTeamOpenInfo implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 团购活动ID + */ + private Long teamId; + + /** + * 团购类型 + */ + private String teamType; + + /** + * 团购策略 + */ + private String teamStrategyId; + + /** + * 参团类型 + */ + private String executiveType; + + /** + * 结束团购时间 + */ + private Date endTime; + + /** + * 商品ID + */ + private String productId; + + /** + * 商品名称 + */ + private String productName; + + /** + * 商品规格 + */ + private String productSku; + + /** + * 开团标识 + */ + private String key; + + /** + * 订单ID + */ + private String orderId; + + /** + * 开团状态 + */ + private String status; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + ActivityTeamOpenInfo other = (ActivityTeamOpenInfo) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getTeamId() == null ? other.getTeamId() == null : this.getTeamId().equals(other.getTeamId())) + && (this.getTeamType() == null ? other.getTeamType() == null : this.getTeamType().equals(other.getTeamType())) + && (this.getTeamStrategyId() == null ? other.getTeamStrategyId() == null : this.getTeamStrategyId().equals(other.getTeamStrategyId())) + && (this.getExecutiveType() == null ? other.getExecutiveType() == null : this.getExecutiveType().equals(other.getExecutiveType())) + && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime())) + && (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId())) + && (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName())) + && (this.getProductSku() == null ? other.getProductSku() == null : this.getProductSku().equals(other.getProductSku())) + && (this.getKey() == null ? other.getKey() == null : this.getKey().equals(other.getKey())) + && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getTeamId() == null) ? 0 : getTeamId().hashCode()); + result = prime * result + ((getTeamType() == null) ? 0 : getTeamType().hashCode()); + result = prime * result + ((getTeamStrategyId() == null) ? 0 : getTeamStrategyId().hashCode()); + result = prime * result + ((getExecutiveType() == null) ? 0 : getExecutiveType().hashCode()); + result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); + result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode()); + result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode()); + result = prime * result + ((getProductSku() == null) ? 0 : getProductSku().hashCode()); + result = prime * result + ((getKey() == null) ? 0 : getKey().hashCode()); + result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", teamId=").append(teamId); + sb.append(", teamType=").append(teamType); + sb.append(", teamStrategyId=").append(teamStrategyId); + sb.append(", executiveType=").append(executiveType); + sb.append(", endTime=").append(endTime); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", productSku=").append(productSku); + sb.append(", key=").append(key); + sb.append(", orderId=").append(orderId); + sb.append(", status=").append(status); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamProductSkuInfo.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamProductSkuInfo.java new file mode 100644 index 0000000..99e221f --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/ActivityTeamProductSkuInfo.java @@ -0,0 +1,141 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品拼团规格信息表 + * @TableName activity_team_product_sku_info + */ +@TableName(value ="activity_team_product_sku_info") +@Data +public class ActivityTeamProductSkuInfo implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 活动ID + */ + private Long teamId; + + /** + * 商品ID + */ + private String productId; + + /** + * 商品SKU + */ + private String productSku; + + /** + * 拼团库存 + */ + private String teamStock; + + /** + * 拼团价格 + */ + private String teamPrice; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + ActivityTeamProductSkuInfo other = (ActivityTeamProductSkuInfo) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getTeamId() == null ? other.getTeamId() == null : this.getTeamId().equals(other.getTeamId())) + && (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId())) + && (this.getProductSku() == null ? other.getProductSku() == null : this.getProductSku().equals(other.getProductSku())) + && (this.getTeamStock() == null ? other.getTeamStock() == null : this.getTeamStock().equals(other.getTeamStock())) + && (this.getTeamPrice() == null ? other.getTeamPrice() == null : this.getTeamPrice().equals(other.getTeamPrice())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getTeamId() == null) ? 0 : getTeamId().hashCode()); + result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode()); + result = prime * result + ((getProductSku() == null) ? 0 : getProductSku().hashCode()); + result = prime * result + ((getTeamStock() == null) ? 0 : getTeamStock().hashCode()); + result = prime * result + ((getTeamPrice() == null) ? 0 : getTeamPrice().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", teamId=").append(teamId); + sb.append(", productId=").append(productId); + sb.append(", productSku=").append(productSku); + sb.append(", teamStock=").append(teamStock); + sb.append(", teamPrice=").append(teamPrice); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/Goods.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/Goods.java deleted file mode 100644 index 067329c..0000000 --- a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/Goods.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.muyu.goods.domain; - -/** - * @Author:尚志豪 - * @Package:com.muyu.goods.domain - * @Project:cloud-server - * @name:SysConfig - * @Date:2024/11/18 16:57 - */ -public class Goods { -} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemption.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemption.java new file mode 100644 index 0000000..a6a565a --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemption.java @@ -0,0 +1,165 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 拼团免单策略 + * @TableName team_strategy_exemption + */ +@TableName(value ="team_strategy_exemption") +@Data +public class TeamStrategyExemption implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 持续时间 + */ + private Integer duration; + + /** + * 免单人数 + */ + private Integer exemptionNumber; + + /** + * 最大购买量 + */ + private Integer maxBuy; + + /** + * 单次购买量 + */ + private Integer oneBuy; + + /** + * 虚拟人数 + */ + private Integer virtualNumber; + + /** + * 面单类型 + */ + private String type; + + /** + * 返款阶梯 + */ + private String ruleInfo; + + /** + * 策略状态 + */ + private String status; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + TeamStrategyExemption other = (TeamStrategyExemption) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getDuration() == null ? other.getDuration() == null : this.getDuration().equals(other.getDuration())) + && (this.getExemptionNumber() == null ? other.getExemptionNumber() == null : this.getExemptionNumber().equals(other.getExemptionNumber())) + && (this.getMaxBuy() == null ? other.getMaxBuy() == null : this.getMaxBuy().equals(other.getMaxBuy())) + && (this.getOneBuy() == null ? other.getOneBuy() == null : this.getOneBuy().equals(other.getOneBuy())) + && (this.getVirtualNumber() == null ? other.getVirtualNumber() == null : this.getVirtualNumber().equals(other.getVirtualNumber())) + && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) + && (this.getRuleInfo() == null ? other.getRuleInfo() == null : this.getRuleInfo().equals(other.getRuleInfo())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getDuration() == null) ? 0 : getDuration().hashCode()); + result = prime * result + ((getExemptionNumber() == null) ? 0 : getExemptionNumber().hashCode()); + result = prime * result + ((getMaxBuy() == null) ? 0 : getMaxBuy().hashCode()); + result = prime * result + ((getOneBuy() == null) ? 0 : getOneBuy().hashCode()); + result = prime * result + ((getVirtualNumber() == null) ? 0 : getVirtualNumber().hashCode()); + result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); + result = prime * result + ((getRuleInfo() == null) ? 0 : getRuleInfo().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", duration=").append(duration); + sb.append(", exemptionNumber=").append(exemptionNumber); + sb.append(", maxBuy=").append(maxBuy); + sb.append(", oneBuy=").append(oneBuy); + sb.append(", virtualNumber=").append(virtualNumber); + sb.append(", type=").append(type); + sb.append(", ruleInfo=").append(ruleInfo); + sb.append(", status=").append(status); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionHundred.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionHundred.java new file mode 100644 index 0000000..65cc170 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionHundred.java @@ -0,0 +1,149 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 百人策略 + * @TableName team_strategy_exemption_hundred + */ +@TableName(value ="team_strategy_exemption_hundred") +@Data +public class TeamStrategyExemptionHundred implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 持续时间 + */ + private Integer duration; + + /** + * 最大购买量 + */ + private Integer maxBuy; + + /** + * 单次购买量 + */ + private Integer oneBuy; + + /** + * 虚拟人数 + */ + private Integer virtualNumber; + + /** + * 策略状态 + */ + private String status; + + /** + * 规则信息 + */ + private String ruleInfo; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + TeamStrategyExemptionHundred other = (TeamStrategyExemptionHundred) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getDuration() == null ? other.getDuration() == null : this.getDuration().equals(other.getDuration())) + && (this.getMaxBuy() == null ? other.getMaxBuy() == null : this.getMaxBuy().equals(other.getMaxBuy())) + && (this.getOneBuy() == null ? other.getOneBuy() == null : this.getOneBuy().equals(other.getOneBuy())) + && (this.getVirtualNumber() == null ? other.getVirtualNumber() == null : this.getVirtualNumber().equals(other.getVirtualNumber())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getRuleInfo() == null ? other.getRuleInfo() == null : this.getRuleInfo().equals(other.getRuleInfo())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getDuration() == null) ? 0 : getDuration().hashCode()); + result = prime * result + ((getMaxBuy() == null) ? 0 : getMaxBuy().hashCode()); + result = prime * result + ((getOneBuy() == null) ? 0 : getOneBuy().hashCode()); + result = prime * result + ((getVirtualNumber() == null) ? 0 : getVirtualNumber().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getRuleInfo() == null) ? 0 : getRuleInfo().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", duration=").append(duration); + sb.append(", maxBuy=").append(maxBuy); + sb.append(", oneBuy=").append(oneBuy); + sb.append(", virtualNumber=").append(virtualNumber); + sb.append(", status=").append(status); + sb.append(", ruleInfo=").append(ruleInfo); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionOrdinary.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionOrdinary.java new file mode 100644 index 0000000..c9a164d --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/domain/TeamStrategyExemptionOrdinary.java @@ -0,0 +1,149 @@ +package com.muyu.goods.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 普通策略 + * @TableName team_strategy_exemption_ordinary + */ +@TableName(value ="team_strategy_exemption_ordinary") +@Data +public class TeamStrategyExemptionOrdinary implements Serializable { + /** + * 主键 + */ + @TableId(type = IdType.AUTO) + private Integer id; + + /** + * 持续时间 + */ + private Integer duration; + + /** + * 成团人数 + */ + private Integer teamNumber; + + /** + * 最大购买量 + */ + private Integer maxBuy; + + /** + * 单次购买量 + */ + private Integer oneBuy; + + /** + * 虚拟人数 + */ + private Integer virtualNumber; + + /** + * 策略状态 + */ + private String status; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private String updateBy; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + TeamStrategyExemptionOrdinary other = (TeamStrategyExemptionOrdinary) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getDuration() == null ? other.getDuration() == null : this.getDuration().equals(other.getDuration())) + && (this.getTeamNumber() == null ? other.getTeamNumber() == null : this.getTeamNumber().equals(other.getTeamNumber())) + && (this.getMaxBuy() == null ? other.getMaxBuy() == null : this.getMaxBuy().equals(other.getMaxBuy())) + && (this.getOneBuy() == null ? other.getOneBuy() == null : this.getOneBuy().equals(other.getOneBuy())) + && (this.getVirtualNumber() == null ? other.getVirtualNumber() == null : this.getVirtualNumber().equals(other.getVirtualNumber())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getDuration() == null) ? 0 : getDuration().hashCode()); + result = prime * result + ((getTeamNumber() == null) ? 0 : getTeamNumber().hashCode()); + result = prime * result + ((getMaxBuy() == null) ? 0 : getMaxBuy().hashCode()); + result = prime * result + ((getOneBuy() == null) ? 0 : getOneBuy().hashCode()); + result = prime * result + ((getVirtualNumber() == null) ? 0 : getVirtualNumber().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", duration=").append(duration); + sb.append(", teamNumber=").append(teamNumber); + sb.append(", maxBuy=").append(maxBuy); + sb.append(", oneBuy=").append(oneBuy); + sb.append(", virtualNumber=").append(virtualNumber); + sb.append(", status=").append(status); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamInfoMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamInfoMapper.java new file mode 100644 index 0000000..246c347 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamInfoMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.muyu.goods.domain.ActivityTeamInfo; + +/** +* @Entity com.muyu.goods.domain.ActivityTeamInfo +*/ +public interface ActivityTeamInfoMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamOpenInfoMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamOpenInfoMapper.java new file mode 100644 index 0000000..a803896 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamOpenInfoMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.muyu.goods.domain.ActivityTeamOpenInfo; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** +* @Entity com.muyu.goods.domain.ActivityTeamOpenInfo +*/ +public interface ActivityTeamOpenInfoMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamProductSkuInfoMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamProductSkuInfoMapper.java new file mode 100644 index 0000000..b0978c4 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/ActivityTeamProductSkuInfoMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.muyu.goods.domain.ActivityTeamProductSkuInfo; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** +* @Entity com.muyu.goods.domain.ActivityTeamProductSkuInfo +*/ +public interface ActivityTeamProductSkuInfoMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/GoodsMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/GoodsMapper.java deleted file mode 100644 index 7c62b81..0000000 --- a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/GoodsMapper.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.muyu.goods.mapper; - - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.muyu.goods.domain.Goods; - -/** - * @author DongZl - * @description: 配置mybatis配置 - * @Date 2023-11-13 上午 10:05 - */ -public interface GoodsMapper extends BaseMapper { -} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionHundredMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionHundredMapper.java new file mode 100644 index 0000000..ed7f384 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionHundredMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.muyu.goods.domain.TeamStrategyExemptionHundred; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** +* @Entity com.muyu.goods.domain.TeamStrategyExemptionHundred +*/ +public interface TeamStrategyExemptionHundredMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionMapper.java new file mode 100644 index 0000000..0b46484 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.muyu.goods.domain.TeamStrategyExemption; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** +* @Entity com.muyu.goods.domain.TeamStrategyExemption +*/ +public interface TeamStrategyExemptionMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionOrdinaryMapper.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionOrdinaryMapper.java new file mode 100644 index 0000000..66a75ba --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/mapper/TeamStrategyExemptionOrdinaryMapper.java @@ -0,0 +1,12 @@ +package com.muyu.goods.mapper; + +import com.muyu.goods.domain.TeamStrategyExemptionOrdinary; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** +* @Entity com.muyu.goods.domain.TeamStrategyExemptionOrdinary +*/ +public interface TeamStrategyExemptionOrdinaryMapper extends BaseMapper { + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamInfoService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamInfoService.java new file mode 100644 index 0000000..59b3f94 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamInfoService.java @@ -0,0 +1,11 @@ +package com.muyu.goods.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.muyu.goods.domain.ActivityTeamInfo; + +/** +* +*/ +public interface ActivityTeamInfoService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamOpenInfoService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamOpenInfoService.java new file mode 100644 index 0000000..7f2de68 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamOpenInfoService.java @@ -0,0 +1,11 @@ +package com.muyu.goods.service; + +import com.muyu.goods.domain.ActivityTeamOpenInfo; +import com.baomidou.mybatisplus.extension.service.IService; + +/** +* +*/ +public interface ActivityTeamOpenInfoService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamProductSkuInfoService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamProductSkuInfoService.java new file mode 100644 index 0000000..209b23b --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/ActivityTeamProductSkuInfoService.java @@ -0,0 +1,11 @@ +package com.muyu.goods.service; + +import com.muyu.goods.domain.ActivityTeamProductSkuInfo; +import com.baomidou.mybatisplus.extension.service.IService; + +/** +* +*/ +public interface ActivityTeamProductSkuInfoService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/GoodsService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/GoodsService.java deleted file mode 100644 index 7067c07..0000000 --- a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/GoodsService.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.muyu.goods.service; - - -import com.baomidou.mybatisplus.extension.service.IService; -import com.muyu.goods.domain.Goods; - -/** - * @author DongZl - * @description: 配置plus业务层 - * @Date 2023-11-13 上午 10:06 - */ -public interface GoodsService extends IService { - -} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionHundredService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionHundredService.java new file mode 100644 index 0000000..bd6adf8 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionHundredService.java @@ -0,0 +1,12 @@ +package com.muyu.goods.service; + +import com.muyu.goods.domain.TeamStrategyExemptionHundred; +import com.baomidou.mybatisplus.extension.service.IService; + + +/** +* +*/ +public interface TeamStrategyExemptionHundredService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionOrdinaryService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionOrdinaryService.java new file mode 100644 index 0000000..a9f47ff --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionOrdinaryService.java @@ -0,0 +1,11 @@ +package com.muyu.goods.service; + +import com.muyu.goods.domain.TeamStrategyExemptionOrdinary; +import com.baomidou.mybatisplus.extension.service.IService; + +/** +* +*/ +public interface TeamStrategyExemptionOrdinaryService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionService.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionService.java new file mode 100644 index 0000000..22e69e0 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/TeamStrategyExemptionService.java @@ -0,0 +1,11 @@ +package com.muyu.goods.service; + +import com.muyu.goods.domain.TeamStrategyExemption; +import com.baomidou.mybatisplus.extension.service.IService; + +/** +* +*/ +public interface TeamStrategyExemptionService extends IService { + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamInfoServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamInfoServiceImpl.java new file mode 100644 index 0000000..fc66fec --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamInfoServiceImpl.java @@ -0,0 +1,17 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.ActivityTeamInfo; +import com.muyu.goods.service.ActivityTeamInfoService; +import com.muyu.goods.mapper.ActivityTeamInfoMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class ActivityTeamInfoServiceImpl extends ServiceImpl +implements ActivityTeamInfoService{ + + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamOpenInfoServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamOpenInfoServiceImpl.java new file mode 100644 index 0000000..a2d334a --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamOpenInfoServiceImpl.java @@ -0,0 +1,16 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.ActivityTeamOpenInfo; +import com.muyu.goods.service.ActivityTeamOpenInfoService; +import com.muyu.goods.mapper.ActivityTeamOpenInfoMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class ActivityTeamOpenInfoServiceImpl extends ServiceImpl +implements ActivityTeamOpenInfoService{ + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamProductSkuInfoServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamProductSkuInfoServiceImpl.java new file mode 100644 index 0000000..70810cb --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/ActivityTeamProductSkuInfoServiceImpl.java @@ -0,0 +1,16 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.ActivityTeamProductSkuInfo; +import com.muyu.goods.service.ActivityTeamProductSkuInfoService; +import com.muyu.goods.mapper.ActivityTeamProductSkuInfoMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class ActivityTeamProductSkuInfoServiceImpl extends ServiceImpl +implements ActivityTeamProductSkuInfoService{ + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/GoodsServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/GoodsServiceImpl.java deleted file mode 100644 index 690d718..0000000 --- a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/GoodsServiceImpl.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.muyu.goods.service.impl; - - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.muyu.goods.domain.Goods; -import com.muyu.goods.mapper.GoodsMapper; -import com.muyu.goods.service.GoodsService; -import org.springframework.stereotype.Service; - -/** - * @author DongZl - * @description: 配置plus业务实现层 - * @Date 2023-11-13 上午 10:06 - */ -@Service -public class GoodsServiceImpl extends ServiceImpl implements GoodsService { - - - - -} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionHundredServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionHundredServiceImpl.java new file mode 100644 index 0000000..2254ad6 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionHundredServiceImpl.java @@ -0,0 +1,16 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.TeamStrategyExemptionHundred; +import com.muyu.goods.service.TeamStrategyExemptionHundredService; +import com.muyu.goods.mapper.TeamStrategyExemptionHundredMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class TeamStrategyExemptionHundredServiceImpl extends ServiceImpl +implements TeamStrategyExemptionHundredService{ + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionOrdinaryServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionOrdinaryServiceImpl.java new file mode 100644 index 0000000..9d655d9 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionOrdinaryServiceImpl.java @@ -0,0 +1,16 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.TeamStrategyExemptionOrdinary; +import com.muyu.goods.service.TeamStrategyExemptionOrdinaryService; +import com.muyu.goods.mapper.TeamStrategyExemptionOrdinaryMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class TeamStrategyExemptionOrdinaryServiceImpl extends ServiceImpl +implements TeamStrategyExemptionOrdinaryService{ + +} diff --git a/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionServiceImpl.java b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionServiceImpl.java new file mode 100644 index 0000000..7c79b8b --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/java/com/muyu/goods/service/impl/TeamStrategyExemptionServiceImpl.java @@ -0,0 +1,16 @@ +package com.muyu.goods.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.muyu.goods.domain.TeamStrategyExemption; +import com.muyu.goods.service.TeamStrategyExemptionService; +import com.muyu.goods.mapper.TeamStrategyExemptionMapper; +import org.springframework.stereotype.Service; + +/** +* +*/ +@Service +public class TeamStrategyExemptionServiceImpl extends ServiceImpl +implements TeamStrategyExemptionService{ + +} diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamInfoMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamInfoMapper.xml new file mode 100644 index 0000000..daacf25 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamInfoMapper.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + id,name,product_id, + product_image,introduction,unit, + image_list,end_time,sort, + content,status,strategy_type, + strategy_id,remark,create_by, + create_time,update_by,update_time + + diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamOpenInfoMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamOpenInfoMapper.xml new file mode 100644 index 0000000..58bdb7d --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamOpenInfoMapper.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + id,team_id,team_type, + team_strategy_id,executive_type,end_time, + product_id,product_name,product_sku, + key,order_id,status, + create_by,create_time,update_by, + update_time,remark + + diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamProductSkuInfoMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamProductSkuInfoMapper.xml new file mode 100644 index 0000000..59a82c4 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/ActivityTeamProductSkuInfoMapper.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + id,team_id,product_id, + product_sku,team_stock,team_price, + create_by,create_time,update_by, + update_time,remark + + diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionHundredMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionHundredMapper.xml new file mode 100644 index 0000000..db98975 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionHundredMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + id,duration,max_buy, + one_buy,virtual_number,status, + rule_info,create_by,create_time, + update_by,update_time,remark + + diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionMapper.xml new file mode 100644 index 0000000..2786fe5 --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionMapper.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + id,duration,exemption_number, + max_buy,one_buy,virtual_number, + type,rule_info,status, + create_by,create_time,update_by, + update_time,remark + + diff --git a/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionOrdinaryMapper.xml b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionOrdinaryMapper.xml new file mode 100644 index 0000000..9a36b3b --- /dev/null +++ b/muyu-modules/muyu-goods/src/main/resources/mapper/TeamStrategyExemptionOrdinaryMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + id,duration,team_number, + max_buy,one_buy,virtual_number, + status,create_by,create_time, + update_by,update_time,remark + +