mybitys 插入时返回id

摘要: <insert id="insertTaskToHistoryTaskTable" parameterType="com.qunar.pay.g2.core.payinnercheckplatform.entity.InnerCheckTaskHistory" useGeneratedKeys="t 阅读全文
posted @ 2017-05-12 11:44 lishimy 阅读(132) 评论(0) 推荐(0)

window编写的python脚本在linux上执行报^M: bad interpreter问题

摘要: 该问题为编码问题 解决方法 linux转换: 1. vi filename.py 2. :set ff 会显示 fileformat=dos 或 fileformat=unix 3. :set ff=unix 保存退出即可解决 Windows转换: UltraEdit:File-->Conversi 阅读全文
posted @ 2017-05-11 11:29 lishimy 阅读(123) 评论(0) 推荐(0)

dubbo接口异步回调

摘要: 前几天写了个回调,先mark 有空补上 阅读全文
posted @ 2017-05-11 11:29 lishimy 阅读(151) 评论(0) 推荐(0)

memcached常用命令 及原理

摘要: 一、存储命令 存储命令的格式: 1 2 <command name> <key> <flags> <exptime> <bytes> <data block> 1 2 <command name> <key> <flags> <exptime> <bytes> <data block> 1 2 <c 阅读全文
posted @ 2016-11-02 18:08 lishimy 阅读(109) 评论(0) 推荐(0)

面向切面编程(AOP)的理解

摘要: 这种在运行时,动态地将代码切入到类的指定方法、指定位置上的编程思想就是面向切面的编程。 阅读全文
posted @ 2016-10-31 18:00 lishimy 阅读(110) 评论(0) 推荐(0)

spring 常用注解

摘要: 使用注解来构造IoC容器 用注解来向Spring容器注册Bean。需要在applicationContext.xml中注册<context:component-scan base-package=”pagkage1[,pagkage2,…,pagkageN]”/>。 如:在base-package指 阅读全文
posted @ 2016-04-13 15:23 lishimy 阅读(81) 评论(0) 推荐(0)