|
|
@ -105,7 +105,8 @@ public class DataEaseModel {
|
|
|
|
public String getCityCode(String cityName) {
|
|
|
|
public String getCityCode(String cityName) {
|
|
|
|
String full_name = getFullAreaName(cityName);
|
|
|
|
String full_name = getFullAreaName(cityName);
|
|
|
|
String sql = "select area_code from t_city_code where area_name=?";
|
|
|
|
String sql = "select area_code from t_city_code where area_name=?";
|
|
|
|
return Db.findFirst(sql, full_name).getStr("area_code");
|
|
|
|
String area_code=Db.findFirst(sql, full_name).getStr("area_code");
|
|
|
|
|
|
|
|
return area_code;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|