diff --git a/application/controllers/information.php b/application/controllers/information.php index 9043f5e4..be0fca53 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1326,6 +1326,7 @@ class Information extends CI_Controller public function test_price() { $price_rule = base64_decode($this->input->get('price_rule')); //'#ah-mtc-3,st,2#'; + $dept_sn = $this->input->get('dept_sn'); //'#ah-mtc-3,st,2#'; $price_item_array = $this->price_pregmatch($price_rule); var_dump($price_item_array); $price_tag_list = $this->parse_price_tag($price_rule); @@ -1337,7 +1338,7 @@ class Information extends CI_Controller $price_date = !empty($price_item->price_date) ? $price_item->price_date : date('Y-m-d', time() + 86400 * 7); //当前时间7天后的价格 $price_number = ''; //优先读取新的价格体系 - $price = $this->PrimeLinePrice_model->test_search($price_item->cli_no, 1, $price_item->cli_grade, $price_item->person_size, $price_date); + $price = $this->PrimeLinePrice_model->test_search($price_item->cli_no, 1, $price_item->cli_grade, $price_item->person_size, $price_date, $dept_sn); var_dump($price); } }