|
@@ -807,6 +807,8 @@ func (c *SZHisApiController) GetRegisterInfo() {
|
807
|
807
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeIDCartNo)
|
808
|
808
|
return
|
809
|
809
|
}
|
|
810
|
+ doctorInfo, _ := service.GetAdminUserInfoByID(adminInfo.CurrentOrgId, doctor)
|
|
811
|
+ doctorDepartment, _ := service.GetDepartMentDetail(department)
|
810
|
812
|
|
811
|
813
|
adminRole, _ := service.GetAdminUserInfoByID(adminInfo.CurrentOrgId, admin_user_id)
|
812
|
814
|
his, _ := service.GetHisPatientInfo(adminInfo.CurrentOrgId, patient_id, theTime.Unix())
|
|
@@ -848,16 +850,16 @@ func (c *SZHisApiController) GetRegisterInfo() {
|
848
|
850
|
|
849
|
851
|
if his.ID == 0 {
|
850
|
852
|
|
851
|
|
- var doctor_name string
|
852
|
|
- var doctor_code string
|
|
853
|
+ var opera_name string
|
|
854
|
+ var opera_code string
|
853
|
855
|
if adminRole.ID == 0 {
|
854
|
856
|
|
855
|
|
- doctor_name = "管理员"
|
856
|
|
- doctor_code = "01"
|
|
857
|
+ opera_name = "管理员"
|
|
858
|
+ opera_code = "01"
|
857
|
859
|
|
858
|
860
|
} else {
|
859
|
|
- doctor_name = adminRole.UserName
|
860
|
|
- doctor_code = strconv.FormatInt(admin_user_id, 10)
|
|
861
|
+ opera_name = adminRole.UserName
|
|
862
|
+ opera_code = strconv.FormatInt(admin_user_id, 10)
|
861
|
863
|
|
862
|
864
|
}
|
863
|
865
|
month := time.Unix(1557042972, 0).Format("1")
|