From 6f172c0a3bdc0343115bb966df50e477b50168f3 Mon Sep 17 00:00:00 2001 From: nixj Date: Tue, 2 Jul 2024 17:08:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=E6=8C=87=E5=AE=9Aoes.*?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=EF=BC=8C=E9=A2=84=E9=98=B2=E5=90=8C=E5=90=8D?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=8F=96=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/mapper/impl/ManageOrderDetailRepositoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java b/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java index e2d048ef..e4fd9066 100644 --- a/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java +++ b/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java @@ -75,7 +75,7 @@ public class ManageOrderDetailRepositoryImpl implements ManageOrderDetailReposit params.put("offset", pageRequest.getOffset()); params.put("limit", pageRequest.getPageSize()); - String pagedQuery ="SELECT * FROM order_exceed_standard oes "+ query + " ORDER BY oes.order_date DESC LIMIT :limit OFFSET :offset"; + String pagedQuery ="SELECT oes.* FROM order_exceed_standard oes "+ query + " ORDER BY oes.order_date DESC LIMIT :limit OFFSET :offset"; List results = jdbcTemplate.query(pagedQuery, params, BeanPropertyRowMapper.newInstance(OrderExceedStandard.class)); String countSql="SELECT COUNT(*) AS count FROM order_exceed_standard oes " + query ;