日志模块查询,加入状态条件

This commit is contained in:
furongxin 2024-04-15 15:30:23 +08:00
parent 5812c374e2
commit eb110d4410

View File

@ -21,6 +21,7 @@ public interface LogFormMapper extends BaseMapperX<LogFormDO> {
default PageResult<LogFormDO> selectPageByRule(LogFormPageReqVO reqVO, List<Long> formIds) {
return selectPage(reqVO, new LambdaQueryWrapperX<LogFormDO>()
.eq(LogFormDO::getStatus, 0)
.in(LogFormDO::getId, formIds)
.orderByDesc(LogFormDO::getId));
}