diff --git a/app/common/service/InvRequisitionService.php b/app/common/service/InvRequisitionService.php index 134d9eb..d60b6e6 100644 --- a/app/common/service/InvRequisitionService.php +++ b/app/common/service/InvRequisitionService.php @@ -581,10 +581,10 @@ class InvRequisitionService // 时间范围筛选 if (!empty($request->get('start_time'))) { - $query->where('qr_claim_time', '>=', strtotime($request->get('start_time'))); + $query->where('created_at', '>=', strtotime($request->get('start_time'))); } if (!empty($request->get('end_time'))) { - $query->where('qr_claim_time', '<=', strtotime($request->get('end_time'))); + $query->where('created_at', '<=', strtotime($request->get('end_time'))); } // 排序