XMLWAN 3 лет назад
Родитель
Сommit
cf8f35d3c8
2 измененных файлов: 175 добавлений и 175 удалений
  1. 171 171
      controllers/sz/sz_his_api_controller.go
  2. 4 4
      routers/router.go

+ 171 - 171
controllers/sz/sz_his_api_controller.go Просмотреть файл

@@ -557,7 +557,7 @@ func (c *SZHisApiController) ReadCard() {
557 557
 //				if is_yidi == 1 {
558 558
 //					//本地就医流程
559 559
 //					//挂号
560
-//					resp_result := service.SzybMZ002(doctor_name, doctor_code, miConfig.Code, dept_code, yiliao_number, verifyCode, number, mz_number, version_code, custom_code, custom_project_name, allPrice,medical_care)
560
+//				resp_result := service.SzybMZ002(doctor_name, doctor_code, miConfig.Code, dept_code, yiliao_number, verifyCode, number, mz_number, version_code, custom_code, custom_project_name, allPrice,medical_care)
561 561
 //					var dat map[string]interface{}
562 562
 //					if err := json.Unmarshal([]byte(resp_result), &dat); err == nil {
563 563
 //						fmt.Println(dat)
@@ -3801,17 +3801,17 @@ func (c *SZHisApiController) GetDrugList() {
3801 3801
 
3802 3802
 		detail := &models.DrugDetail{
3803 3803
 			MedicalInsuranceNumber: item.SocialSecurityDirectoryCode,
3804
-			Code:             item.Code,
3805
-			DrugName:         item.DrugName,
3806
-			DrugSpec:         item.DrugSpec,
3807
-			DrugDosageName:   item.DrugDosageName,
3808
-			ManufacturerName: item.ManufacturerName,
3809
-			MinUnit:          item.MinUnit,
3810
-			RetailPrice:      item.RetailPrice,
3811
-			LastPrice:        item.LastPrice,
3812
-			LimitRemark:      item.LimitRemark,
3813
-			PrescriptionMark: strconv.FormatInt(item.PrescriptionMark, 10),
3814
-			RecordDate:       recordDate,
3804
+			Code:                   item.Code,
3805
+			DrugName:               item.DrugName,
3806
+			DrugSpec:               item.DrugSpec,
3807
+			DrugDosageName:         item.DrugDosageName,
3808
+			ManufacturerName:       item.ManufacturerName,
3809
+			MinUnit:                item.MinUnit,
3810
+			RetailPrice:            item.RetailPrice,
3811
+			LastPrice:              item.LastPrice,
3812
+			LimitRemark:            item.LimitRemark,
3813
+			PrescriptionMark:       strconv.FormatInt(item.PrescriptionMark, 10),
3814
+			RecordDate:             recordDate,
3815 3815
 		}
3816 3816
 
3817 3817
 		for _, it := range drugs {
@@ -3893,11 +3893,11 @@ func (c *SZHisApiController) GetTreatmentProject() {
3893 3893
 	for _, item := range list {
3894 3894
 
3895 3895
 		detail := &models.MyHisProject{
3896
-			MedicalCode: item.MedicalCode, //社保目录
3897
-			ProjectName: item.ProjectName,
3898
-			Price:       item.Price,
3899
-			Category:    item.Category,
3900
-			Remark:      item.Remark,
3896
+			MedicalCode:                 item.MedicalCode, //社保目录
3897
+			ProjectName:                 item.ProjectName,
3898
+			Price:                       item.Price,
3899
+			Category:                    item.Category,
3900
+			Remark:                      item.Remark,
3901 3901
 			SocialSecurityDirectoryCode: item.SocialSecurityDirectoryCode,
3902 3902
 			SpecailProject:              item.SpecailProject,
3903 3903
 			RecordDate:                  item.RecordDate,
@@ -3997,14 +3997,14 @@ func (c *SZHisApiController) GetRevocation() {
3997 3997
 					detail := &models.DrugDetail{
3998 3998
 
3999 3999
 						SocialSecurityDirectoryCode: item.MedicalInsuranceNumber, //社保目录
4000
-						Code:                   item.Code,     //协议机构内部目录编码
4001
-						DrugName:               item.DrugName, //协议机构内部目录名称
4002
-						DrugSpec:               item.DrugSpec,
4003
-						ManufacturerName:       item.ManufacturerName,
4004
-						MinUnit:                item.MinUnit,
4005
-						RetailPrice:            item.RetailPrice, //协议机构内部项目收费价格
4006
-						LimitRemark:            item.LimitRemark,
4007
-						MedicalInsuranceNumber: item.MedicalInsuranceNumber, //社保目录
4000
+						Code:                        item.Code,                   //协议机构内部目录编码
4001
+						DrugName:                    item.DrugName,               //协议机构内部目录名称
4002
+						DrugSpec:                    item.DrugSpec,
4003
+						ManufacturerName:            item.ManufacturerName,
4004
+						MinUnit:                     item.MinUnit,
4005
+						RetailPrice:                 item.RetailPrice, //协议机构内部项目收费价格
4006
+						LimitRemark:                 item.LimitRemark,
4007
+						MedicalInsuranceNumber:      item.MedicalInsuranceNumber, //社保目录
4008 4008
 					}
4009 4009
 					customs = append(customs, detail)
4010 4010
 				}
@@ -4078,15 +4078,15 @@ func (c *SZHisApiController) GetRevocation() {
4078 4078
 				detail := &models.DrugDetail{
4079 4079
 					MedicalInsuranceNumber:      item.MedicalInsuranceNumber,
4080 4080
 					SocialSecurityDirectoryCode: item.MedicalInsuranceNumber,
4081
-					Code:             item.Code,
4082
-					DrugName:         item.DrugName,
4083
-					DrugSpec:         item.DrugSpec,
4084
-					DrugDosageName:   item.DrugDosageName,
4085
-					ManufacturerName: item.ManufacturerName,
4086
-					MinUnit:          item.MinUnit,
4087
-					RetailPrice:      item.RetailPrice,
4088
-					LastPrice:        item.LastPrice,
4089
-					LimitRemark:      item.LimitRemark,
4081
+					Code:                        item.Code,
4082
+					DrugName:                    item.DrugName,
4083
+					DrugSpec:                    item.DrugSpec,
4084
+					DrugDosageName:              item.DrugDosageName,
4085
+					ManufacturerName:            item.ManufacturerName,
4086
+					MinUnit:                     item.MinUnit,
4087
+					RetailPrice:                 item.RetailPrice,
4088
+					LastPrice:                   item.LastPrice,
4089
+					LimitRemark:                 item.LimitRemark,
4090 4090
 				}
4091 4091
 
4092 4092
 				for _, it := range drugs {
@@ -4492,39 +4492,39 @@ func (c *SZHisApiController) GetDoctorList() {
4492 4492
 	for _, item := range list {
4493 4493
 
4494 4494
 		detail := &models.DocDetail{
4495
-			UserName:                     item.UserName,                               //医护姓名
4496
-			RoleId:                       item.Name,                                   //医护人员类别
4497
-			Sex:                          strconv.FormatInt(item.Sex, 10),             //性别
4498
-			CardType:                     strconv.FormatInt(item.CardType, 10),        //证件类型
4499
-			IdCard:                       item.IdCard,                                 //证件号码
4500
-			Phone:                        item.Mobile,                                 //联系电话
4501
-			WorkMajorName:                item.WorkMajorName,                          // 现从事专业名称
4502
-			Nation:                       "1",                                         //民族
4503
-			BirthDay:                     20201022,                                    // 出生日期
4504
-			WorkTime:                     20201022,                                    //参加工作日期
4505
-			Education:                    strconv.FormatInt(item.Education, 10),       //学历
4506
-			StudyMajorName:               item.StudyMajorName,                         //所学的专业名称
4507
-			CertificateCode:              item.MedicalCode,                            //医(药)师执业证书编码
4508
-			MedicalCode:                  item.DoctorCode,                             //医(药)师资格证编码
4509
-			MedicalRangeCode:             strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
4510
-			MedicalLevel:                 strconv.FormatInt(item.DoctorLevel, 10),     //医生执业资格证中的医师级别
4511
-			TypeJob:                      strconv.FormatInt(item.DoctorTypeJob, 10),   //医生执业资格证中的执业类别
4512
-			DoctorNumber:                 item.DoctorNumber,                           //医保医师编号
4513
-			Licensing:                    strconv.FormatInt(item.Licensing, 10),       //多点执业标志
4514
-			DoctorServiceStatus:          "",                                          //医师医保服务资格状态
4515
-			MonitoringLevel:              "",                                          //监控等级
4516
-			DrugPsychotropicSubstances:   "",                                          //毒麻精神药品资格
4517
-			HealthCareCode:               "",                                          // 母婴保健技术考核合格证书编号
4518
-			PlanningTechnicalServiceCode: "",                                          //计划生育技术服务人员合格证编号
4519
-			PharmacistType:               "",                                          //药师类别
4520
-			PharmacistPracticeCategory:   "",                                          //药师执业类别
4521
-			PharmacistsLicensing:         "",                                          //药师执业范围
4522
-			PharmacistRegistrationNumber: "",                                          //执业药师注册证编号
4523
-			OfficeCode:                   "",                                          //科室编码
4524
-			JobNumber:                    item.JobNumber,                              //工号
4525
-			PostName:                     "",                                          //职位名称
4526
-			TechnicalJobLevelCode:        "",                                          //专业技术职务级别编码
4527
-			IsActive:                     strconv.FormatInt(item.IsActive, 10),        //在职与否
4495
+			UserName:                                item.UserName,                                                       //医护姓名
4496
+			RoleId:                                  item.Name,                                                           //医护人员类别
4497
+			Sex:                                     strconv.FormatInt(item.Sex, 10),                                     //性别
4498
+			CardType:                                strconv.FormatInt(item.CardType, 10),                                //证件类型
4499
+			IdCard:                                  item.IdCard,                                                         //证件号码
4500
+			Phone:                                   item.Mobile,                                                         //联系电话
4501
+			WorkMajorName:                           item.WorkMajorName,                                                  // 现从事专业名称
4502
+			Nation:                                  "1",                                                                 //民族
4503
+			BirthDay:                                20201022,                                                            // 出生日期
4504
+			WorkTime:                                20201022,                                                            //参加工作日期
4505
+			Education:                               strconv.FormatInt(item.Education, 10),                               //学历
4506
+			StudyMajorName:                          item.StudyMajorName,                                                 //所学的专业名称
4507
+			CertificateCode:                         item.MedicalCode,                                                    //医(药)师执业证书编码
4508
+			MedicalCode:                             item.DoctorCode,                                                     //医(药)师资格证编码
4509
+			MedicalRangeCode:                        strconv.FormatInt(item.DoctorRangeCode, 10),                         //医师执业范围代码
4510
+			MedicalLevel:                            strconv.FormatInt(item.DoctorLevel, 10),                             //医生执业资格证中的医师级别
4511
+			TypeJob:                                 strconv.FormatInt(item.DoctorTypeJob, 10),                           //医生执业资格证中的执业类别
4512
+			DoctorNumber:                            item.DoctorNumber,                                                   //医保医师编号
4513
+			Licensing:                               strconv.FormatInt(item.Licensing, 10),                               //多点执业标志
4514
+			DoctorServiceStatus:                     "",                                                                  //医师医保服务资格状态
4515
+			MonitoringLevel:                         "",                                                                  //监控等级
4516
+			DrugPsychotropicSubstances:              "",                                                                  //毒麻精神药品资格
4517
+			HealthCareCode:                          "",                                                                  // 母婴保健技术考核合格证书编号
4518
+			PlanningTechnicalServiceCode:            "",                                                                  //计划生育技术服务人员合格证编号
4519
+			PharmacistType:                          "",                                                                  //药师类别
4520
+			PharmacistPracticeCategory:              "",                                                                  //药师执业类别
4521
+			PharmacistsLicensing:                    "",                                                                  //药师执业范围
4522
+			PharmacistRegistrationNumber:            "",                                                                  //执业药师注册证编号
4523
+			OfficeCode:                              "",                                                                  //科室编码
4524
+			JobNumber:                               item.JobNumber,                                                      //工号
4525
+			PostName:                                "",                                                                  //职位名称
4526
+			TechnicalJobLevelCode:                   "",                                                                  //专业技术职务级别编码
4527
+			IsActive:                                strconv.FormatInt(item.IsActive, 10),                                //在职与否
4528 4528
 			PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
4529 4529
 			IdentificationOutpatients:               strconv.FormatInt(item.IdentificationOutpatients, 10),               //门诊大病医师标识
4530 4530
 			OutpatientIllnessCategory:               item.OutpatientIllnessCategory,                                      //门诊大病类别
@@ -4613,39 +4613,39 @@ func (c *SZHisApiController) GetMedicalList() {
4613 4613
 		for _, item := range list {
4614 4614
 
4615 4615
 			detail := &models.DocDetail{
4616
-				UserName:                     item.UserName,                               //医护姓名
4617
-				RoleId:                       item.Name,                                   //医护人员类别
4618
-				Sex:                          strconv.FormatInt(item.Sex, 10),             //性别
4619
-				CardType:                     strconv.FormatInt(item.CardType, 10),        //证件类型
4620
-				IdCard:                       item.IdCard,                                 //证件号码
4621
-				Phone:                        item.Mobile,                                 //联系电话
4622
-				WorkMajorName:                item.WorkMajorName,                          // 现从事专业名称
4623
-				Nation:                       item.Nation,                                 //民族
4624
-				BirthDay:                     20201022,                                    // 出生日期
4625
-				WorkTime:                     20201022,                                    //参加工作日期
4626
-				Education:                    strconv.FormatInt(item.Education, 10),       //学历
4627
-				StudyMajorName:               item.StudyMajorName,                         //所学的专业名称
4628
-				CertificateCode:              item.MedicalCode,                            //医(药)师执业证书编码
4629
-				MedicalCode:                  item.DoctorCode,                             //医(药)师资格证编码
4630
-				MedicalRangeCode:             strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
4631
-				MedicalLevel:                 strconv.FormatInt(item.DoctorLevel, 10),     //医生执业资格证中的医师级别
4632
-				TypeJob:                      strconv.FormatInt(item.DoctorTypeJob, 10),   //医生执业资格证中的执业类别
4633
-				DoctorNumber:                 item.DoctorNumber,                           //医保医师编号
4634
-				Licensing:                    strconv.FormatInt(item.Licensing, 10),       //多点执业标志
4635
-				DoctorServiceStatus:          "",                                          //医师医保服务资格状态
4636
-				MonitoringLevel:              "",                                          //监控等级
4637
-				DrugPsychotropicSubstances:   "",                                          //毒麻精神药品资格
4638
-				HealthCareCode:               "",                                          // 母婴保健技术考核合格证书编号
4639
-				PlanningTechnicalServiceCode: "",                                          //计划生育技术服务人员合格证编号
4640
-				PharmacistType:               "",                                          //药师类别
4641
-				PharmacistPracticeCategory:   "",                                          //药师执业类别
4642
-				PharmacistsLicensing:         "",                                          //药师执业范围
4643
-				PharmacistRegistrationNumber: "",                                          //执业药师注册证编号
4644
-				OfficeCode:                   "",                                          //科室编码
4645
-				JobNumber:                    item.JobNumber,                              //工号
4646
-				PostName:                     "",                                          //职位名称
4647
-				TechnicalJobLevelCode:        "",                                          //专业技术职务级别编码
4648
-				IsActive:                     strconv.FormatInt(item.IsActive, 10),        //在职与否
4616
+				UserName:                                item.UserName,                                                       //医护姓名
4617
+				RoleId:                                  item.Name,                                                           //医护人员类别
4618
+				Sex:                                     strconv.FormatInt(item.Sex, 10),                                     //性别
4619
+				CardType:                                strconv.FormatInt(item.CardType, 10),                                //证件类型
4620
+				IdCard:                                  item.IdCard,                                                         //证件号码
4621
+				Phone:                                   item.Mobile,                                                         //联系电话
4622
+				WorkMajorName:                           item.WorkMajorName,                                                  // 现从事专业名称
4623
+				Nation:                                  item.Nation,                                                         //民族
4624
+				BirthDay:                                20201022,                                                            // 出生日期
4625
+				WorkTime:                                20201022,                                                            //参加工作日期
4626
+				Education:                               strconv.FormatInt(item.Education, 10),                               //学历
4627
+				StudyMajorName:                          item.StudyMajorName,                                                 //所学的专业名称
4628
+				CertificateCode:                         item.MedicalCode,                                                    //医(药)师执业证书编码
4629
+				MedicalCode:                             item.DoctorCode,                                                     //医(药)师资格证编码
4630
+				MedicalRangeCode:                        strconv.FormatInt(item.DoctorRangeCode, 10),                         //医师执业范围代码
4631
+				MedicalLevel:                            strconv.FormatInt(item.DoctorLevel, 10),                             //医生执业资格证中的医师级别
4632
+				TypeJob:                                 strconv.FormatInt(item.DoctorTypeJob, 10),                           //医生执业资格证中的执业类别
4633
+				DoctorNumber:                            item.DoctorNumber,                                                   //医保医师编号
4634
+				Licensing:                               strconv.FormatInt(item.Licensing, 10),                               //多点执业标志
4635
+				DoctorServiceStatus:                     "",                                                                  //医师医保服务资格状态
4636
+				MonitoringLevel:                         "",                                                                  //监控等级
4637
+				DrugPsychotropicSubstances:              "",                                                                  //毒麻精神药品资格
4638
+				HealthCareCode:                          "",                                                                  // 母婴保健技术考核合格证书编号
4639
+				PlanningTechnicalServiceCode:            "",                                                                  //计划生育技术服务人员合格证编号
4640
+				PharmacistType:                          "",                                                                  //药师类别
4641
+				PharmacistPracticeCategory:              "",                                                                  //药师执业类别
4642
+				PharmacistsLicensing:                    "",                                                                  //药师执业范围
4643
+				PharmacistRegistrationNumber:            "",                                                                  //执业药师注册证编号
4644
+				OfficeCode:                              "",                                                                  //科室编码
4645
+				JobNumber:                               item.JobNumber,                                                      //工号
4646
+				PostName:                                "",                                                                  //职位名称
4647
+				TechnicalJobLevelCode:                   "",                                                                  //专业技术职务级别编码
4648
+				IsActive:                                strconv.FormatInt(item.IsActive, 10),                                //在职与否
4649 4649
 				PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
4650 4650
 				IdentificationOutpatients:               strconv.FormatInt(item.IdentificationOutpatients, 10),               //门诊大病医师标识
4651 4651
 				OutpatientIllnessCategory:               item.OutpatientIllnessCategory,                                      //门诊大病类别
@@ -4720,39 +4720,39 @@ func (c *SZHisApiController) GetMedicalList() {
4720 4720
 		var isSuccess bool = true
4721 4721
 		for _, item := range list {
4722 4722
 			detail := &models.DocDetail{
4723
-				UserName:                     item.UserName,                               //医护姓名
4724
-				RoleId:                       item.Name,                                   //医护人员类别
4725
-				Sex:                          strconv.FormatInt(item.Sex, 10),             //性别
4726
-				CardType:                     strconv.FormatInt(item.CardType, 10),        //证件类型
4727
-				IdCard:                       item.IdCard,                                 //证件号码
4728
-				Phone:                        item.Mobile,                                 //联系电话
4729
-				WorkMajorName:                item.WorkMajorName,                          // 现从事专业名称
4730
-				Nation:                       item.Nation,                                 //民族
4731
-				BirthDay:                     20201022,                                    // 出生日期
4732
-				WorkTime:                     20201022,                                    //参加工作日期
4733
-				Education:                    strconv.FormatInt(item.Education, 10),       //学历
4734
-				StudyMajorName:               item.StudyMajorName,                         //所学的专业名称
4735
-				CertificateCode:              item.MedicalCode,                            //医(药)师执业证书编码
4736
-				MedicalCode:                  item.DoctorCode,                             //医(药)师资格证编码
4737
-				MedicalRangeCode:             strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
4738
-				MedicalLevel:                 strconv.FormatInt(item.DoctorLevel, 10),     //医生执业资格证中的医师级别
4739
-				TypeJob:                      strconv.FormatInt(item.DoctorTypeJob, 10),   //医生执业资格证中的执业类别
4740
-				DoctorNumber:                 item.DoctorNumber,                           //医保医师编号
4741
-				Licensing:                    strconv.FormatInt(item.Licensing, 10),       //多点执业标志
4742
-				DoctorServiceStatus:          "",                                          //医师医保服务资格状态
4743
-				MonitoringLevel:              "",                                          //监控等级
4744
-				DrugPsychotropicSubstances:   "",                                          //毒麻精神药品资格
4745
-				HealthCareCode:               "",                                          // 母婴保健技术考核合格证书编号
4746
-				PlanningTechnicalServiceCode: "",                                          //计划生育技术服务人员合格证编号
4747
-				PharmacistType:               "",                                          //药师类别
4748
-				PharmacistPracticeCategory:   "",                                          //药师执业类别
4749
-				PharmacistsLicensing:         "",                                          //药师执业范围
4750
-				PharmacistRegistrationNumber: "",                                          //执业药师注册证编号
4751
-				OfficeCode:                   "",                                          //科室编码
4752
-				JobNumber:                    item.JobNumber,                              //工号
4753
-				PostName:                     "",                                          //职位名称
4754
-				TechnicalJobLevelCode:        "",                                          //专业技术职务级别编码
4755
-				IsActive:                     strconv.FormatInt(item.IsActive, 10),        //在职与否
4723
+				UserName:                                item.UserName,                                                       //医护姓名
4724
+				RoleId:                                  item.Name,                                                           //医护人员类别
4725
+				Sex:                                     strconv.FormatInt(item.Sex, 10),                                     //性别
4726
+				CardType:                                strconv.FormatInt(item.CardType, 10),                                //证件类型
4727
+				IdCard:                                  item.IdCard,                                                         //证件号码
4728
+				Phone:                                   item.Mobile,                                                         //联系电话
4729
+				WorkMajorName:                           item.WorkMajorName,                                                  // 现从事专业名称
4730
+				Nation:                                  item.Nation,                                                         //民族
4731
+				BirthDay:                                20201022,                                                            // 出生日期
4732
+				WorkTime:                                20201022,                                                            //参加工作日期
4733
+				Education:                               strconv.FormatInt(item.Education, 10),                               //学历
4734
+				StudyMajorName:                          item.StudyMajorName,                                                 //所学的专业名称
4735
+				CertificateCode:                         item.MedicalCode,                                                    //医(药)师执业证书编码
4736
+				MedicalCode:                             item.DoctorCode,                                                     //医(药)师资格证编码
4737
+				MedicalRangeCode:                        strconv.FormatInt(item.DoctorRangeCode, 10),                         //医师执业范围代码
4738
+				MedicalLevel:                            strconv.FormatInt(item.DoctorLevel, 10),                             //医生执业资格证中的医师级别
4739
+				TypeJob:                                 strconv.FormatInt(item.DoctorTypeJob, 10),                           //医生执业资格证中的执业类别
4740
+				DoctorNumber:                            item.DoctorNumber,                                                   //医保医师编号
4741
+				Licensing:                               strconv.FormatInt(item.Licensing, 10),                               //多点执业标志
4742
+				DoctorServiceStatus:                     "",                                                                  //医师医保服务资格状态
4743
+				MonitoringLevel:                         "",                                                                  //监控等级
4744
+				DrugPsychotropicSubstances:              "",                                                                  //毒麻精神药品资格
4745
+				HealthCareCode:                          "",                                                                  // 母婴保健技术考核合格证书编号
4746
+				PlanningTechnicalServiceCode:            "",                                                                  //计划生育技术服务人员合格证编号
4747
+				PharmacistType:                          "",                                                                  //药师类别
4748
+				PharmacistPracticeCategory:              "",                                                                  //药师执业类别
4749
+				PharmacistsLicensing:                    "",                                                                  //药师执业范围
4750
+				PharmacistRegistrationNumber:            "",                                                                  //执业药师注册证编号
4751
+				OfficeCode:                              "",                                                                  //科室编码
4752
+				JobNumber:                               item.JobNumber,                                                      //工号
4753
+				PostName:                                "",                                                                  //职位名称
4754
+				TechnicalJobLevelCode:                   "",                                                                  //专业技术职务级别编码
4755
+				IsActive:                                strconv.FormatInt(item.IsActive, 10),                                //在职与否
4756 4756
 				PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
4757 4757
 				IdentificationOutpatients:               strconv.FormatInt(item.IdentificationOutpatients, 10),               //门诊大病医师标识
4758 4758
 				OutpatientIllnessCategory:               item.OutpatientIllnessCategory,                                      //门诊大病类别
@@ -4853,44 +4853,44 @@ func (c *SZHisApiController) GetUpdateMedicalList() {
4853 4853
 		for _, item := range list {
4854 4854
 
4855 4855
 			detail := &models.DocDetail{
4856
-				StaffCode:                    "",            //医护人员编码
4857
-				UserName:                     item.UserName, //医护人员姓名
4858
-				RoleId:                       item.Name,     //医护人员类别
4859
-				Sex:                          "",            //性别
4860
-				CardType:                     "",            //证件类型
4861
-				IdCard:                       "",            //证件号码
4862
-				Phone:                        "",            //联系电话
4863
-				WorkMajorName:                "",            //现从事专业名称
4864
-				Nation:                       "",            //民族
4865
-				BirthDay:                     20201022,      //出生日期
4866
-				WorkTime:                     20201022,      //参加工作日期
4867
-				Education:                    "",            //学历
4868
-				StudyMajorName:               "",            //所学的专业名称
4869
-				CertificateCode:              "",            //证书编码
4870
-				MedicalCode:                  "",            //医师资格编码
4871
-				MedicalRangeCode:             "",            //医师执业范围代码
4872
-				MedicalLevel:                 "",            //医生级别
4873
-				TypeJob:                      "",            //职业类别
4874
-				DoctorNumber:                 "",            //医师编号
4875
-				Licensing:                    "",            //职业标志
4876
-				DoctorServiceStatus:          "",            //医师医保服务资格状态
4877
-				MonitoringLevel:              "",            //监控等级
4878
-				DrugPsychotropicSubstances:   "",            //毒麻精神药品资格
4879
-				HealthCareCode:               "",            // 母婴保健技术考核合格证书编号
4880
-				PlanningTechnicalServiceCode: "",            //计划生育技术服务人员合格证编号
4881
-				PharmacistType:               "",            //药师类别
4882
-				PharmacistPracticeCategory:   "",            //药师执业类别
4883
-				PharmacistsLicensing:         "",            //药师执业范围
4884
-				PharmacistRegistrationNumber: "",            //执业药师注册证编号
4885
-				OfficeCode:                   "",            //科室编码
4886
-				JobNumber:                    "",            //工号
4887
-				PostName:                     "",            //职位名称
4888
-				TechnicalJobLevelCode:        "",            //专业技术职务级别编码
4889
-				IsActive:                     "",            //在职与否
4890
-				PrescriptionQualificationIdentification: "",       //处方资格标识
4891
-				IdentificationOutpatients:               "",       //门诊大病医师标识
4892
-				OutpatientIllnessCategory:               "",       //门诊大病类别
4893
-				StartTime:                               20201022, //开始日期
4856
+				StaffCode:                               "",            //医护人员编码
4857
+				UserName:                                item.UserName, //医护人员姓名
4858
+				RoleId:                                  item.Name,     //医护人员类别
4859
+				Sex:                                     "",            //性别
4860
+				CardType:                                "",            //证件类型
4861
+				IdCard:                                  "",            //证件号码
4862
+				Phone:                                   "",            //联系电话
4863
+				WorkMajorName:                           "",            //现从事专业名称
4864
+				Nation:                                  "",            //民族
4865
+				BirthDay:                                20201022,      //出生日期
4866
+				WorkTime:                                20201022,      //参加工作日期
4867
+				Education:                               "",            //学历
4868
+				StudyMajorName:                          "",            //所学的专业名称
4869
+				CertificateCode:                         "",            //证书编码
4870
+				MedicalCode:                             "",            //医师资格编码
4871
+				MedicalRangeCode:                        "",            //医师执业范围代码
4872
+				MedicalLevel:                            "",            //医生级别
4873
+				TypeJob:                                 "",            //职业类别
4874
+				DoctorNumber:                            "",            //医师编号
4875
+				Licensing:                               "",            //职业标志
4876
+				DoctorServiceStatus:                     "",            //医师医保服务资格状态
4877
+				MonitoringLevel:                         "",            //监控等级
4878
+				DrugPsychotropicSubstances:              "",            //毒麻精神药品资格
4879
+				HealthCareCode:                          "",            // 母婴保健技术考核合格证书编号
4880
+				PlanningTechnicalServiceCode:            "",            //计划生育技术服务人员合格证编号
4881
+				PharmacistType:                          "",            //药师类别
4882
+				PharmacistPracticeCategory:              "",            //药师执业类别
4883
+				PharmacistsLicensing:                    "",            //药师执业范围
4884
+				PharmacistRegistrationNumber:            "",            //执业药师注册证编号
4885
+				OfficeCode:                              "",            //科室编码
4886
+				JobNumber:                               "",            //工号
4887
+				PostName:                                "",            //职位名称
4888
+				TechnicalJobLevelCode:                   "",            //专业技术职务级别编码
4889
+				IsActive:                                "",            //在职与否
4890
+				PrescriptionQualificationIdentification: "",            //处方资格标识
4891
+				IdentificationOutpatients:               "",            //门诊大病医师标识
4892
+				OutpatientIllnessCategory:               "",            //门诊大病类别
4893
+				StartTime:                               20201022,      //开始日期
4894 4894
 				EndTime:                                 20201022,
4895 4895
 			}
4896 4896
 			customs = append(customs, detail)

+ 4 - 4
routers/router.go Просмотреть файл

@@ -1,7 +1,7 @@
1 1
 package routers
2 2
 
3 3
 import (
4
-	"gdyb/controllers/sz"
4
+	"gdyb/controllers/sg"
5 5
 	//"gdyb/controllers/sz"
6 6
 	//"gdyb/controllers/sz"
7 7
 	//admin_api "XT_New/controllers/admin_api_controllers"
@@ -20,8 +20,8 @@ func init() {
20 20
 		AllowCredentials: true,
21 21
 	}))
22 22
 
23
-	//sg.HisManagerApiRegistRouters()
24
-	//sg.GdybRegistRouters()
25
-	sz.SZHisManagerApiRegistRouters()
23
+	sg.HisManagerApiRegistRouters()
24
+	sg.GdybRegistRouters()
25
+	//sz.SZHisManagerApiRegistRouters()
26 26
 
27 27
 }