1
This commit is contained in:
parent
2670783e37
commit
c69d1c7600
@ -180,6 +180,8 @@ class TempToolsController extends BaseController {
|
||||
$this->exportData1();
|
||||
} else if($type == 2) {
|
||||
$this->exportData2();
|
||||
} else if($type == 3) {
|
||||
$this->exportData3();
|
||||
}
|
||||
}
|
||||
|
||||
@ -226,4 +228,28 @@ class TempToolsController extends BaseController {
|
||||
}
|
||||
}
|
||||
|
||||
public function exportData3()
|
||||
{
|
||||
$type = getReqVal('type', '');
|
||||
$cond = getReqVal('cond', 0);
|
||||
$accounts = array();
|
||||
$conn = myself()->_getMysql('');
|
||||
{
|
||||
$rows = $conn->execQuery(
|
||||
'SELECT * FROM t_dyndata WHERE x=:x AND y=:y',
|
||||
array(
|
||||
':x' => TN_ACTIVE,
|
||||
':y' => 0,
|
||||
)
|
||||
);
|
||||
echo 'account_id' . ",>=10,>=30,>\n";
|
||||
foreach ($rows as $row) {
|
||||
$channel = phpcommon\extractChannel($row['account_id']);
|
||||
if ($channel == 6516) {
|
||||
echo $row['account_id'] . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user