摘要: 摘抄自: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)
摘要: //求类型为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)
摘要: 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)
摘要: //get请求方式 private String getInfo(Map<String, Object> params,String URL) { // 创建Httpclient对象 CloseableHttpClient httpclient = HttpClients.createDefault 阅读全文
posted @ 2020-03-20 14:48 浮一大白 阅读(3186) 评论(0) 推荐(0)
摘要: 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)