|
@@ -559,9 +559,9 @@ func ZHGdyb2301(psnNo string, mdtrtId string, hisPrescription []*models.NewCusto
|
559
|
559
|
nonce := GetRandomString(32)
|
560
|
560
|
timestamp := time.Now().Unix()
|
561
|
561
|
signature := setSignature(timestamp, nonce, secret_key)
|
562
|
|
- //tempTime := time.Unix(timestamp, 0)
|
|
562
|
+ tempTime := time.Unix(timestamp, 0)
|
563
|
563
|
//timeFormat := tempTime.Format("20060102150405")
|
564
|
|
- //timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
|
|
564
|
+ timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
|
565
|
565
|
//chrgBchno := rand.Intn(100000) + 10000
|
566
|
566
|
|
567
|
567
|
var customs []*models.NewCustom
|
|
@@ -580,7 +580,7 @@ func ZHGdyb2301(psnNo string, mdtrtId string, hisPrescription []*models.NewCusto
|
580
|
580
|
feedetailInfo["mdtrt_id"] = mdtrtId // 就诊 ID(来自2201接口返回)
|
581
|
581
|
feedetailInfo["psn_no"] = psnNo // 人员编号 (来自1101接口返回)
|
582
|
582
|
feedetailInfo["med_type"] = med_type
|
583
|
|
- feedetailInfo["fee_ocur_time"] = item.FeeOcurTime // 费用发生时间
|
|
583
|
+ feedetailInfo["fee_ocur_time"] = timeFormatOne // 费用发生时间
|
584
|
584
|
feedetailInfo["med_list_codg"] = item.MedListCodg // 医疗目录编码
|
585
|
585
|
feedetailInfo["medins_list_codg"] = fixmedins_code // 医药机构目录编码
|
586
|
586
|
feedetailInfo["det_item_fee_sumamt"] = item.DetItemFeeSumamt // 明细项目费用总额
|
|
@@ -781,6 +781,7 @@ func ZHGdyb2303(psnNo string, mdtrtId string, chrgBchno string, certNo string, i
|
781
|
781
|
inputData["acct_used_flag"] = "1" // 个人账户使用标志 0否 1是
|
782
|
782
|
inputData["insutype"] = insutype // 险种类型
|
783
|
783
|
inputData["invono"] = "" // 发票号
|
|
784
|
+ inputData["dise_codg"] = "M07803" // 发票号
|
784
|
785
|
|
785
|
786
|
input["data"] = inputData
|
786
|
787
|
inputMessage["input"] = input //交易输入
|