二手车优化
This commit is contained in:
parent
ed373fbbc1
commit
73faa6d3e0
@ -47,15 +47,17 @@ public class vehicleAssessmentController {
|
||||
//获取车型ID
|
||||
String modelId = boLSNT.getAttribute("modelId").getString();
|
||||
//获取用户选择的所属地区
|
||||
//天津天津市河东区
|
||||
String area = boLSNT.getAttribute("zone").getString();
|
||||
if(area.indexOf("上海") != -1){
|
||||
area = "上海市市辖区";
|
||||
area = "上海上海市";
|
||||
}else if(area.indexOf("重庆") != -1){
|
||||
area = "重庆市市辖区";
|
||||
area = "重庆重庆市";
|
||||
}else if(area.indexOf("北京") != -1){
|
||||
area = "重庆市市辖区";
|
||||
area = "北京北京市";
|
||||
}else if(area.indexOf("天津") != -1){
|
||||
area = "天津市市辖区";
|
||||
//area = "天津市市辖区";
|
||||
area = "天津天津市";
|
||||
}else if(area.indexOf("地区") != -1){
|
||||
area = area.substring(0,area.indexOf("地区")+2);
|
||||
}else if(area.indexOf("市") != -1){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user