Commit 2f374302 authored by hujun's avatar hujun

store_id

parent 4e93894e
...@@ -322,7 +322,7 @@ class Cost extends Basic ...@@ -322,7 +322,7 @@ class Cost extends Basic
case 1 : case 1 :
if ($data['office_id']) { if ($data['office_id']) {
$store_id_arr = $m_store->getColumn('id', ['office_id'=>$data['office_id']]); $store_id_arr = $m_store->getColumn('id', ['office_id'=>$data['office_id']]);
$store_field = 'c.id,b.assume_fee,b.store_attendance_num,b.store_id'; $store_field = 'a.id,b.assume_fee,b.store_attendance_num,b.store_id';
$cost_where['b.store_id'] = ['in', $store_id_arr]; $cost_where['b.store_id'] = ['in', $store_id_arr];
$cost_where['a.status'] = 0; $cost_where['a.status'] = 0;
$cost_where['a.setting_date'] = $data['count_time']; $cost_where['a.setting_date'] = $data['count_time'];
......
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