处理MySQL的group_bay

dev
lisai17@sina.com 2020-10-23 22:52:38 +08:00
parent 9a602b3df3
commit 4280429f66
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class CustomerSupermarketProductService extends BaseService {
String selectsql = " select a.customer_id, c.name customer_name "; String selectsql = " select a.customer_id, c.name customer_name ";
String fromsql = " from (\n" + String fromsql = " from (\n" +
" select t.*\n" + " select t.t.customer_id \n" +
" from customer_supermarket_product t\n" + " from customer_supermarket_product t\n" +
" group by t.customer_id\n" + " group by t.customer_id\n" +
" ) a\n" + " ) a\n" +