09 2017 档案

摘要:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org 阅读全文
posted @ 2017-09-29 10:34 ahuo 阅读(227) 评论(0) 推荐(0) 编辑
摘要:MO='mongo'$MO << EOFuse testdbdb.dropDatabase()show dbsexit;EOF 阅读全文
posted @ 2017-09-27 17:01 ahuo 阅读(403) 评论(0) 推荐(0) 编辑
摘要:mongodump -h dbhost -d dbname -o dbdirectory mongorestore -h dbhost -d dbname --directoryperdb dbdirectory 阅读全文
posted @ 2017-09-27 17:00 ahuo 阅读(185) 评论(0) 推荐(0) 编辑
摘要:<insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="db.TbuserWithBLOBs"> record.getId()就是新的ID 阅读全文
posted @ 2017-09-15 17:33 ahuo 阅读(135) 评论(0) 推荐(0) 编辑
摘要:Tbuser record = new Tbuser(); TbuserWithBLOBs bloBs = tbuserMapper.selectByPrimaryKey((long) 34); bloBs.setCardid("00000"); tbuserMapper.updateByPrimaryKeyWithBLOBs(bloBs); ... 阅读全文
posted @ 2017-09-13 10:13 ahuo 阅读(325) 评论(0) 推荐(0) 编辑
摘要:@RequestMapping(value = "/post",method = RequestMethod.POST) @ResponseBody String GPost(@RequestParam("img1") MultipartFile[] img1,@RequestParam("img2") MultipartFile[] img2) throws IOExcept... 阅读全文
posted @ 2017-09-11 17:37 ahuo 阅读(222) 评论(0) 推荐(0) 编辑
摘要:端口修改 java -jar demo.jar --server.port=8011 或 src\main\resources\application.properties server.port=8011 资源 优先级顺序为:META/resources > resources > static 阅读全文
posted @ 2017-09-07 09:52 ahuo 阅读(266) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示