摘要:
//实现类型转换接口 package cn.bdqn.stusystem.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.springframework.core.convert.converter.Converter; p...
阅读全文
posted @ 2018-05-04 02:03
ZHBK
阅读(139)
推荐(0)
编辑
摘要:
//在springmvc中配置 //controller写法 @RequestMapping("download.do") public ResponseEntity download(HttpServletRequest request,HttpServletRespons...
阅读全文
posted @ 2018-05-04 01:59
ZHBK
阅读(157)
推荐(0)
编辑
摘要:
1.在springmvc中配置 <bean id="multipartResolver" class=" org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSiz
阅读全文
posted @ 2018-05-04 01:53
ZHBK
阅读(110)
推荐(0)
编辑
摘要:
//编写自定义异常类 package cn.bdqn.stusystem.util; public class MyException extends Exception{ private String message; public MyException(String message) { this.message = message; } ...
阅读全文
posted @ 2018-05-04 01:44
ZHBK
阅读(118)
推荐(0)
编辑
posted @ 2018-05-04 01:11
ZHBK
阅读(144)
推荐(0)
编辑
摘要:
// 创建一个Excel文件 HSSFWorkbook workbook = new HSSFWorkbook(); // 创建一个工作表 HSSFSheet sheet = workbook.createSheet("销售订单列表"); // 添加表头行 HSSFRow hssfRow = sheet.createRow(0); // 设置单元格格式居中 HSSFCellStyle cellS...
阅读全文
posted @ 2018-05-04 01:08
ZHBK
阅读(143)
推荐(0)
编辑
摘要:
//开启弹窗 function showCus(cus) { layer.open({ type : 2, title : ' ', //弹窗标题 maxmin : true, shadeClose : true, //点击遮罩关闭层 closeBtn : 1, //关闭按钮 area : [ '600px', '400px' ], //弹窗尺寸 content : '${ctx}/...
阅读全文
posted @ 2018-05-04 01:06
ZHBK
阅读(401)
推荐(0)
编辑