!710 update 使用新版数据权限

* update 使用新版数据权限
This commit is contained in:
AprilWind
2025-06-30 01:42:51 +00:00
committed by 疯狂的狮子Li
parent 5baf342478
commit 60aca2eef3
9 changed files with 31 additions and 88 deletions
@@ -29,7 +29,9 @@ public interface FlwCategoryMapper extends BaseMapperPlus<FlowCategory, FlowCate
@DataPermission({
@DataColumn(key = "deptName", value = "createDept")
})
long countCategoryById(Long categoryId);
default long countCategoryById(Long categoryId) {
return this.selectCount(new LambdaQueryWrapper<FlowCategory>().eq(FlowCategory::getCategoryId, categoryId));
}
/**
* 根据父流程分类ID查询其所有子流程分类的列表