From 4280429f667a554efd6244362eb0c6abfecefc7e Mon Sep 17 00:00:00 2001 From: "lisai17@sina.com" Date: Fri, 23 Oct 2020 22:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86MySQL=E7=9A=84group=5Fbay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supermarketproduct/CustomerSupermarketProductService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/customer/supermarketproduct/CustomerSupermarketProductService.java b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/customer/supermarketproduct/CustomerSupermarketProductService.java index 59f85c4..131f78c 100644 --- a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/customer/supermarketproduct/CustomerSupermarketProductService.java +++ b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/customer/supermarketproduct/CustomerSupermarketProductService.java @@ -85,7 +85,7 @@ public class CustomerSupermarketProductService extends BaseService { String selectsql = " select a.customer_id, c.name customer_name "; String fromsql = " from (\n" + - " select t.*\n" + + " select t.t.customer_id \n" + " from customer_supermarket_product t\n" + " group by t.customer_id\n" + " ) a\n" +