Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 2 years ago
parent
commit
bdd535decd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      service/zh_his_service.go

+ 3 - 3
service/zh_his_service.go View File

@@ -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"] = timeFormatOne               // 费用发生时间
583
+		feedetailInfo["fee_ocur_time"] = item.FeeOcurTime            // 费用发生时间
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 // 明细项目费用总额