Commit 744ace0cc60fd7742a3a9e65060e7ca152149a4f
1 parent
9a80028a
登录only_full_group_by的报错 #293
Showing
1 changed file
with
1 additions
and
1 deletions
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysLogMapper.xml
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | DATE_FORMAT(create_time, '%m-%d') as type | 30 | DATE_FORMAT(create_time, '%m-%d') as type |
31 | from sys_log | 31 | from sys_log |
32 | where log_type = 1 and create_time >= #{dayStart} and create_time < #{dayEnd} | 32 | where log_type = 1 and create_time >= #{dayStart} and create_time < #{dayEnd} |
33 | - group by tian | 33 | + group by tian,type |
34 | order by tian asc | 34 | order by tian asc |
35 | </select> | 35 | </select> |
36 | 36 |