|
@@ -50,6 +50,7 @@
|
|
|
<if test="city != null and city != ''"> and lvi.city = #{city}</if>
|
|
|
-->
|
|
|
</where>
|
|
|
+ order by lvi.create_time desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectVolunteerInfoSimple" resultType="com.leromro.core.domain.vo.VolunteerInfoVO">
|
|
@@ -80,7 +81,7 @@
|
|
|
<select id="selectVolunteerGroupByUserId" resultType="com.leromro.core.domain.VolunteerInfo">
|
|
|
select lvi.volunteer_id ,s.create_time from sys_user s left join l_volunteer_info lvi on s.user_id = lvi.volunteer_id
|
|
|
where s.del_flag = 0 and s.user_platform = 0 and lvi.volunteer_id
|
|
|
- group by lvi.volunteer_id;
|
|
|
+ group by lvi.volunteer_id
|
|
|
</select>
|
|
|
<select id="selectVolunteerPictureList" resultType="java.lang.String" parameterType="java.lang.Long">
|
|
|
select volunteer_picture from l_volunteer_info where volunteer_id = #{userId}
|