问题页面:index.php?act=com&task=comapply
程序版本:2.5GBK
问题情况:
职位表里面的 省ID和城市ID在多表查询中 与 公司表发生冲突,导致职位页面工作地点显示公司地点。
修正方法:
修改 model/model/class 里面的 common.php 文件的 第981行
替换下面的代码:
- $Info = $this->obj->DB_select_alls("company_job","company","a.`state`='1' and a.`r_status`!='2' and a.`id`='$id' and b.`uid`=a.`uid`","a.*,a.name as jobname,a.provinceid as prov,a.cityid as city,a.three_cityid as three_city,a.hy as hy,b.`uid` , b.`name` , b.`hy` , b.`pr` , b.`mun` , b.`sdate` , b.`money` , b.`content` , b.`address` , b.`zip` , b.`linkman` , b.`linkjob` , b.`linkqq` , b.`linkphone` , b.`linktel` , b.`linkmail` , b.`website` , b.`x` , b.`y` , b.`logo` , b.`payd` , b.`integral` , b.`lastupdate` , b.`cloudtype` , b.`cert` , b.`jobtime` , b.`r_status` ");
然后重新更新所有缓存即可解决问题。。