- 博客(9)
- 收藏
- 关注
原创 mtbatis 递归查询下一级
<!-- 角色权限修改时--> <resultMap id="ResultMenuPermissionWithRoleMap" type="com.water.net.system.vo.MenuPermissionVo" > <id column="menu_id" property="menuId" jdbcType="VARCHAR" /> <result column="menu_..
2021-07-06 13:48:07
125
原创 Mysql 按当天、当月、上月及按日期范围查询 DATE_FORMAT( date, ‘%Y%m‘ )
//1、根据开始时间结束时间查询SELECT *FROMrecordWHERE 1=1<if test="dateEnd != null and dateEnd != ''"> AND operation_time <![CDATA[ < ]]> str_to_date(#{dateEnd},'%Y-%m-%d %H:%i:%s')</if><if test="dateStart != null and dateStart != ''"> .
2020-10-19 10:55:15
2517
原创 点击el-table表头中的某一列 触发不同的事件 给表头添加图标
<template> <el-table :data="productList" @header-click="headerChange"> <el-table-column prop="title" label="标题" header-align="center" align="left" min-width="15%" show-overflow-tooltip> </el-table-column> ...
2020-06-18 16:07:06
1575
1
原创 element UI 设置 el-table 表格 表头及各行的高度斑马线样式
设置表头行高,各行行高 ,斑马线样式<el-table :data="unitList" :header-cell-style="{ <!-- 设置表头的背景色,字体颜色,行高 --> background:'#5E95E8', color:'#FFFFFF', height:'35px', padding:'2px' }" stripe <!-- 隔行设置颜色 斑马线样式 --&g.
2020-06-18 15:07:19
3254
原创 VUE中 ECHART饼图各扇区间加空格 及 消除鼠标放到扇区上隐藏第一行
1、饼图的扇区间加空白间隔series : [{ name: '', type: 'pie', radius: ['35%', '60%'], center: ['50%', '50%'], itemStyle: { normal: { borderWidth: 4, //扇区间加间隔 borderColor: '#ffffff', //间隔为白色 la.
2020-06-18 14:47:46
877
原创 使用SecureRandom解决如果两个`java.util.Random `类的实例使用相同的种子,会在所有Java实现中生成相同的数值序 列。
StringBuilder sb = new StringBuilder()SecureRandom secureRandom = null;try { secureRandom = SecureRandom.getInstance("SHA1PRNG");} catch (NoSuchAlgorithmException e) { throw new ServiceException("获取SecureRandom随机数失败");}sb.append(secureRandom..
2020-06-17 17:12:07
243
原创 mybatis SQL中时间格式化
<select id="selectTodayWarnInfo" resultMap="BaseResultMap"> select * from tb_risk where DATE_FORMAT(start_time, '%Y-%m-%d') = DATE_FORMAT(NOW(),'%Y-%m-%d') order by start_time desc limit 20</select>
2020-06-17 16:43:18
1693
转载 JSON 与 对象 、集合 之间的转换 JSON字符串和java对象的互转
https://www.cnblogs.com/free-dom/p/5801866.html
2018-04-24 17:11:29
110
原创 点文字也可选中单选框
方法1:<label><input type="checkbox" id="select" v-model="checked"> 我已详细阅读理财协议</label>方法2:label的for与input的id一致即可<input type="checkbox" id="select" v-model=&quo
2018-04-09 10:02:43
942
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人