Selaa lähdekoodia

style(mapper): 修复LifeCollectMapper中的SQL语句格式问题

- 修复了GROUP BY子句中多余的空格导致的SQL语法问题
- 确保SQL查询语句格式的一致性和可读性
fcw 2 päivää sitten
vanhempi
commit
546d702c3e

+ 1 - 1
alien-entity/src/main/java/shop/alien/mapper/LifeCollectMapper.java

@@ -51,7 +51,7 @@ public interface LifeCollectMapper extends BaseMapper<LifeCollect> {
             "    #{id}" +
             "  </foreach>" +
             "</if>" +
-            "GROUP BY sg.id" +
+            "GROUP BY sg.id " +
             // 按收藏时间倒序排序
             "ORDER BY lc.created_time DESC" +
             "</script>")