mirror of https://gitee.com/topiam/eiam
⚡ 优化
parent
cd9472e172
commit
4c473491f5
|
@ -46,11 +46,9 @@ public interface AppGroupConverter {
|
|||
*
|
||||
* @return {@link Predicate}
|
||||
*/
|
||||
default Predicate queryPredicate() {
|
||||
default Predicate getQueryPredicate() {
|
||||
QAppGroupEntity appGroup = QAppGroupEntity.appGroupEntity;
|
||||
Predicate predicate = ExpressionUtils.and(appGroup.isNotNull(), appGroup.deleted.eq(Boolean.FALSE));
|
||||
//@formatter:on
|
||||
return predicate;
|
||||
return ExpressionUtils.and(appGroup.isNotNull(), appGroup.deleted.eq(Boolean.FALSE));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -41,7 +41,7 @@ public class AppGroupListResult implements Serializable {
|
|||
* 应用分组ID
|
||||
*/
|
||||
@Schema(description = "应用分组ID")
|
||||
private Long id;
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 应用分组名称
|
||||
|
|
|
@ -71,7 +71,7 @@ public class AppServiceImpl implements AppService {
|
|||
*/
|
||||
@Override
|
||||
public List<AppGroupListResult> getAppGroupList() {
|
||||
Predicate predicate = appGroupConverter.queryPredicate();
|
||||
Predicate predicate = appGroupConverter.getQueryPredicate();
|
||||
Predicate appGroupAssociationPredicate = appGroupConverter
|
||||
.queryAppGroupAssociationPredicate();
|
||||
List<AppGroupAssociationEntity> appGroupAssociationList = (List<AppGroupAssociationEntity>) appGroupAssociationRepository
|
||||
|
|
Loading…
Reference in New Issue