服务指令同步

This commit is contained in:
1378012178@qq.com 2025-07-30 17:01:46 +08:00
parent c41bdb2a9c
commit 39175d7d3e
3 changed files with 38 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package com.nu.dto; package com.nu.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
@ -117,6 +118,22 @@ public class DirectiveAsyncMQDto implements Serializable {
* 即时指令图标 * 即时指令图标
*/ */
private String immediateFile; private String immediateFile;
/**
* 指令音频文件md5
*/
private java.lang.String mp3FileMd5;
/**
* 指令视频文件md5
*/
private java.lang.String mp4FileMd5;
/**
* 服务指令图片md5
*/
private java.lang.String previewFileMd5;
/**
* 即时指令图标md5
*/
private java.lang.String immediateFileMd5;
//分类标签中文名称 //分类标签中文名称

View File

@ -143,6 +143,19 @@ public class ConfigServiceDirective implements Serializable {
/**服务指令图片*/ /**服务指令图片*/
@ApiModelProperty(value = "服务指令图片") @ApiModelProperty(value = "服务指令图片")
private java.lang.String previewFile; private java.lang.String previewFile;
/**指令音频文件md5*/
@ApiModelProperty(value = "指令音频文件md5")
private java.lang.String mp3FileMd5;
/**指令视频文件md5*/
@ApiModelProperty(value = "指令视频文件md5")
private java.lang.String mp4FileMd5;
/**服务指令图片md5*/
@ApiModelProperty(value = "服务指令图片md5")
private java.lang.String previewFileMd5;
/**即时指令图标md5*/
@ApiModelProperty(value = "即时指令图标md5")
private java.lang.String immediateFileMd5;
//服务指令图片是否变更 //服务指令图片是否变更
@TableField(exist = false) @TableField(exist = false)
private boolean previewFileChanged; private boolean previewFileChanged;

View File

@ -31,6 +31,10 @@
<result property="mp4File" column="mp4_file"/> <result property="mp4File" column="mp4_file"/>
<result property="previewFile" column="preview_file"/> <result property="previewFile" column="preview_file"/>
<result property="immediateFile" column="immediate_file"/> <result property="immediateFile" column="immediate_file"/>
<result property="mp3FileMd5" column="mp3_file_md5"/>
<result property="mp4FileMd5" column="mp4_file_md5"/>
<result property="previewFileMd5" column="preview_file_md5"/>
<result property="immediateFileMd5" column="immediate_file_md5"/>
<collection property="bodyTagList" ofType="com.nu.modules.directivetag.body.entity.DirectiveBodyTag"> <collection property="bodyTagList" ofType="com.nu.modules.directivetag.body.entity.DirectiveBodyTag">
<id property="id" column="bodyTagId"/> <id property="id" column="bodyTagId"/>
@ -72,6 +76,10 @@
c.mp4_file, c.mp4_file,
c.preview_file, c.preview_file,
c.immediate_file, c.immediate_file,
c.mp3_file_md5,
c.mp4_file_md5,
c.preview_file_md5,
c.immediate_file_md5,
bodytag.id as bodyTagId, bodytag.id as bodyTagId,
bodytag.tag_name as bodyTagName, bodytag.tag_name as bodyTagName,
emotag.id as emotionTagId, emotag.id as emotionTagId,