Commit 4251c9b0 authored by hujun's avatar hujun

1

parent fbda751b
......@@ -147,7 +147,7 @@ class JobTask
$houseList = $this->gHouseExtModel->getList($pageNo, $pageSize, 'id asc',$field, $params);
foreach ($houseList as $item) {
$age_limit = explode('-', $item['age_limit']);
if (!is_array($age_limit)) {
if (count($age_limit) < 2) {
$houseBin["age_limit"] = $item["age_limit"].'-'.$item["age_limit"];
$this->gHouseExtModel->editData($houseBin, $item["id"]);
}
......
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