分页查询项目列表根据创建时间排序

This commit is contained in:
lc 2024-04-11 16:52:32 +08:00
parent 2cb313c1a8
commit c5f33d4255
1 changed files with 1 additions and 1 deletions

View File

@ -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">