增加测试分段

master
Jimmy Liow 2 years ago
parent a88cae1b95
commit 9223a52a00

@ -1328,9 +1328,8 @@ class Information extends CI_Controller
$price_rule = base64_decode($this->input->get('price_rule')); //'<div">#ah-mtc-3,st,2#</div>';
$dept_sn = $this->input->get('dept_sn'); //'<div">#ah-mtc-3,st,2#</div>';
$price_item_array = $this->price_pregmatch($price_rule);
echo 'price_item_array: ';
var_dump($price_item_array);
$price_tag_list = $this->parse_price_tag($price_rule);
var_dump($price_tag_list);
$price_tag_list = [];
if (!empty($price_item_array)) {
@ -1339,9 +1338,15 @@ class Information extends CI_Controller
$price_number = '';
//优先读取新的价格体系
$price = $this->PrimeLinePrice_model->test_search($price_item->cli_no, 1, $price_item->cli_grade, $price_item->person_size, $price_date, $dept_sn);
echo 'test_search_price: ';
var_dump($price);
}
}
$price_tag_list = $this->parse_price_tag($price_rule);
echo 'price_tag_list: ';
var_dump($price_tag_list);
}
/*!

Loading…
Cancel
Save