- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 idea build java: 程序包 xxx 不存在 令人抓狂原因分析
mvn idea:module java: 程序包 xxx 不存在
2023-01-30 16:17:52
3281
2
原创 为react组件增加扩展class,解决react组件不能自定义className不生效的问题
这里写自定义目录标题为react组件增加扩展class,解决react组件不能自定义className不生效的问题最近在写shopify,发现不能对shopify的组件再次加class,弄起来很麻烦,最后研究出来了这个曲线的方法用法: 这样处理,之前组件的属性还是可以正常使用的为react组件增加扩展class,解决react组件不能自定义className不生效的问题最近在写shopify,发现不能对shopify的组件再次加class,弄起来很麻烦,最后研究出来了这个曲线的方法import Rea
2021-11-18 19:10:52
2738
原创 IntelliJ IDEA点滴记录
IDEA如何自动生成 serialVersionUID 的设置20.06.09-<idea打断点 接口打断点 高级断点>-挖掘IntelliJ IDEA的调试功能 | 懒程序员改变世界122.1 Idea debug时报错:Command line is too long[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-0EoeXQg3-1604133905352)(/tfl/captures/2020-10/tapd_49282141_base64_160
2020-10-31 16:46:05
302
1
原创 mysql hibernate在把hql转为sql的时候,把or两边的括号去掉的问题
语句1select * from credit_operation_log creditoper0_where creditoper0_.subject_id='1111' and (creditoper0_.credit_contract_id in ('2222')) or creditoper0_.customer_id='3333' and (creditoper0_.credit_contract_id is null) order by creditoper0_.create_time .
2020-09-14 14:42:05
1026
转载 Java中正则表达式(regex)匹配多行(Pattern.MULTILINE和Pattern.DOTALL模式)
转载https://www.cjavapy.com/article/68/
2020-09-03 21:46:21
940
原创 用Java获取本地的多个IP地址
https://blog.youkuaiyun.com/happy4nothing/article/details/348985`Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces();while (en.hasMoreElements()) { NetworkInterface networkinterface = en.nextElement(); System.out.println
2020-08-14 10:46:59
969
原创 JPA Criteria API - Applying isMember() and isNotMember() Predicate用法
https://www.logicbig.com/tutorials/java-ee-tutorial/jpa/criteria-api-is-member-restriction.html需要引入才会生成元模型 Employee_<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-jpamodelgen</artifactId>
2020-06-29 15:30:01
1303
原创 pandorabox 路由器访问下级路由器的子网
光猫:192.168.1.1路由器k2接光猫,ip 192.168.1.57,子网192.168.8.1newifi中继k2(跟从k2的lan口出插newifi的wan口一样)中继出来的WAN口是,ip 192.168.8.135,子网192.168.99.1需求:想要连接k2的ip 192.168.8.125访问到newifi网络中的192.168.99.100;步骤:1 k2添加静态路由,测试最好通过ssh登录添加route add -net 192.168.99.0/2
2020-06-24 21:47:20
1237
原创 redis-04 redis 吞吐量为什么那么高
redis-04 redis 吞吐量为什么那么高https://www.cnblogs.com/liang1101/p/12920564.html
2020-06-23 12:53:38
244
原创 MySQL5InnoDBDialect废弃,hibernate方言简易加载,hibernate.dialect.storage_engine=innodb
import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.context.annotation.Configuration;/** * Created by liukx on 2020/6/12 0012. */@Configurationpublic class AddSystemPropertyConfig { private static final Logger log
2020-06-12 17:56:00
4059
原创 java 通用枚举类enum转json
附上代码,利用了spring的org.springframework.beans.BeanWrapperImpl对对象的拆解/** * @description 枚举类转换为json对象 * @author liukx * @date 2020/6/3 0003 */ public static JSONObject convertEnumToJson(Enum anEnum){ JSONObject json = new JSONObjec
2020-06-03 12:06:30
4331
1
原创 swagger 忽略某个字段/参数
一起使用@ApiModelProperty(hidden=true)@JsonIgnorehttps://stackoverflow.com/questions/37381492/jsonignore-apimodelpropertyhidden-true-xmltransient-none-are-working-in-s
2019-07-30 17:02:27
19403
1
转载 先理解再记忆还是先记忆再理解
原文: http://blog.sina.com.cn/s/blog_b854b82b0102vnz8.htmlcopy过来的,为了方便自己记录先理解再记忆还是先记忆再理解先理解再记忆,上学的时候老师就是这么教的。很有道理,只有理解,才能用;理解了,记忆也就轻松了。于是,那种不求甚解的死记硬背被认为是最不科学的学习方法,被束之高阁了。关于先理解再记忆还是先记忆再理解的问题,我们可以想一下我...
2019-03-22 10:43:12
971
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人