mysql数据库,我查找语句是 select * from table where pd_id = ? ,pd_id是varchar类型的,不是主键,表中有一条数据的pd_id是21748138273,我偶然发现用21748138273?error=001也能找到,为什么???下面是我测试的结果,使用21748138273a查找!
id:
21748138273a找到的产品:{ligth_list=[Ljava.lang.String;@5b9da04c, pd_stars=null, status_id=3, least_price=0.0, pd_limit_num=22, user_reg_id=87190789864, pd_name=222, pd_id=
21748138273a, pd_main_pic=superweekend/20160816/1471328138252993.jpg, pd_publish_date=2016-08-16 14:15:38.0, pd_light=233, super_collectors=0, pd_pic=null, start_time=[{pd_begin_time=2016-08-17 00:30:00.0}], rec_user_reg_id=87190789864, suit_id=0, pd_address=中国111, pd_dis=<p>222</p>}