|
|
@@ -150,11 +150,12 @@ public class WebSocketServer {
|
|
|
sysGeographyPosition.setStreetNum(streetNum);
|
|
|
sysGeographyPosition.setPoiName(poiName);
|
|
|
sysGeographyPosition.setCityCode(cityCode);
|
|
|
- sysGeographyPosition.setAddress(province + city + district + street);
|
|
|
+ sysGeographyPosition.setAddress(province + city + district + street+streetNum+poiName+cityCode);
|
|
|
sysGeographyPosition.setCreateTime(new Date());
|
|
|
sysGeographyPosition.setCreateBy(sysUser.getName());
|
|
|
sysGeographyPosition.setSource(sysDept.getManagementSource());
|
|
|
sysGeographyPositionService.save(sysGeographyPosition);
|
|
|
+
|
|
|
SysGeographyPositionRecord sysGeographyPositionRecord = BeanUtil.copyProperties(sysGeographyPosition, SysGeographyPositionRecord.class);
|
|
|
sysGeographyPositionRecord.setId(null);
|
|
|
sysGeographyPositionRecord.setUserId(sysGeographyPosition.getId());
|
|
|
@@ -170,7 +171,7 @@ public class WebSocketServer {
|
|
|
sysGeographyPosition1.setStreetNum(streetNum);
|
|
|
sysGeographyPosition1.setPoiName(poiName);
|
|
|
sysGeographyPosition1.setCityCode(cityCode);
|
|
|
- sysGeographyPosition1.setAddress(province + city + district + street);
|
|
|
+ sysGeographyPosition1.setAddress(province + city + district + street+streetNum+poiName+cityCode);
|
|
|
sysGeographyPosition1.setCreateTime(new Date());
|
|
|
sysGeographyPosition1.setSource(sysDept.getManagementSource());
|
|
|
sysGeographyPositionService.updateById(sysGeographyPosition1);
|