- 博客(24)
- 收藏
- 关注
原创 判断是否相等 判空 equals
字符串 然后用.equalString firstProcessStep = processMapper.selectFirstProcess(process).getProcessStep().toString();String evaluationStates1 = wholeDepartmentList.get(i).getEvaluationStates();if ( evalua...
2019-12-30 10:20:14 408
原创 Tomcat部署 老林
![在这里插入代码片](https://img-blog.csdnimg.cn/20191228174626315.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDYzNTE1Nw==,size_16,color_F...
2019-12-28 17:55:16 77
原创 bootStrap高级进阶 表格合并 可编辑 删除添加行 监听事件在onclick $element.blur(function(
一。有框线 table-bordered<div class="col-sm-12 select-table table-bordered"> <table id="bootstrap-table" data-mobile-responsive="true" style="white-space: nowrap;"></table></div&...
2019-12-24 16:28:58 747
原创 思诺指标数据库设计
achi_level_indicators 初始化查的这张表 弹出页面的左边树也是这张表achi_indicator 弹出页面的中间根据一级二级查询这张表achi_casesachi_cases_indicators指标表与案例表根据中间表 achi_cases_indicato...
2019-12-24 15:24:07 1809
原创 获取 reqeust session
String year = (String) getRequest().getSession().getAttribute("year");
2019-12-24 10:18:54 65
原创 使用Notepad++的XML Tools插件格式化显示XML文件 XML格式化
https://www.jianshu.com/p/d3b7b9b0f19a
2019-12-23 17:36:50 1384
原创 三级指标剔除去掉html代码
//三级指标剔除html代码if(typeof (data[i].indStandard) == 'string'){ temp.indThree = data[i].indThree.replace(/<\/?.+?>/g, "").trim() }else{ temp.indThree = data[i].indThree; }...
2019-12-20 15:58:01 103
原创 是否提交审核 美化框 提示框
layer.alert('是否确定提交审核', { skin: 'layui-layer-molv' ,closeBtn: 1 ,anim: 5 ,btn: ['确定','取消'] ,icon: 6 // icon ,yes:function(){ } ,btn2:function(){ return; }});la...
2019-12-19 10:25:47 146
原创 word转xml文件
word转成xml直接另存为xml格式就行了https://blog.csdn.net/xueluoliu/article/details/80887862https://blog.csdn.net/qq_25073469/article/details/84062164根据xml文件生成word文档/*生成文档*/public static String createWord(Map...
2019-12-18 09:16:24 1569
原创 IO流 Java创建一个text文本文件,并对其进行读写操作
public static void main(String[] args) throws IOException{ //新建 String path = "e:\\test\\test\\test3.txt"; File file = new File(path); if(!file.exists()){ ...
2019-12-17 16:37:28 2780
原创 AjaxResult
第一种:mapmsg:“操作成功”code:0data:{res:true}Map map =new HashMap();map.put("res",true);return AjaxResult.success(map);第二种:Stringmsg:“哈哈哈”code:0return AjaxResult.success("哈哈哈");...
2019-12-17 16:22:15 15131
原创 springboot获取配置文件的值 java加载与读取配置文件
一.调用方法String filePath = Global.getReportPath();String filePath = Global.getProfile();二.方法public static String getReportPath(){ return getConfig("ruoyi.profile") + "report/";}public static S...
2019-12-17 16:02:10 1764 1
原创 抽取 七个页面
七个页面addaddDetailaddListreviewListreviewDetailgatherListgatherDetail数据库表 guid state unit_code unit_name YEAR rec_user_idJS回显业务办理情况 打印 导出 合并 表格添加行 删除行...
2019-12-13 14:22:26 110
原创 上下级系统菜单 部门
BootStrap一。后台正常查出集合二。前台options的parentcodebootStrap框架不用转换 options有个parentcode 它会自动转换//body<div class="col-sm-12 select-table table-striped"> <table id="bootstrap-tree-table" data-mobi...
2019-12-11 10:46:43 806 1
原创 JS设置select标签选中的值
页面"<select name=\"improveRelevantPolicies" + i + "\">" + "<option value=\"\"></option>" + "<option value=\"是\">是</option>" + "<option value=\"否\">否</option&g...
2019-12-11 10:40:30 7985
原创 抽取 thymeleaf引用其他页面 dody css JS
被引用的页面 common<head th:fragment="indicator-css"></head><div th:fragment="indicator"></div><div th:fragment="indicator-js"></div>操作页面<th:block th:inclu...
2019-12-11 09:58:52 286
原创 根据行列坐标获取表格单元格内容
Names = tb.rows[i].cells[0].getElementsByTagName("INPUT")[0].value;gender = tb.rows[i].cells[1].innerHTML;age = tb.rows[i].cells[2].innerText;
2019-12-10 10:37:31 692
原创 表格添加加删除按钮
Html<td width="11%"> <div style="margin:0;width:100%;height:100%"> <i style="color:green;vertical-align: middle" onclick="add_tr(this)" class="glyphicon glyphicon-pl...
2019-12-10 09:07:17 898
原创 锁 JDK锁 redis锁 mysql锁
一。JDK锁 synchronized在减库存的代码外面包一层 synchronizedpublic String deductStock(){ synchronized (this){ int strock = Integer.parseInt(stringRedisTemplate.opsForValue().get("stock")); //jedis.get(...
2019-12-05 14:40:38 154
原创 Js设置checkbox单选 获取checkBox的选中值 遍历角色
/*设置checkbox单选*/$(":checkbox").click(function(){ $(this).attr("checked",true); $(this).siblings().attr("checked",false); //设置当前选中的checkbox同级(兄弟级)其他checkbox状态为未选中});});});...
2019-12-05 13:33:18 325
原创 JS生成uuid
/*生成32位uuid*/function getUuid(){ var len=32;//32长度 var radix=16;//16进制 var chars='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');var uuid=[],i;radix=radix||chars.l...
2019-12-05 10:04:30 77
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人