摘要: @RequestMapping(value = "/addComplaintInfo",method = RequestMethod.POST) public HashMap<Object, Object> addComplaintInfo(ComplaintInfo complaintInfo, 阅读全文
posted @ 2019-09-19 13:20 代码界的绵绵雨 阅读(691) 评论(0) 推荐(0)
摘要: @RequestMapping("/download")public String download( String fileName ,String filePath, HttpServletRequest request, HttpServletResponse response){ respo 阅读全文
posted @ 2019-09-18 09:09 代码界的绵绵雨 阅读(156) 评论(0) 推荐(0)
摘要: <!-- 配置文件上传解析器 --><!-- id必须要配置,而且是配置父类接口的类名 --><bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver" 阅读全文
posted @ 2019-08-30 12:06 代码界的绵绵雨 阅读(250) 评论(0) 推荐(0)
摘要: 一.gson //1、创建Gson对象 Gson gson = new Gson(); User user = new User(1, "liujinghan", "123456", "12@12.com"); //2、调用toJson(Object)将对象转为字符串 String json = g 阅读全文
posted @ 2019-08-13 17:48 代码界的绵绵雨 阅读(5047) 评论(0) 推荐(0)
摘要: 输入 cmd 打开命令行窗口 输入 ipconfig /all >d:\ip.txt 就可以输出本机的IP到D盘根目录的ip.txt文件了 去打开D盘的IP.TXT,、 阅读全文
posted @ 2019-06-24 10:07 代码界的绵绵雨 阅读(3902) 评论(0) 推荐(0)
摘要: (1)pom.xml 加入 依赖 (2) main文件夹下创建webapp--WEB-INF--jsp 阅读全文
posted @ 2019-06-05 17:51 代码界的绵绵雨 阅读(210) 评论(0) 推荐(0)
摘要: 原文路径 写的很详细 https://blog.csdn.net/yangfengjueqi/article/details/79655439 阅读全文
posted @ 2019-05-21 17:11 代码界的绵绵雨 阅读(260) 评论(0) 推荐(0)
摘要: checkbox全选反选十分简单以下代码一看便知<tr> <th class="center"> <label class="pos-rel"> <input type="checkbox" class="ace" id="selectAll"/> <span class="lbl"></span> 阅读全文
posted @ 2019-05-09 16:06 代码界的绵绵雨 阅读(249) 评论(0) 推荐(0)
摘要: 使用GROUP_CONCAT以后 把多列合并为一行 阅读全文
posted @ 2019-05-05 17:26 代码界的绵绵雨 阅读(134) 评论(0) 推荐(0)
摘要: 例如: var checkedbox = $("input[type=checkbox][name='cid']:checked") if (checkedbox.size() == 0) { alert("提示:请选择要一条要调袋的产品!"); return; } var status = che 阅读全文
posted @ 2019-04-26 17:31 代码界的绵绵雨 阅读(374) 评论(0) 推荐(0)