上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: Cannot resolve org.springframework.boot... 查看本地仓库下载不完整 网上查到的解决方案 1, 到自己的.m2 文件夹或者指定的maven路径下把 xxx.lastUpdated文件全部删掉,重新运行maven 2, 或者在用maven时加 -U参数,就可以忽 阅读全文
posted @ 2021-12-02 11:43 TIFOSI_Z 阅读(765) 评论(0) 推荐(0)
摘要: 网上看大部分是断点引起的问题 但是本项目的问题不同 在于 @Configuration public class WsConfig { @Value("${ws.username}") private String userName; @Value("${ws.password}") private 阅读全文
posted @ 2021-11-25 16:55 TIFOSI_Z 阅读(343) 评论(0) 推荐(0)
摘要: Java中Long类型向前端返回值 主要在id之类的字段上 需要将Long转为String 例如: agencyId: "258323682286370816" 如果不转换直接传Long的话 就会变成 造成越界 数据错误 agencyId: 258323682286370800 阅读全文
posted @ 2021-11-16 11:03 TIFOSI_Z 阅读(90) 评论(0) 推荐(0)
摘要: //将两个类同名属性 source的布尔值 设置到目标值的同名字符类别属性上 true->"1" false->"0" public static void setSameNameField(Object source, Object target) throws InvocationTargetE 阅读全文
posted @ 2021-11-15 17:30 TIFOSI_Z 阅读(231) 评论(0) 推荐(0)
摘要: //此处用的包是 package org.springframework.beans; public static void copyProperties(Object source, Object target) throws BeansException { copyProperties(sou 阅读全文
posted @ 2021-11-02 17:25 TIFOSI_Z 阅读(43) 评论(0) 推荐(0)
摘要: @RequiredArgsConstructor(onConstructor_ = @Autowired) public class V3CauseCustomDaoImpl implements V3CauseCustomDao { private final BiDao biDao;privat 阅读全文
posted @ 2021-10-26 15:46 TIFOSI_Z 阅读(50) 评论(0) 推荐(0)
摘要: //判断处罚类型和金额 predicates.add( builder.or( builder.and( builder.equal(root.get("targetType"), TargetType.TARGET_TYPE_1.getType()), builder.greaterThanOrE 阅读全文
posted @ 2021-10-26 14:43 TIFOSI_Z 阅读(247) 评论(0) 推荐(0)
摘要: https://ttys3.dev/post/openssh-8-8-p1-no-matching-host-key-type-found-their-offer-ssh-rsa/ Unable to negotiate with 47.98.49.44 port 22: no matching h 阅读全文
posted @ 2021-10-22 14:48 TIFOSI_Z 阅读(414) 评论(0) 推荐(0)
摘要: 运行sql文件导入数据的时候 文本字段数据过长; 查看通信缓冲区的最大长度: show global variables like 'max_allowed_packet';//变更最大长度16为16M 这个值要比导入的sql文件占用空间大才可以set global max_allowed_pack 阅读全文
posted @ 2021-09-07 10:49 TIFOSI_Z 阅读(81) 评论(0) 推荐(0)
摘要: 查询语句 SELECT#c.TABLE_SCHEMA AS'数据库名',c.TABLE_NAME AS'表名', t.TABLE_COMMENT '中文表名', c.COLUMN_NAME AS'列名', c.COLUMN_TYPE AS'类型', c.COLUMN_DEFAULT AS'默认值', 阅读全文
posted @ 2021-08-11 09:45 TIFOSI_Z 阅读(91) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页