Browse Source

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

csx 3 years ago
parent
commit
96e5415ca2
1 changed files with 8 additions and 1 deletions
  1. 8 1
      service/gdyb_service.go

+ 8 - 1
service/gdyb_service.go View File

@@ -694,7 +694,14 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
694 694
 		feedetailInfo["orders_dr_name"] = ""                         // 受单医生姓名
695 695
 
696 696
 		if item.HospApprFlag != -1 {
697
-			feedetailInfo["hosp_appr_flag"] = item.HospApprFlag // 医院审批标志
697
+			if item.HospApprFlag == 1 {
698
+				feedetailInfo["hosp_appr_flag"] = 0 // 医院审批标志
699
+			} else if item.HospApprFlag == 2 {
700
+				feedetailInfo["hosp_appr_flag"] = 1 // 医院审批标志
701
+			} else if item.HospApprFlag == 3 {
702
+				feedetailInfo["hosp_appr_flag"] = 2 // 医院审批标志
703
+			}
704
+
698 705
 		} else {
699 706
 			feedetailInfo["hosp_appr_flag"] = "" // 医院审批标志
700 707
 		}