|
@@ -35,6 +35,7 @@ class MemberController
|
|
|
FROM app_member
|
|
|
WHERE member_mobile != '0000'
|
|
|
GROUP BY month
|
|
|
+ ORDER BY month ASC
|
|
|
) t1
|
|
|
JOIN (
|
|
|
SELECT DATE_FORMAT(FROM_UNIXTIME(member_addtimes), '%Y/%m') AS month,
|
|
@@ -42,6 +43,7 @@ class MemberController
|
|
|
FROM app_member
|
|
|
WHERE member_mobile != '0000'
|
|
|
GROUP BY month
|
|
|
+ ORDER BY month ASC
|
|
|
) t2 ON t1.month >= t2.month
|
|
|
GROUP BY t1.month;
|
|
|
");
|