Commit 9dd513bc authored by hujun's avatar hujun

b.id

parent ba7597bf
......@@ -323,7 +323,7 @@ class Cost extends Basic
case 1 :
if ($data['office_id']) {
$store_id_arr = $m_store->getColumn('id', ['office_id'=>$data['office_id']]);
$store_field = 'a.id,b.assume_fee,b.store_attendance_num,b.store_id';
$store_field = 'b.id,b.assume_fee,b.store_attendance_num,b.store_id';
$cost_where['b.store_id'] = ['in', $store_id_arr];
$cost_where['a.status'] = 0;
$cost_where['a.setting_date'] = $data['count_time'];
......@@ -351,7 +351,7 @@ class Cost extends Basic
case 4 :
break;
case 5:
$cost_ext_field = 'a.id,b.store_attendance_num,b.assume_fee,b.store_id';
$cost_ext_field = 'b.id,b.store_attendance_num,b.assume_fee,b.store_id';
$where_cost['apply_for_id'] = $data['id'];
$store_cost_data = $m_store_cost->getCostExt($cost_ext_field, $where_cost);
if ($store_cost_data) {
......
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