|
@@ -1769,12 +1769,19 @@ func (c *ZHHisApiController) ZHRefundDetail() {
|
1769
|
1769
|
recordDateTime := theTime.Unix()
|
1770
|
1770
|
adminUser := c.GetAdminUserInfo()
|
1771
|
1771
|
|
|
1772
|
+ theTimeTwo, err := time.ParseInLocation(timeLayout+" 15:04:05", record_time+" 23:59:59", loc)
|
|
1773
|
+ if err != nil {
|
|
1774
|
+ c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
|
|
1775
|
+ return
|
|
1776
|
+ }
|
|
1777
|
+ recordDateTimeTwo := theTimeTwo.Unix()
|
|
1778
|
+
|
1772
|
1779
|
|
1773
|
1780
|
miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
|
1774
|
1781
|
roles, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
|
1775
|
1782
|
|
1776
|
1783
|
if settle_accounts_type == 1 {
|
1777
|
|
- infos, _ := service.GetZHHisUploadOrderInfo(adminUser.CurrentOrgId, patient_id, recordDateTime)
|
|
1784
|
+ infos, _ := service.GetZHHisUploadOrderInfo(adminUser.CurrentOrgId, patient_id, recordDateTime, recordDateTimeTwo)
|
1778
|
1785
|
record, _ := service.GetInHospitalRecord(his_patient_id)
|
1779
|
1786
|
var isSuccess bool = true
|
1780
|
1787
|
|