Quellcode durchsuchen

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx vor 3 Jahren
Ursprung
Commit
13ec0b6b11
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 1 1
      models/his_models.go
  2. 3 3
      service/gdyb_service.go

+ 1 - 1
models/his_models.go Datei anzeigen

@@ -683,7 +683,7 @@ type HisOrder struct {
683 683
 	RequestLog       string `gorm:"column:request_log" json:"request_log" form:"request_log"`
684 684
 	RefundRequestLog string `gorm:"column:refund_request_log" json:"refund_request_log" form:"refund_request_log"`
685 685
 
686
-	HisOrderInfo        []*HisOrderInfo     `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
686
+	HisOrderInfo        []*HisOrderInfo     `gorm:"ForeignKey:OrderId;AssociationForeignKey:ID" json:"order_info"`
687 687
 	Patients            Patients            `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
688 688
 	HisPatient          HisPatient          `gorm:"ForeignKey:MdtrtId;AssociationForeignKey:Number" json:"his_patient"`
689 689
 	HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,SettleAccountsDate;AssociationForeignKey:PatientId,RecordDate" json:"p_info"`

+ 3 - 3
service/gdyb_service.go Datei anzeigen

@@ -2185,7 +2185,7 @@ func Gdyb4101(struct4101 *Struct4101, secret_key string, org_name string, doctor
2185 2185
 	inputData["psn_name"] = struct4101.PsnName                // 人员姓名  必填
2186 2186
 	inputData["gend"] = struct4101.Gend                       // 性别  必填
2187 2187
 	inputData["brdy"] = struct4101.Brdy                       // 出生日期  必填
2188
-	inputData["age"] = ""                                     // 年龄  必填
2188
+	inputData["age"] = struct4101.Age                         // 年龄  必填
2189 2189
 	inputData["ntly"] = struct4101.Ntly                       // 国籍  必填
2190 2190
 	inputData["nwb_age"] = ""                                 // 年龄  必填
2191 2191
 	inputData["naty"] = struct4101.Naty                       // 民族  必填
@@ -2209,7 +2209,7 @@ func Gdyb4101(struct4101 *Struct4101, secret_key string, org_name string, doctor
2209 2209
 	inputData["nwb_adm_wt"] = ""                              // 新生儿入院体重  必填
2210 2210
 	inputData["opsp_diag_caty"] = ""                          // 门诊慢特病诊断  必填
2211 2211
 	inputData["opsp_mdtrt_date"] = ""                         // 门诊慢特病就诊日期  必填
2212
-	inputData["ipt_med_type"] = ""                            // 住院医疗类型  必填
2212
+	inputData["ipt_med_type"] = struct4101.IptMedType         // 住院医疗类型  必填
2213 2213
 	inputData["adm_way"] = ""                                 // 入院途径  必填
2214 2214
 	inputData["trt_type"] = ""                                // 治疗类别  必填
2215 2215
 	inputData["adm_time"] = ""                                // 入院时间  必填
@@ -2319,7 +2319,7 @@ func Gdyb4101(struct4101 *Struct4101, secret_key string, org_name string, doctor
2319 2319
 	//input["opspdiseinfo"] = opspdiseinfo
2320 2320
 	input["diseinfo"] = diseinfo
2321 2321
 	input["iteminfo"] = iteminfo
2322
-	input["oprninfo"] = oprninfo
2322
+	//input["oprninfo"] = oprninfo
2323 2323
 	//input["icuinfo"] = icuinfo
2324 2324
 	inputMessage["input"] = input //交易输入
2325 2325