forked from dyf/fys-Multi-tenant
产品参数bug修改
This commit is contained in:
@ -6,15 +6,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="queryAppFileList" resultType="com.fuyuanshen.app.domain.vo.AppFileVo">
|
<select id="queryAppFileList" resultType="com.fuyuanshen.app.domain.vo.AppFileVo">
|
||||||
select a.id,a.business_id,a.file_id,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,b.file_name,b.url fileUrl from app_business_file a left join sys_oss b on a.file_id = b.oss_id
|
||||||
where
|
where 1=1
|
||||||
<if test="businessId != null">
|
<if test="businessId != null">
|
||||||
and a.business_id = #{businessId}
|
and a.business_id = #{businessId}
|
||||||
</if>
|
</if>
|
||||||
<if test="fileId != null">
|
<if test="fileId != null">
|
||||||
and a.file_id = #{fileId}
|
and a.file_id = #{fileId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="fileType != null">
|
||||||
|
and a.file_type = #{fileType}
|
||||||
|
</if>
|
||||||
<if test="createBy != null">
|
<if test="createBy != null">
|
||||||
a.create_by = #{createBy}
|
and a.create_by = #{createBy}
|
||||||
</if>
|
</if>
|
||||||
order by a.create_time desc
|
order by a.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
Reference in New Issue
Block a user