feat:排序

This commit is contained in:
苏竹红
2024-10-12 19:14:19 +08:00
parent dfc43a11d8
commit fd0352c208
3 changed files with 6 additions and 1 deletions

View File

@@ -442,6 +442,7 @@
#{wantShopAreaId} #{wantShopAreaId}
</foreach> </foreach>
</if> </if>
order by a.id desc
</select> </select>
@@ -476,6 +477,7 @@
#{wantShopAreaId} #{wantShopAreaId}
</foreach> </foreach>
</if> </if>
order by a.id desc
</select> </select>
@@ -513,6 +515,7 @@
<if test="request.lastInvestmentManagerUserId != null and request.lastInvestmentManagerUserId != ''"> <if test="request.lastInvestmentManagerUserId != null and request.lastInvestmentManagerUserId != ''">
and investment_manager = #{request.lastInvestmentManagerUserId} and investment_manager = #{request.lastInvestmentManagerUserId}
</if> </if>
order by id desc
</select> </select>
<update id="batchUpdateInterviewWorkflowStage"> <update id="batchUpdateInterviewWorkflowStage">

View File

@@ -98,6 +98,7 @@
#{regionId} #{regionId}
</foreach> </foreach>
</if> </if>
order by id desc
</select> </select>
<select id="getSelectedShopNum" resultType="com.cool.store.dto.point.LineCountDTO"> <select id="getSelectedShopNum" resultType="com.cool.store.dto.point.LineCountDTO">
select select
@@ -187,6 +188,7 @@
#{regionId} #{regionId}
</foreach> </foreach>
</if> </if>
order by id desc
</select> </select>
<select id="getDataByShopIdAndLineId" resultType="com.cool.store.entity.PointInfoDO"> <select id="getDataByShopIdAndLineId" resultType="com.cool.store.entity.PointInfoDO">
SELECT SELECT

View File

@@ -203,7 +203,7 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
order by xsi.create_time order by xsi.create_time desc
</select> </select>
<select id="selectByIdOrSelectAll" resultMap="BaseResultMap"> <select id="selectByIdOrSelectAll" resultMap="BaseResultMap">