Commit 6d4961be by daijie

增加自动生成的数据表对象初始文件

parent 613af047
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:15
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductBlacklistPageVo")
public class CustomProductBlacklistPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info的id
*/
@Schema(description = "custom_product_info的id")
private Integer productId;
/**
* db_diy_user的id
*/
@Schema(description = "db_diy_user的id")
private Integer diyUserId;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:15
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductBlacklistVO")
public class CustomProductBlacklistVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info的id
*/
@Schema(description = "custom_product_info的id")
private Integer productId;
/**
* db_diy_user的id
*/
@Schema(description = "db_diy_user的id")
private Integer diyUserId;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductCnRemarkPageVo")
public class CustomProductCnRemarkPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@Schema(description = "id")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* 内容
*/
@Schema(description = "内容")
private String remark;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductCnRemarkVO")
public class CustomProductCnRemarkVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@Schema(description = "id")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* 内容
*/
@Schema(description = "内容")
private String remark;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductCraftRelPageVo")
public class CustomProductCraftRelPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info 的id
*/
@Schema(description = "custom_product_info 的id")
private Integer productId;
/**
* craft_center 的id
*/
@Schema(description = "craft_center 的id")
private Long craftId;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductCraftRelVO")
public class CustomProductCraftRelVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info 的id
*/
@Schema(description = "custom_product_info 的id")
private Integer productId;
/**
* craft_center 的id
*/
@Schema(description = "craft_center 的id")
private Long craftId;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductDiyUserRelPageVo")
public class CustomProductDiyUserRelPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info的id
*/
@Schema(description = "custom_product_info的id")
private Integer productId;
/**
* db_diy_user的id
*/
@Schema(description = "db_diy_user的id")
private Integer diyUserId;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductDiyUserRelVO")
public class CustomProductDiyUserRelVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info的id
*/
@Schema(description = "custom_product_info的id")
private Integer productId;
/**
* db_diy_user的id
*/
@Schema(description = "db_diy_user的id")
private Integer diyUserId;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductFactoryPriceIntervalRelPageVo")
public class CustomProductFactoryPriceIntervalRelPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info 表id
*/
@Schema(description = "custom_product_info 表id")
private Integer productId;
/**
* 币种编码
*/
@Schema(description = "币种编码")
private String currencyCode;
/**
* (系统成本)最大值
*/
@Schema(description = "(系统成本)最大值")
private BigDecimal priceMax;
/**
* (系统成本)最小值
*/
@Schema(description = "(系统成本)最小值")
private BigDecimal priceMin;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductFactoryPriceIntervalRelVO")
public class CustomProductFactoryPriceIntervalRelVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info 表id
*/
@Schema(description = "custom_product_info 表id")
private Integer productId;
/**
* 币种编码
*/
@Schema(description = "币种编码")
private String currencyCode;
/**
* (系统成本)最大值
*/
@Schema(description = "(系统成本)最大值")
private BigDecimal priceMax;
/**
* (系统成本)最小值
*/
@Schema(description = "(系统成本)最小值")
private BigDecimal priceMin;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductFactoryPriceRelPageVo")
public class CustomProductFactoryPriceRelPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* custom_product_item表id
*/
@Schema(description = "custom_product_item表id")
private Integer itemId;
/**
* custom_product_item表sku
*/
@Schema(description = "custom_product_item表sku")
private String itemSku;
/**
* db_diy表id
*/
@Schema(description = "db_diy表id")
private Integer factoryId;
/**
* 工厂价格
*/
@Schema(description = "工厂价格")
private BigDecimal factoryPrice;
/**
* 销售价
*/
@Schema(description = "销售价")
private BigDecimal salesPrice;
/**
* 工厂币种
*/
@Schema(description = "工厂币种")
private String factoryCurrencyCode;
/**
* 售卖币种
*/
@Schema(description = "售卖币种")
private String salesCurrencyCode;
/**
*
*/
@Schema(description = "")
private Date createTime;
/**
*
*/
@Schema(description = "")
private Date updateTime;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductFactoryPriceRelVO")
public class CustomProductFactoryPriceRelVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* custom_product_item表id
*/
@Schema(description = "custom_product_item表id")
private Integer itemId;
/**
* custom_product_item表sku
*/
@Schema(description = "custom_product_item表sku")
private String itemSku;
/**
* db_diy表id
*/
@Schema(description = "db_diy表id")
private Integer factoryId;
/**
* 工厂价格
*/
@Schema(description = "工厂价格")
private BigDecimal factoryPrice;
/**
* 销售价
*/
@Schema(description = "销售价")
private BigDecimal salesPrice;
/**
* 工厂币种
*/
@Schema(description = "工厂币种")
private String factoryCurrencyCode;
/**
* 售卖币种
*/
@Schema(description = "售卖币种")
private String salesCurrencyCode;
/**
*
*/
@Schema(description = "")
private Date createTime;
/**
*
*/
@Schema(description = "")
private Date updateTime;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductImagePageVo")
public class CustomProductImagePageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* 商品ID
*/
@Schema(description = "商品ID")
private Integer productId;
/**
* 图片地址
*/
@Schema(description = "图片地址")
private String imageUrl;
/**
* 排序
*/
@Schema(description = "排序")
private Integer sort;
/**
* 类型 0普通图片 1尺码图
*/
@Schema(description = "类型 0普通图片 1尺码图")
private Integer type;
/**
*
*/
@Schema(description = "")
private Date createTime;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductImageVO")
public class CustomProductImageVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* 商品ID
*/
@Schema(description = "商品ID")
private Integer productId;
/**
* 图片地址
*/
@Schema(description = "图片地址")
private String imageUrl;
/**
* 排序
*/
@Schema(description = "排序")
private Integer sort;
/**
* 类型 0普通图片 1尺码图
*/
@Schema(description = "类型 0普通图片 1尺码图")
private Integer type;
/**
*
*/
@Schema(description = "")
private Date createTime;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductInfoPageVo")
public class CustomProductInfoPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* sku
*/
@Schema(description = "sku")
private String sku;
/**
*
*/
@Schema(description = "")
private String title;
/**
* 商品名称
*/
@Schema(description = "商品名称")
private String name;
/**
* 所属客户
*/
@Schema(description = "所属客户")
private String namespace;
/**
* 所属工厂
*/
@Schema(description = "所属工厂")
private Integer affiliatedFactory;
/**
* 第三方SKU
*/
@Schema(description = "第三方SKU")
private String thirdSku;
/**
* 商品主图
*/
@Schema(description = "商品主图")
private String imgUrl;
/**
* 商品类别ID
*/
@Schema(description = "商品类别ID")
private Integer categoryId;
/**
* 重量kg
*/
@Schema(description = "重量kg")
private BigDecimal weight;
/**
* 最小采购量
*/
@Schema(description = "最小采购量")
private Integer purchasingMin;
/**
* 工厂价(¥)
*/
@Schema(description = "工厂价(¥)")
private BigDecimal factoryPrice;
/**
* 销售价(¥)
*/
@Schema(description = "销售价(¥)")
private BigDecimal salesPrice;
/**
* 销售价最大值(¥)
*/
@Schema(description = "销售价最大值(¥)")
private BigDecimal salesPriceMax;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@Schema(description = "1待上架 10已上架 20已下架 30待下架 40已作废")
private Integer status;
/**
* 挂起前的状态
*/
@Schema(description = "挂起前的状态")
private Integer preSuspendStatus;
/**
*
*/
@Schema(description = "")
private Integer property1CateId;
/**
*
*/
@Schema(description = "")
private Integer property2CateId;
/**
*
*/
@Schema(description = "")
private Integer property3CateId;
/**
*
*/
@Schema(description = "")
private String property1Enname;
/**
*
*/
@Schema(description = "")
private String property2Enname;
/**
*
*/
@Schema(description = "")
private String property3Enname;
/**
* 颜色图
*/
@Schema(description = "颜色图")
private String colorImages;
/**
* 材质
*/
@Schema(description = "材质")
private String material;
/**
* 印花类型 0满印 1局部印
*/
@Schema(description = "印花类型 0满印 1局部印")
private Integer printType;
/**
* 货号
*/
@Schema(description = "货号")
private String productNo;
/**
* 产地code
*/
@Schema(description = "产地code")
private String originCode;
/**
* 产地中文名字
*/
@Schema(description = "产地中文名字")
private String originNameCn;
/**
* 产地英文名字
*/
@Schema(description = "产地英文名字")
private String originNameEn;
/**
* 币种code
*/
@Schema(description = "币种code")
private String currencyCode;
/**
* 币种
*/
@Schema(description = "币种")
private String currencyName;
/**
* 平台直营 客户自营
*/
@Schema(description = "平台直营 客户自营")
private String productType;
/**
* 工厂id
*/
@Schema(description = "工厂id")
private Integer factoryId;
/**
* 工厂编码
*/
@Schema(description = "工厂编码")
private String factoryCode;
/**
* 是否九猫处理
*/
@Schema(description = "是否九猫处理")
private Boolean processing;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
*
*/
@Schema(description = "")
private Date updateTime;
/**
*
*/
@Schema(description = "")
private Integer sort;
/**
* 默认模ID
*/
@Schema(description = "默认模ID")
private Integer diyId;
/**
* 默认模SKU
*/
@Schema(description = "默认模SKU")
private String diySku;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductInfoPropertyPageVo")
public class CustomProductInfoPropertyPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer infoId;
/**
* 属性类ID
*/
@Schema(description = "属性类ID")
private Integer propertyId;
/**
* 属性值ID
*/
@Schema(description = "属性值ID")
private Integer valueId;
/**
* 是否为SKU属性
*/
@Schema(description = "是否为SKU属性")
private Boolean skuProperty;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductInfoPropertyVO")
public class CustomProductInfoPropertyVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer infoId;
/**
* 属性类ID
*/
@Schema(description = "属性类ID")
private Integer propertyId;
/**
* 属性值ID
*/
@Schema(description = "属性值ID")
private Integer valueId;
/**
* 是否为SKU属性
*/
@Schema(description = "是否为SKU属性")
private Boolean skuProperty;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductInfoVO")
public class CustomProductInfoVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* sku
*/
@Schema(description = "sku")
private String sku;
/**
*
*/
@Schema(description = "")
private String title;
/**
* 商品名称
*/
@Schema(description = "商品名称")
private String name;
/**
* 所属客户
*/
@Schema(description = "所属客户")
private String namespace;
/**
* 所属工厂
*/
@Schema(description = "所属工厂")
private Integer affiliatedFactory;
/**
* 第三方SKU
*/
@Schema(description = "第三方SKU")
private String thirdSku;
/**
* 商品主图
*/
@Schema(description = "商品主图")
private String imgUrl;
/**
* 商品类别ID
*/
@Schema(description = "商品类别ID")
private Integer categoryId;
/**
* 重量kg
*/
@Schema(description = "重量kg")
private BigDecimal weight;
/**
* 最小采购量
*/
@Schema(description = "最小采购量")
private Integer purchasingMin;
/**
* 工厂价(¥)
*/
@Schema(description = "工厂价(¥)")
private BigDecimal factoryPrice;
/**
* 销售价(¥)
*/
@Schema(description = "销售价(¥)")
private BigDecimal salesPrice;
/**
* 销售价最大值(¥)
*/
@Schema(description = "销售价最大值(¥)")
private BigDecimal salesPriceMax;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@Schema(description = "1待上架 10已上架 20已下架 30待下架 40已作废")
private Integer status;
/**
* 挂起前的状态
*/
@Schema(description = "挂起前的状态")
private Integer preSuspendStatus;
/**
*
*/
@Schema(description = "")
private Integer property1CateId;
/**
*
*/
@Schema(description = "")
private Integer property2CateId;
/**
*
*/
@Schema(description = "")
private Integer property3CateId;
/**
*
*/
@Schema(description = "")
private String property1Enname;
/**
*
*/
@Schema(description = "")
private String property2Enname;
/**
*
*/
@Schema(description = "")
private String property3Enname;
/**
* 颜色图
*/
@Schema(description = "颜色图")
private String colorImages;
/**
* 材质
*/
@Schema(description = "材质")
private String material;
/**
* 印花类型 0满印 1局部印
*/
@Schema(description = "印花类型 0满印 1局部印")
private Integer printType;
/**
* 货号
*/
@Schema(description = "货号")
private String productNo;
/**
* 产地code
*/
@Schema(description = "产地code")
private String originCode;
/**
* 产地中文名字
*/
@Schema(description = "产地中文名字")
private String originNameCn;
/**
* 产地英文名字
*/
@Schema(description = "产地英文名字")
private String originNameEn;
/**
* 币种code
*/
@Schema(description = "币种code")
private String currencyCode;
/**
* 币种
*/
@Schema(description = "币种")
private String currencyName;
/**
* 平台直营 客户自营
*/
@Schema(description = "平台直营 客户自营")
private String productType;
/**
* 工厂id
*/
@Schema(description = "工厂id")
private Integer factoryId;
/**
* 工厂编码
*/
@Schema(description = "工厂编码")
private String factoryCode;
/**
* 是否九猫处理
*/
@Schema(description = "是否九猫处理")
private Boolean processing;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
*
*/
@Schema(description = "")
private Date updateTime;
/**
*
*/
@Schema(description = "")
private Integer sort;
/**
* 默认模ID
*/
@Schema(description = "默认模ID")
private Integer diyId;
/**
* 默认模SKU
*/
@Schema(description = "默认模SKU")
private String diySku;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductItemPageVo")
public class CustomProductItemPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* 商品ID
*/
@Schema(description = "商品ID")
private Integer productId;
/**
* sku
*/
@Schema(description = "sku")
private String sku;
/**
* sku商品名称
*/
@Schema(description = "sku商品名称")
private String skuName;
/**
* 封面图
*/
@Schema(description = "封面图")
private String image;
/**
* 图片集
*/
@Schema(description = "图片集")
private String imageAry;
/**
* 属性分类ID1
*/
@Schema(description = "属性分类ID1")
private Integer propertyCateId1;
/**
* 属性分类ID2
*/
@Schema(description = "属性分类ID2")
private Integer propertyCateId2;
/**
* 属性分类ID3
*/
@Schema(description = "属性分类ID3")
private Integer propertyCateId3;
/**
*
*/
@Schema(description = "")
private Integer property1Id;
/**
*
*/
@Schema(description = "")
private Integer property2Id;
/**
*
*/
@Schema(description = "")
private Integer property3Id;
/**
* 属性编码1
*/
@Schema(description = "属性编码1")
private String propertyCode1;
/**
* 属性编码2
*/
@Schema(description = "属性编码2")
private String propertyCode2;
/**
*
*/
@Schema(description = "")
private String propertyCode3;
/**
* 属性名称1
*/
@Schema(description = "属性名称1")
private String optionEnname1;
/**
* 属性名称2
*/
@Schema(description = "属性名称2")
private String optionEnname2;
/**
*
*/
@Schema(description = "")
private String optionEnname3;
/**
*
*/
@Schema(description = "")
private String customValue1;
/**
*
*/
@Schema(description = "")
private String customValue2;
/**
*
*/
@Schema(description = "")
private String customValue3;
/**
* 工厂价
*/
@Schema(description = "工厂价")
private BigDecimal factoryPrice;
/**
* 销售价
*/
@Schema(description = "销售价")
private BigDecimal salesPrice;
/**
* sku克重
*/
@Schema(description = "sku克重")
private BigDecimal skuWeight;
/**
* 注册数量
*/
@Schema(description = "注册数量")
private Integer regCount;
/**
* 印花类型 0满印 1局部印
*/
@Schema(description = "印花类型 0满印 1局部印")
private Integer printType;
/**
* 排序
*/
@Schema(description = "排序")
private Integer sort;
/**
* 货号
*/
@Schema(description = "货号")
private String productNo;
/**
* 1正常码 2大码
*/
@Schema(description = "1正常码 2大码")
private Integer sizeType;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
* 更新时间
*/
@Schema(description = "更新时间")
private Date updateTime;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductItemVO")
public class CustomProductItemVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
* 商品ID
*/
@Schema(description = "商品ID")
private Integer productId;
/**
* sku
*/
@Schema(description = "sku")
private String sku;
/**
* sku商品名称
*/
@Schema(description = "sku商品名称")
private String skuName;
/**
* 封面图
*/
@Schema(description = "封面图")
private String image;
/**
* 图片集
*/
@Schema(description = "图片集")
private String imageAry;
/**
* 属性分类ID1
*/
@Schema(description = "属性分类ID1")
private Integer propertyCateId1;
/**
* 属性分类ID2
*/
@Schema(description = "属性分类ID2")
private Integer propertyCateId2;
/**
* 属性分类ID3
*/
@Schema(description = "属性分类ID3")
private Integer propertyCateId3;
/**
*
*/
@Schema(description = "")
private Integer property1Id;
/**
*
*/
@Schema(description = "")
private Integer property2Id;
/**
*
*/
@Schema(description = "")
private Integer property3Id;
/**
* 属性编码1
*/
@Schema(description = "属性编码1")
private String propertyCode1;
/**
* 属性编码2
*/
@Schema(description = "属性编码2")
private String propertyCode2;
/**
*
*/
@Schema(description = "")
private String propertyCode3;
/**
* 属性名称1
*/
@Schema(description = "属性名称1")
private String optionEnname1;
/**
* 属性名称2
*/
@Schema(description = "属性名称2")
private String optionEnname2;
/**
*
*/
@Schema(description = "")
private String optionEnname3;
/**
*
*/
@Schema(description = "")
private String customValue1;
/**
*
*/
@Schema(description = "")
private String customValue2;
/**
*
*/
@Schema(description = "")
private String customValue3;
/**
* 工厂价
*/
@Schema(description = "工厂价")
private BigDecimal factoryPrice;
/**
* 销售价
*/
@Schema(description = "销售价")
private BigDecimal salesPrice;
/**
* sku克重
*/
@Schema(description = "sku克重")
private BigDecimal skuWeight;
/**
* 注册数量
*/
@Schema(description = "注册数量")
private Integer regCount;
/**
* 印花类型 0满印 1局部印
*/
@Schema(description = "印花类型 0满印 1局部印")
private Integer printType;
/**
* 排序
*/
@Schema(description = "排序")
private Integer sort;
/**
* 货号
*/
@Schema(description = "货号")
private String productNo;
/**
* 1正常码 2大码
*/
@Schema(description = "1正常码 2大码")
private Integer sizeType;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
* 更新时间
*/
@Schema(description = "更新时间")
private Date updateTime;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductRemarkPageVo")
public class CustomProductRemarkPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@Schema(description = "id")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* 内容
*/
@Schema(description = "内容")
private String remark;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductRemarkVO")
public class CustomProductRemarkVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@Schema(description = "id")
private Integer id;
/**
* custom_product_info表id
*/
@Schema(description = "custom_product_info表id")
private Integer productId;
/**
* 内容
*/
@Schema(description = "内容")
private String remark;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "CustomProductWarehouseRelPageVo")
public class CustomProductWarehouseRelPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
*
*/
@Schema(description = "")
private Integer productId;
/**
*
*/
@Schema(description = "")
private Long warehouseId;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "CustomProductWarehouseRelVO")
public class CustomProductWarehouseRelVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@Schema(description = "")
private Integer id;
/**
*
*/
@Schema(description = "")
private Integer productId;
/**
*
*/
@Schema(description = "")
private Long warehouseId;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "LogCustomProductPageVo")
public class LogCustomProductPageVO extends PageRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@Schema(description = "主键")
private Long id;
/**
* 商品id(custom_product_info表id)
*/
@Schema(description = "商品id(custom_product_info表id)")
private Integer productId;
/**
* 操作人id
*/
@Schema(description = "操作人id")
private Integer employeeId;
/**
* 操作人账号
*/
@Schema(description = "操作人账号")
private String employeeAccount;
/**
* 操作描述
*/
@Schema(description = "操作描述")
private String description;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
* 0 custom 1 factory 2都可以
*/
@Schema(description = "0 custom 1 factory 2都可以")
private Integer dataPermissions;
}
package com.jomalls.custom.app.model;
import lombok.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "LogCustomProductVO")
public class LogCustomProductVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@Schema(description = "主键")
private Long id;
/**
* 商品id(custom_product_info表id)
*/
@Schema(description = "商品id(custom_product_info表id)")
private Integer productId;
/**
* 操作人id
*/
@Schema(description = "操作人id")
private Integer employeeId;
/**
* 操作人账号
*/
@Schema(description = "操作人账号")
private String employeeAccount;
/**
* 操作描述
*/
@Schema(description = "操作描述")
private String description;
/**
* 创建时间
*/
@Schema(description = "创建时间")
private Date createTime;
/**
* 0 custom 1 factory 2都可以
*/
@Schema(description = "0 custom 1 factory 2都可以")
private Integer dataPermissions;
}
package com.jomalls.custom.app.model;
import com.jomalls.custom.page.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
/**
......
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductBlacklistPageVO;
import com.jomalls.custom.app.model.CustomProductBlacklistVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public interface CustomProductBlacklistService {
/**
* 列表查询接口
*
* @param customProductBlacklistVO 条件model
* @return list集合
*/
List<CustomProductBlacklistVO> list(CustomProductBlacklistVO customProductBlacklistVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductBlacklistPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductBlacklistVO> pageList(CustomProductBlacklistPageVO customProductBlacklistPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductBlacklistVO info(Integer id);
/**
* 保存对象
*
* @param customProductBlacklistVO 保存对象
*/
void save(CustomProductBlacklistVO customProductBlacklistVO);
/**
* 根据id修改对象
*
* @param customProductBlacklistVO 修改对象
*/
void updateById(CustomProductBlacklistVO customProductBlacklistVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductCnRemarkPageVO;
import com.jomalls.custom.app.model.CustomProductCnRemarkVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public interface CustomProductCnRemarkService {
/**
* 列表查询接口
*
* @param customProductCnRemarkVO 条件model
* @return list集合
*/
List<CustomProductCnRemarkVO> list(CustomProductCnRemarkVO customProductCnRemarkVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductCnRemarkPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductCnRemarkVO> pageList(CustomProductCnRemarkPageVO customProductCnRemarkPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductCnRemarkVO info(Integer id);
/**
* 保存对象
*
* @param customProductCnRemarkVO 保存对象
*/
void save(CustomProductCnRemarkVO customProductCnRemarkVO);
/**
* 根据id修改对象
*
* @param customProductCnRemarkVO 修改对象
*/
void updateById(CustomProductCnRemarkVO customProductCnRemarkVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductCraftRelPageVO;
import com.jomalls.custom.app.model.CustomProductCraftRelVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public interface CustomProductCraftRelService {
/**
* 列表查询接口
*
* @param customProductCraftRelVO 条件model
* @return list集合
*/
List<CustomProductCraftRelVO> list(CustomProductCraftRelVO customProductCraftRelVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductCraftRelPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductCraftRelVO> pageList(CustomProductCraftRelPageVO customProductCraftRelPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductCraftRelVO info(Integer id);
/**
* 保存对象
*
* @param customProductCraftRelVO 保存对象
*/
void save(CustomProductCraftRelVO customProductCraftRelVO);
/**
* 根据id修改对象
*
* @param customProductCraftRelVO 修改对象
*/
void updateById(CustomProductCraftRelVO customProductCraftRelVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductDiyUserRelPageVO;
import com.jomalls.custom.app.model.CustomProductDiyUserRelVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductDiyUserRelService {
/**
* 列表查询接口
*
* @param customProductDiyUserRelVO 条件model
* @return list集合
*/
List<CustomProductDiyUserRelVO> list(CustomProductDiyUserRelVO customProductDiyUserRelVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductDiyUserRelPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductDiyUserRelVO> pageList(CustomProductDiyUserRelPageVO customProductDiyUserRelPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductDiyUserRelVO info(Integer id);
/**
* 保存对象
*
* @param customProductDiyUserRelVO 保存对象
*/
void save(CustomProductDiyUserRelVO customProductDiyUserRelVO);
/**
* 根据id修改对象
*
* @param customProductDiyUserRelVO 修改对象
*/
void updateById(CustomProductDiyUserRelVO customProductDiyUserRelVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelPageVO;
import com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductFactoryPriceIntervalRelService {
/**
* 列表查询接口
*
* @param customProductFactoryPriceIntervalRelVO 条件model
* @return list集合
*/
List<CustomProductFactoryPriceIntervalRelVO> list(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceIntervalRelPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductFactoryPriceIntervalRelVO> pageList(CustomProductFactoryPriceIntervalRelPageVO customProductFactoryPriceIntervalRelPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductFactoryPriceIntervalRelVO info(Integer id);
/**
* 保存对象
*
* @param customProductFactoryPriceIntervalRelVO 保存对象
*/
void save(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO);
/**
* 根据id修改对象
*
* @param customProductFactoryPriceIntervalRelVO 修改对象
*/
void updateById(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductFactoryPriceRelPageVO;
import com.jomalls.custom.app.model.CustomProductFactoryPriceRelVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductFactoryPriceRelService {
/**
* 列表查询接口
*
* @param customProductFactoryPriceRelVO 条件model
* @return list集合
*/
List<CustomProductFactoryPriceRelVO> list(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceRelPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductFactoryPriceRelVO> pageList(CustomProductFactoryPriceRelPageVO customProductFactoryPriceRelPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductFactoryPriceRelVO info(Integer id);
/**
* 保存对象
*
* @param customProductFactoryPriceRelVO 保存对象
*/
void save(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO);
/**
* 根据id修改对象
*
* @param customProductFactoryPriceRelVO 修改对象
*/
void updateById(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductImagePageVO;
import com.jomalls.custom.app.model.CustomProductImageVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductImageService {
/**
* 列表查询接口
*
* @param customProductImageVO 条件model
* @return list集合
*/
List<CustomProductImageVO> list(CustomProductImageVO customProductImageVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductImagePageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductImageVO> pageList(CustomProductImagePageVO customProductImagePageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductImageVO info(Integer id);
/**
* 保存对象
*
* @param customProductImageVO 保存对象
*/
void save(CustomProductImageVO customProductImageVO);
/**
* 根据id修改对象
*
* @param customProductImageVO 修改对象
*/
void updateById(CustomProductImageVO customProductImageVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductInfoPropertyPageVO;
import com.jomalls.custom.app.model.CustomProductInfoPropertyVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductInfoPropertyService {
/**
* 列表查询接口
*
* @param customProductInfoPropertyVO 条件model
* @return list集合
*/
List<CustomProductInfoPropertyVO> list(CustomProductInfoPropertyVO customProductInfoPropertyVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPropertyPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductInfoPropertyVO> pageList(CustomProductInfoPropertyPageVO customProductInfoPropertyPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductInfoPropertyVO info(Integer id);
/**
* 保存对象
*
* @param customProductInfoPropertyVO 保存对象
*/
void save(CustomProductInfoPropertyVO customProductInfoPropertyVO);
/**
* 根据id修改对象
*
* @param customProductInfoPropertyVO 修改对象
*/
void updateById(CustomProductInfoPropertyVO customProductInfoPropertyVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductInfoPageVO;
import com.jomalls.custom.app.model.CustomProductInfoVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductInfoService {
/**
* 列表查询接口
*
* @param customProductInfoVO 条件model
* @return list集合
*/
List<CustomProductInfoVO> list(CustomProductInfoVO customProductInfoVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductInfoVO> pageList(CustomProductInfoPageVO customProductInfoPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductInfoVO info(Integer id);
/**
* 保存对象
*
* @param customProductInfoVO 保存对象
*/
void save(CustomProductInfoVO customProductInfoVO);
/**
* 根据id修改对象
*
* @param customProductInfoVO 修改对象
*/
void updateById(CustomProductInfoVO customProductInfoVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductItemPageVO;
import com.jomalls.custom.app.model.CustomProductItemVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductItemService {
/**
* 列表查询接口
*
* @param customProductItemVO 条件model
* @return list集合
*/
List<CustomProductItemVO> list(CustomProductItemVO customProductItemVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductItemPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductItemVO> pageList(CustomProductItemPageVO customProductItemPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductItemVO info(Integer id);
/**
* 保存对象
*
* @param customProductItemVO 保存对象
*/
void save(CustomProductItemVO customProductItemVO);
/**
* 根据id修改对象
*
* @param customProductItemVO 修改对象
*/
void updateById(CustomProductItemVO customProductItemVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductRemarkPageVO;
import com.jomalls.custom.app.model.CustomProductRemarkVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductRemarkService {
/**
* 列表查询接口
*
* @param customProductRemarkVO 条件model
* @return list集合
*/
List<CustomProductRemarkVO> list(CustomProductRemarkVO customProductRemarkVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductRemarkPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductRemarkVO> pageList(CustomProductRemarkPageVO customProductRemarkPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductRemarkVO info(Integer id);
/**
* 保存对象
*
* @param customProductRemarkVO 保存对象
*/
void save(CustomProductRemarkVO customProductRemarkVO);
/**
* 根据id修改对象
*
* @param customProductRemarkVO 修改对象
*/
void updateById(CustomProductRemarkVO customProductRemarkVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.CustomProductWarehouseRelPageVO;
import com.jomalls.custom.app.model.CustomProductWarehouseRelVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface CustomProductWarehouseRelService {
/**
* 列表查询接口
*
* @param customProductWarehouseRelVO 条件model
* @return list集合
*/
List<CustomProductWarehouseRelVO> list(CustomProductWarehouseRelVO customProductWarehouseRelVO);
/**
* 根据条件查询分页列表接口
*
* @param customProductWarehouseRelPageVO 分页入参model
* @return 分页对象
*/
IPage<CustomProductWarehouseRelVO> pageList(CustomProductWarehouseRelPageVO customProductWarehouseRelPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductWarehouseRelVO info(Integer id);
/**
* 保存对象
*
* @param customProductWarehouseRelVO 保存对象
*/
void save(CustomProductWarehouseRelVO customProductWarehouseRelVO);
/**
* 根据id修改对象
*
* @param customProductWarehouseRelVO 修改对象
*/
void updateById(CustomProductWarehouseRelVO customProductWarehouseRelVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.model.LogCustomProductPageVO;
import com.jomalls.custom.app.model.LogCustomProductVO;
import java.util.List;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public interface LogCustomProductService {
/**
* 列表查询接口
*
* @param logCustomProductVO 条件model
* @return list集合
*/
List<LogCustomProductVO> list(LogCustomProductVO logCustomProductVO);
/**
* 根据条件查询分页列表接口
*
* @param logCustomProductPageVO 分页入参model
* @return 分页对象
*/
IPage<LogCustomProductVO> pageList(LogCustomProductPageVO logCustomProductPageVO);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
LogCustomProductVO info(Integer id);
/**
* 保存对象
*
* @param logCustomProductVO 保存对象
*/
void save(LogCustomProductVO logCustomProductVO);
/**
* 根据id修改对象
*
* @param logCustomProductVO 修改对象
*/
void updateById(LogCustomProductVO logCustomProductVO);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void deleteById(Integer id);
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductBlacklistPageVO;
import com.jomalls.custom.app.model.CustomProductBlacklistVO;
import com.jomalls.custom.app.service.CustomProductBlacklistService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductBlacklistEntity;
import com.jomalls.custom.domain.service.CustomProductBlacklistDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public class CustomProductBlacklistServiceImpl implements CustomProductBlacklistService {
private final CustomProductBlacklistDomainService customProductBlacklistDomainService;
@Autowired
public CustomProductBlacklistServiceImpl(CustomProductBlacklistDomainService customProductBlacklistDomainService) {
this.customProductBlacklistDomainService = customProductBlacklistDomainService;
}
@Override
public List<CustomProductBlacklistVO> list(CustomProductBlacklistVO customProductBlacklistVO) {
QueryWrapper<CustomProductBlacklistEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductBlacklistEntity> list = customProductBlacklistDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductBlacklistVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductBlacklistVO> pageList(CustomProductBlacklistPageVO customProductBlacklistPageVO) {
CustomAsserts.nonNull(customProductBlacklistPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductBlacklistEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductBlacklistEntity> page = customProductBlacklistDomainService.selectPage(queryWrapper, customProductBlacklistPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductBlacklistVO.class));
}
@Override
public CustomProductBlacklistVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductBlacklistEntity customProductBlacklist = customProductBlacklistDomainService.getById(id);
return BeanMapper.mapper().convert(customProductBlacklist, CustomProductBlacklistVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductBlacklistVO customProductBlacklistVO) {
CustomAsserts.nonNull(customProductBlacklistVO, "实体对象不能为空");
CustomProductBlacklistEntity customProductBlacklistEntity = BeanMapper.mapper().convert(customProductBlacklistVO, CustomProductBlacklistEntity.class);
try {
customProductBlacklistDomainService.save(customProductBlacklistEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductBlacklistServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductBlacklistVO customProductBlacklistVO) {
CustomAsserts.nonNull(customProductBlacklistVO, "实体对象不能为空");
CustomProductBlacklistEntity customProductBlacklist = BeanMapper.mapper().convert(customProductBlacklistVO, CustomProductBlacklistEntity.class);
try {
customProductBlacklistDomainService.updateById(customProductBlacklist);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductBlacklistServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductBlacklistDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductCnRemarkPageVO;
import com.jomalls.custom.app.model.CustomProductCnRemarkVO;
import com.jomalls.custom.app.service.CustomProductCnRemarkService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity;
import com.jomalls.custom.domain.service.CustomProductCnRemarkDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public class CustomProductCnRemarkServiceImpl implements CustomProductCnRemarkService {
private final CustomProductCnRemarkDomainService customProductCnRemarkDomainService;
@Autowired
public CustomProductCnRemarkServiceImpl(CustomProductCnRemarkDomainService customProductCnRemarkDomainService) {
this.customProductCnRemarkDomainService = customProductCnRemarkDomainService;
}
@Override
public List<CustomProductCnRemarkVO> list(CustomProductCnRemarkVO customProductCnRemarkVO) {
QueryWrapper<CustomProductCnRemarkEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductCnRemarkEntity> list = customProductCnRemarkDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductCnRemarkVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductCnRemarkVO> pageList(CustomProductCnRemarkPageVO customProductCnRemarkPageVO) {
CustomAsserts.nonNull(customProductCnRemarkPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductCnRemarkEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductCnRemarkEntity> page = customProductCnRemarkDomainService.selectPage(queryWrapper, customProductCnRemarkPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductCnRemarkVO.class));
}
@Override
public CustomProductCnRemarkVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductCnRemarkEntity customProductCnRemark = customProductCnRemarkDomainService.getById(id);
return BeanMapper.mapper().convert(customProductCnRemark, CustomProductCnRemarkVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductCnRemarkVO customProductCnRemarkVO) {
CustomAsserts.nonNull(customProductCnRemarkVO, "实体对象不能为空");
CustomProductCnRemarkEntity customProductCnRemarkEntity = BeanMapper.mapper().convert(customProductCnRemarkVO, CustomProductCnRemarkEntity.class);
try {
customProductCnRemarkDomainService.save(customProductCnRemarkEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductCnRemarkServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductCnRemarkVO customProductCnRemarkVO) {
CustomAsserts.nonNull(customProductCnRemarkVO, "实体对象不能为空");
CustomProductCnRemarkEntity customProductCnRemark = BeanMapper.mapper().convert(customProductCnRemarkVO, CustomProductCnRemarkEntity.class);
try {
customProductCnRemarkDomainService.updateById(customProductCnRemark);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductCnRemarkServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductCnRemarkDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductCraftRelPageVO;
import com.jomalls.custom.app.model.CustomProductCraftRelVO;
import com.jomalls.custom.app.service.CustomProductCraftRelService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductCraftRelEntity;
import com.jomalls.custom.domain.service.CustomProductCraftRelDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public class CustomProductCraftRelServiceImpl implements CustomProductCraftRelService {
private final CustomProductCraftRelDomainService customProductCraftRelDomainService;
@Autowired
public CustomProductCraftRelServiceImpl(CustomProductCraftRelDomainService customProductCraftRelDomainService) {
this.customProductCraftRelDomainService = customProductCraftRelDomainService;
}
@Override
public List<CustomProductCraftRelVO> list(CustomProductCraftRelVO customProductCraftRelVO) {
QueryWrapper<CustomProductCraftRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductCraftRelEntity> list = customProductCraftRelDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductCraftRelVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductCraftRelVO> pageList(CustomProductCraftRelPageVO customProductCraftRelPageVO) {
CustomAsserts.nonNull(customProductCraftRelPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductCraftRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductCraftRelEntity> page = customProductCraftRelDomainService.selectPage(queryWrapper, customProductCraftRelPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductCraftRelVO.class));
}
@Override
public CustomProductCraftRelVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductCraftRelEntity customProductCraftRel = customProductCraftRelDomainService.getById(id);
return BeanMapper.mapper().convert(customProductCraftRel, CustomProductCraftRelVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductCraftRelVO customProductCraftRelVO) {
CustomAsserts.nonNull(customProductCraftRelVO, "实体对象不能为空");
CustomProductCraftRelEntity customProductCraftRelEntity = BeanMapper.mapper().convert(customProductCraftRelVO, CustomProductCraftRelEntity.class);
try {
customProductCraftRelDomainService.save(customProductCraftRelEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductCraftRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductCraftRelVO customProductCraftRelVO) {
CustomAsserts.nonNull(customProductCraftRelVO, "实体对象不能为空");
CustomProductCraftRelEntity customProductCraftRel = BeanMapper.mapper().convert(customProductCraftRelVO, CustomProductCraftRelEntity.class);
try {
customProductCraftRelDomainService.updateById(customProductCraftRel);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductCraftRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductCraftRelDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductDiyUserRelPageVO;
import com.jomalls.custom.app.model.CustomProductDiyUserRelVO;
import com.jomalls.custom.app.service.CustomProductDiyUserRelService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity;
import com.jomalls.custom.domain.service.CustomProductDiyUserRelDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductDiyUserRelServiceImpl implements CustomProductDiyUserRelService {
private final CustomProductDiyUserRelDomainService customProductDiyUserRelDomainService;
@Autowired
public CustomProductDiyUserRelServiceImpl(CustomProductDiyUserRelDomainService customProductDiyUserRelDomainService) {
this.customProductDiyUserRelDomainService = customProductDiyUserRelDomainService;
}
@Override
public List<CustomProductDiyUserRelVO> list(CustomProductDiyUserRelVO customProductDiyUserRelVO) {
QueryWrapper<CustomProductDiyUserRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductDiyUserRelEntity> list = customProductDiyUserRelDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductDiyUserRelVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductDiyUserRelVO> pageList(CustomProductDiyUserRelPageVO customProductDiyUserRelPageVO) {
CustomAsserts.nonNull(customProductDiyUserRelPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductDiyUserRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductDiyUserRelEntity> page = customProductDiyUserRelDomainService.selectPage(queryWrapper, customProductDiyUserRelPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductDiyUserRelVO.class));
}
@Override
public CustomProductDiyUserRelVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductDiyUserRelEntity customProductDiyUserRel = customProductDiyUserRelDomainService.getById(id);
return BeanMapper.mapper().convert(customProductDiyUserRel, CustomProductDiyUserRelVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductDiyUserRelVO customProductDiyUserRelVO) {
CustomAsserts.nonNull(customProductDiyUserRelVO, "实体对象不能为空");
CustomProductDiyUserRelEntity customProductDiyUserRelEntity = BeanMapper.mapper().convert(customProductDiyUserRelVO, CustomProductDiyUserRelEntity.class);
try {
customProductDiyUserRelDomainService.save(customProductDiyUserRelEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductDiyUserRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductDiyUserRelVO customProductDiyUserRelVO) {
CustomAsserts.nonNull(customProductDiyUserRelVO, "实体对象不能为空");
CustomProductDiyUserRelEntity customProductDiyUserRel = BeanMapper.mapper().convert(customProductDiyUserRelVO, CustomProductDiyUserRelEntity.class);
try {
customProductDiyUserRelDomainService.updateById(customProductDiyUserRel);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductDiyUserRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductDiyUserRelDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelPageVO;
import com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelVO;
import com.jomalls.custom.app.service.CustomProductFactoryPriceIntervalRelService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity;
import com.jomalls.custom.domain.service.CustomProductFactoryPriceIntervalRelDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductFactoryPriceIntervalRelServiceImpl implements CustomProductFactoryPriceIntervalRelService {
private final CustomProductFactoryPriceIntervalRelDomainService customProductFactoryPriceIntervalRelDomainService;
@Autowired
public CustomProductFactoryPriceIntervalRelServiceImpl(CustomProductFactoryPriceIntervalRelDomainService customProductFactoryPriceIntervalRelDomainService) {
this.customProductFactoryPriceIntervalRelDomainService = customProductFactoryPriceIntervalRelDomainService;
}
@Override
public List<CustomProductFactoryPriceIntervalRelVO> list(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO) {
QueryWrapper<CustomProductFactoryPriceIntervalRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductFactoryPriceIntervalRelEntity> list = customProductFactoryPriceIntervalRelDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductFactoryPriceIntervalRelVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductFactoryPriceIntervalRelVO> pageList(CustomProductFactoryPriceIntervalRelPageVO customProductFactoryPriceIntervalRelPageVO) {
CustomAsserts.nonNull(customProductFactoryPriceIntervalRelPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductFactoryPriceIntervalRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductFactoryPriceIntervalRelEntity> page = customProductFactoryPriceIntervalRelDomainService.selectPage(queryWrapper, customProductFactoryPriceIntervalRelPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductFactoryPriceIntervalRelVO.class));
}
@Override
public CustomProductFactoryPriceIntervalRelVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductFactoryPriceIntervalRelEntity customProductFactoryPriceIntervalRel = customProductFactoryPriceIntervalRelDomainService.getById(id);
return BeanMapper.mapper().convert(customProductFactoryPriceIntervalRel, CustomProductFactoryPriceIntervalRelVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO) {
CustomAsserts.nonNull(customProductFactoryPriceIntervalRelVO, "实体对象不能为空");
CustomProductFactoryPriceIntervalRelEntity customProductFactoryPriceIntervalRelEntity = BeanMapper.mapper().convert(customProductFactoryPriceIntervalRelVO, CustomProductFactoryPriceIntervalRelEntity.class);
try {
customProductFactoryPriceIntervalRelDomainService.save(customProductFactoryPriceIntervalRelEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductFactoryPriceIntervalRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductFactoryPriceIntervalRelVO customProductFactoryPriceIntervalRelVO) {
CustomAsserts.nonNull(customProductFactoryPriceIntervalRelVO, "实体对象不能为空");
CustomProductFactoryPriceIntervalRelEntity customProductFactoryPriceIntervalRel = BeanMapper.mapper().convert(customProductFactoryPriceIntervalRelVO, CustomProductFactoryPriceIntervalRelEntity.class);
try {
customProductFactoryPriceIntervalRelDomainService.updateById(customProductFactoryPriceIntervalRel);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductFactoryPriceIntervalRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductFactoryPriceIntervalRelDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductFactoryPriceRelPageVO;
import com.jomalls.custom.app.model.CustomProductFactoryPriceRelVO;
import com.jomalls.custom.app.service.CustomProductFactoryPriceRelService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity;
import com.jomalls.custom.domain.service.CustomProductFactoryPriceRelDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductFactoryPriceRelServiceImpl implements CustomProductFactoryPriceRelService {
private final CustomProductFactoryPriceRelDomainService customProductFactoryPriceRelDomainService;
@Autowired
public CustomProductFactoryPriceRelServiceImpl(CustomProductFactoryPriceRelDomainService customProductFactoryPriceRelDomainService) {
this.customProductFactoryPriceRelDomainService = customProductFactoryPriceRelDomainService;
}
@Override
public List<CustomProductFactoryPriceRelVO> list(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO) {
QueryWrapper<CustomProductFactoryPriceRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductFactoryPriceRelEntity> list = customProductFactoryPriceRelDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductFactoryPriceRelVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductFactoryPriceRelVO> pageList(CustomProductFactoryPriceRelPageVO customProductFactoryPriceRelPageVO) {
CustomAsserts.nonNull(customProductFactoryPriceRelPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductFactoryPriceRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductFactoryPriceRelEntity> page = customProductFactoryPriceRelDomainService.selectPage(queryWrapper, customProductFactoryPriceRelPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductFactoryPriceRelVO.class));
}
@Override
public CustomProductFactoryPriceRelVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductFactoryPriceRelEntity customProductFactoryPriceRel = customProductFactoryPriceRelDomainService.getById(id);
return BeanMapper.mapper().convert(customProductFactoryPriceRel, CustomProductFactoryPriceRelVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO) {
CustomAsserts.nonNull(customProductFactoryPriceRelVO, "实体对象不能为空");
CustomProductFactoryPriceRelEntity customProductFactoryPriceRelEntity = BeanMapper.mapper().convert(customProductFactoryPriceRelVO, CustomProductFactoryPriceRelEntity.class);
try {
customProductFactoryPriceRelDomainService.save(customProductFactoryPriceRelEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductFactoryPriceRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductFactoryPriceRelVO customProductFactoryPriceRelVO) {
CustomAsserts.nonNull(customProductFactoryPriceRelVO, "实体对象不能为空");
CustomProductFactoryPriceRelEntity customProductFactoryPriceRel = BeanMapper.mapper().convert(customProductFactoryPriceRelVO, CustomProductFactoryPriceRelEntity.class);
try {
customProductFactoryPriceRelDomainService.updateById(customProductFactoryPriceRel);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductFactoryPriceRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductFactoryPriceRelDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductImagePageVO;
import com.jomalls.custom.app.model.CustomProductImageVO;
import com.jomalls.custom.app.service.CustomProductImageService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductImageEntity;
import com.jomalls.custom.domain.service.CustomProductImageDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductImageServiceImpl implements CustomProductImageService {
private final CustomProductImageDomainService customProductImageDomainService;
@Autowired
public CustomProductImageServiceImpl(CustomProductImageDomainService customProductImageDomainService) {
this.customProductImageDomainService = customProductImageDomainService;
}
@Override
public List<CustomProductImageVO> list(CustomProductImageVO customProductImageVO) {
QueryWrapper<CustomProductImageEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductImageEntity> list = customProductImageDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductImageVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductImageVO> pageList(CustomProductImagePageVO customProductImagePageVO) {
CustomAsserts.nonNull(customProductImagePageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductImageEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductImageEntity> page = customProductImageDomainService.selectPage(queryWrapper, customProductImagePageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductImageVO.class));
}
@Override
public CustomProductImageVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductImageEntity customProductImage = customProductImageDomainService.getById(id);
return BeanMapper.mapper().convert(customProductImage, CustomProductImageVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductImageVO customProductImageVO) {
CustomAsserts.nonNull(customProductImageVO, "实体对象不能为空");
CustomProductImageEntity customProductImageEntity = BeanMapper.mapper().convert(customProductImageVO, CustomProductImageEntity.class);
try {
customProductImageDomainService.save(customProductImageEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductImageServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductImageVO customProductImageVO) {
CustomAsserts.nonNull(customProductImageVO, "实体对象不能为空");
CustomProductImageEntity customProductImage = BeanMapper.mapper().convert(customProductImageVO, CustomProductImageEntity.class);
try {
customProductImageDomainService.updateById(customProductImage);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductImageServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductImageDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductInfoPropertyPageVO;
import com.jomalls.custom.app.model.CustomProductInfoPropertyVO;
import com.jomalls.custom.app.service.CustomProductInfoPropertyService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity;
import com.jomalls.custom.domain.service.CustomProductInfoPropertyDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductInfoPropertyServiceImpl implements CustomProductInfoPropertyService {
private final CustomProductInfoPropertyDomainService customProductInfoPropertyDomainService;
@Autowired
public CustomProductInfoPropertyServiceImpl(CustomProductInfoPropertyDomainService customProductInfoPropertyDomainService) {
this.customProductInfoPropertyDomainService = customProductInfoPropertyDomainService;
}
@Override
public List<CustomProductInfoPropertyVO> list(CustomProductInfoPropertyVO customProductInfoPropertyVO) {
QueryWrapper<CustomProductInfoPropertyEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductInfoPropertyEntity> list = customProductInfoPropertyDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductInfoPropertyVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductInfoPropertyVO> pageList(CustomProductInfoPropertyPageVO customProductInfoPropertyPageVO) {
CustomAsserts.nonNull(customProductInfoPropertyPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductInfoPropertyEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductInfoPropertyEntity> page = customProductInfoPropertyDomainService.selectPage(queryWrapper, customProductInfoPropertyPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductInfoPropertyVO.class));
}
@Override
public CustomProductInfoPropertyVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductInfoPropertyEntity customProductInfoProperty = customProductInfoPropertyDomainService.getById(id);
return BeanMapper.mapper().convert(customProductInfoProperty, CustomProductInfoPropertyVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductInfoPropertyVO customProductInfoPropertyVO) {
CustomAsserts.nonNull(customProductInfoPropertyVO, "实体对象不能为空");
CustomProductInfoPropertyEntity customProductInfoPropertyEntity = BeanMapper.mapper().convert(customProductInfoPropertyVO, CustomProductInfoPropertyEntity.class);
try {
customProductInfoPropertyDomainService.save(customProductInfoPropertyEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductInfoPropertyServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductInfoPropertyVO customProductInfoPropertyVO) {
CustomAsserts.nonNull(customProductInfoPropertyVO, "实体对象不能为空");
CustomProductInfoPropertyEntity customProductInfoProperty = BeanMapper.mapper().convert(customProductInfoPropertyVO, CustomProductInfoPropertyEntity.class);
try {
customProductInfoPropertyDomainService.updateById(customProductInfoProperty);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductInfoPropertyServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductInfoPropertyDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductInfoPageVO;
import com.jomalls.custom.app.model.CustomProductInfoVO;
import com.jomalls.custom.app.service.CustomProductInfoService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductInfoEntity;
import com.jomalls.custom.domain.service.CustomProductInfoDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductInfoServiceImpl implements CustomProductInfoService {
private final CustomProductInfoDomainService customProductInfoDomainService;
@Autowired
public CustomProductInfoServiceImpl(CustomProductInfoDomainService customProductInfoDomainService) {
this.customProductInfoDomainService = customProductInfoDomainService;
}
@Override
public List<CustomProductInfoVO> list(CustomProductInfoVO customProductInfoVO) {
QueryWrapper<CustomProductInfoEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductInfoEntity> list = customProductInfoDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductInfoVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductInfoVO> pageList(CustomProductInfoPageVO customProductInfoPageVO) {
CustomAsserts.nonNull(customProductInfoPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductInfoEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductInfoEntity> page = customProductInfoDomainService.selectPage(queryWrapper, customProductInfoPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductInfoVO.class));
}
@Override
public CustomProductInfoVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductInfoEntity customProductInfo = customProductInfoDomainService.getById(id);
return BeanMapper.mapper().convert(customProductInfo, CustomProductInfoVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductInfoVO customProductInfoVO) {
CustomAsserts.nonNull(customProductInfoVO, "实体对象不能为空");
CustomProductInfoEntity customProductInfoEntity = BeanMapper.mapper().convert(customProductInfoVO, CustomProductInfoEntity.class);
try {
customProductInfoDomainService.save(customProductInfoEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductInfoServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductInfoVO customProductInfoVO) {
CustomAsserts.nonNull(customProductInfoVO, "实体对象不能为空");
CustomProductInfoEntity customProductInfo = BeanMapper.mapper().convert(customProductInfoVO, CustomProductInfoEntity.class);
try {
customProductInfoDomainService.updateById(customProductInfo);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductInfoServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductInfoDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductItemPageVO;
import com.jomalls.custom.app.model.CustomProductItemVO;
import com.jomalls.custom.app.service.CustomProductItemService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductItemEntity;
import com.jomalls.custom.domain.service.CustomProductItemDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductItemServiceImpl implements CustomProductItemService {
private final CustomProductItemDomainService customProductItemDomainService;
@Autowired
public CustomProductItemServiceImpl(CustomProductItemDomainService customProductItemDomainService) {
this.customProductItemDomainService = customProductItemDomainService;
}
@Override
public List<CustomProductItemVO> list(CustomProductItemVO customProductItemVO) {
QueryWrapper<CustomProductItemEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductItemEntity> list = customProductItemDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductItemVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductItemVO> pageList(CustomProductItemPageVO customProductItemPageVO) {
CustomAsserts.nonNull(customProductItemPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductItemEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductItemEntity> page = customProductItemDomainService.selectPage(queryWrapper, customProductItemPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductItemVO.class));
}
@Override
public CustomProductItemVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductItemEntity customProductItem = customProductItemDomainService.getById(id);
return BeanMapper.mapper().convert(customProductItem, CustomProductItemVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductItemVO customProductItemVO) {
CustomAsserts.nonNull(customProductItemVO, "实体对象不能为空");
CustomProductItemEntity customProductItemEntity = BeanMapper.mapper().convert(customProductItemVO, CustomProductItemEntity.class);
try {
customProductItemDomainService.save(customProductItemEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductItemServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductItemVO customProductItemVO) {
CustomAsserts.nonNull(customProductItemVO, "实体对象不能为空");
CustomProductItemEntity customProductItem = BeanMapper.mapper().convert(customProductItemVO, CustomProductItemEntity.class);
try {
customProductItemDomainService.updateById(customProductItem);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductItemServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductItemDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductRemarkPageVO;
import com.jomalls.custom.app.model.CustomProductRemarkVO;
import com.jomalls.custom.app.service.CustomProductRemarkService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductRemarkEntity;
import com.jomalls.custom.domain.service.CustomProductRemarkDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductRemarkServiceImpl implements CustomProductRemarkService {
private final CustomProductRemarkDomainService customProductRemarkDomainService;
@Autowired
public CustomProductRemarkServiceImpl(CustomProductRemarkDomainService customProductRemarkDomainService) {
this.customProductRemarkDomainService = customProductRemarkDomainService;
}
@Override
public List<CustomProductRemarkVO> list(CustomProductRemarkVO customProductRemarkVO) {
QueryWrapper<CustomProductRemarkEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductRemarkEntity> list = customProductRemarkDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductRemarkVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductRemarkVO> pageList(CustomProductRemarkPageVO customProductRemarkPageVO) {
CustomAsserts.nonNull(customProductRemarkPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductRemarkEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductRemarkEntity> page = customProductRemarkDomainService.selectPage(queryWrapper, customProductRemarkPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductRemarkVO.class));
}
@Override
public CustomProductRemarkVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductRemarkEntity customProductRemark = customProductRemarkDomainService.getById(id);
return BeanMapper.mapper().convert(customProductRemark, CustomProductRemarkVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductRemarkVO customProductRemarkVO) {
CustomAsserts.nonNull(customProductRemarkVO, "实体对象不能为空");
CustomProductRemarkEntity customProductRemarkEntity = BeanMapper.mapper().convert(customProductRemarkVO, CustomProductRemarkEntity.class);
try {
customProductRemarkDomainService.save(customProductRemarkEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductRemarkServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductRemarkVO customProductRemarkVO) {
CustomAsserts.nonNull(customProductRemarkVO, "实体对象不能为空");
CustomProductRemarkEntity customProductRemark = BeanMapper.mapper().convert(customProductRemarkVO, CustomProductRemarkEntity.class);
try {
customProductRemarkDomainService.updateById(customProductRemark);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductRemarkServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductRemarkDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.CustomProductWarehouseRelPageVO;
import com.jomalls.custom.app.model.CustomProductWarehouseRelVO;
import com.jomalls.custom.app.service.CustomProductWarehouseRelService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity;
import com.jomalls.custom.domain.service.CustomProductWarehouseRelDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class CustomProductWarehouseRelServiceImpl implements CustomProductWarehouseRelService {
private final CustomProductWarehouseRelDomainService customProductWarehouseRelDomainService;
@Autowired
public CustomProductWarehouseRelServiceImpl(CustomProductWarehouseRelDomainService customProductWarehouseRelDomainService) {
this.customProductWarehouseRelDomainService = customProductWarehouseRelDomainService;
}
@Override
public List<CustomProductWarehouseRelVO> list(CustomProductWarehouseRelVO customProductWarehouseRelVO) {
QueryWrapper<CustomProductWarehouseRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<CustomProductWarehouseRelEntity> list = customProductWarehouseRelDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, CustomProductWarehouseRelVO.class)).collect(Collectors.toList());
}
@Override
public IPage<CustomProductWarehouseRelVO> pageList(CustomProductWarehouseRelPageVO customProductWarehouseRelPageVO) {
CustomAsserts.nonNull(customProductWarehouseRelPageVO, "分页查询参数不能为空");
QueryWrapper<CustomProductWarehouseRelEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<CustomProductWarehouseRelEntity> page = customProductWarehouseRelDomainService.selectPage(queryWrapper, customProductWarehouseRelPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, CustomProductWarehouseRelVO.class));
}
@Override
public CustomProductWarehouseRelVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
CustomProductWarehouseRelEntity customProductWarehouseRel = customProductWarehouseRelDomainService.getById(id);
return BeanMapper.mapper().convert(customProductWarehouseRel, CustomProductWarehouseRelVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(CustomProductWarehouseRelVO customProductWarehouseRelVO) {
CustomAsserts.nonNull(customProductWarehouseRelVO, "实体对象不能为空");
CustomProductWarehouseRelEntity customProductWarehouseRelEntity = BeanMapper.mapper().convert(customProductWarehouseRelVO, CustomProductWarehouseRelEntity.class);
try {
customProductWarehouseRelDomainService.save(customProductWarehouseRelEntity);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductWarehouseRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(CustomProductWarehouseRelVO customProductWarehouseRelVO) {
CustomAsserts.nonNull(customProductWarehouseRelVO, "实体对象不能为空");
CustomProductWarehouseRelEntity customProductWarehouseRel = BeanMapper.mapper().convert(customProductWarehouseRelVO, CustomProductWarehouseRelEntity.class);
try {
customProductWarehouseRelDomainService.updateById(customProductWarehouseRel);
} catch (DuplicateKeyException e) {
log.info("[ CustomProductWarehouseRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
customProductWarehouseRelDomainService.removeById(id);
}
}
package com.jomalls.custom.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.exception.ServiceException;
import com.jomalls.custom.app.model.LogCustomProductPageVO;
import com.jomalls.custom.app.model.LogCustomProductVO;
import com.jomalls.custom.app.service.LogCustomProductService;
import com.jomalls.custom.app.utils.BeanMapper;
import com.jomalls.custom.app.utils.CustomAsserts;
import com.jomalls.custom.dal.entity.LogCustomProductEntity;
import com.jomalls.custom.domain.service.LogCustomProductDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public class LogCustomProductServiceImpl implements LogCustomProductService {
private final LogCustomProductDomainService logCustomProductDomainService;
@Autowired
public LogCustomProductServiceImpl(LogCustomProductDomainService logCustomProductDomainService) {
this.logCustomProductDomainService = logCustomProductDomainService;
}
@Override
public List<LogCustomProductVO> list(LogCustomProductVO logCustomProductVO) {
QueryWrapper<LogCustomProductEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
List<LogCustomProductEntity> list = logCustomProductDomainService.list(queryWrapper);
return list.stream().map(e -> BeanMapper.mapper().convert(e, LogCustomProductVO.class)).collect(Collectors.toList());
}
@Override
public IPage<LogCustomProductVO> pageList(LogCustomProductPageVO logCustomProductPageVO) {
CustomAsserts.nonNull(logCustomProductPageVO, "分页查询参数不能为空");
QueryWrapper<LogCustomProductEntity> queryWrapper = new QueryWrapper<>();
// TODO 根据业务条件组装入参
IPage<LogCustomProductEntity> page = logCustomProductDomainService.selectPage(queryWrapper, logCustomProductPageVO);
return page.convert(e -> BeanMapper.mapper().convert(e, LogCustomProductVO.class));
}
@Override
public LogCustomProductVO info(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
LogCustomProductEntity logCustomProduct = logCustomProductDomainService.getById(id);
return BeanMapper.mapper().convert(logCustomProduct, LogCustomProductVO.class);
}
@Transactional(rollbackFor = Exception.class)
@Override
public void save(LogCustomProductVO logCustomProductVO) {
CustomAsserts.nonNull(logCustomProductVO, "实体对象不能为空");
LogCustomProductEntity logCustomProductEntity = BeanMapper.mapper().convert(logCustomProductVO, LogCustomProductEntity.class);
try {
logCustomProductDomainService.save(logCustomProductEntity);
} catch (DuplicateKeyException e) {
log.info("[ LogCustomProductServiceImpl save ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateById(LogCustomProductVO logCustomProductVO) {
CustomAsserts.nonNull(logCustomProductVO, "实体对象不能为空");
LogCustomProductEntity logCustomProduct = BeanMapper.mapper().convert(logCustomProductVO, LogCustomProductEntity.class);
try {
logCustomProductDomainService.updateById(logCustomProduct);
} catch (DuplicateKeyException e) {
log.info("[ LogCustomProductServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!", e);
throw new ServiceException("实体对象唯一约束重复,请调整后再试!");
}
}
@Transactional(rollbackFor = Exception.class)
@Override
public void deleteById(Integer id) {
CustomAsserts.nonNull(id, "主键id不能为空");
logCustomProductDomainService.removeById(id);
}
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_blacklist")
public class CustomProductBlacklistEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info的id
*/
@TableField("product_id")
private Integer productId;
/**
* db_diy_user的id
*/
@TableField("diy_user_id")
private Integer diyUserId;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_cn_remark")
public class CustomProductCnRemarkEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info表id
*/
@TableField("product_id")
private Integer productId;
/**
* 内容
*/
@TableField("remark")
private String remark;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_craft_rel")
public class CustomProductCraftRelEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info 的id
*/
@TableField("product_id")
private Integer productId;
/**
* craft_center 的id
*/
@TableField("craft_id")
private Long craftId;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_diy_user_rel")
public class CustomProductDiyUserRelEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info的id
*/
@TableField("product_id")
private Integer productId;
/**
* db_diy_user的id
*/
@TableField("diy_user_id")
private Integer diyUserId;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_factory_price_interval_rel")
public class CustomProductFactoryPriceIntervalRelEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info 表id
*/
@TableField("product_id")
private Integer productId;
/**
* 币种编码
*/
@TableField("currency_code")
private String currencyCode;
/**
* (系统成本)最大值
*/
@TableField("price_max")
private BigDecimal priceMax;
/**
* (系统成本)最小值
*/
@TableField("price_min")
private BigDecimal priceMin;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_factory_price_rel")
public class CustomProductFactoryPriceRelEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* custom_product_info表id
*/
@TableField("product_id")
private Integer productId;
/**
* custom_product_item表id
*/
@TableField("item_id")
private Integer itemId;
/**
* custom_product_item表sku
*/
@TableField("item_sku")
private String itemSku;
/**
* db_diy表id
*/
@TableField("factory_id")
private Integer factoryId;
/**
* 工厂价格
*/
@TableField("factory_price")
private BigDecimal factoryPrice;
/**
* 销售价
*/
@TableField("sales_price")
private BigDecimal salesPrice;
/**
* 工厂币种
*/
@TableField("factory_currency_code")
private String factoryCurrencyCode;
/**
* 售卖币种
*/
@TableField("sales_currency_code")
private String salesCurrencyCode;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 更新时间
*/
@TableField("update_time")
private Date updateTime;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_image")
public class CustomProductImageEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* 商品ID
*/
@TableField("product_id")
private Integer productId;
/**
* 图片地址
*/
@TableField("image_url")
private String imageUrl;
/**
* 排序
*/
@TableField("sort")
private Integer sort;
/**
* 类型 0普通图片 1尺码图
*/
@TableField("type")
private Integer type;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
}
package com.jomalls.custom.dal.entity;
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 lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName("custom_product_info")
public class CustomProductInfoEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
private Integer id;
/**
* sku
*/
@TableField("sku")
private String sku;
/**
*
*/
@TableField("title")
private String title;
/**
* 商品名称
*/
@TableField("name")
private String name;
/**
* 所属客户
*/
@TableField("namespace")
private String namespace;
/**
* 所属工厂
*/
@TableField("affiliated_factory")
private Integer affiliatedFactory;
/**
* 第三方SKU
*/
@TableField("third_sku")
private String thirdSku;
/**
* 商品主图
*/
@TableField("img_url")
private String imgUrl;
/**
* 商品类别ID
*/
@TableField("category_id")
private Integer categoryId;
/**
* 重量kg
*/
@TableField("weight")
private BigDecimal weight;
/**
* 最小采购量
*/
@TableField("purchasing_min")
private Integer purchasingMin;
/**
* 工厂价(¥)
*/
@TableField("factory_price")
private BigDecimal factoryPrice;
/**
* 销售价(¥)
*/
@TableField("sales_price")
private BigDecimal salesPrice;
/**
* 销售价最大值(¥)
*/
@TableField("sales_price_max")
private BigDecimal salesPriceMax;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@TableField("status")
private Integer status;
/**
* 挂起前的状态
*/
@TableField("pre_suspend_status")
private Integer preSuspendStatus;
/**
*
*/
@TableField("property1_cate_id")
private Integer property1CateId;
/**
*
*/
@TableField("property2_cate_id")
private Integer property2CateId;
/**
*
*/
@TableField("property3_cate_id")
private Integer property3CateId;
/**
*
*/
@TableField("property1_enname")
private String property1Enname;
/**
*
*/
@TableField("property2_enname")
private String property2Enname;
/**
*
*/
@TableField("property3_enname")
private String property3Enname;
/**
* 颜色图
*/
@TableField("color_images")
private String colorImages;
/**
* 材质
*/
@TableField("material")
private String material;
/**
* 印花类型 0满印 1局部印
*/
@TableField("print_type")
private Integer printType;
/**
* 货号
*/
@TableField("product_no")
private String productNo;
/**
* 产地code
*/
@TableField("origin_code")
private String originCode;
/**
* 产地中文名字
*/
@TableField("origin_name_cn")
private String originNameCn;
/**
* 产地英文名字
*/
@TableField("origin_name_en")
private String originNameEn;
/**
* 币种code
*/
@TableField("currency_code")
private String currencyCode;
/**
* 币种
*/
@TableField("currency_name")
private String currencyName;
/**
* 平台直营 客户自营
*/
@TableField("product_type")
private String productType;
/**
* 工厂id
*/
@TableField("factory_id")
private Integer factoryId;
/**
* 工厂编码
*/
@TableField("factory_code")
private String factoryCode;
/**
* 是否九猫处理
*/
@TableField("processing")
private Boolean processing;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
*
*/
@TableField("update_time")
private Date updateTime;
/**
*
*/
@TableField("sort")
private Integer sort;
/**
* 默认模ID
*/
@TableField("diy_id")
private Integer diyId;
/**
* 默认模SKU
*/
@TableField("diy_sku")
private String diySku;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment