- 博客(10)
- 资源 (9)
- 收藏
- 关注
转载 mysql的foreach使用
1. 对于 需要 使用mybatis的foreach功能生成的 批量操作语句比如: select * from user n where ( ? in n.tags , ? in n.tags ) 分解 在mybatis的xml文件就是 select * from user m where
2016-12-29 10:09:46 24295
原创 mybatis的动态sql
1. 动态sql : 传入的 是Map (查询) select * from student and id=#{id} and name=#{name} and ty
2016-12-27 21:10:42 185
原创 入门使用工具:使用postman给servlet传各种参数
1. 头文件过滤的: servlert里面 request.setCharacterEncoding("utf-8");response.setContentType("text/html;charset=UTF-8");String h_dlcode = request.getHeader("live-license"); -----这是
2016-12-27 20:07:43 11138 2
原创 mybatis+servlet
1. 首先 在 web.xml里面 配置 别名servlet> description>This is the description of my J2EE componentdescription> display-name>This is the display name of my J2EE componentdisplay-name> servlet-name>
2016-12-27 14:39:32 2076
原创 极光的研究
1. 调用极光推送List recList3 = new ArrayList();recList3.add(sc3);JPush.SendPushForAndroidAndIos(title, msgContent, null, recList3, JPush.Platforms.iTask); 这里的 sc3 ---- 就是 登录人登录在 app 的 账号 SA8@lsh
2016-12-26 12:07:29 417
原创 sql重新学习回顾
1.函数: 一个操作流程的集合一般: create function superman(@ee int ) returns int as begin declare @dd int ...... return @d
2016-12-23 11:39:51 221
原创 mysql细节补充
1. 直接就是 把 结果插入到 新建的表中select * from userxxd;insert into userxxd VALUES (1,'大炮','武器');CREATE table brand(a int not null auto_increment,primary key (a), brand varchar(20) )SELECT brand
2016-12-15 12:56:52 212
原创 实战将用户的权限一次性拿出来
1. 表: 用户表 角色表 权限表 用角 角权 五张表(LSH角色表 roleItem roleInfo ) roleItem: permit + roleId+itemId 角色id 权限id itemInfo : id +
2016-12-13 10:24:51 201
原创 时间的转化加上固定的年数
private java.sql.Date resultReTrue(String stardate, String zi) { java.sql.Date d = null; Integer sum = Integer.parseInt(zi); try { SimpleDateFormat formatter = new SimpleDateFormat
2016-12-12 13:32:29 314
原创 入门:java实际开发中遇到的细节问题
1. 传入为 null 解决:(!"".equals(a.get("调车物流状态")) && a.get("调车物流状态") != null) 2. 时间类型问题: sql.time----LocaltimeTime.valueOf(LocalTime.now())LocalTime starLocal = lianshimodel.ge
2016-12-02 11:39:13 300
报表的制作工具类报表的制作工具类报表的制作工具类报表的制作工具类
2017-12-01
使用cache研究工厂模式
2017-11-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人