Commit 9c4130341a3514881b5abb90579a15f4c84b95b2

Authored by teemitop
1 parent 73c79456

日志区分一键订与周到安排openid

@@ -88,6 +88,7 @@ class System extends Common @@ -88,6 +88,7 @@ class System extends Common
88 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_seller_type_rel AS rel ON a.sid = rel.sid 88 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_seller_type_rel AS rel ON a.sid = rel.sid
89 WHERE 89 WHERE
90 $where 90 $where
  91 + GROUP BY a.id
91 order by 92 order by
92 a.cdate desc 93 a.cdate desc
93 LIMIT ".$page.",".$limit.""); 94 LIMIT ".$page.",".$limit."");
@@ -98,7 +99,8 @@ class System extends Common @@ -98,7 +99,8 @@ class System extends Common
98 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_log_history AS h ON a.id = h.aid 99 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_log_history AS h ON a.id = h.aid
99 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_seller_type_rel AS rel ON a.sid = rel.sid 100 LEFT JOIN `xt-member-two-LINE`.xt_dc_dz_seller_type_rel AS rel ON a.sid = rel.sid
100 WHERE 101 WHERE
101 - $where"); 102 + $where
  103 + GROUP BY a.id");
102 foreach ($log_info as $key => $value) { 104 foreach ($log_info as $key => $value) {
103 switch ($value['device']) { 105 switch ($value['device']) {
104 case '1': 106 case '1':