提现汇总表时间检索bug修正

master
zhengyongxing 4 years ago
parent 0ac831dece
commit 4e562ffcc4

@ -617,6 +617,16 @@ class MarketPercentageController extends ThinkController
$map['pay_time'] = ['in', $search_date]; $map['pay_time'] = ['in', $search_date];
} }
} }
if($_REQUEST['pay_time']) {
if (in_array($_REQUEST['pay_time'],$search_date)) {
$map['pay_time'] = $_REQUEST['pay_time'];
} else {
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign("list_data",[]);
$this->display("showbonuslist");
die();
}
}
$data = M("market_altogether","tab_") $data = M("market_altogether","tab_")
->field("max(pay_time) pay_time,real_name,admin_id,nickname,level,sum(pay_amount) pay_amount,sum(extend_commission) extend_commission, ->field("max(pay_time) pay_time,real_name,admin_id,nickname,level,sum(pay_amount) pay_amount,sum(extend_commission) extend_commission,

Loading…
Cancel
Save