会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
浮一大白
博客园
首页
新随笔
联系
订阅
管理
2020年4月11日
使用Spring的@Scheduled实现定时任务
摘要: 摘抄自:https://blog.csdn.net/prisonbreak_/article/details/49180307 Spring配置文件xmlns加入xmlns:task="http://www.springframework.org/schema/task"xsi:schemaLoca
阅读全文
posted @ 2020-04-11 16:22 浮一大白
阅读(344)
评论(0)
推荐(0)
2020年3月20日
求满足条件的总和SQL语句
摘要: //求类型为1的总和SUM( CASE a.problemType WHEN 1 THEN 1 ELSE 0 END ) case 字段 when 条件 then 值1 else 值2 end 语句
阅读全文
posted @ 2020-03-20 23:45 浮一大白
阅读(622)
评论(0)
推荐(0)
URLDecoder.decode解码和URLEncoder.encode转码
摘要: public String demo(HttpServletRequest request,String carnum) //转码 String test1 = URLEncoder.encode(carnum,"UTF-8") //解码 String test2 = URLDecoder.deco
阅读全文
posted @ 2020-03-20 15:10 浮一大白
阅读(1275)
评论(0)
推荐(0)
java中调用第三方接口获取数据的方式
摘要: //get请求方式 private String getInfo(Map<String, Object> params,String URL) { // 创建Httpclient对象 CloseableHttpClient httpclient = HttpClients.createDefault
阅读全文
posted @ 2020-03-20 14:48 浮一大白
阅读(3186)
评论(0)
推荐(0)
2020年3月19日
java中图片上传
摘要: public Map<String, String> fileUpload(HttpServletRequest request, User user) throws IOException { String uploadBasePath = UploadConstant.FILE_UPLOAD_B
阅读全文
posted @ 2020-03-19 09:31 浮一大白
阅读(364)
评论(0)
推荐(0)
公告