csx 4 年之前
父節點
當前提交
098cdd534f
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 7 0
      controllers/his_api_controller.go
  2. 1 0
      models/his_models.go

+ 7 - 0
controllers/his_api_controller.go 查看文件

@@ -640,6 +640,7 @@ type ResultEleven struct {
640 640
 			RefdSetlFlag    string  `json:"refd_setl_flag"`
641 641
 			SetlTime        string  `json:"setl_time"`
642 642
 			MedType         string  `json:"med_type"`
643
+			HospLv          string  `json:"hosp_lv"`
643 644
 		} `json:"setlinfo"`
644 645
 	} `json:"output"`
645 646
 	RefmsgTime  string      `json:"refmsg_time"`
@@ -2227,8 +2228,14 @@ func (c *HisApiController) GetSettleAccounts() {
2227 2228
 			c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
2228 2229
 			return
2229 2230
 		}
2231
+
2232
+		printor_admin, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
2233
+		charge_admin, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, order.Creator)
2234
+
2230 2235
 		if res.Infcode == 0 {
2231 2236
 			c.ServeSuccessJSON(map[string]interface{}{
2237
+				"charge_admin":                                charge_admin,
2238
+				"printor_admin":                               printor_admin,
2232 2239
 				"info":                                        res.Output.Setlinfo,
2233 2240
 				"bedCostTotal":                                bedCostTotal,
2234 2241
 				"bedCostSelfTotal":                            bedCostSelfTotal,

+ 1 - 0
models/his_models.go 查看文件

@@ -648,6 +648,7 @@ type HisOrder struct {
648 648
 	FoundPrice            float64   `gorm:"column:found_price" json:"found_price" form:"found_price"`
649 649
 	MedicalInsurancePrice float64   `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
650 650
 	PrivatePrice          float64   `gorm:"column:private_price" json:"private_price" form:"private_price"`
651
+	Creator               int64     `gorm:"column:creator" json:"creator" form:"creator"`
651 652
 
652 653
 	SettleType      int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
653 654
 	SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`