新增微服务,生成实体类
parent
3f99d7f82b
commit
bd14c00bc4
|
@ -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 {
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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;
|
||||
|
||||
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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> {
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
}
|
|
@ -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 {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
}
|
|
@ -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{
|
||||
|
||||
}
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue