mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
feat: 菜单初始化提交
This commit is contained in:
@@ -8,8 +8,8 @@ import org.apache.ibatis.annotations.Update;
|
||||
public interface ExtMenuMapper {
|
||||
|
||||
@Update(" update sys_menu set sub_count = sub_count+1 where menu_id = #{menuId} ")
|
||||
int incrementalSubcount(@Param("deptId") Long menuId);
|
||||
int incrementalSubcount(@Param("menuId") Long menuId);
|
||||
|
||||
@Update(" update sys_menu set sub_count = sub_count-1 where menu_id = #{menuId} and sub_count > 0")
|
||||
int decreasingSubcount(@Param("deptId") Long menuId);
|
||||
int decreasingSubcount(@Param("menuId") Long menuId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user