|
@@ -945,22 +945,22 @@ func (c *ZHHisApiController) GetUploadInfo() {
|
945
|
945
|
totals, _ := strconv.ParseFloat(allTotal, 64)
|
946
|
946
|
if res.Infcode == 0 {
|
947
|
947
|
order := &models.HisOrder{
|
948
|
|
- UserOrgId: adminUser.CurrentOrgId,
|
949
|
|
- HisPatientId: record.ID,
|
950
|
|
- PatientId: record.PatientId,
|
951
|
|
- SettleAccountsDate: recordDateTime,
|
952
|
|
- Ctime: time.Now().Unix(),
|
953
|
|
- Mtime: time.Now().Unix(),
|
954
|
|
- Status: 1,
|
955
|
|
- Number: chrg_bchno,
|
956
|
|
- Infcode: res.Infcode,
|
957
|
|
- WarnMsg: res.WarnMsg,
|
958
|
|
- Cainfo: res.Cainfo,
|
959
|
|
- ErrMsg: res.ErrMsg,
|
960
|
|
- RespondTime: res.RefmsgTime,
|
961
|
|
- InfRefmsgid: res.InfRefmsgid,
|
962
|
|
- OrderStatus: 1,
|
963
|
|
-
|
|
948
|
+ UserOrgId: adminUser.CurrentOrgId,
|
|
949
|
+ HisPatientId: record.ID,
|
|
950
|
+ PatientId: record.PatientId,
|
|
951
|
+ SettleAccountsDate: recordDateTime,
|
|
952
|
+ Ctime: time.Now().Unix(),
|
|
953
|
+ Mtime: time.Now().Unix(),
|
|
954
|
+ Status: 1,
|
|
955
|
+ Number: chrg_bchno,
|
|
956
|
+ Infcode: res.Infcode,
|
|
957
|
+ WarnMsg: res.WarnMsg,
|
|
958
|
+ Cainfo: res.Cainfo,
|
|
959
|
+ ErrMsg: res.ErrMsg,
|
|
960
|
+ RespondTime: res.RefmsgTime,
|
|
961
|
+ InfRefmsgid: res.InfRefmsgid,
|
|
962
|
+ OrderStatus: 1,
|
|
963
|
+ MdtrtId: record.Number,
|
964
|
964
|
IsMedicineInsurance: 1,
|
965
|
965
|
SettleType: settle_accounts_type,
|
966
|
966
|
SettleStartTime: start_time,
|