- 博客(45)
- 资源 (1)
- 收藏
- 关注
原创 使用 cglib_使用easyexcel时遇到Could not initialize class cglib.beans.BeanMap怎么解决
1、首先考虑依赖冲突本人项目springBoot版本:2.3.6.RELEASE <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>3.0.5</version> <exclusions>
2022-03-18 14:47:59
1178
原创 oracle数据库日期类型注意事项,解决修改数据库会影响时间变成00:00:00
oracle数据库日期类型注意事项,解决修改数据库会影响时间变成00:00:001、数据库是Date类型,实体类是LocalDateTime类型,需要注意加上如下两个依赖: <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-typehandlers-jsr310</artifactId> <
2021-11-08 11:48:46
1713
原创 java.lang.IllegalStateException: Annotation @EnableCircuitBreaker found, but there are no implementa
1、出现错误原因之一:缺少这个依赖:<dependency>--> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency>...
2020-09-07 14:08:29
4754
原创 java.lang.NoClassDefFoundError: javax/servlet/Servlet
1、这个错误原因之一:会和 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.10</version> </dependency>产生冲突。建议去掉或者使用其他数据源。
2020-09-07 14:06:16
2623
1
原创 nacos在windows上启动失败
错误信息Caused by: java.net.UnknownHostException: jmenv.tbsite.net解决方法启动方式: startup.cmd -m standalone
2020-09-01 14:35:47
4697
5
原创 oracle中dblink的使用
1、create synonym 目标库表名 for 原库.要同义词的表名@数据库的serviceName;例如:create synonym t_photo for ECARDV5.T_PHOTO@yktdbpdb;其他sql1、查看SELECT * FROM SYS.ALL_SYNONYMS t WHERE t.owner in ('DOOR');//其中DOOR表示库的当前登录人select * from dba_synonyms;select * from dba
2020-07-24 17:15:06
183
原创 easyexcel导出2万条,每2000条导出一个sheet
@GetMapping("/exportTrack") public void exportTrack(HttpServletResponse response) throws IOException { OutputStream out = null; try { out = getOutputStream(response,"用户信息表",ExcelTypeEnum.XLSX); ExcelWriter writer = new ExcelWriter(out, ExcelTyp
2020-06-17 14:03:34
1938
原创 java后端接收map参数vue前端传递
1、vue前端export default { name: 'downcardlist', data() { return { person_righttable: [], //已选择的人员 device_righttable: [], //已分配设备 weektimesList:[], } }, methods:{ downcardlist:function(d
2020-05-11 16:40:21
11765
原创 Parameter 'nuLL' not found. Available parameters are [param1, customer]
Parameter ‘nuLL’ not found. Available parameters are [param1, customer]List<BaseCustomer> getAllTCustomerList(@Param("customer") BaseCustomer baseCustomer);<select id="getAllTCustomerList" resultMap="baseCustomerMap"> select a.custid, a.cu
2020-05-09 13:28:25
1907
1
原创 dbeaver连接mysql
1、下载驱动jar包并同过添加文件进行添加mysql 的jar下载2、如果要连接远程服务器的mysql alter user 'root'@'%' identified with mysql_native_password by '123456';
2020-03-19 11:45:57
4119
原创 springcloud整合Zookeeper做配置中心config
一、导入依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mave...
2020-03-08 19:49:43
2479
1
原创 docker 启动容器并运行
https://blog.youkuaiyun.com/xiaojin21cen/article/details/81321336?utm_source=blogxgwz1
2020-02-13 21:49:42
843
原创 docker启动mysql
docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql–name 后面的是docker容器名-e MYSQL_ROOT_PASSWORD 是设置mysql的root账号密码-d mysql 是你的镜像标签启动成功后[root@iZttsn6fen661yZ ~]# docker psCO...
2020-02-12 20:27:06
1060
原创 小程序云开发movies调用豆瓣接口
在能建云函数的文件夹里,新建node.js云函数在创建好的云函数中,鼠标右键,使用终端打开。在gitHub中搜索request,打开第一个,在下面找到Request-Promise点击进入后,找到2个安装命令:npm install --save requestnpm install --save request-promise一个一个将命令输入终端进行安装。然后在当前云...
2019-11-01 14:37:08
415
原创 vantweapp的使用
1、官方网址打开:https://youzan.github.io/vant-weapp/#/intro2、项目打开后选中微信小程序的项目右击——>选择终端打开——>终端打开后输入npm init 进行初始化——>一直回车,最后在输入官网上面的命令:npm i vant-weapp -S --production 回车进行npm的安装。3、此时还没有安装完成,选中小程...
2019-11-01 11:39:33
4215
原创 微信小程序Git版本管理
1、安装git2、在码云上面创建一个新项目,项目名称和微信小程序名称一样(前提是微信小程序已经创建)2、打开微信开发者工具,打开自己创建的项目。点击:版本管理->(工作空间)设置->通用->编辑(用户名:码云上面的登录名,邮箱:码云注册时候的邮箱)->网络认证(认证方式:使用用户名和密码(即:码云的登录名和密码))->远程(添加:名称master,url:粘贴从码...
2019-10-25 14:14:54
540
原创 oracle函数(in/out)
oracle函数注意事项:必须要有返回值语法规则:create [or replace] function 函数名(参数列表,包括:入参和出参)return 函数值返回类型as /isPL/SQL主程序体例子:带有输入参数 ,使用in关键字--创建一个函数,输入学生学号,查出学生的排名create or replace function queryOrder(v_s...
2019-09-27 17:34:46
2071
原创 前后端交互注意的事项以及传值的方法
前后端交互使用map接收(里面包含一个实体类:officeReception,还有其余三个参数:userid,username,departmentid)方法一var jsondata = $("#subForm").serializeJSON(); jsondata["company"] = $("#company").val(); jsondata["ca...
2019-09-26 11:06:51
693
原创 支付宝扫码付款文档
https://openhome.alipay.com/platform/appDaily.htmhttps://docs.open.alipay.com/200/105311
2019-09-02 17:32:00
705
原创 Springboot整合Dozer
一、引入依赖<dependency> <groupId>net.sf.dozer</groupId> <artifactId>dozer</artifactId> <version>5.5.1</version> </dependency> <dependency>...
2019-09-02 17:20:48
831
转载 事务的七种传播行为
https://blog.youkuaiyun.com/weixin_39625809/article/details/80707695
2019-08-30 16:29:19
436
原创 Sqlserver查询本周、本年、本月、本季度数据
Sqlserver查询本周、本年、本月、本季度数据 1、select * from sysLog where DateDiff(dd,creatDate,getdate())=0 //当天 2、SELECT * FROM sysLog where creatDate between dateadd(week, datediff(week,0,GETDATE()-1),0) a...
2019-08-18 11:42:27
3620
3
原创 js获取ajax中的返回值
js获取ajax中的返回值function zdy_post_data() { var datas=null;//定义一个全局变量 $.ajax({ type: "post", async:false, **//这句必须写,同步处理** url: apiConfig+'/log/logControl...
2019-08-16 12:04:45
12431
1
原创 NodeJs的安装
一、第一步安装nodejs环境,并配置环境变量https://www.cnblogs.com/zhouyu2017/p/6485265.html二、第二步安装vue脚手架https://blog.youkuaiyun.com/m0_37479246/article/details/78836686...
2019-08-02 11:48:19
95
原创 跨域共享cookie
#######前端cookie跨域问题(微服务框架,前后端分离项目。两个系统之间)$.ajax({ type: "post", url: apiConfig+"/test/selectUserByCodeAndPassword", async: false, data: { userCode: userCo...
2019-07-08 11:38:59
3183
原创 springBoot配置sql打印
一、引入jar包<!-- 日志 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j</artifactId> <version>1.3.8.REL...
2019-07-03 14:19:29
14982
原创 滚动条样式设置
操作对象是页面中的calss=layui-field-box的元素 .layui-field-box{ height:630px; overflow:auto; } .layui-field-box::-webkit-scrollbar-thumb{ border-radius: 10px; -webkit-box-sha...
2019-06-26 13:56:53
678
原创 json转二维数组
########json转二维数组public class JsonToArrayList { /** *方法1: */ public static List<String[]> JsonToList(String json){ ArrayList<String[]> list=new ArrayList<&g...
2019-06-24 10:41:51
3404
原创 使用递归遍历一个结构树(layui)
使用递归遍历一个结构树(layui)1.后台代码@PostMapping("selectDepts") public List<Object> findTypeTree() throws Exception { List<Dept> depts = deptMapper.queryDepts();//查出所有部门 List<...
2019-06-24 10:38:20
4178
3
原创 树形结构sql查找
查找父子节点,在一张表中– with 一个临时表(括号里包括的是你要查询的列名)with tem_table(dept_id,parent_id,dept_name,curlevel,havechild)as(–1,初始查询(这里的parent_id='000’是我门数据中最底层的根节点)select dept_id, parent_id, dept_name, 1 as lev...
2019-06-10 15:42:31
2729
原创 SVN更新失败,需要执行clean up 操作
SVN更新失败,需要执行clean up 操作一、svn更新失败使用svn遇到的问题是,更新失败,代码被锁定。解决办法:在项目上右键,如图所示:图一:图二:之后再更新,基本上都没有问题了。如果还有问题,看下面。二、工具清理如果上面清理不成功,那么可能是项目中.svn文件夹中的wc.db文件中有乱码解决方式:第一步:https://www.sqlite.org/downl...
2019-05-26 11:02:13
10592
3
原创 文件上传的大小在springboot中进行配置
文件上传的大小在springboot中进行配置#Spring Boot1.3.X and earlier multipart.maxFileSize=100Mb multipart.maxRequestSize=100Mb#Spring Boot 1.4.x and 1.5.x springboot.http.multipart.maxFileSize=100Mb ...
2019-05-20 14:28:35
337
原创 layui下拉框数据根据数据库获取的数据进行回填选中
layui下拉框数据根据数据库获取的数据进行回填选中代码如下:$.each(res.data.tlist, function(index,obj) { $(".clftable1").append("<tr class='forclf'><td class='qxzdq3' style='background-color: #009688;'><a cla...
2019-05-05 12:16:37
4098
原创 layui渲染失效的解决办法(radio、select等失效)
layui加载模块如果加载的模块是:layui.js在layui进行渲染的时候,必须在中进行渲染在页面加载的时候,使用:<script> layui.use('form', function() { var form = layui.form; form.render(); }); </script>到此,页面中的radio,以及select就可以正常显示...
2019-04-28 12:14:58
8278
4
转载 cors跨域资源共享问题
一、CORS(跨域资源共享)CORS是一个W3C标准,全称是“跨域资源共享”,它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从而克服了Ajax只能同源使用的限制。CORS需要浏览器和服务器同时支持。目前,所有浏览器都支持该功能,IE浏览器不能低于IE10。整个CORS通信过程,都是浏览器自动完成,不需要用户参与。对于开发者来说,CORS通信与同源的AJAX通信没有差别,代码完...
2019-03-22 13:25:35
169
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人