TechRoad 1. Architecture <Java Application architecture> modular, Spring context config <EIS> technology decision, base eis-platform-brms <MS PPP> cha ...
分类:
其他好文 时间:
2020-11-07 16:51:15
阅读次数:
24
1.2.2 实例化容器(container) 为ApplicationContext 构造器提供的一个或多个路径使得容器能够从这些资源字符串中加载配置元数据从多样的外部资源位置。比如本地文件系统,类路径等。 ApplicationContext context = new ClassPathXmlA ...
分类:
编程语言 时间:
2020-11-07 16:19:28
阅读次数:
22
数据结构接口: /// <summary> /// 实体类必须实现接口 /// </summary> public interface IToTreeModel { int Id { get; set; } int ParentId { get; set; } List<IToTreeModel> ...
树形菜单 $(function () { $.ajax({ url: window.location.protocol + '//' + window.location.host + '/Home/Menu', data: null, type: 'post', dataType: 'json', ...
分类:
其他好文 时间:
2020-11-06 02:16:29
阅读次数:
25
RBAC(Role-Based Access Control,基于角色的访问控制),就是用户通过角色与权限进行关联。简单地说,一个用户拥有若干角色,每一个角色拥有若干权限。这样,就构造成“用户-角色-权限”的授权模型。在这种模型中,用户与角色之间,角色与权限之间,一般者是多对多的关系。(如下图) 角 ...
分类:
数据库 时间:
2020-11-06 01:40:52
阅读次数:
18
业务场景:中后台 虽然封装和使用了很多第三方组件,但还是免不了需要自己封装和使用很多业务组件。每次使用的时候还需要手动引入,过于麻烦 解决方法: 基于 webpack 的require.context来实现自动加载组件并注册的全局的功能 我们可以创建一个GlobalComponents文件夹,将你想 ...
分类:
其他好文 时间:
2020-11-02 09:57:26
阅读次数:
23
mybatis-spring原理解析 ? 没有spring使用Mybatis的步骤是 1:创建SqlSessionFactoryBuilder 2: 通过SqlSessionFactoryBuilder创建要给SqlSessionFactory 3: 创建SqlSession 4: 获取Mapper ...
分类:
编程语言 时间:
2020-11-01 22:01:14
阅读次数:
27
import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import androidx.annota ...
分类:
移动开发 时间:
2020-11-01 21:28:17
阅读次数:
28
常用配置 spring.profiles.active=@spring.profiles.active@ pom文件中定义的配置文件 server.port=8080 web默认访问端口 server.context-path=/demo 上下文路径 server.session.timeout=1 ...
分类:
移动开发 时间:
2020-11-01 09:19:30
阅读次数:
26
找到cmd程序的快捷方式存在位置,将该快捷方式复制粘贴到控制面板-管理工具文件夹下(即C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools路径下),在该文件夹中右键cmd快捷方式-属性-快捷方式-快捷键,按 ...