李昊 4 年之前
父節點
當前提交
ffc8b402e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

@@ -428,7 +428,7 @@ namespace GxPress.Repository.Implement
                         FROM
                             tede_group a
                         WHERE
-                            a.GroupCategroyId = {categoryId}";
+                            a.GroupCategroyId = {categoryId} and a.IsShow=1";
             var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
             var database = new Database(databaseType, _connectionString);
             var connection = database.GetConnection();