摘要:
原图: 、 效果: 代码: public static void main(String[] args) throws IOException { BufferedImage image = ImageIO.read(new FileInputS... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(214)
评论(0)
推荐(0)
摘要:
修改存储过程时报错 解决办法: DROP PROCEDURE _Navicat_Temp_Stored_Proc 原因是PROCEDURE _Navicat_Temp_Stored_Proc已存在 如果你觉得这篇内容对你挺有启发请点赞+关注 ... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(253)
评论(0)
推荐(0)
摘要:
是权限问题,授权 给 root 所有sql 权限 8.0以下的MySQL数据库可以这么写 grant all privileges on *.* to root@"%" identified by ".";flush privileges; 8.0以上就不能... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(0)
评论(0)
推荐(0)
摘要:
wx.getLocation({ type: 'wgs84', //wgs84 success: (res) => { var lat = res.latitude ... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(1660)
评论(0)
推荐(0)
摘要:
// 创建WebService客户端代理工厂 JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); // 判断是否抛出异常 factory.get... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(118)
评论(0)
推荐(0)
摘要:
今天搭了个项目的测试环境 结果同样的数据库 同样的代码app端登录都报错 最后知道在控制台看见(utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) 发现项目的编码和数据库的编码不一样,解决就很... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(253)
评论(0)
推荐(0)
摘要:
select s1.*,s2.*,n.id as nidfrom sec_leave as s1LEFT JOIN sec_employee as s2 on s1.empid = s2.idLEFT JOIN sec_noticemessage n on n... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(137)
评论(0)
推荐(0)
摘要:
仔细对照测试数据(根据ID)可以发现数据不是多了而是时间不对 仔细一查看原来项目设置的时区有问题 但我又不能改时区,于是改了下查询语句 DATE_FORMAT(bgsj,'%Y-%m-%d %H:%i:%s') 给时间加个转换就没问题了 ... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(81)
评论(0)
推荐(0)
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'up_wjmc
摘要:
报错: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'up_wjmc' at row 1 数据库一看up_wjmc字段太... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(0)
评论(0)
推荐(0)
摘要:
代码:存储过程中 set id_pds =(select count(user_id) from sys_user_role where user_id=user_id_bl and role_id=bl_juese);select CONCAT(id_pd... 阅读全文
posted @ 2022-07-16 13:52
深山藏古客
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号