- 博客(7)
- 收藏
- 关注
原创 mvc模式下restful风格接口
@Controller@RequestMapping("/hello")public class OperationLogController{ @RequestMapping(value = "/hello", method = RequestMethod.POST,produces={"application/json;charset=UTF-8"}) public @Response...
2018-05-15 16:24:32 1032
转载 maven强制加载jar包
maven强制加载jar包mvn install:install-file -Dfile=D:/http-client-1.0.1.jar -DgroupId=com -DartifactId=http-client -Dversion=1.0.1 -Dpackaging=jarDfile:路径+包名 DgroupId:路径 DartifactId:包名 Dversion:版本号...
2018-05-15 16:15:20 1958
转载 windows环境下,tomcat查询端口号占用、及注册系统服务
//windows系统查询端口是否被占用 netstat -aon|findstr "8080" ,如果有信息显示,则表明有程序占用了“8080”这个端口//windows系统注册tomcat为系统服务1.在DOS命令行模式下,cd到tomcat的bin目录下。2.找到tomcat的bin目录下的service.bat的批处理文件。3.执行命令service.bat install 服务名 ...
2018-05-15 16:11:33 3179
原创 orcl查询重复数据
//查询重复数据 select * from ( select t.ID, t.name , to_char(t.CREATE_TIME,'yyyy-mm-dd hh24:mi:ss') CREATE_TIME from user )where id in( sel...
2018-05-15 16:03:11 310
原创 mybatis的choose标签
mybatis的choose标签相当于java里面的if,else<choose> <when test="code != ''"> select * from dual </when> <otherwise> select * from dual </otherwise> &l..
2018-05-15 15:56:25 516
原创 mybatis下orcl批量插入
mybatis下执行orcl批量插入,以常用日志表为例<insert id="insertBatch"> insert into LOG (ID,ACT ,CONTENT,CREATE_TIME ) SELECT S_LOG.NEXTVAL ID, t.* FROM( <foreach collection="list" item="log" ind...
2018-05-15 15:53:05 154
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人