Ver código fonte

//..

private_deployment
xhxu 1 ano atrás
pai
commit
f1e760f586
2 arquivos alterados com 6 adições e 2 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

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


Carregando…
Cancelar
Salvar