摘要:
//这是按照list里面的某个属性排序 Collections Comparator comparator = Collator.getInstance(java.util.Locale.CHINA); BaseWebsiteVO a1 = BaseWebsiteVO.builder().name( 阅读全文
posted @ 2022-05-30 09:30
xxfcode
阅读(734)
评论(0)
推荐(0)
摘要:
@TableField(exist = false) private String mountName; 这样查询的sql,就没有mount_name这个属性了 因为数据库没有mount_name这个字段,但是我们实体类又用得着。 阅读全文
posted @ 2022-05-20 17:16
xxfcode
阅读(726)
评论(0)
推荐(0)
摘要:
@JsonProperty(value = "b_net_id") private String bNetId; bNetId是不会按驼峰命名转化成b_net_id,所以加这个注解 阅读全文
posted @ 2022-05-20 17:10
xxfcode
阅读(83)
评论(0)
推荐(0)
摘要:
1. 根据某个字段,求两个集合的交集 //求detailInstances和instanceOneApp交集,根据InstanceId相同 List<OrderDetailInstance> instances = detailInstances.stream() .filter(o -> inst 阅读全文
posted @ 2022-05-18 14:56
xxfcode
阅读(81)
评论(0)
推荐(0)
摘要:
OkHttpClient client = new OkHttpClient(); String credential = Credentials.basic("用户名", "密码"); MediaType mediaType = MediaType.parse("application/x-www 阅读全文
posted @ 2022-05-12 17:44
xxfcode
阅读(347)
评论(0)
推荐(0)
浙公网安备 33010602011771号