Commit 1f59accf authored by zhuwei's avatar zhuwei

1

parent f3ae612b
...@@ -149,8 +149,8 @@ class CostParameter extends Basic ...@@ -149,8 +149,8 @@ class CostParameter extends Basic
$transfer_charge = 0; $transfer_charge = 0;
foreach ($agent_ids as $k => $v) { foreach ($agent_ids as $k => $v) {
$m_partial = new OPartialCommission(); $m_partial = new OPartialCommission();
$start_date = date('Ym01 23:59:59',strtotime('-1 month', strtotime($setting_date)));; $start_date = date('Ym01 00:00:00',strtotime('-1 month', strtotime($setting_date)));;
$end_date = date('Ymd 00:00:00',strtotime('-1 month', strtotime($setting_date)));; $end_date = date('Ymd 23:59:59',strtotime('-1 month', strtotime($setting_date)));;
$fields = 'sum( a.service_charge ) as service_charge'; $fields = 'sum( a.service_charge ) as service_charge';
$where['b.status']=array('in','10,11,13'); $where['b.status']=array('in','10,11,13');
$where['a.is_del']=0; $where['a.is_del']=0;
......
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