应用中心,增加创建人搜索

This commit is contained in:
ire 2024-12-20 15:55:01 +08:00
parent cd81efe140
commit 30d6574067
2 changed files with 4 additions and 0 deletions

View File

@ -20,4 +20,7 @@ public class ApplicationPageReqVO extends PageParam {
@Schema(description = "应用分类", example = "1")
private Long appCategory;
@Schema(description = "创建人", example = "1")
private String creator;
}

View File

@ -21,6 +21,7 @@ public interface ApplicationMapper extends BaseMapperX<ApplicationDO> {
return selectPage(reqVO, new LambdaQueryWrapperX<ApplicationDO>()
.likeIfPresent(ApplicationDO::getAppName, reqVO.getAppName())
.eqIfPresent(ApplicationDO::getAppCategory, reqVO.getAppCategory())
.eqIfPresent(ApplicationDO::getCreator, reqVO.getCreator())
.eq(ApplicationDO::getDeleted,false)
.orderByDesc(ApplicationDO::getId));
}