forked from dyf/fys-Multi-tenant
- 移动AppBusinessFile相关类到equipment模块 - 移动AppOperationVideo相关类到equipment模块 - 更新所有导入路径以指向新的equipment包结构 - 重构设备创建流程中的文件克隆逻辑 - 添加cloneFiles方法支持从设备类型复制文件和视频到新设备 - 优化DeviceXinghanBizService中的设备验证逻辑 - 更新Mapper XML命名空间和返回类型引用 - 调整设备导入Excel的必填字段验证规则
25 lines
918 B
XML
25 lines
918 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.fuyuanshen.equipment.mapper.AppBusinessFileMapper">
|
|
|
|
<select id="queryAppFileList" resultType="com.fuyuanshen.equipment.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
|
|
where 1=1
|
|
<if test="businessId != null">
|
|
and a.business_id = #{businessId}
|
|
</if>
|
|
<if test="fileId != null">
|
|
and a.file_id = #{fileId}
|
|
</if>
|
|
<if test="fileType != null">
|
|
and a.file_type = #{fileType}
|
|
</if>
|
|
<if test="createBy != null">
|
|
and a.create_by = #{createBy}
|
|
</if>
|
|
order by a.create_time desc
|
|
</select>
|
|
</mapper>
|