修改邮箱密码

This commit is contained in:
2023-02-20 19:01:04 +08:00
parent 084f3b2c9f
commit 06dde273d4
2 changed files with 7 additions and 6 deletions
@@ -375,7 +375,8 @@ public class BaseAvgImportServlet extends HttpServlet {
} else if (key.equals("价格") && map.get(key) != null) {
String val = formatNumer(map.get(key));
if (StringUtils.isNotBlank(val)) {
int x = Integer.parseInt(val);
double dd = Double.parseDouble(val);
int x = (int) dd;
avgBase.setPrice(x);
}
@@ -395,6 +396,7 @@ public class BaseAvgImportServlet extends HttpServlet {
} else if (key.equals("来源小区名") && map.get(key) != null){
avgBase.setSourceCommName(map.get(key).replaceAll("\\s", ""));
}
avgBase.setRegion(RegionData.formatRegion(avgBase.getCity(), avgBase.getRegion()));
avgBase.setCategory("district");
}
District dis = null;
@@ -439,7 +441,7 @@ public class BaseAvgImportServlet extends HttpServlet {
avgBase.getDistrictName());
dis = districtService.findOneByKey(districtKey, "district");
}
GuidingPrice price = guidingPriceService.findByBizKey(avgBase.getCity(), avgBase.getRegion(),
GuidingPrice price = guidingPriceService.findByBizKey(avgBase.getCity(), RegionData.formatRegion(avgBase.getCity(), avgBase.getRegion()),
avgBase.getDistrictName(),avgBase.getCreationDate());
if (price != null) {
price.setGuidingPerson(avgBase.getUserName());
@@ -473,11 +475,10 @@ public class BaseAvgImportServlet extends HttpServlet {
} catch (HttpRequestException e) {
e.printStackTrace();
}
}else{
System.out.println("小区不存在"+ avgBase.getDistrictName());
}
}
if(dis !=null) {
}
}
avgBases.add(avgBase);