07 2020 档案

摘要://前台JSON数据传到后台一般以int和String类型或者其他类型可以自动转化 但是如果遇到了list属性或者对象属性那么就会产生此问题。 //如: public class CiTiaoDuanLuoTLVo{ private integer id; private String neiRon 阅读全文
posted @ 2020-07-22 16:58 790021521 阅读(241) 评论(0) 推荐(0) 编辑
摘要:一: Witelist addTogs = new Witelist(); String text = Jsoup.clean(bodyHtml,addTogs);//bodyHtml是带html标签的字符串。 二: String text = Jsoup.parse(bodyHtml).text( 阅读全文
posted @ 2020-07-15 11:17 790021521 阅读(869) 评论(0) 推荐(0) 编辑
摘要:一:导入aspose.words.jar 二:在word里要导出字段的位置,用书签标记,给一个key。将word放入需要获取模板的位置。 三: /** *功能:导出xxx * *@param targetFilePath 目标路径 *@param templatePath 模板路径 *@param 阅读全文
posted @ 2020-07-13 16:13 790021521 阅读(536) 评论(0) 推荐(0) 编辑
摘要:public Map getWeekDate (){ Map map = new HashMap(); Date date = new Date(); Calendar cal = Calendar.getInstance(); int dayWeek = cal.get(Calendar.DAY_ 阅读全文
posted @ 2020-07-02 15:56 790021521 阅读(703) 评论(0) 推荐(0) 编辑