diff --git a/app/order/controller/OpenRefund.php b/app/order/controller/OpenRefund.php index 47d93a8..3573698 100644 --- a/app/order/controller/OpenRefund.php +++ b/app/order/controller/OpenRefund.php @@ -23,7 +23,7 @@ class OpenRefund if (!empty($_GET['Btime'])){ $date1 = date('Y-m-d', strtotime($_GET['Btime'])); $date2 = date('Y-m-d', strtotime($_GET['Etime'])); - $where2 .= " UpdateTime>='" . $date1 . "' and UpdateTime<='" . $date2 . "' "; + $where2 .= " CreateTime>='" . $date1 . "' and CreateTime<='" . $date2 . "' "; } if (!empty($_GET['ProductIds'])){ $where['ProductId'] = $_GET['ProductIds']; @@ -66,7 +66,7 @@ class OpenRefund if (!empty($_GET['Btime'])){ $date1 = date('Y-m-d', strtotime($_GET['Btime'])); $date2 = date('Y-m-d', strtotime($_GET['Etime'])); - $where2 .= " UpdateTime>='" . $date1 . "' and UpdateTime<='" . $date2 . "' "; + $where2 .= " CreateTime>='" . $date1 . "' and CreateTime<='" . $date2 . "' "; } if (!empty($_GET['ProductIds'])){ $where['ProductId'] = $_GET['ProductIds'];