csx 3 年之前
父節點
當前提交
4543216927
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      service/gdyb_service.go

+ 2 - 2
service/gdyb_service.go 查看文件

@@ -362,7 +362,7 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
362 362
 	for _, item := range hisPrescription {
363 363
 		if item.Type == 1 { //药品
364 364
 			for _, subItem := range item.HisDoctorAdviceInfo {
365
-				if len(subItem.MedListCodg) > 0 {
365
+				if len(subItem.BaseDrugLib.MedicalInsuranceNumber) > 0 {
366 366
 					//var randNum int
367 367
 					//randNum = rand.Intn(10000) + 1000
368 368
 					cus := &Custom{
@@ -382,7 +382,7 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
382 382
 			for _, subItem := range item.HisPrescriptionProject {
383 383
 				//var randNum int
384 384
 				//randNum = rand.Intn(10000) + 1000
385
-				if len(subItem.MedListCodg) > 0 {
385
+				if len(subItem.HisProject.MedicalCode) > 0 {
386 386
 
387 387
 					cus := &Custom{
388 388
 						DetItemFeeSumamt: fmt.Sprintf("%.2f", subItem.Price*float64(subItem.Count)),