摘要: 1、报错信息 Unsatisfied dependency expressed through field 'xxxService'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationExcep 阅读全文
posted @ 2021-08-05 18:07 唏嘘- 阅读(2647) 评论(0) 推荐(0) 编辑
摘要: 1、formatter使用 formatter这个属性属于列参数,意思就是对当前列的数据进行格式化操作, 有三个参数,value,row,index value:代表当前单元格中的值, row:代表当前行, index:代表当前行的下标 //示例 列表字段增加超链接 formatter: funct 阅读全文
posted @ 2021-08-05 17:26 唏嘘- 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: 1、js layer.confirm("确定删除吗",{ btn: ['确定', '取消'], success: function (layero, index) { this.enterEsc = function (event) { if (event.keyCode == 13 ) { //确 阅读全文
posted @ 2021-08-05 17:06 唏嘘- 阅读(918) 评论(0) 推荐(0) 编辑
摘要: 1、报错信息 org.apache.ibatis.binding.BindingException: Mapper method 'xxxMapper.XXX attempted to return null from a method with a primitive return type (i 阅读全文
posted @ 2021-08-05 16:19 唏嘘- 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: 1、引用 form layui.use(['form'], function () { var form = layui.form; $('select').attr('disabled', 'disabled'); //或者 $('select').attr('disabled', true); 阅读全文
posted @ 2021-08-05 16:15 唏嘘- 阅读(1326) 评论(0) 推荐(0) 编辑
摘要: 1、问题原因: 在properties 配置文件路径, 直接粘贴复制的文件磁盘路径 properties中不能含有\符号, 否则就会报上面的错误. 2、解决方式: 将properties中的\改为 \\ 或者 / 阅读全文
posted @ 2021-08-05 15:52 唏嘘- 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、js var conditionJson = { name: staffName, sex: sex, }; var query = {condition: JSON.stringify(conditionJson)}; $('#tableId').bootstrapTable("refresh 阅读全文
posted @ 2021-08-05 15:42 唏嘘- 阅读(1614) 评论(0) 推荐(0) 编辑
摘要: 1、异常信息 mybatis出现Result Maps collection already contains value for…BaseResultMap的错误, 2、异常原因 有可能是generatorSqlmapCustom逆向工程的原因 假如使用generatorSqlmapCustom逆 阅读全文
posted @ 2021-08-05 15:17 唏嘘- 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1、正则表达式 let number = "值";var num = /^[0-9]+.?[0-9]*/; //判断字符串是否为数字//判断正整数/[1−9]+[0−9]∗]∗/ if (!num.test(nubmer)) { alert(“请输入数字”); } 阅读全文
posted @ 2021-08-05 15:03 唏嘘- 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1、bootstrapTable //插入一条数据,在日期单元格实现 可选layui日期控件, 每新增一行数据,监听需要日期的单元格,取值然后更新单元格值 $('#tableId').bootstrapTable({ onClickCell: function (field, value, row, 阅读全文
posted @ 2021-08-05 14:54 唏嘘- 阅读(793) 评论(0) 推荐(0) 编辑