hby100j功能语音管理

This commit is contained in:
2026-02-03 16:29:46 +08:00
parent ee445dc0d2
commit 696bbb4aa4
11 changed files with 506 additions and 6 deletions

View File

@ -5,7 +5,14 @@ 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,a.duration 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,
CASE
WHEN a.re_name IS NULL THEN
SUBSTRING_INDEX(COALESCE(a.re_name, b.original_name), '.', 1)
ELSE
a.re_name
END AS fileNameExt
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}