Browse Source

提交代码

陈少旭 1 year ago
parent
commit
e8d6de3dc9
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

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