Browse Source

修改志愿者排行取的志愿者状态不对的问题

feature/syp_points
liuchuang 6 years ago
parent
commit
dfced02215
  1. 2
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/VolunteerInfoDao.xml

2
esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/VolunteerInfoDao.xml

@ -185,7 +185,7 @@
vi.PARTICIPATION_NUM
from epdc_volunteer_info vi
left join epdc_user eu on eu.id = vi.USER_ID
WHERE vi.DEL_FLAG = '0' AND vi.AUDIT_STATUS = '1'
WHERE vi.DEL_FLAG = '0' AND vi.AUDIT_STATUS IN ('0', '1')
order by vi.KINDNESS_TIME desc,vi.PARTICIPATION_NUM desc,vi.REGIST_TIME ) as info, (select @i:=0) j ) volunteerInfo
where sort < 11
</select>

Loading…
Cancel
Save