大屏 fix
This commit is contained in:
+15
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user