Browse Source

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

csx 3 years ago
parent
commit
af24676b4b
1 changed files with 5 additions and 5 deletions
  1. 5 5
      controllers/zh/zh_his_api_controller.go

+ 5 - 5
controllers/zh/zh_his_api_controller.go View File

@@ -643,7 +643,7 @@ func (c *ZHHisApiController) GetSettleInfo() {
643 643
 
644 644
 	}
645 645
 
646
-	if record.InHospitalStatus == 1 && record.OutHospitalStatus == 1 {
646
+	if record.InHospitalStatus == 1 && record.OutHospitalStatus == 0 {
647 647
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeHospitalNoExistDataException)
648 648
 		return
649 649
 	}
@@ -852,10 +852,10 @@ func (c *ZHHisApiController) GetUploadInfo() {
852 852
 		return
853 853
 	}
854 854
 
855
-	if record.InHospitalStatus == 1 && record.OutHospitalStatus == 0 {
856
-		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeHospitalNoExistDataException)
857
-		return
858
-	}
855
+	//if record.InHospitalStatus == 1 && record.OutHospitalStatus == 0 {
856
+	//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeHospitalNoExistDataException)
857
+	//	return
858
+	//}
859 859
 
860 860
 	timestamp := time.Now().Unix()
861 861
 	tempTime := time.Unix(timestamp, 0)