浏览代码

//..

private_deployment
xhxu 1年前
父节点
当前提交
f1e760f586
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. +3
    -0
      suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMaterial.java
  2. +3
    -2
      suimangService/src/main/resources/mapper/VoiceMaterialMapper.xml

+ 3
- 0
suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMaterial.java 查看文件

@@ -83,6 +83,9 @@ public class VoiceMaterial extends TenantEntity {
@io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark")
private String remark;

@io.swagger.annotations.ApiModelProperty(value="视频文件",name="videoId")
private String videoId;

@io.swagger.annotations.ApiModelProperty(value="素材地址",name="material")
private String material;



+ 3
- 2
suimangService/src/main/resources/mapper/VoiceMaterialMapper.xml 查看文件

@@ -13,6 +13,7 @@
<result column="send_type" jdbcType="INTEGER" property="sendType"/>
<result column="detail" jdbcType="VARCHAR" property="detail"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="video_id" jdbcType="VARCHAR" property="videoId"/>
<result column="material" jdbcType="VARCHAR" property="material"/>
<result column="user_id" jdbcType="BIGINT" property="userId"/>
<result column="status" jdbcType="INTEGER" property="status"/>
@@ -24,7 +25,7 @@
<sql id="allColumns">
`id`, `tenant_id`, `parent_tenant_id`,
`title`, `sub_title`, `scene_sign`, `sale_price`, `price`,
`send_type`, `detail`, `remark`, `material`, `user_id`, `status`, `puton_date`, `create_date`, `update_date`
`send_type`, `detail`, `remark`, `video_id`, `material`, `user_id`, `status`, `puton_date`, `create_date`, `update_date`
</sql>

<sql id="dynamicWhereConditions">
@@ -112,7 +113,7 @@
select
`id`,
`title`, `sub_title`, `scene_sign`, `sale_price`, `price`,
`send_type`, `material`, `status`, `create_date`, `update_date`
`send_type`,`video_id`, `material`, `status`, `create_date`, `update_date`
from voice_material
<include refid="dynamicWhereConditions"/>
</select>


正在加载...
取消
保存