|
@@ -40,8 +40,7 @@ type XtHisProject struct {
|
40
|
40
|
DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
41
|
41
|
NumberDays string `gorm:"column:number_days" json:"number_days" form:"number_days"`
|
42
|
42
|
Total string `gorm:"column:total" json:"total" form:"total"`
|
43
|
|
- Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
44
|
|
-
|
|
43
|
+ Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
45
|
44
|
}
|
46
|
45
|
|
47
|
46
|
func (XtHisProject) TableName() string {
|
|
@@ -62,7 +61,7 @@ type XtHisProjectTeam struct {
|
62
|
61
|
CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
63
|
62
|
UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
64
|
63
|
ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
65
|
|
- Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
|
|
64
|
+ Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
|
66
|
65
|
}
|
67
|
66
|
|
68
|
67
|
func (XtHisProjectTeam) TableName() string {
|
|
@@ -235,11 +234,11 @@ type HisDoctorAdviceInfo struct {
|
235
|
234
|
FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
236
|
235
|
Day int64 `gorm:"column:day" json:"day" form:"day"`
|
237
|
236
|
HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
238
|
|
- DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
239
|
|
-
|
240
|
|
- NewGroupno string `gorm:"column:-" json:"new_groupno" form:"new_groupno"`
|
241
|
|
- Newfn string `gorm:"column:-" json:"newfn" form:"newfn"`
|
|
237
|
+ DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
|
238
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
242
|
239
|
|
|
240
|
+ NewGroupno string `gorm:"column:-" json:"new_groupno" form:"new_groupno"`
|
|
241
|
+ Newfn string `gorm:"column:-" json:"newfn" form:"newfn"`
|
243
|
242
|
|
244
|
243
|
BaseDrugLib BaseDrugLib `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
245
|
244
|
}
|
|
@@ -314,9 +313,6 @@ type HisPrescriptionInfo struct {
|
314
|
313
|
DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
|
315
|
314
|
XtHisDepartment XtHisDepartment `gorm:"ForeignKey:ID;AssociationForeignKey:Departments" json:"department"`
|
316
|
315
|
SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
|
317
|
|
-
|
318
|
|
-
|
319
|
|
-
|
320
|
316
|
}
|
321
|
317
|
|
322
|
318
|
func (HisPrescriptionInfo) TableName() string {
|
|
@@ -324,35 +320,32 @@ func (HisPrescriptionInfo) TableName() string {
|
324
|
320
|
}
|
325
|
321
|
|
326
|
322
|
type HisPrescription struct {
|
327
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
328
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
329
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
330
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
331
|
|
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
332
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
333
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
334
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
335
|
|
- Number string `gorm:"column:number" json:"number" form:"number"`
|
336
|
|
- Type int64 `gorm:"column:type" json:"type" form:"type"`
|
337
|
|
- Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
338
|
|
- Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
339
|
|
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
340
|
|
- OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
341
|
|
- PreTime int64 `gorm:"column:pre_time" json:"pre_time" form:"pre_time"`
|
342
|
|
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
343
|
|
- PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
|
344
|
|
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
345
|
|
- HisPatient VMHisPatient `gorm:"ForeignKey:PatientId;AssociationForeignKey:patient_id" json:"hisPatient"`
|
|
323
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
324
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
325
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
326
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
327
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
328
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
329
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
330
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
331
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
332
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
333
|
+ Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
334
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
335
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
336
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
337
|
+ PreTime int64 `gorm:"column:pre_time" json:"pre_time" form:"pre_time"`
|
|
338
|
+ BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
|
339
|
+ PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
|
|
340
|
+ Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
341
|
+ HisPatient VMHisPatient `gorm:"ForeignKey:PatientId;AssociationForeignKey:patient_id" json:"hisPatient"`
|
346
|
342
|
HisDoctorAdviceInfo []HisDoctorAdviceInfo `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
|
347
|
343
|
HisPrescriptionProject []HisPrescriptionProject `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
|
348
|
344
|
HisAdditionalCharge []HisAdditionalCharge `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"addition"`
|
349
|
|
- VMHisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,RecordDate" json:"info"`
|
350
|
|
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
351
|
|
- Cbm01 string `gorm:"column:cbm01" json:"cbm01" form:"cbm01"`
|
352
|
|
- Cbm07 string `gorm:"column:cbm07" json:"cbm07" form:"cbm07"`
|
353
|
|
-
|
354
|
|
-
|
355
|
|
-
|
|
345
|
+ VMHisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,RecordDate" json:"info"`
|
|
346
|
+ MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
347
|
+ Cbm01 string `gorm:"column:cbm01" json:"cbm01" form:"cbm01"`
|
|
348
|
+ Cbm07 string `gorm:"column:cbm07" json:"cbm07" form:"cbm07"`
|
356
|
349
|
}
|
357
|
350
|
|
358
|
351
|
func (HisPrescription) TableName() string {
|
|
@@ -388,12 +381,10 @@ type HisProject struct {
|
388
|
381
|
Status int64 `gorm:"column:status" json:"status" form:"status"`
|
389
|
382
|
CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
390
|
383
|
UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
391
|
|
- ZuobiaoId string `gorm:"column:zuobiao_id" json:"zuobiao_id" form:"zuobiao_id"`
|
392
|
|
- Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
|
393
|
|
- Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
|
394
|
|
- Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
395
|
|
-
|
396
|
|
-
|
|
384
|
+ ZuobiaoId string `gorm:"column:zuobiao_id" json:"zuobiao_id" form:"zuobiao_id"`
|
|
385
|
+ Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
|
|
386
|
+ Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
|
|
387
|
+ Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
397
|
388
|
}
|
398
|
389
|
|
399
|
390
|
func (HisProject) TableName() string {
|
|
@@ -515,36 +506,35 @@ func (HisDoctorAdviceTemplate) TableName() string {
|
515
|
506
|
}
|
516
|
507
|
|
517
|
508
|
type HisPrescriptionProject struct {
|
518
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
519
|
|
- ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
520
|
|
- Price float64 `gorm:"column:price" json:"price" form:"price"`
|
521
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
522
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
523
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
524
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
525
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
526
|
|
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
527
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
528
|
|
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
529
|
|
- Count string `gorm:"column:count" json:"count" form:"count"`
|
530
|
|
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
531
|
|
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
532
|
|
- SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
533
|
|
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
534
|
|
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
535
|
|
- Day string `gorm:"column:day" json:"day" form:"day"`
|
536
|
|
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
537
|
|
-
|
538
|
|
-
|
539
|
|
- HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
|
540
|
|
- GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
|
541
|
|
- Type int64 `gorm:"column:type" json:"type" form:"type"`
|
542
|
|
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
543
|
|
- Unit string `gorm:"column:unit" json:"unit" form:"unit"`
|
544
|
|
- TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
|
545
|
|
- XtHisProjectTeam XtHisProjectTeam `gorm:"ForeignKey:TeamId;AssociationForeignKey:ID" json:"team"`
|
546
|
|
- IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
|
547
|
|
- ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
509
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
510
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
511
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
512
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
513
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
514
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
515
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
516
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
517
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
518
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
519
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
520
|
+ Count string `gorm:"column:count" json:"count" form:"count"`
|
|
521
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
522
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
523
|
+ SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
524
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
525
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
526
|
+ Day string `gorm:"column:day" json:"day" form:"day"`
|
|
527
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
528
|
+
|
|
529
|
+ HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
|
|
530
|
+ GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
|
|
531
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
532
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
533
|
+ Unit string `gorm:"column:unit" json:"unit" form:"unit"`
|
|
534
|
+ TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
|
|
535
|
+ XtHisProjectTeam XtHisProjectTeam `gorm:"ForeignKey:TeamId;AssociationForeignKey:ID" json:"team"`
|
|
536
|
+ IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
|
|
537
|
+ ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
548
|
538
|
}
|
549
|
539
|
|
550
|
540
|
func (HisPrescriptionProject) TableName() string {
|
|
@@ -750,12 +740,12 @@ type HisOrder struct {
|
750
|
740
|
AliPay string `gorm:"ali_pay" json:"ali_pay" form:"ali_pay"`
|
751
|
741
|
JifenPay string `gorm:"jifen_pay" json:"jifen_pay" form:"jifen_pay"`
|
752
|
742
|
|
753
|
|
- IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
|
754
|
|
- IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
|
755
|
|
- IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
|
756
|
|
- SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
|
743
|
+ IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
|
|
744
|
+ IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
|
|
745
|
+ IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
|
|
746
|
+ SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
757
|
747
|
|
758
|
|
- FaPiaoSn string `gorm:"column:fa_piao_sn" json:"fa_piao_sn" form:"fa_piao_sn"`
|
|
748
|
+ FaPiaoSn string `gorm:"column:fa_piao_sn" json:"fa_piao_sn" form:"fa_piao_sn"`
|
759
|
749
|
}
|
760
|
750
|
|
761
|
751
|
func (HisOrder) TableName() string {
|
|
@@ -909,7 +899,7 @@ type MedicalInsuranceOrgConfig struct {
|
909
|
899
|
MdtrtareaAdmvs string `gorm:"column:mdtrtarea_admvs" json:"mdtrtarea_admvs" form:"mdtrtarea_admvs"`
|
910
|
900
|
InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
|
911
|
901
|
SecretKey string `gorm:"column:secret_key" json:"secret_key" form:"secret_key"`
|
912
|
|
-Url string `gorm:"column:url" json:"url" form:"url"`
|
|
902
|
+ Url string `gorm:"column:url" json:"url" form:"url"`
|
913
|
903
|
AccessKey string `gorm:"column:access_key" json:"access_key" form:"access_key"`
|
914
|
904
|
Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
|
915
|
905
|
AppSecret string `gorm:"column:app_secret" json:"app_secret" form:"app_secret"`
|
|
@@ -1081,7 +1071,6 @@ type BusinessParams struct {
|
1081
|
1071
|
MdtrtId string
|
1082
|
1072
|
SetlId string
|
1083
|
1073
|
StasType string
|
1084
|
|
-
|
1085
|
1074
|
}
|
1086
|
1075
|
|
1087
|
1076
|
type BusinessParamsTwo struct {
|
|
@@ -1102,20 +1091,17 @@ type BusinessParamsTwo struct {
|
1102
|
1091
|
SetlId string
|
1103
|
1092
|
}
|
1104
|
1093
|
|
1105
|
|
-
|
1106
|
1094
|
type BusinessParams5262 struct {
|
1107
|
|
- RefdSetlFlag string
|
1108
|
|
- QBegntime string
|
1109
|
|
- QEndtime string
|
1110
|
|
- MedType string
|
1111
|
|
- PageNum string
|
1112
|
|
- PageSize string
|
1113
|
|
- Certno string
|
1114
|
|
- Psnno string
|
1115
|
|
-
|
|
1095
|
+ RefdSetlFlag string
|
|
1096
|
+ QBegntime string
|
|
1097
|
+ QEndtime string
|
|
1098
|
+ MedType string
|
|
1099
|
+ PageNum string
|
|
1100
|
+ PageSize string
|
|
1101
|
+ Certno string
|
|
1102
|
+ Psnno string
|
1116
|
1103
|
}
|
1117
|
1104
|
|
1118
|
|
-
|
1119
|
1105
|
type Custom struct {
|
1120
|
1106
|
DetItemFeeSumamt string
|
1121
|
1107
|
Cut string
|
|
@@ -1229,8 +1215,7 @@ type MyHisProject struct {
|
1229
|
1215
|
SpecailProject int64 `gorm:"column:specail_project" json:"specail_project" form:"specail_project"`
|
1230
|
1216
|
SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
1231
|
1217
|
RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
1232
|
|
- Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
1233
|
|
-
|
|
1218
|
+ Vaf14 string `gorm:"column:vaf14" json:"vaf14" form:"vaf14"`
|
1234
|
1219
|
}
|
1235
|
1220
|
|
1236
|
1221
|
func (MyHisProject) TableName() string {
|
|
@@ -1399,10 +1384,7 @@ type HisPsn struct {
|
1399
|
1384
|
RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
1400
|
1385
|
InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
|
1401
|
1386
|
IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
|
1402
|
|
- AuthInfo string `gorm:"column:auth_info" json:"auth_info" form:"auth_info"`
|
1403
|
|
-
|
1404
|
|
-
|
1405
|
|
-
|
|
1387
|
+ AuthInfo string `gorm:"column:auth_info" json:"auth_info" form:"auth_info"`
|
1406
|
1388
|
}
|
1407
|
1389
|
|
1408
|
1390
|
func (HisPsn) TableName() string {
|
|
@@ -1491,8 +1473,7 @@ type HisDoctorAdviceInfoTen struct {
|
1491
|
1473
|
HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
1492
|
1474
|
BaseDrugLib BaseDrugLib `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
1493
|
1475
|
HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"order_info"`
|
1494
|
|
- DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
1495
|
|
-
|
|
1476
|
+ DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
1496
|
1477
|
}
|
1497
|
1478
|
|
1498
|
1479
|
func (HisDoctorAdviceInfoTen) TableName() string {
|
|
@@ -1606,7 +1587,7 @@ type HisChargeSettleOrder struct {
|
1606
|
1587
|
IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
|
1607
|
1588
|
PayWays string `gorm:"column:pay_ways" json:"pay_way" form:"pay_ways"`
|
1608
|
1589
|
OthDesc string `gorm:"column:oth_desc" json:"oth_desc" form:"oth_desc"`
|
1609
|
|
- SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
|
1590
|
+ SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
1610
|
1591
|
|
1611
|
1592
|
IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
|
1612
|
1593
|
IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
|
|
@@ -1719,47 +1700,40 @@ type NewCustomTwo struct {
|
1719
|
1700
|
ProjectId int64
|
1720
|
1701
|
ItemId string
|
1721
|
1702
|
StartTime string
|
1722
|
|
- Content string
|
1723
|
|
- Bby01 string
|
1724
|
|
-
|
|
1703
|
+ Content string
|
|
1704
|
+ Bby01 string
|
1725
|
1705
|
}
|
1726
|
1706
|
|
1727
|
1707
|
type ChargeList struct {
|
1728
|
|
- Bby01 string
|
1729
|
|
- Vaj25 string
|
1730
|
|
- Bbx01 string
|
1731
|
|
- Vaf21 string
|
1732
|
|
- Vaf22 string
|
1733
|
|
- Vaf42 string
|
1734
|
|
-
|
1735
|
|
-
|
|
1708
|
+ Bby01 string
|
|
1709
|
+ Vaj25 string
|
|
1710
|
+ Bbx01 string
|
|
1711
|
+ Vaf21 string
|
|
1712
|
+ Vaf22 string
|
|
1713
|
+ Vaf42 string
|
1736
|
1714
|
}
|
1737
|
1715
|
|
1738
|
|
-
|
1739
|
1716
|
type ChargeListtwo struct {
|
1740
|
|
- Bby01 int64 `json:"bby01"`
|
1741
|
|
- Vaj25 float64 `json:"vaj25"`
|
1742
|
|
-
|
|
1717
|
+ Bby01 int64 `json:"bby01"`
|
|
1718
|
+ Vaj25 float64 `json:"vaj25"`
|
1743
|
1719
|
}
|
1744
|
1720
|
type UploadInfo struct {
|
1745
|
|
- Bce02a string `json:"bce02a"`
|
1746
|
|
- Acf01 int64 `json:"acf01"`
|
1747
|
|
- Bce01 string `json:"bce01"`
|
1748
|
|
- Bck01 string `json:"bck01"`
|
|
1721
|
+ Bce02a string `json:"bce02a"`
|
|
1722
|
+ Acf01 int64 `json:"acf01"`
|
|
1723
|
+ Bce01 string `json:"bce01"`
|
|
1724
|
+ Bck01 string `json:"bck01"`
|
1749
|
1725
|
ChargeListtwo []*ChargeListtwo `json:"chargeList"`
|
1750
|
|
- Bce01a string `json:"bce01a"`
|
|
1726
|
+ Bce01a string `json:"bce01a"`
|
1751
|
1727
|
|
1752
|
|
- Bck01c string `json:"bck01c"`
|
1753
|
|
- Bck01a string `json:"bck01a"`
|
|
1728
|
+ Bck01c string `json:"bck01c"`
|
|
1729
|
+ Bck01a string `json:"bck01a"`
|
1754
|
1730
|
|
1755
|
1731
|
Diag []*Diag
|
1756
|
1732
|
Fasong string `json:"fasong"`
|
1757
|
1733
|
PresInfo []*PresInfo
|
1758
|
|
- Vaa01 int64 `json:"bby01"`
|
1759
|
|
- Vaa07 int64 `json:"vaa07"`
|
|
1734
|
+ Vaa01 int64 `json:"bby01"`
|
|
1735
|
+ Vaa07 int64 `json:"vaa07"`
|
1760
|
1736
|
Vaa05 string `json:"vaa05"`
|
1761
|
|
-
|
1762
|
|
-
|
1763
|
1737
|
}
|
1764
|
1738
|
|
1765
|
1739
|
type Diag struct {
|
|
@@ -1909,7 +1883,7 @@ type NewHisOrder111 struct {
|
1909
|
1883
|
WechatPay string `gorm:"wechat_pay" json:"wechat_pay" form:"wechat_pay"`
|
1910
|
1884
|
AliPay string `gorm:"ali_pay" json:"ali_pay" form:"ali_pay"`
|
1911
|
1885
|
JifenPay string `gorm:"jifen_pay" json:"jifen_pay" form:"jifen_pay"`
|
1912
|
|
- SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
|
1886
|
+ SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
1913
|
1887
|
|
1914
|
1888
|
IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
|
1915
|
1889
|
IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
|
|
@@ -1920,23 +1894,20 @@ func (NewHisOrder111) TableName() string {
|
1920
|
1894
|
return "his_order"
|
1921
|
1895
|
}
|
1922
|
1896
|
|
1923
|
|
-
|
1924
|
1897
|
type Root2 struct {
|
1925
|
|
- XMLName xml.Name `xml:"Root"`
|
1926
|
|
- TradeInfo TradeInfo `xml:"tradeinfo"`
|
1927
|
|
-
|
1928
|
|
- VAF1 VAF10 `xml:"VAF1"`
|
|
1898
|
+ XMLName xml.Name `xml:"Root"`
|
|
1899
|
+ TradeInfo TradeInfo `xml:"tradeinfo"`
|
1929
|
1900
|
|
|
1901
|
+ VAF1 VAF10 `xml:"VAF1"`
|
1930
|
1902
|
}
|
1931
|
1903
|
|
1932
|
|
-
|
1933
|
1904
|
type Root struct {
|
1934
|
|
- XMLName xml.Name `xml:"Root"`
|
1935
|
|
- TradeInfo TradeInfo `xml:"tradeinfo"`
|
1936
|
|
- CBM1 CBM1 `xml:"CBM1"`
|
1937
|
|
- VAF1 VAF1 `xml:"VAF1"`
|
1938
|
|
- VAO1 VAO1 `xml:"VAO1"`
|
1939
|
|
- VBQ1 VBQ1 `xml:"VBQ1"`
|
|
1905
|
+ XMLName xml.Name `xml:"Root"`
|
|
1906
|
+ TradeInfo TradeInfo `xml:"tradeinfo"`
|
|
1907
|
+ CBM1 CBM1 `xml:"CBM1"`
|
|
1908
|
+ VAF1 VAF1 `xml:"VAF1"`
|
|
1909
|
+ VAO1 VAO1 `xml:"VAO1"`
|
|
1910
|
+ VBQ1 VBQ1 `xml:"VBQ1"`
|
1940
|
1911
|
}
|
1941
|
1912
|
|
1942
|
1913
|
type TradeInfo struct {
|
|
@@ -1979,102 +1950,93 @@ type IEone struct {
|
1979
|
1950
|
BCK01B string `xml:"BCK01B,attr"`
|
1980
|
1951
|
BCK01C string `xml:"BCK01C,attr"`
|
1981
|
1952
|
CBM19 string `xml:"CBM19,attr"`
|
1982
|
|
-
|
1983
|
1953
|
}
|
1984
|
1954
|
type IEtwo struct {
|
1985
|
|
- CBMID string `xml:"CBMID,attr"`
|
1986
|
|
- VAF04 string `xml:"VAF04,attr"`
|
1987
|
|
- VAA01 string `xml:"VAA01,attr"`
|
1988
|
|
- VAF06 string `xml:"VAF06,attr"`
|
1989
|
|
- BCK01A string `xml:"BCK01A,attr"`
|
1990
|
|
- ROWNR string `xml:"ROWNR,attr"`
|
1991
|
|
- VAF10 string `xml:"VAF10,attr"`
|
1992
|
|
- VAF11 string `xml:"VAF11,attr"`
|
1993
|
|
- BDA01 string `xml:"BDA01,attr"`
|
1994
|
|
- BBX01 string `xml:"BBX01,attr"`
|
1995
|
|
- VAF14 string `xml:"VAF14,attr"`
|
1996
|
|
- VAF15 string `xml:"VAF15,attr"`
|
1997
|
|
- BBY01 string `xml:"BBY01,attr"`
|
1998
|
|
- VAF17 string `xml:"VAF17,attr"`
|
1999
|
|
- VAF18 string `xml:"VAF18,attr"`
|
2000
|
|
- VAF19 string `xml:"VAF19,attr"`
|
2001
|
|
- VAF20 string `xml:"VAF20,attr"`
|
2002
|
|
- VAF21 string `xml:"VAF21,attr"`
|
2003
|
|
- VAF22 string `xml:"VAF22,attr"`
|
2004
|
|
- Crypt string `xml:"Crypt,attr"`
|
2005
|
|
- VAF23 string `xml:"VAF23,attr"`
|
2006
|
|
- BCK01B string `xml:"BCK01B,attr"`
|
2007
|
|
- VAF26 string `xml:"VAF26,attr"`
|
2008
|
|
- VAF27 string `xml:"VAF27,attr"`
|
2009
|
|
- VAF28 string `xml:"VAF28,attr"`
|
2010
|
|
- VAF29 string `xml:"VAF29,attr"`
|
2011
|
|
- VAF30 string `xml:"VAF30,attr"`
|
2012
|
|
- VAF31 string `xml:"VAF31,attr"`
|
2013
|
|
- VAF32 string `xml:"VAF32,attr"`
|
2014
|
|
- VAF33 string `xml:"VAF33,attr"`
|
2015
|
|
- VAF34 string `xml:"VAF34,attr"`
|
2016
|
|
- VAF35 string `xml:"VAF35,attr"`
|
2017
|
|
- VAF36 string `xml:"VAF36,attr"`
|
2018
|
|
- VAF37 string `xml:"VAF37,attr"`
|
2019
|
|
- BCE02A string `xml:"BCE02A,attr"`
|
2020
|
|
- BCE03A string `xml:"BCE03A,attr"`
|
2021
|
|
- BCE03B string `xml:"BCE03B,attr"`
|
2022
|
|
- VAF53 string `xml:"VAF53,attr"`
|
2023
|
|
- VAF55 string `xml:"VAF55,attr"`
|
2024
|
|
- BCK01D string `xml:"BCK01D,attr"`
|
2025
|
|
- VAF58 string `xml:"VAF58,attr"`
|
2026
|
|
- VAF59 string `xml:"VAF59,attr"`
|
2027
|
|
- VAF60 string `xml:"VAF60,attr"`
|
2028
|
|
- VAF61 string `xml:"VAF61,attr"`
|
2029
|
|
- VAF62 string `xml:"VAF62,attr"`
|
2030
|
|
- LSign string `xml:"lSign,attr"`
|
2031
|
|
- BDA01A string `xml:"BDA01A,attr"`
|
2032
|
|
- LRoute string `xml:"lRoute,attr"`
|
2033
|
|
- BCE01A string `xml:"BCE01A,attr"`
|
2034
|
|
- BCE01B string `xml:"BCE01B,attr"`
|
2035
|
|
- VAF01B string `xml:"VAF01B,attr"`
|
2036
|
|
- VCO01 string `xml:"VCO01,attr"`
|
2037
|
|
- BCE01H string `xml:"BCE01H,attr"`
|
2038
|
|
- BCE03H string `xml:"BCE03H,attr"`
|
2039
|
|
- BIW02 string `xml:"BIW02,attr"`
|
2040
|
|
- RCurrent string `xml:"rCurrent,attr"`
|
2041
|
|
- FCheck string `xml:"FCheck,attr"`
|
2042
|
|
- UnameA string `xml:"UnameA,attr"`
|
2043
|
|
- VEH02 string `xml:"VEH02,attr"`
|
2044
|
|
- BCK01C string `xml:"BCK01C,attr"`
|
2045
|
|
- VAF07 string `xml:"VAF07,attr"`
|
2046
|
|
-
|
2047
|
|
-
|
2048
|
|
-
|
2049
|
|
-
|
2050
|
|
-
|
2051
|
|
-
|
|
1955
|
+ CBMID string `xml:"CBMID,attr"`
|
|
1956
|
+ VAF04 string `xml:"VAF04,attr"`
|
|
1957
|
+ VAA01 string `xml:"VAA01,attr"`
|
|
1958
|
+ VAF06 string `xml:"VAF06,attr"`
|
|
1959
|
+ BCK01A string `xml:"BCK01A,attr"`
|
|
1960
|
+ ROWNR string `xml:"ROWNR,attr"`
|
|
1961
|
+ VAF10 string `xml:"VAF10,attr"`
|
|
1962
|
+ VAF11 string `xml:"VAF11,attr"`
|
|
1963
|
+ BDA01 string `xml:"BDA01,attr"`
|
|
1964
|
+ BBX01 string `xml:"BBX01,attr"`
|
|
1965
|
+ VAF14 string `xml:"VAF14,attr"`
|
|
1966
|
+ VAF15 string `xml:"VAF15,attr"`
|
|
1967
|
+ BBY01 string `xml:"BBY01,attr"`
|
|
1968
|
+ VAF17 string `xml:"VAF17,attr"`
|
|
1969
|
+ VAF18 string `xml:"VAF18,attr"`
|
|
1970
|
+ VAF19 string `xml:"VAF19,attr"`
|
|
1971
|
+ VAF20 string `xml:"VAF20,attr"`
|
|
1972
|
+ VAF21 string `xml:"VAF21,attr"`
|
|
1973
|
+ VAF22 string `xml:"VAF22,attr"`
|
|
1974
|
+ Crypt string `xml:"Crypt,attr"`
|
|
1975
|
+ VAF23 string `xml:"VAF23,attr"`
|
|
1976
|
+ BCK01B string `xml:"BCK01B,attr"`
|
|
1977
|
+ VAF26 string `xml:"VAF26,attr"`
|
|
1978
|
+ VAF27 string `xml:"VAF27,attr"`
|
|
1979
|
+ VAF28 string `xml:"VAF28,attr"`
|
|
1980
|
+ VAF29 string `xml:"VAF29,attr"`
|
|
1981
|
+ VAF30 string `xml:"VAF30,attr"`
|
|
1982
|
+ VAF31 string `xml:"VAF31,attr"`
|
|
1983
|
+ VAF32 string `xml:"VAF32,attr"`
|
|
1984
|
+ VAF33 string `xml:"VAF33,attr"`
|
|
1985
|
+ VAF34 string `xml:"VAF34,attr"`
|
|
1986
|
+ VAF35 string `xml:"VAF35,attr"`
|
|
1987
|
+ VAF36 string `xml:"VAF36,attr"`
|
|
1988
|
+ VAF37 string `xml:"VAF37,attr"`
|
|
1989
|
+ BCE02A string `xml:"BCE02A,attr"`
|
|
1990
|
+ BCE03A string `xml:"BCE03A,attr"`
|
|
1991
|
+ BCE03B string `xml:"BCE03B,attr"`
|
|
1992
|
+ VAF53 string `xml:"VAF53,attr"`
|
|
1993
|
+ VAF55 string `xml:"VAF55,attr"`
|
|
1994
|
+ BCK01D string `xml:"BCK01D,attr"`
|
|
1995
|
+ VAF58 string `xml:"VAF58,attr"`
|
|
1996
|
+ VAF59 string `xml:"VAF59,attr"`
|
|
1997
|
+ VAF60 string `xml:"VAF60,attr"`
|
|
1998
|
+ VAF61 string `xml:"VAF61,attr"`
|
|
1999
|
+ VAF62 string `xml:"VAF62,attr"`
|
|
2000
|
+ LSign string `xml:"lSign,attr"`
|
|
2001
|
+ BDA01A string `xml:"BDA01A,attr"`
|
|
2002
|
+ LRoute string `xml:"lRoute,attr"`
|
|
2003
|
+ BCE01A string `xml:"BCE01A,attr"`
|
|
2004
|
+ BCE01B string `xml:"BCE01B,attr"`
|
|
2005
|
+ VAF01B string `xml:"VAF01B,attr"`
|
|
2006
|
+ VCO01 string `xml:"VCO01,attr"`
|
|
2007
|
+ BCE01H string `xml:"BCE01H,attr"`
|
|
2008
|
+ BCE03H string `xml:"BCE03H,attr"`
|
|
2009
|
+ BIW02 string `xml:"BIW02,attr"`
|
|
2010
|
+ RCurrent string `xml:"rCurrent,attr"`
|
|
2011
|
+ FCheck string `xml:"FCheck,attr"`
|
|
2012
|
+ UnameA string `xml:"UnameA,attr"`
|
|
2013
|
+ VEH02 string `xml:"VEH02,attr"`
|
|
2014
|
+ BCK01C string `xml:"BCK01C,attr"`
|
|
2015
|
+ VAF07 string `xml:"VAF07,attr"`
|
2052
|
2016
|
}
|
2053
|
2017
|
type IEthree struct {
|
2054
|
|
- CBMID string `xml:"CBMID,attr"`
|
2055
|
|
- VAA01 string `xml:"VAA01,attr"`
|
2056
|
|
- VAA07 string `xml:"VAA07,attr"`
|
2057
|
|
- ACF01 string `xml:"ACF01,attr"`
|
|
2018
|
+ CBMID string `xml:"CBMID,attr"`
|
|
2019
|
+ VAA01 string `xml:"VAA01,attr"`
|
|
2020
|
+ VAA07 string `xml:"VAA07,attr"`
|
|
2021
|
+ ACF01 string `xml:"ACF01,attr"`
|
2058
|
2022
|
|
2059
|
2023
|
VAO06 string `xml:"VAO06,attr"`
|
2060
|
2024
|
VAO07 string `xml:"VAO07,attr"`
|
2061
|
2025
|
VAO10 string `xml:"VAO10,attr"`
|
2062
|
2026
|
VAO11 string `xml:"VAO11,attr"`
|
2063
|
|
- BAK01A string `xml:"BAK01A,attr"`
|
|
2027
|
+ BAK01A string `xml:"BAK01A,attr"`
|
2064
|
2028
|
CAM01 string `xml:"CAM01,attr"`
|
2065
|
2029
|
VAO15 string `xml:"VAO15,attr"`
|
2066
|
2030
|
VAO18 string `xml:"VAO18,attr"`
|
2067
|
2031
|
VAO22 string `xml:"VAO22,attr"`
|
2068
|
2032
|
IAA01 string `xml:"IAA01,attr"`
|
2069
|
2033
|
IAD03 string `xml:"IAD03,attr"`
|
2070
|
|
- BAK01B string `xml:"BAK01B,attr"`
|
|
2034
|
+ BAK01B string `xml:"BAK01B,attr"`
|
2071
|
2035
|
VAO26 string `xml:"VAO26,attr"`
|
2072
|
2036
|
IAD04 string `xml:"IAD04,attr"`
|
2073
|
2037
|
IAD01 string `xml:"IAD01,attr"`
|
2074
|
2038
|
VAO25 string `xml:"VAO25,attr"`
|
2075
|
2039
|
VAO35 string `xml:"VAO35,attr"`
|
2076
|
|
-
|
2077
|
|
-
|
2078
|
2040
|
}
|
2079
|
2041
|
type IEfour struct {
|
2080
|
2042
|
VBQ01 string `xml:"VBQ01,attr"`
|
|
@@ -2085,21 +2047,17 @@ type IEfour struct {
|
2085
|
2047
|
VBQ07 string `xml:"VBQ07,attr"`
|
2086
|
2048
|
BCK01A string `xml:"BCK01A,attr"`
|
2087
|
2049
|
BCK01B string `xml:"BCK01B,attr"`
|
2088
|
|
- BCE03A string `xml:"BCE03A,attr"`
|
2089
|
|
- BCE01A string `xml:"BCE01A,attr"`
|
|
2050
|
+ BCE03A string `xml:"BCE03A,attr"`
|
|
2051
|
+ BCE01A string `xml:"BCE01A,attr"`
|
2090
|
2052
|
VBQ27 string `xml:"VBQ27,attr"`
|
2091
|
2053
|
VBQ28 string `xml:"VBQ28,attr"`
|
2092
|
2054
|
VBQ29 string `xml:"VBQ29,attr"`
|
2093
|
2055
|
VBQ30 string `xml:"VBQ30,attr"`
|
2094
|
|
-
|
2095
|
|
-
|
2096
|
2056
|
}
|
2097
|
2057
|
type IEfive struct {
|
2098
|
|
- VAF01 string `xml:"VAF01,attr"`
|
2099
|
|
-
|
|
2058
|
+ VAF01 string `xml:"VAF01,attr"`
|
2100
|
2059
|
}
|
2101
|
2060
|
|
2102
|
|
-
|
2103
|
2061
|
func main() {
|
2104
|
2062
|
data := `YOUR_XML_CONTENT_HERE`
|
2105
|
2063
|
|
|
@@ -2112,10 +2070,3 @@ func main() {
|
2112
|
2070
|
|
2113
|
2071
|
fmt.Printf("%+v\n", root)
|
2114
|
2072
|
}
|
2115
|
|
-
|
2116
|
|
-
|
2117
|
|
-
|
2118
|
|
-
|
2119
|
|
-
|
2120
|
|
-
|
2121
|
|
-
|