李昊 4 년 전
부모
커밋
2fd83366a0
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

@@ -431,7 +431,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();