|
@@ -157,9 +157,18 @@ public class WmDaHospitalServiceImpl extends ServiceImpl<WmDaHospitalMapper, WmD
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 获取医院经纬度
|
|
|
+ WmDaHospital latAndLng = this.getLatAndLng(wmTaskContent.getTemp4().replace("-","") + wmTaskContent.getTemp16());
|
|
|
+ if (latAndLng != null){
|
|
|
+ wmDaHospital.setLatitude(latAndLng.getLatitude());
|
|
|
+ wmDaHospital.setLongitude(latAndLng.getLongitude());
|
|
|
+ }
|
|
|
+
|
|
|
if (exist) {
|
|
|
//对比系统信息和调研数据
|
|
|
newinfo.setId(wmDaHospital.getId());
|
|
|
+ newinfo.setLongitude(wmDaHospital.getLongitude());
|
|
|
+ newinfo.setLatitude(wmDaHospital.getLatitude());
|
|
|
compareList = compareData(wmDaHospital, wmTaskContent, newinfo);
|
|
|
if (null != compareList && compareList.size() > 0) {
|
|
|
wmTask.setCompareResult("2");//信息不一致
|
|
@@ -233,13 +242,6 @@ public class WmDaHospitalServiceImpl extends ServiceImpl<WmDaHospitalMapper, WmD
|
|
|
// wmDaHospital.setYjkzrlsfs(wmTaskContent.getTemp21());//联系方式
|
|
|
// wmDaHospital.setYbczs(wmTaskContent.getTemp22());//院病床总数(张)
|
|
|
// wmDaHospital.setZlghsy(wmTaskContent.getTemp23());//主流供货商业
|
|
|
-
|
|
|
- // 获取医院经纬度
|
|
|
- WmDaHospital latAndLng = this.getLatAndLng(wmDaHospital.getProvince() + wmDaHospital.getCity() + wmDaHospital.getArea() + wmDaHospital.getAddress());
|
|
|
- if (latAndLng != null){
|
|
|
- wmDaHospital.setLatitude(latAndLng.getLatitude());
|
|
|
- wmDaHospital.setLongitude(latAndLng.getLongitude());
|
|
|
- }
|
|
|
wmDaHospital.setCreateTime(LocalDateTime.now());
|
|
|
newinfo = wmDaHospital;
|
|
|
}
|