分页查询项目列表根据创建时间排序
This commit is contained in:
parent
2cb313c1a8
commit
c5f33d4255
|
@ -26,8 +26,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
|
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
|
||||||
<if test="projectOverview != null and projectOverview != ''"> and project_overview = #{projectOverview}</if>
|
<if test="projectOverview != null and projectOverview != ''"> and project_overview = #{projectOverview}</if>
|
||||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||||
order by create_time desc
|
|
||||||
</where>
|
</where>
|
||||||
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWbProjectById" parameterType="Long" resultMap="WbProjectResult">
|
<select id="selectWbProjectById" parameterType="Long" resultMap="WbProjectResult">
|
||||||
|
|
Loading…
Reference in New Issue