|
|
@@ -108,7 +108,7 @@ public class InviteRecordServiceImpl implements InviteRecordService {
|
|
|
*/
|
|
|
@Override
|
|
|
public List<Invitation> getCountGroupByDate(Long userUU, Long enUU, String year) {
|
|
|
- String sql = "select time, count, 0 as doneCount from v$invitation_all where time like '%" + year + "%' and useruu = " + userUU;
|
|
|
+ String sql = "select time, count, 0 as doneCount from v$invitation_all where time like '%" + year + "%' and useruu = " + userUU + "order by time asc";
|
|
|
List<Invitation> all = commonDao.query(sql, Invitation.class);
|
|
|
String sql1 = "select time, count doneCount from v$invitation where time like'%" + year + "%' and useruu = " + userUU + "and active = 1";
|
|
|
List<Invitation> done = commonDao.query(sql1, Invitation.class);
|