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