Merge branch 'zhaozhengjie1104' into test
| | |
| | | AND last_login_time > DATE_FORMAT( date_sub( SYSDATE(), INTERVAL 0 DAY ), '%Y-%m-%d 00:00:00')) as dayNum |
| | | FROM |
| | | com_act a |
| | | LEFT JOIN sys_user u ON a.community_id = u.community_id and u.type=1 |
| | | LEFT JOIN sys_user u ON a.community_id = u.community_id and u.type=1 where a.area_code = '510423' |
| | | GROUP BY a.community_id)t ORDER BY t.num desc |
| | | </select> |
| | | |
| | |
| | | AND ca.street_id = cs.street_id |
| | | ) AS userNum |
| | | FROM |
| | | `com_street` AS cs |
| | | `com_street` AS cs where area_code='510423' |
| | | order by userNum desc |
| | | </select> |
| | | |