Browse Source

//MouldPatch

private_deployment
xhxu 2 years ago
parent
commit
23d705f4ff
3 changed files with 10 additions and 3 deletions
  1. +6
    -0
      suimangService/src/main/java/com/iformall/domain/po/sm/MouldPatch.java
  2. +2
    -2
      suimangService/src/main/java/com/iformall/enums/EnumMouldPatchType.java
  3. +2
    -1
      suimangService/src/main/resources/mapper/MouldPatchMapper.xml

+ 6
- 0
suimangService/src/main/java/com/iformall/domain/po/sm/MouldPatch.java View File

@@ -95,8 +95,14 @@ public class MouldPatch extends TenantEntity {


@io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark") @io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark")
private String remark; private String remark;

@io.swagger.annotations.ApiModelProperty(value="模板文件",name="mould_path")
private String mouldPath;

@io.swagger.annotations.ApiModelProperty(value="EnumaMouldPatchStatus 状态(-1:全部,0:草稿/待生效,1:已生效,2:已失效,3:已作废)",name="status") @io.swagger.annotations.ApiModelProperty(value="EnumaMouldPatchStatus 状态(-1:全部,0:草稿/待生效,1:已生效,2:已失效,3:已作废)",name="status")
private Integer status; private Integer status;
@io.swagger.annotations.ApiModelProperty(value="上架时间",name="putonDate")
private Date putonDate;
@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
private Date createDate; private Date createDate;
@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")


+ 2
- 2
suimangService/src/main/java/com/iformall/enums/EnumMouldPatchType.java View File

@@ -8,9 +8,9 @@ import java.util.List;
*/ */
public enum EnumMouldPatchType { public enum EnumMouldPatchType {


// 1:视频模板,2:声音模板,3:身体模板,4:背景模板
// 1:人物模板,2:声音模板,3:身体模板,4:背景模板


video_mould(1, "视频模板"),
person_mould(1, "人物模板"),
voice_mould(2, "声音模板"), voice_mould(2, "声音模板"),
body_mould(3, "身体模板"), body_mould(3, "身体模板"),
background_mould(4, "背景模板"), background_mould(4, "背景模板"),


+ 2
- 1
suimangService/src/main/resources/mapper/MouldPatchMapper.xml View File

@@ -22,6 +22,7 @@
<result column="remark" jdbcType="VARCHAR" property="remark"/> <result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="mould_path" jdbcType="VARCHAR" property="mouldPath"/> <result column="mould_path" jdbcType="VARCHAR" property="mouldPath"/>
<result column="status" jdbcType="INTEGER" property="status"/> <result column="status" jdbcType="INTEGER" property="status"/>
<result column="puton_date" jdbcType="TIMESTAMP" property="putonDate"/>
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/>
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
</resultMap> </resultMap>
@@ -29,7 +30,7 @@
<sql id="allColumns"> <sql id="allColumns">
`id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`, `id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`,
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, `title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`,
`send_type`, `detail`, `remark`, `mould_path`, `status`, `create_date`, `update_date`
`send_type`, `detail`, `remark`, `mould_path`, `status`, `puton_date`, `create_date`, `update_date`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">


Loading…
Cancel
Save