Compare commits
2 Commits
cf2daeb670
...
c55120e91c
| Author | SHA1 | Date |
|---|---|---|
|
|
c55120e91c | |
|
|
092bd3dddb |
|
|
@ -31,14 +31,14 @@ public interface AllocAreaMapper extends BaseMapper<AllocArea> {
|
|||
|
||||
@Select({"SELECT MAX(area_num) FROM alloc_area WHERE if_del = 2 AND super_id = #{superId}"})
|
||||
String getLatestAreaNum(Long superId);
|
||||
//
|
||||
|
||||
@Select({"SELECT area_id, area_name FROM alloc_area WHERE if_del = 2 AND area_name = #{areaName}"})
|
||||
AllocArea getAreaIdByName(String areaName);
|
||||
//
|
||||
// @LeNiuDataPermission(
|
||||
// alias = "t1",
|
||||
// permissionType = DataPermissionTypeEnum.PERMISSION_AREA
|
||||
// )
|
||||
|
||||
@LeNiuDataPermission(
|
||||
alias = "t1",
|
||||
permissionType = DataPermissionTypeEnum.PERMISSION_AREA
|
||||
)
|
||||
List<AllocAreaTreeVO> listAllTreeArea();
|
||||
|
||||
List<AllocAreaTreeVO> listSystemArea(Long tenantId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue