Commit a3f95ac6 authored by clone's avatar clone

bug

parent 52da837e
......@@ -396,14 +396,14 @@ class Performance extends Basic
public function superviseList()
{
header('Access-Control-Allow-Origin:*');
/*$params = $this->params;
$params = array(
"agent_id" => 78,
"start_time" => "2018-06-12",
"end_time" => "2018-06-20",
"page_no" => 1,
"page_size" => 15
);*/
$params = $this->params;
/* $params = array(
"agent_id" => 78,
"start_time" => "2018-06-12",
"end_time" => "2018-06-20",
"page_no" => 1,
"page_size" => 15
);*/
$checkResult = $this->validate($params, "PerformanceValidate.verifyOther");
if (true !== $checkResult) {
......
......@@ -556,7 +556,7 @@ class OBargainModel extends Model
public function getReceivedGroupTime($params)
{
$where_ = [];
$field = "sum(b.money) as num,DATE(b.create_time) as day";
$field = "sum(b.practical_fee) as num,DATE(b.create_time) as day";
if (isset($params["agent_id"])) {
......@@ -646,7 +646,7 @@ class OBargainModel extends Model
public function getReceived($params)
{
$where_ = [];
$field = "sum(b.money) as num";
$field = "sum(b.practical_fee) as num";
if (isset($params["agent_id"])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment