新增微服务,生成实体类

main
尚志豪123 2024-11-19 09:33:28 +08:00
parent 3f99d7f82b
commit bd14c00bc4
41 changed files with 1519 additions and 81 deletions

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameActivityTeamInfoController
* @Date2024/11/19 9:21
*/
@Api(tags = "商品拼团信息")
@RestController
@RequestMapping("/ActivityTeamInfo")
public class ActivityTeamInfoController {
}

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameActivityTeamOpenInfoController
* @Date2024/11/19 9:22
*/
@Api(tags = "团购活动执行表")
@RestController
@RequestMapping("/ActivityTeamOpenInfo")
public class ActivityTeamOpenInfoController {
}

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameActivityTeamProductSkuInfoController
* @Date2024/11/19 9:22
*/
@Api(tags = "商品拼团规格信息表")
@RestController
@RequestMapping("/ActivityTeamProductSkuInfo")
public class ActivityTeamProductSkuInfoController {
}

View File

@ -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;
}

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameTeamStrategyExemptionController
* @Date2024/11/19 9:23
*/
@Api(tags = "拼团免单策略")
@RestController
@RequestMapping("/TeamStrategyExemption")
public class TeamStrategyExemptionController {
}

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameTeamStrategyExemptionHundredController
* @Date2024/11/19 9:22
*/
@Api(tags = "百人策略")
@RestController
@RequestMapping("/TeamStrategyExemptionHundred")
public class TeamStrategyExemptionHundredController {
}

View File

