Browse Source

拉取代码

XMLWAN 3 years ago
parent
commit
ca746ef136
3 changed files with 4 additions and 2 deletions
  1. 1 1
      controllers/sz/sz_his_api_controller.go
  2. 1 1
      enums/error_code.go
  3. 2 0
      models/dialysis.go

+ 1 - 1
controllers/sz/sz_his_api_controller.go View File

@@ -4515,7 +4515,7 @@ func (c *SZHisApiController) GetDoctorList() {
4515 4515
 			PharmacistPracticeCategory:              "",                                                                  //药师执业类别
4516 4516
 			PharmacistsLicensing:                    "",                                                                  //药师执业范围
4517 4517
 			PharmacistRegistrationNumber:            "",                                                                  //执业药师注册证编号
4518
-			OfficeCode:                              "",                                                                  //科室编码
4518
+			OfficeCode:                              item.Department,                                                     //科室编码
4519 4519
 			JobNumber:                               item.JobNumber,                                                      //工号
4520 4520
 			PostName:                                "",                                                                  //职位名称
4521 4521
 			TechnicalJobLevelCode:                   "",                                                                  //专业技术职务级别编码

+ 1 - 1
enums/error_code.go View File

@@ -8,7 +8,7 @@ const ( // ErrorCode
8 8
 	ErrorCodeNotLogin                       = 6002
9 9
 	ErrorCodePermissionDenied               = 6003
10 10
 	ErrorCodeMobileRegistered               = 6004
11
-	ErrorCodePasswordEmpty                  = 6005
11
+	ErrorCodePasswordEmpty                  = 60052503
12 12
 	ErrorCodeVerificationCodeWrong          = 6006
13 13
 	ErrorCodeRegisterFail                   = 6007
14 14
 	ErrorCodeInvalidToken                   = 6008

+ 2 - 0
models/dialysis.go View File

@@ -918,6 +918,8 @@ type SgjUserAdminRole struct {
918 918
 	ActiveStatus                            int64  `gorm:"column:active_status" json:"active_status" form:"active_status"`
919 919
 	Mobile                                  string
920 920
 	Name                                    string
921
+	Department                              string `gorm:"column:department" json:"department" form:"department"`
922
+	DepartmentId                            int64  `gorm:"column:department_id" json:"department_id" form:"department_id"`
921 923
 }
922 924
 
923 925
 //func (SgjUserAdminRole) TableName() string {