1
This commit is contained in:
commit
7de3f3c545
@ -241,12 +241,20 @@ class TempToolsController extends BaseController {
|
||||
':y' => 0,
|
||||
)
|
||||
);
|
||||
echo 'account_id' . ",active>=10,active>=30,active>=50,active_value\n";
|
||||
echo 'account_id' . ",name,active>=10,active>=30,active>=50,active_value\n";
|
||||
foreach ($rows as $row) {
|
||||
$channel = phpcommon\extractChannel($row['account_id']);
|
||||
if ($channel == 6516) {
|
||||
$userDb = SqlHelper::ormSelectone(
|
||||
$conn,
|
||||
't_user',
|
||||
array(
|
||||
'account_id' => $row['account_id']
|
||||
)
|
||||
);
|
||||
echo
|
||||
$row['account_id'] . ','
|
||||
. ($userDb ? $userDb['name'] : '') . ','
|
||||
. ($row['val'] >= 10 && $row['val'] < 30 ? 1 :0) . ','
|
||||
. ($row['val'] >= 30 && $row['val'] < 50 ? 1 :0) . ','
|
||||
. ($row['val'] >= 50 ? 1 :0) . ','
|
||||
|
Loading…
x
Reference in New Issue
Block a user