Browse Source

移动端按月数量统计修改为查询企业的数据统计

hejq 8 years ago
parent
commit
12dd784b35

+ 1 - 1
src/main/java/com/uas/platform/b2b/v2/service/impl/InviteRecordServiceImpl.java

@@ -165,7 +165,7 @@ public class InviteRecordServiceImpl implements InviteRecordService {
         List<Invitation> all = commonDao.query(sql, Invitation.class);
         String sql1 = "select substr(time, -2) month,in_enuu enUU,count(1) count from(" +
                 "select to_char(in_date, 'yyyy-mm') time,COALESCE(in_active,0),in_enuu from invitationrecords where in_enuu = " + enUU + " and COALESCE(in_active,0) = 1)" +
-                "where time like '%" + year + "%' group by time,in_enuu order by tim";
+                "where time like '%" + year + "%' group by time,in_enuu order by time";
         List<Invitation> done = commonDao.query(sql1, Invitation.class);
         if (!CollectionUtils.isEmpty(all) && !CollectionUtils.isEmpty(done)) {
             for (Invitation a : all) {