fix report kk1/kp7 : add field imgUrl
This commit is contained in:
parent
a9eb8d993c
commit
4654330ef7
3 changed files with 8 additions and 2 deletions
|
|
@ -134,7 +134,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
Date = "-",
|
||||
Degree = "-",
|
||||
},
|
||||
}
|
||||
},
|
||||
Url = data.result.ImgUrl != null ? data.result.ImgUrl : "-",
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -242,7 +243,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
Date = "-",
|
||||
Degree = "-",
|
||||
},
|
||||
}
|
||||
},
|
||||
Url = data.result.ImgUrl != null ? data.result.ImgUrl : "-",
|
||||
}
|
||||
};
|
||||
return Success(result);
|
||||
|
|
@ -330,6 +332,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
CurrentDistrict = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentDistrict : "-",
|
||||
CurrentProvince = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentProvince : "-",
|
||||
Telephone = data.Result.Profile.Count > 0 ? data.Result.Profile[0].Telephone : "-",
|
||||
Url = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl : "-",
|
||||
Insignias = data.Result.Insignia,
|
||||
Leaves = data.Result.Leave,
|
||||
Certs = data.Result.Cert,
|
||||
|
|
@ -614,6 +617,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
CurrentDistrict = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentDistrict : "-",
|
||||
CurrentProvince = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentProvince : "-",
|
||||
Telephone = data.Result.Profile.Count > 0 ? data.Result.Profile[0].Telephone : "-",
|
||||
Url = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl : "-",
|
||||
Insignias = data.Result.Insignia,
|
||||
Leaves = data.Result.Leave,
|
||||
Certs = data.Result.Cert,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue