在oepre_area和oepre_hometown表中添加了城市,前台不显示<已解

2020-12-01 10:00

本帖最后由 25254821 于 2015-11-3 18:14 编辑

如题,因为需要所以添加了一些城市ID,题上的两个表中都有记录的,我用SQL语句能查出来比如SELECT * FROM oepre_user  LEFT JOIN oepre_user_params ON oepre_user.`userid` =  oepre_user_params.`userid` INNER JOIN oepre_user_profile ON oepre_user_profile.`userid` =  oepre_user_params.`userid` JOIN oepre_area ON oepre_user_params.`provinceid` = oepre_area.`areaid` LEFT JOIN oepre_hometown ON oepre_user_params.`cityid` = oepre_hometown.`areaid`  where oepre_user.`userid`=162100 查出的结果为:[td]
userid
username
password
email
groupid
gender
salt
points
money
mbsms
isblack
blacktype
blacktime
avatar
video
avatarflag
avatartime
integrity
userid
gender
flag
lovestatus
avatar
monolog
ageyear
provinceid
cityid
distid
groupid
height
weight
salary
education
marry
lovesort
child
house
car
jobs
lunar
astro
star
rzemail
rzmobile
rzidnumber
rzvideo
addtime
ontime
elite
isblack
liehun
userid
provinceid
cityid
distid
communityid
lovesort
ageyear
agemonth
ageday
birthday
birthdaylock
astro
lunar
marrystatus
blood
childrenstatus
education
height
national
jobs
salary
housing
school
schoolyear
specialty
personality
weight
profile
charmparts
hairstyle
haircolor
facestyle
bodystyle
companytype
income
companyname
workstatus
nationality
nationprovinceid
nationcityid
beforeregion
caring
consume
tophome
smoking
drinking
language
faith
workout
rest
leisure
lifeskill
talive
havechildren
romantic
interest
attention
food
sports
film
travel
book
monolog
molstatus
moluptime
areaid
rootid
depth
areaname
flag
tabstatus
orders
spreadname
areaid
rootid
depth
areaname
flag
orders
tabstatus
spreadname
162100
云雾
7cbb3252ba6b7e9c422fac5334d22054
11447755@qq.com
1
1
zafed8eu
0.00
0.00
0
0
0
0
data/attachment/avatar/201301/22/162100/avatar_big...

1
0
1
162100
1
1
1
1
1
1989
10012
15160
0
1
178
65
3
4
1
2
0
5
1
0
6
1
0
0
0
0
0
1358838820
1358838820
0
0
0
162100
10012
15160
0
0
2
1989
4
1
1989-04-01
0
白羊座
1
2
0
4
178
1
2
3
5
NULL
NULL
0
9
65
13
13
3
1
4
4
7
0
未填写
2
1
198
199
0
1
2
2
0
0
1
1
0
0

6
2
2
2
1
3

14
2

16
无论外面的世界如何纷繁复杂,只想和你过一种简单的生活,执子之手,与子偕老。
1
1358838819
10012
0
0
上海
1
0
3
直辖市
15160
5
1
徐汇
1
0
4
  但会员中心处调用会员资料时不显示城市名称???其它系统自带城市的会员又正常显示....为什么?

2729 次浏览 2 条评论 收藏

说说我的看法

登录后可以发表评论 登录
2个评论
wapsky 官方认证帐号 2020-12-01 10:00
{:soso_e179:}
回复
-- 楼主 2020-12-01 10:00
自己回答一下吧,原来是oepre_user_profile表和oepre_user_params表中的城市字段超了,都变成了65555修改字段属性解决
回复
作者信息

2
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询