csx 2 年 前
コミット
8b8a4baa53
共有1 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 4 4
      controllers/his_api_controller.go

+ 4 - 4
controllers/his_api_controller.go ファイルの表示

@@ -1001,7 +1001,7 @@ func (c *HisApiController) CreateHisPrescription() {
1001 1001
 				if id > 0 {
1002 1002
 					new_prescription, err := service.GetPrescriptionById(id, adminInfo.CurrentOrgId)
1003 1003
 					if err != nil {
1004
-						if new_prescription.OrderStatus == 2 || new_prescription.OrderStatus == 4 {
1004
+						if new_prescription.OrderStatus == 4 {
1005 1005
 							isCharge = true
1006 1006
 						}
1007 1007
 					}
@@ -2371,7 +2371,7 @@ func (c *HisApiController) DeletePrescription() {
2371 2371
 	}
2372 2372
 
2373 2373
 	for _, item := range new_prescriptions {
2374
-		if item.OrderStatus == 2 || item.OrderStatus == 4 {
2374
+		if item.OrderStatus == 4 {
2375 2375
 			isCharge = true
2376 2376
 		}
2377 2377
 	}
@@ -2647,7 +2647,7 @@ func (c *HisApiController) DeleteDoctorAdvice() {
2647 2647
 		}
2648 2648
 	}
2649 2649
 	for _, item := range new_prescriptions {
2650
-		if item.OrderStatus == 2 || item.OrderStatus == 4 {
2650
+		if item.OrderStatus == 4 {
2651 2651
 			isCharge = true
2652 2652
 		}
2653 2653
 	}
@@ -2742,7 +2742,7 @@ func (c *HisApiController) DeleteProject() {
2742 2742
 		}
2743 2743
 	}
2744 2744
 	for _, item := range new_prescriptions {
2745
-		if item.OrderStatus == 2 || item.OrderStatus == 4 {
2745
+		if item.OrderStatus == 4 {
2746 2746
 			isCharge = true
2747 2747
 		}
2748 2748
 	}