瀏覽代碼

医保对接

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

+ 1 - 7
controllers/his_api_controller.go 查看文件

@@ -628,27 +628,21 @@ func (c *HisApiController) GetHisPrescriptionConfig() {
628 628
 				if index == 0 {
629 629
 					if subItem.StockMaxNumber*item.MinNumber+subItem.StockMinNumber > 0 {
630 630
 						index = index + 1
631
-						item.MinPrice = subItem.Price
631
+						item.MinPrice = subItem.RetailPrice
632 632
 					}
633 633
 				}
634 634
 			}
635 635
 		}
636 636
 	}
637
-
638 637
 	manufacturers, _ := service.GetAllManufacturerList(adminInfo.CurrentOrgId)
639
-
640 638
 	drugways, _, _ := service.GetDrugWayDics(adminInfo.CurrentOrgId)
641 639
 	efs, _, _ := service.GetExecutionFrequencyDics(adminInfo.CurrentOrgId)
642 640
 	doctors, _ := service.GetHisAdminUserDoctors(adminInfo.CurrentOrgId)
643 641
 	//获取所有科室信息
644 642
 	department, _ := service.GetAllDepartMent(adminInfo.CurrentOrgId)
645
-
646 643
 	//获取诊断信息
647
-
648 644
 	sick, _ := service.FindAllSick(adminInfo.CurrentOrgId)
649
-
650 645
 	diagnose, _ := service.FindAllDiagnose(adminInfo.CurrentOrgId)
651
-
652 646
 	additions, _ := service.FindAllAddition(adminInfo.CurrentOrgId)
653 647
 
654 648
 	c.ServeSuccessJSON(map[string]interface{}{

+ 1 - 0
service/his_service.go 查看文件

@@ -596,6 +596,7 @@ type OtherDrugWarehouseInfo struct {
596 596
 	StockMaxNumber   int64   `gorm:"column:stock_max_number" json:"stock_max_number" form:"stock_max_number"`
597 597
 	StockMinNumber   int64   `gorm:"column:stock_min_number" json:"stock_min_number" form:"stock_min_number"`
598 598
 	Price            float64 `gorm:"column:price" json:"price" form:"price"`
599
+	RetailPrice      float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
599 600
 }
600 601
 
601 602
 func (OtherDrugWarehouseInfo) TableName() string {