|
@@ -291,6 +291,7 @@ func (c *ZHHisApiController) GetZHInHospitalCheck() {
|
291
|
291
|
diagnosis_ids := c.GetString("diagnosis")
|
292
|
292
|
sick_type, _ := c.GetInt64("sick_type")
|
293
|
293
|
start_time := c.GetString("start_time")
|
|
294
|
+ balance_accounts_type, _ := c.GetInt64("balance_accounts_type")
|
294
|
295
|
|
295
|
296
|
//reg_type, _ := c.GetInt64("p_type")
|
296
|
297
|
med_type, _ := c.GetInt64("med_type")
|
|
@@ -487,6 +488,7 @@ func (c *ZHHisApiController) GetZHInHospitalCheck() {
|
487
|
488
|
InHospitalStatus: 1,
|
488
|
489
|
Certificates: certificates,
|
489
|
490
|
Phone: phone,
|
|
491
|
+ BalanceAccountsType: balance_accounts_type,
|
490
|
492
|
}
|
491
|
493
|
service.CreateHospitalRecord(inHospital)
|
492
|
494
|
c.ServeSuccessJSON(map[string]interface{}{
|