Compare commits

..

No commits in common. "c55120e91c85c5deb248ec410f2ac9384fa2e566" and "cf2daeb6701648a32d76039a5a999e870a225ffd" have entirely different histories.

1 changed files with 6 additions and 6 deletions

View File

@ -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}"}) @Select({"SELECT MAX(area_num) FROM alloc_area WHERE if_del = 2 AND super_id = #{superId}"})
String getLatestAreaNum(Long superId); String getLatestAreaNum(Long superId);
//
@Select({"SELECT area_id, area_name FROM alloc_area WHERE if_del = 2 AND area_name = #{areaName}"}) @Select({"SELECT area_id, area_name FROM alloc_area WHERE if_del = 2 AND area_name = #{areaName}"})
AllocArea getAreaIdByName(String areaName); AllocArea getAreaIdByName(String areaName);
//
@LeNiuDataPermission( // @LeNiuDataPermission(
alias = "t1", // alias = "t1",
permissionType = DataPermissionTypeEnum.PERMISSION_AREA // permissionType = DataPermissionTypeEnum.PERMISSION_AREA
) // )
List<AllocAreaTreeVO> listAllTreeArea(); List<AllocAreaTreeVO> listAllTreeArea();
List<AllocAreaTreeVO> listSystemArea(Long tenantId); List<AllocAreaTreeVO> listSystemArea(Long tenantId);