上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: public static void uploadImg(InputStream file, String filePath, String fileName, int widthdist, int heightdist) throws Exception { File targetDir = ne 阅读全文
posted @ 2018-12-28 13:50 liw66 阅读(747) 评论(0) 推荐(0)
摘要: $(function () { $('#exampleTable').on('uncheck.bs.table check.bs.table check-all.bs.table uncheck-all.bs.table',function(e,rows){ var datas = $.isArra 阅读全文
posted @ 2018-12-28 10:15 liw66 阅读(1819) 评论(0) 推荐(0)
摘要: $("#jstree").on("loaded.jstree", function (event, data) { var n = 0; var root = data.instance.get_node(event.target.firstChild.firstChild.lastChild); 阅读全文
posted @ 2018-12-28 10:01 liw66 阅读(1672) 评论(0) 推荐(0)
摘要: ps:需要先下载e-smart-zoom-jquery.js到本地 阅读全文
posted @ 2018-12-28 09:49 liw66 阅读(1286) 评论(0) 推荐(0)
摘要: #1.创建临时表 CREATE TEMPORARY TABLE tmp_t select id from table where id not in (select max(id) from table group by mc,dz); #2.删除重复记录 delete from table whe 阅读全文
posted @ 2018-12-13 20:23 liw66 阅读(136) 评论(0) 推荐(0)
摘要: List<RoleDO> allRoles = roleService.list();//获取角色中备注不是app的集合List<RoleDO> webRoles = allRoles.stream() .filter(item -> !("app".equals(item.getRemark()) 阅读全文
posted @ 2018-11-20 14:41 liw66 阅读(127) 评论(0) 推荐(0)
摘要: 1.配置文件地址置换 @Componentclass WebConfigurer implements WebMvcConfigurer { @Autowired ConfigUtil bootdoConfig; @Override public void addResourceHandlers(R 阅读全文
posted @ 2018-11-20 10:16 liw66 阅读(1196) 评论(0) 推荐(0)
摘要: var now = new Date(); //当前日期var nowMonth = now.getMonth()+1; //当前月var nowYear = now.getFullYear(); //当前年 //获得日期getAllDate:function(date,fmt) { if(null 阅读全文
posted @ 2018-11-15 13:40 liw66 阅读(1334) 评论(0) 推荐(0)
摘要: getQueryString:function(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = decodeURI(decodeURI(window.location.search)).substr(1).m 阅读全文
posted @ 2018-11-15 11:58 liw66 阅读(415) 评论(0) 推荐(0)
摘要: @GetMapping("/getDept")@ResponseBodypublic Tree<DeptDO> getDept(String deptId){ Tree<DeptDO> deptNode = getDeptNode(deptId); if (deptNode == null){ re 阅读全文
posted @ 2018-10-23 17:53 liw66 阅读(2349) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页