浏览代码

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

csx 3 年前
父节点
当前提交
af24676b4b
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      controllers/zh/zh_his_api_controller.go

+ 5 - 5
controllers/zh/zh_his_api_controller.go 查看文件

@@ -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)