Browse Source

Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20230223_xt_api_new_branch

28169 1 year ago
parent
commit
151b7ebd03
1 changed files with 393 additions and 0 deletions
  1. 393 0
      controllers/his_api_controller.go

+ 393 - 0
controllers/his_api_controller.go View File

@@ -6094,6 +6094,11 @@ func (c *HisApiController) setAdviceTemplateWithJSON(advice *models.HisPrescript
6094 6094
 		}
6095 6095
 	}
6096 6096
 
6097
+	if json["groupno"] != nil || reflect.TypeOf(json["groupno"]).String() == "float64" {
6098
+		groupno := int64(json["groupno"].(float64))
6099
+		advice.Groupno = groupno
6100
+	}
6101
+
6097 6102
 	if json["min_unit"] != nil && reflect.TypeOf(json["min_unit"]).String() == "string" {
6098 6103
 		drugSpecUnit, _ := json["min_unit"].(string)
6099 6104
 		advice.DrugSpecUnit = drugSpecUnit
@@ -8906,6 +8911,394 @@ func (c *HisApiController) GetFaPiaoData() {
8906 8911
 
8907 8912
 }
8908 8913
 
8914
+//func (c *HisApiController) GetFaPiaoDatas() {
8915
+//	order_ids := c.GetString("order_ids")
8916
+//	patient_id, _ := c.GetInt64("patient_id")
8917
+//	adminUser := c.GetAdminUserInfo()
8918
+//
8919
+//	orders := strings.Split(order_ids, ",")
8920
+//	patient, _ := service.GetFaPiaoPatientByID(adminUser.CurrentOrgId, patient_id)
8921
+//
8922
+//	for _, item := range orders {
8923
+//		order_id, _ := strconv.ParseInt(item, 10, 64)
8924
+//		order, _ := service.GetHisOrderByID(order_id)
8925
+//		orderInfos, _ := service.GetHisOrderInfoByNumber(order.Number)
8926
+//		patientPrescription, _ := service.FindLastPatientPrescriptionInfo(adminUser.CurrentOrgId, patient_id, order.SettleAccountsDate)
8927
+//		department, _ := service.GetDepartMentDetail(patientPrescription.Departments)
8928
+//		his, _ := service.GetHisPatientInfoThree(adminUser.CurrentOrgId, order.MdtrtId)
8929
+//		his_hospital_record, _ := service.GetInHospitalRecordByNumber(order.MdtrtId)
8930
+//
8931
+//	}
8932
+//
8933
+//	var bedCostTotal float64 = 0         //床位总费
8934
+//	var bedCostSelfTotal float64 = 0     //床位自费
8935
+//	var bedCostPartSelfTotal float64 = 0 //床位部分项目自费
8936
+//
8937
+//	var operationCostTotal float64 = 0         //手术费
8938
+//	var operationCostSelfTotal float64 = 0     //手术费
8939
+//	var operationCostPartSelfTotal float64 = 0 //手术费
8940
+//
8941
+//	var otherCostTotal float64 = 0         //其他费用
8942
+//	var otherCostSelfTotal float64 = 0     //其他费用
8943
+//	var otherCostPartSelfTotal float64 = 0 //其他费用
8944
+//
8945
+//	var materialCostTotal float64 = 0         //材料费
8946
+//	var materialCostSelfTotal float64 = 0     //材料费
8947
+//	var materialCostPartSelfTotal float64 = 0 //材料费
8948
+//
8949
+//	var westernMedicineCostTotal float64 = 0         //西药费
8950
+//	var westernMedicineCostSelfTotal float64 = 0     //西药费
8951
+//	var westernMedicineCostPartSelfTotal float64 = 0 //西药费
8952
+//
8953
+//	var chineseTraditionalMedicineCostTotal float64 = 0         //中成药
8954
+//	var chineseTraditionalMedicineCostSelfTotal float64 = 0     //中成药
8955
+//	var chineseTraditionalMedicineCostPartSelfTotal float64 = 0 //中成药
8956
+//
8957
+//	var checkCostTotal float64 = 0         //检查费
8958
+//	var checkCostSelfTotal float64 = 0     //检查费
8959
+//	var checkCostPartSelfTotal float64 = 0 //检查费
8960
+//
8961
+//	var laboratoryCostTotal float64 = 0         //化验费
8962
+//	var laboratoryCostSelfTotal float64 = 0     //化验费
8963
+//	var laboratoryCostPartSelfTotal float64 = 0 //化验费
8964
+//
8965
+//	var treatCostTotal float64 = 0         //治疗费用
8966
+//	var treatCostSelfTotal float64 = 0     //治疗费用
8967
+//	var treatCostPartSelfTotal float64 = 0 //治疗费用
8968
+//
8969
+//	var zhenChaCostTotal float64 = 0         //其他费用
8970
+//	var zhenChaCostSelfTotal float64 = 0     //其他费用
8971
+//	var zhenChaCostPartSelfTotal float64 = 0 //其他费用
8972
+//
8973
+//	decimal.DivisionPrecision = 2
8974
+//	orderInfos_two, _ := service.GetHisOrderDetailByNumber(order.Number, adminUser.CurrentOrgId)
8975
+//
8976
+//	var balanceAccountsType int64
8977
+//	if his.ID > 0 {
8978
+//		balanceAccountsType = his.BalanceAccountsType
8979
+//	} else {
8980
+//		balanceAccountsType = his_hospital_record.BalanceAccountsType
8981
+//	}
8982
+//	if balanceAccountsType == 2 {
8983
+//		//orderInfos_two, _ := service.GetHisOrderDetailByNumber(order.Number, adminUser.CurrentOrgId)
8984
+//		for _, item := range orderInfos_two {
8985
+//			item.FulamtOwnpayAmt = item.DetItemFeeSumamt
8986
+//			if item.HisDoctorAdviceInfo.ID > 0 && item.HisPrescriptionProject.ID == 0 { //药品
8987
+//				item.MedChrgitmType = "09"
8988
+//			}
8989
+//
8990
+//			if item.HisPrescriptionProject.ID > 0 && item.HisDoctorAdviceInfo.ID == 0 {
8991
+//				if item.HisPrescriptionProject.Type == 2 {
8992
+//					if c.GetAdminUserInfo().CurrentOrgId == 10215 {
8993
+//						switch item.HisPrescriptionProject.VMHisProject.CostClassify {
8994
+//						case 0:
8995
+//							item.MedChrgitmType = "0"
8996
+//							break
8997
+//						case 1:
8998
+//							item.MedChrgitmType = "14"
8999
+//							break
9000
+//						case 2:
9001
+//							item.MedChrgitmType = "05"
9002
+//
9003
+//							break
9004
+//						case 3:
9005
+//							item.MedChrgitmType = "03"
9006
+//
9007
+//							break
9008
+//						case 4:
9009
+//							item.MedChrgitmType = "03"
9010
+//
9011
+//							break
9012
+//						case 5:
9013
+//							item.MedChrgitmType = "08"
9014
+//
9015
+//							break
9016
+//						case 6:
9017
+//							item.MedChrgitmType = "14"
9018
+//
9019
+//							break
9020
+//						case 7:
9021
+//							item.MedChrgitmType = "14"
9022
+//
9023
+//							break
9024
+//						case 8:
9025
+//							item.MedChrgitmType = "03"
9026
+//							break
9027
+//						case 9:
9028
+//							item.MedChrgitmType = "14"
9029
+//							break
9030
+//						case 10:
9031
+//							item.MedChrgitmType = "14"
9032
+//							break
9033
+//						case 11:
9034
+//							item.MedChrgitmType = "06"
9035
+//							break
9036
+//						case 12:
9037
+//							item.MedChrgitmType = "12"
9038
+//							break
9039
+//						case 13:
9040
+//							item.MedChrgitmType = "01"
9041
+//							break
9042
+//						case 14:
9043
+//							item.MedChrgitmType = "04"
9044
+//							break
9045
+//						case 15:
9046
+//							item.MedChrgitmType = "02"
9047
+//							break
9048
+//
9049
+//						}
9050
+//
9051
+//					} else {
9052
+//						switch item.HisPrescriptionProject.VMHisProject.CostClassify {
9053
+//
9054
+//						case 1:
9055
+//							item.MedChrgitmType = "14"
9056
+//							break
9057
+//						case 2:
9058
+//							item.MedChrgitmType = "05"
9059
+//
9060
+//							break
9061
+//						case 3:
9062
+//							item.MedChrgitmType = "03"
9063
+//
9064
+//							break
9065
+//						case 4:
9066
+//							item.MedChrgitmType = "03"
9067
+//
9068
+//							break
9069
+//						case 5:
9070
+//							item.MedChrgitmType = "08"
9071
+//
9072
+//							break
9073
+//						case 6:
9074
+//							item.MedChrgitmType = "14"
9075
+//
9076
+//							break
9077
+//						case 7:
9078
+//							item.MedChrgitmType = "14"
9079
+//
9080
+//							break
9081
+//						case 8:
9082
+//							item.MedChrgitmType = "03"
9083
+//							break
9084
+//						case 9:
9085
+//							item.MedChrgitmType = "14"
9086
+//							break
9087
+//
9088
+//						}
9089
+//
9090
+//					}
9091
+//
9092
+//				} else if item.HisPrescriptionProject.Type == 3 {
9093
+//					item.MedChrgitmType = "08"
9094
+//				}
9095
+//			}
9096
+//		}
9097
+//
9098
+//		for _, item := range orderInfos_two {
9099
+//			fmt.Println(item.MedChrgitmType)
9100
+//			if item.MedChrgitmType == "01" { //床位费
9101
+//				bedCostTotal, _ = decimal.NewFromFloat(bedCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9102
+//				bedCostSelfTotal = bedCostTotal
9103
+//			}
9104
+//
9105
+//			if item.MedChrgitmType == "02" { //诊察费
9106
+//				zhenChaCostTotal, _ = decimal.NewFromFloat(zhenChaCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9107
+//				zhenChaCostSelfTotal = zhenChaCostTotal
9108
+//			}
9109
+//
9110
+//			if item.MedChrgitmType == "03" { //检查费
9111
+//				checkCostTotal, _ = decimal.NewFromFloat(checkCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9112
+//				checkCostSelfTotal = checkCostTotal
9113
+//			}
9114
+//
9115
+//			if item.MedChrgitmType == "04" { //化验费
9116
+//				laboratoryCostTotal, _ = decimal.NewFromFloat(laboratoryCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9117
+//				laboratoryCostSelfTotal = laboratoryCostTotal
9118
+//			}
9119
+//
9120
+//			if item.MedChrgitmType == "05" || item.MedChrgitmType == "14" { //治疗费
9121
+//				treatCostTotal, _ = decimal.NewFromFloat(treatCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9122
+//				treatCostSelfTotal = treatCostTotal
9123
+//			}
9124
+//
9125
+//			if item.MedChrgitmType == "06" { //手术费
9126
+//				treatCostTotal, _ = decimal.NewFromFloat(operationCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9127
+//				operationCostSelfTotal = treatCostTotal
9128
+//			}
9129
+//
9130
+//			if item.MedChrgitmType == "08" { //材料费
9131
+//				materialCostTotal, _ = decimal.NewFromFloat(materialCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9132
+//				materialCostSelfTotal = materialCostTotal
9133
+//			}
9134
+//
9135
+//			if item.MedChrgitmType == "09" { //西药费
9136
+//				westernMedicineCostTotal, _ = decimal.NewFromFloat(westernMedicineCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9137
+//				westernMedicineCostSelfTotal = westernMedicineCostTotal
9138
+//			}
9139
+//
9140
+//			if item.MedChrgitmType == "11" { //中成费
9141
+//				chineseTraditionalMedicineCostTotal, _ = decimal.NewFromFloat(chineseTraditionalMedicineCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9142
+//				chineseTraditionalMedicineCostSelfTotal = chineseTraditionalMedicineCostTotal
9143
+//			}
9144
+//
9145
+//			if c.GetAdminUserInfo().CurrentOrgId == 10106 {
9146
+//				if item.MedChrgitmType == "0" || item.MedChrgitmType == "12" || item.MedChrgitmType == "02" { //其他费
9147
+//					otherCostTotal, _ = decimal.NewFromFloat(otherCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9148
+//					otherCostSelfTotal = otherCostTotal
9149
+//				}
9150
+//			} else {
9151
+//				if item.MedChrgitmType == "0" || item.MedChrgitmType == "12" { //其他费
9152
+//					otherCostTotal, _ = decimal.NewFromFloat(otherCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9153
+//					otherCostSelfTotal = otherCostTotal
9154
+//				}
9155
+//
9156
+//			}
9157
+//
9158
+//		}
9159
+//
9160
+//	} else {
9161
+//		for _, item := range orderInfos {
9162
+//			if item.MedChrgitmType == "01" { //床位费
9163
+//				bedCostTotal, _ = decimal.NewFromFloat(bedCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9164
+//				bedCostSelfTotal, _ = decimal.NewFromFloat(bedCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9165
+//				bedCostPartSelfTotal, _ = decimal.NewFromFloat(bedCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9166
+//			}
9167
+//
9168
+//			if item.MedChrgitmType == "02" { //诊察费
9169
+//				zhenChaCostTotal, _ = decimal.NewFromFloat(zhenChaCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9170
+//				zhenChaCostSelfTotal, _ = decimal.NewFromFloat(zhenChaCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9171
+//				zhenChaCostPartSelfTotal, _ = decimal.NewFromFloat(zhenChaCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9172
+//			}
9173
+//
9174
+//			if c.GetAdminUserInfo().CurrentOrgId == 10188 || c.GetAdminUserInfo().CurrentOrgId == 10217 {
9175
+//				if item.MedChrgitmType == "03" { //检查费
9176
+//					laboratoryCostTotal, _ = decimal.NewFromFloat(laboratoryCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9177
+//					laboratoryCostSelfTotal, _ = decimal.NewFromFloat(laboratoryCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9178
+//					laboratoryCostPartSelfTotal, _ = decimal.NewFromFloat(laboratoryCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9179
+//
9180
+//				}
9181
+//			} else {
9182
+//				if item.MedChrgitmType == "03" { //检查费
9183
+//					checkCostTotal, _ = decimal.NewFromFloat(checkCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9184
+//					checkCostSelfTotal, _ = decimal.NewFromFloat(checkCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9185
+//					checkCostPartSelfTotal, _ = decimal.NewFromFloat(checkCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9186
+//				}
9187
+//
9188
+//			}
9189
+//
9190
+//			if item.MedChrgitmType == "04" { //化验费
9191
+//				laboratoryCostTotal, _ = decimal.NewFromFloat(laboratoryCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9192
+//				laboratoryCostSelfTotal, _ = decimal.NewFromFloat(laboratoryCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9193
+//				laboratoryCostPartSelfTotal, _ = decimal.NewFromFloat(laboratoryCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9194
+//
9195
+//			}
9196
+//
9197
+//			if item.MedChrgitmType == "05" || item.MedChrgitmType == "14" || item.MedChrgitmType == "1402" || item.MedChrgitmType == "1403" { //治疗费
9198
+//				treatCostTotal, _ = decimal.NewFromFloat(treatCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9199
+//				treatCostSelfTotal, _ = decimal.NewFromFloat(treatCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9200
+//				treatCostPartSelfTotal, _ = decimal.NewFromFloat(treatCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9201
+//
9202
+//			}
9203
+//
9204
+//			if item.MedChrgitmType == "06" { //手术费
9205
+//				operationCostTotal, _ = decimal.NewFromFloat(operationCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9206
+//				operationCostSelfTotal, _ = decimal.NewFromFloat(operationCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9207
+//				operationCostPartSelfTotal, _ = decimal.NewFromFloat(operationCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9208
+//			}
9209
+//
9210
+//			if item.MedChrgitmType == "08" || item.MedChrgitmType == "1401" { //材料费
9211
+//				materialCostTotal, _ = decimal.NewFromFloat(materialCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9212
+//				materialCostSelfTotal, _ = decimal.NewFromFloat(materialCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9213
+//				materialCostPartSelfTotal, _ = decimal.NewFromFloat(materialCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9214
+//			}
9215
+//
9216
+//			if item.MedChrgitmType == "09" { //西药费
9217
+//				westernMedicineCostTotal, _ = decimal.NewFromFloat(westernMedicineCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9218
+//				westernMedicineCostSelfTotal, _ = decimal.NewFromFloat(westernMedicineCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9219
+//				westernMedicineCostPartSelfTotal, _ = decimal.NewFromFloat(westernMedicineCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9220
+//			}
9221
+//
9222
+//			if item.MedChrgitmType == "11" { //中成费
9223
+//				chineseTraditionalMedicineCostTotal, _ = decimal.NewFromFloat(chineseTraditionalMedicineCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9224
+//				chineseTraditionalMedicineCostSelfTotal, _ = decimal.NewFromFloat(chineseTraditionalMedicineCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9225
+//				chineseTraditionalMedicineCostPartSelfTotal, _ = decimal.NewFromFloat(chineseTraditionalMedicineCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9226
+//			}
9227
+//
9228
+//			if item.MedChrgitmType == "0" || item.MedChrgitmType == "12" { //其他费
9229
+//				otherCostTotal, _ = decimal.NewFromFloat(otherCostTotal).Add(decimal.NewFromFloat(item.DetItemFeeSumamt)).Float64()
9230
+//				otherCostSelfTotal, _ = decimal.NewFromFloat(otherCostSelfTotal).Add(decimal.NewFromFloat(item.OverlmtAmt)).Float64()
9231
+//				otherCostPartSelfTotal, _ = decimal.NewFromFloat(otherCostPartSelfTotal).Add(decimal.NewFromFloat(item.PreselfpayAmt)).Float64()
9232
+//			}
9233
+//
9234
+//		}
9235
+//	}
9236
+//	timeLayout := "2006-01-02"
9237
+//	loc, _ := time.LoadLocation("Local")
9238
+//	startTime, err := time.ParseInLocation(timeLayout+" 15:04:05", his_hospital_record.InHosptialTime, loc)
9239
+//	if err != nil {
9240
+//	}
9241
+//	startRecordDateTime := startTime.Unix()
9242
+//	endTime, err := time.ParseInLocation(timeLayout+" 15:04:05", his_hospital_record.OutHosptialTime, loc)
9243
+//	if err != nil {
9244
+//	}
9245
+//	endRecordDateTime := endTime.Unix()
9246
+//	pre_pay_money := service.GetUserMoney(order.PatientId, adminUser.CurrentOrgId)
9247
+//	sum, _ := service.RefundListSum(adminUser.CurrentOrgId, startRecordDateTime, endRecordDateTime, order.PatientId)
9248
+//	admin, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, adminUser.AdminUser.Id)
9249
+//
9250
+//	c.ServeSuccessJSON(map[string]interface{}{
9251
+//		"order_number":                        order.Number,             //业务流水号
9252
+//		"id_card_no":                          his.IdCardNo,             //社会保障号
9253
+//		"department_name":                     department.Name,          //科室
9254
+//		"number":                              his.Number,               //门诊号
9255
+//		"date":                                order.SettleAccountsDate, //结算日期
9256
+//		"name":                                order.PsnName,            //姓名
9257
+//		"gender":                              patient.Gender,           //性别
9258
+//		"psn_cash_money":                      order.PsnCashPay,         //个人支付
9259
+//		"pay_way":                             "门诊",                   //结算方式
9260
+//		"medfee_sumamt":                       order.MedfeeSumamt,       //总费用
9261
+//		"admin_user_name":                     admin.UserName,           //收款员
9262
+//		"order":                               order,
9263
+//		"order_info":                          orderInfos_two,
9264
+//		"his":                                 his,
9265
+//		"bedCostTotal":                        bedCostTotal,
9266
+//		"bedCostSelfTotal":                    bedCostSelfTotal,
9267
+//		"bedCostPartSelfTotal":                bedCostPartSelfTotal,
9268
+//		"operationCostTotal":                  operationCostTotal,
9269
+//		"operationCostSelfTotal":              operationCostSelfTotal,
9270
+//		"operationCostPartSelfTotal":          operationCostPartSelfTotal,
9271
+//		"otherCostTotal":                      otherCostTotal,
9272
+//		"otherCostSelfTotal":                  otherCostSelfTotal,
9273
+//		"otherCostPartSelfTotal":              otherCostPartSelfTotal,
9274
+//		"materialCostTotal":                   materialCostTotal,
9275
+//		"materialCostSelfTotal":               materialCostSelfTotal,
9276
+//		"materialCostPartSelfTotal":           materialCostPartSelfTotal,
9277
+//		"westernMedicineCostTotal":            westernMedicineCostTotal,
9278
+//		"westernMedicineCostSelfTotal":        westernMedicineCostSelfTotal,
9279
+//		"westernMedicineCostPartSelfTotal":    westernMedicineCostPartSelfTotal,
9280
+//		"chineseTraditionalMedicineCostTotal": chineseTraditionalMedicineCostTotal,
9281
+//		"chineseTraditionalMedicineCostSelfTotal":     chineseTraditionalMedicineCostSelfTotal,
9282
+//		"chineseTraditionalMedicineCostPartSelfTotal": chineseTraditionalMedicineCostPartSelfTotal,
9283
+//		"checkCostTotal":              checkCostTotal,
9284
+//		"checkCostSelfTotal":          checkCostSelfTotal,
9285
+//		"checkCostPartSelfTotal":      checkCostPartSelfTotal,
9286
+//		"laboratoryCostTotal":         laboratoryCostTotal,
9287
+//		"laboratoryCostSelfTotal":     laboratoryCostSelfTotal,
9288
+//		"laboratoryCostPartSelfTotal": laboratoryCostPartSelfTotal,
9289
+//		"treatCostTotal":              treatCostTotal,
9290
+//		"treatCostSelfTotal":          treatCostSelfTotal,
9291
+//		"treatCostPartSelfTotal":      treatCostPartSelfTotal,
9292
+//		"zhenChaCostTotal":            zhenChaCostTotal,
9293
+//		"zhenChaCostSelfTotal":        zhenChaCostSelfTotal,
9294
+//		"zhenChaCostPartSelfTotal":    zhenChaCostPartSelfTotal,
9295
+//		"his_hospital_record":         his_hospital_record,
9296
+//		"pre_pay_money":               pre_pay_money,
9297
+//		"refund_sum":                  sum,
9298
+//	})
9299
+//
9300
+//}
9301
+
8909 9302
 func (this *HisApiController) GetIncomeStatisticsData() {
8910 9303
 	start_time := this.GetString("start_time")
8911 9304
 	end_time := this.GetString("end_time")