store_info['store_id']); $storecost_remark = input('param.storecost_remark'); if (!empty($storecost_remark)) { $condition[] = array('storecost_remark', 'like', '%' . $storecost_remark . '%'); } $add_time_from = input('param.add_time_from'); $add_time_to = input('param.add_time_to'); if (!empty($add_time_from) && !empty($add_time_to)) { $condition[] = array('storecost_time', 'between', array(strtotime($add_time_from), strtotime($add_time_to))); } $cost_list = $storecost_model->getStorecostList($condition, 10, 'storecost_id desc'); $result = array_merge(array('cost_list' => $cost_list), mobile_page($storecost_model->page_info)); ds_json_encode(10000, lang('ds_common_op_succ'), $result); } }