大屏 fix

This commit is contained in:
feng
2025-12-29 14:37:11 +08:00
parent ab7fe2a199
commit a6935d9f42
3 changed files with 42 additions and 1 deletions
@@ -36,6 +36,17 @@ public class TblBaseHospitalVo {
private String expertNum;
private String distance;
@Schema(title = "单位code")
private String departCode;
@Schema(title = "单位名称")
private String orgName;
//部门名称 ,目前仅aed数据是将单位名称和部门名称分开显示的
@Schema(title = "部门名称")
private String deptName;
public TblBaseHospitalVo() {}
public TblBaseHospitalVo(Resource resource){
@@ -45,6 +56,7 @@ public class TblBaseHospitalVo {
this.lon = resource.getLongitude();
this.type = resource.getType();
this.address = resource.getAddress();
this.managePhone = resource.getMobile();
}
public TblBaseHospitalVo(AedEquipmentManger aed){
@@ -53,6 +65,9 @@ public class TblBaseHospitalVo {
this.lat = aed.getLatitude();
this.lon = aed.getLongitude();
this.type = "4";
this.departCode = aed.getDepartCode();
this.address = aed.getInstallAddress();
this.manageName = aed.getManageUserName();
this.managePhone = aed.getManageUserMobile();
}
}