@@ -34,7 +34,7 @@ class SpAction extends CommonAction{
$info=$model->where("id = $id")->find();
$this->info=$info;
}
$conf_type_lists=$confTypeModel->join(" A left join sh_sp_config B on A.`code` = B.type_code and B.sp_id = $id ")->field("A.id,A.`name`,A.remark,A.`code`,A.`v` default_v,B.`v`")->select();
$conf_type_lists=$confTypeModel->join(" A left join sh_sp_config B on A.`code` = B.type_code and B.sp_id = $id ")->field("A.id,A.`name`,A.remark,A.`code`,A.`v` default_v,B.`v`")->where("A.`status`=0")->select();
$region_lists=$regionModel->where("pid = 1 and `status`=0")->select();
$region_city_lists=$regionModel->where("pid > 1 and `status`=0")->select();