语音管理
This commit is contained in:
@ -47,5 +47,8 @@ public class AppBusinessFile extends TenantEntity {
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
/**
|
||||
* 文件时长
|
||||
*/
|
||||
private Integer duration;
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ public class AppBusinessFileBo extends BaseEntity {
|
||||
private Long businessId;
|
||||
|
||||
/**
|
||||
* 文件类型(1:操作说明,2:产品参数)
|
||||
* 文件类型(1:操作说明,2:产品参数,3:语音管理)
|
||||
*/
|
||||
private Long fileType;
|
||||
|
||||
@ -49,4 +49,6 @@ public class AppBusinessFileBo extends BaseEntity {
|
||||
|
||||
|
||||
private List<Long> ids;
|
||||
|
||||
private Integer duration;
|
||||
}
|
||||
|
||||
@ -27,4 +27,6 @@ public class AppFileVo {
|
||||
* 文件url
|
||||
*/
|
||||
private String fileUrl;
|
||||
|
||||
private Integer duration;
|
||||
}
|
||||
|
||||
@ -78,4 +78,5 @@ public interface IAppBusinessFileService {
|
||||
|
||||
|
||||
List<AppFileVo> queryAppFileList(AppBusinessFileBo bo);
|
||||
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<mapper namespace="com.fuyuanshen.app.mapper.AppBusinessFileMapper">
|
||||
|
||||
<select id="queryAppFileList" resultType="com.fuyuanshen.app.domain.vo.AppFileVo">
|
||||
select a.id,a.business_id,a.file_id,a.file_type,b.file_name,b.url fileUrl from app_business_file a left join sys_oss b on a.file_id = b.oss_id
|
||||
select a.id,a.business_id,a.file_id,a.file_type,b.file_name,b.url fileUrl,a.duration from app_business_file a left join sys_oss b on a.file_id = b.oss_id
|
||||
where 1=1
|
||||
<if test="businessId != null">
|
||||
and a.business_id = #{businessId}
|
||||
|
||||
Reference in New Issue
Block a user