Commit dd169a86 authored by lcl's avatar lcl

u

parent 8a9d34de
......@@ -71,11 +71,11 @@
left join sys_dept d on u.dept_id = d.dept_id
<where>
<if test="userId != null"> and (f.user_id = #{userId} or i.is_private = 1)</if>
<if test="startTime != null and startTime != '' "> and f.creat_time &gt;= #{startTime} </if>
<if test="endTime != null and endTime != '' "> and f.creat_time &lt;= #{endTime} </if>
<if test="startTime != null and startTime != '' "> and f.visit_time &gt;= #{startTime} </if>
<if test="endTime != null and endTime != '' "> and f.visit_time &lt;= #{endTime} </if>
${params.dataScope}
</where>
ORDER BY f.creat_time DESC
ORDER BY f.visit_time DESC
</select>
<select id="selectRelateProject" resultType="com.dsk.system.domain.business.vo.BusinessListVo">
select i.id,i.project_name as projectName
......
......@@ -23,7 +23,7 @@
<!-- 数据范围过滤 -->
<if test="params.dataScope != null and params.dataScope != '' "> ${params.dataScope} </if>
</where>
order by cfr.create_time desc
order by cfr.visit_time desc
</select>
</mapper>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment