- 博客(3)
- 收藏
- 关注
原创 数据库规范
一、建表规约1.【强制】表达是与否概念的字段,必须使用is_xxx的方式命名,数据类型是unsigned tinyint(1表示是,0表示否)。说明:任何字段如果为非负数,必须为unsigned。正例:表达逻辑删除的字段名is_deleted,1表示删除,0表示未删除。2.【强制】表名、字段名必须使用小写字母或数字,禁止出现数字开头,禁止两个下划线中间出现数字。数据库字段名的修改代...
2018-10-19 20:16:30
1025
原创 简单的异步框架实现
简单的异步框架实现枚举事件类型public enum EventType { LIKE(0), COMMENT(1), LOGIN(2), MAIL(3); private int value; EventType(int value) { this.value = value; } public int getValue() { retu...
2018-07-03 17:15:05
576
原创 HandlerInterceptor接口详解
源码:/** * Workflow interface that allows for customized handler execution chains. * Applications can register any number of existing or custom interceptors * for certain groups of handlers, to add comm...
2018-06-26 11:59:46
2095
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人