@ -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
* @Packagecom.muyu.goods.controller
* @Projectcloud-server
* @nameTeamStrategyExemptionOrdinaryController
* @Date2024/11/19 9:24
*/
@Api(tags = "普通策略")
@RestController
@RequestMapping("/TeamStrategyExemptionOrdinary")
public class TeamStrategyExemptionOrdinaryController {
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -1,11 +0,0 @@
package com.muyu.goods.domain;
/**
* @Author
* @Packagecom.muyu.goods.domain
* @Projectcloud-server
* @nameSysConfig
* @Date2024/11/18 16:57
*/
public class Goods {
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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<ActivityTeamInfo> {
}

View File

@ -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<ActivityTeamOpenInfo> {
}

View File

@ -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<ActivityTeamProductSkuInfo> {
}

View File

@ -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<Goods> {
}

View File

@ -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<TeamStrategyExemptionHundred> {
}

View File

@ -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<TeamStrategyExemption> {
}

View File

@ -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<TeamStrategyExemptionOrdinary> {
}

View File

@ -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<ActivityTeamInfo> {
}

View File

@ -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<ActivityTeamOpenInfo> {
}

View File

@ -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<ActivityTeamProductSkuInfo> {
}

View File

@ -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<Goods> {
}

View File

@ -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<TeamStrategyExemptionHundred> {
}

View File

@ -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<TeamStrategyExemptionOrdinary> {
}

View File

@ -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<TeamStrategyExemption> {
}

View File

@ -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<ActivityTeamInfoMapper, ActivityTeamInfo>
implements ActivityTeamInfoService{
}

View File

@ -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<ActivityTeamOpenInfoMapper, ActivityTeamOpenInfo>
implements ActivityTeamOpenInfoService{
}

View File

@ -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<ActivityTeamProductSkuInfoMapper, ActivityTeamProductSkuInfo>
implements ActivityTeamProductSkuInfoService{
}

View File

@ -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<GoodsMapper, Goods> implements GoodsService {
}

View File

@ -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<TeamStrategyExemptionHundredMapper, TeamStrategyExemptionHundred>
implements TeamStrategyExemptionHundredService{
}

View File

@ -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<TeamStrategyExemptionOrdinaryMapper, TeamStrategyExemptionOrdinary>
implements TeamStrategyExemptionOrdinaryService{
}

View File

@ -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<TeamStrategyExemptionMapper, TeamStrategyExemption>
implements TeamStrategyExemptionService{
}

View File

@ -0,0 +1,36 @@
<?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.muyu.goods.mapper.ActivityTeamInfoMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.ActivityTeamInfo">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="productId" column="product_id" jdbcType="BIGINT"/>
<result property="productImage" column="product_image" jdbcType="VARCHAR"/>
<result property="introduction" column="introduction" jdbcType="VARCHAR"/>
<result property="unit" column="unit" jdbcType="VARCHAR"/>
<result property="imageList" column="image_list" jdbcType="VARCHAR"/>
<result property="endTime" column="end_time" jdbcType="TIMESTAMP"/>
<result property="sort" column="sort" jdbcType="INTEGER"/>
<result property="content" column="content" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="strategyType" column="strategy_type" jdbcType="VARCHAR"/>
<result property="strategyId" column="strategy_id" jdbcType="BIGINT"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
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
</sql>
</mapper>

View File

@ -0,0 +1,35 @@
<?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.muyu.goods.mapper.ActivityTeamOpenInfoMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.ActivityTeamOpenInfo">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="teamId" column="team_id" jdbcType="BIGINT"/>
<result property="teamType" column="team_type" jdbcType="VARCHAR"/>
<result property="teamStrategyId" column="team_strategy_id" jdbcType="VARCHAR"/>
<result property="executiveType" column="executive_type" jdbcType="VARCHAR"/>
<result property="endTime" column="end_time" jdbcType="TIMESTAMP"/>
<result property="productId" column="product_id" jdbcType="VARCHAR"/>
<result property="productName" column="product_name" jdbcType="VARCHAR"/>
<result property="productSku" column="product_sku" jdbcType="VARCHAR"/>
<result property="key" column="key" jdbcType="VARCHAR"/>
<result property="orderId" column="order_id" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
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
</sql>
</mapper>

View File

@ -0,0 +1,27 @@
<?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.muyu.goods.mapper.ActivityTeamProductSkuInfoMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.ActivityTeamProductSkuInfo">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="teamId" column="team_id" jdbcType="BIGINT"/>
<result property="productId" column="product_id" jdbcType="VARCHAR"/>
<result property="productSku" column="product_sku" jdbcType="VARCHAR"/>
<result property="teamStock" column="team_stock" jdbcType="VARCHAR"/>
<result property="teamPrice" column="team_price" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,team_id,product_id,
product_sku,team_stock,team_price,
create_by,create_time,update_by,
update_time,remark
</sql>
</mapper>

View File

@ -0,0 +1,28 @@
<?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.muyu.goods.mapper.TeamStrategyExemptionHundredMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.TeamStrategyExemptionHundred">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="duration" column="duration" jdbcType="INTEGER"/>
<result property="maxBuy" column="max_buy" jdbcType="INTEGER"/>
<result property="oneBuy" column="one_buy" jdbcType="INTEGER"/>
<result property="virtualNumber" column="virtual_number" jdbcType="INTEGER"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="ruleInfo" column="rule_info" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,duration,max_buy,
one_buy,virtual_number,status,
rule_info,create_by,create_time,
update_by,update_time,remark
</sql>
</mapper>

View File

@ -0,0 +1,31 @@
<?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.muyu.goods.mapper.TeamStrategyExemptionMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.TeamStrategyExemption">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="duration" column="duration" jdbcType="INTEGER"/>
<result property="exemptionNumber" column="exemption_number" jdbcType="INTEGER"/>
<result property="maxBuy" column="max_buy" jdbcType="INTEGER"/>
<result property="oneBuy" column="one_buy" jdbcType="INTEGER"/>
<result property="virtualNumber" column="virtual_number" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="ruleInfo" column="rule_info" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,duration,exemption_number,
max_buy,one_buy,virtual_number,
type,rule_info,status,
create_by,create_time,update_by,
update_time,remark
</sql>
</mapper>

View File

@ -0,0 +1,28 @@
<?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.muyu.goods.mapper.TeamStrategyExemptionOrdinaryMapper">
<resultMap id="BaseResultMap" type="com.muyu.goods.domain.TeamStrategyExemptionOrdinary">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="duration" column="duration" jdbcType="INTEGER"/>
<result property="teamNumber" column="team_number" jdbcType="INTEGER"/>
<result property="maxBuy" column="max_buy" jdbcType="INTEGER"/>
<result property="oneBuy" column="one_buy" jdbcType="INTEGER"/>
<result property="virtualNumber" column="virtual_number" jdbcType="INTEGER"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,duration,team_number,
max_buy,one_buy,virtual_number,
status,create_by,create_time,
update_by,update_time,remark
</sql>
</mapper>