06 2019 档案
摘要:后台 public static String replaceBlank(String str) { String dest = ""; if (str!=null) { Pattern p = Pattern.compile("\\s*|\t|\r|\n"); Matcher m = p.matc
阅读全文
摘要:因为页面展示 项目类型是从数据字典中获取的而保存的数据是在另一张表保存的如果在html页面进行jstl双重循环实现不了对checkbox的判断是否选中问题 比如循环数据字典过程中假如有7条从 列表中查询出修改的对象中应该选中的数据是省重点建设项目,国际招标项目 如果通过以下方式进行双重循环是实现不了
阅读全文
摘要:yyyy-MM-dd事件绑定 onmouseover="dateset(this)" yyyy-MM-dd HH:mm并且去掉秒 .laydate-time-list{padding-bottom:0;overflow:hidden} .laydate-time-list>li{width:50%!
阅读全文
摘要:private static void ListSort(List<Work_log> list) { Collections.sort(list, new Comparator<Work_log>() { @Override public int compare(Work_log o1, Work
阅读全文
摘要:第一步把ueditor文件放到webapp下 第二部编写初始化的controller 第三步配置ueditor.config.js到第二部controller的路径并且配置图片访问前缀可配可不配 第四步编写页面 到此结束 /** * 上传图片 * * @param request * @param
阅读全文
摘要:SELECT date_format(( now() + INTERVAL -( 11 ) MONTH ), '%Y年%m月' ) AS `months` UNIONSELECT date_format(( now() + INTERVAL -( 10 ) MONTH ), '%Y年%m月' ) A
阅读全文
摘要:/** * 员工树结构 */ @RequestMapping(value="/getZzjgTree") public @ResponseBody List<Map<String, Object>> getZzjgTree(Zzjg zzjg){ List<Zzjg> zzjgList = zzjg
阅读全文
摘要:long days = mss / ( 60 * 60 * 24); long hours = (3601 % ( 60 * 60 * 24)) / (60 * 60); long minutes = (3601 % ( 60 * 60)) /60; long seconds = 3601 % 60
阅读全文
摘要:递归sql select t3.* from (select t1.*, if(find_in_set(pid, @pids) > 0, @pids := concat(@pids, ',', id), if (t1.id = @pids,@pids,0)) as ischild from ( se
阅读全文

浙公网安备 33010602011771号