随笔分类 -  java

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要:https://blog.csdn.net/weixin_41888813/article/details/82885938 阅读全文
posted @ 2022-02-18 17:57 八英里 阅读(756) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/lxj_1993/article/details/109451567 阅读全文
posted @ 2022-02-18 17:55 八英里 阅读(363) 评论(0) 推荐(0)
摘要:Bean with name 'orderChargeCarServiceImpl' has been injected into other beans [orderCarServiceImpl] in its raw version as part of a circular reference 阅读全文
posted @ 2022-02-15 10:07 八英里 阅读(931) 评论(0) 推荐(0)
摘要:/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi 阅读全文
posted @ 2022-02-08 17:25 八英里 阅读(113) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/2f79ee33c8ad https://www.freesion.com/article/24951147266/ https://segmentfault.com/a/1190000013341344 https://blog.csdn.net 阅读全文
posted @ 2022-02-08 16:34 八英里 阅读(52) 评论(0) 推荐(0)
摘要:REQUIRED : 如果存在事务,就在当前事务里运行,否则的话就创建一个新的事务 (默认) NESTED:如果当前事务存在,则在嵌套事务中执行 看起来两个似乎作用是相同的,但是REQUIRED会跟着父任务一同提交,一同失败 。 而NESTED是 如果当前事务出现异常,本身进行回滚操作,但是父任务不 阅读全文
posted @ 2022-02-08 15:51 八英里 阅读(414) 评论(0) 推荐(0)
摘要:MyBatis Plus 添加多租户功能后 对某个Mapper方法 忽略多租户处理: 使用注解 @InterceptorIgnore(tenantLine = "true") 阅读全文
posted @ 2022-02-08 14:24 八英里 阅读(4068) 评论(1) 推荐(0)
摘要:1、所有属性为private 2、提供默认构造方法 3、提供getter和setter 4、实现serializable接口 凡事被spring 创建的对象才能成为spring 的bean 阅读全文
posted @ 2022-02-04 18:54 八英里 阅读(82) 评论(0) 推荐(0)
摘要:public static void main(String[] args) { // 循环遍历Map的4中方法 Map<Integer, Integer> map = new HashMap<Integer, Integer>(); map.put(1, 2); // 1. entrySet遍历, 阅读全文
posted @ 2022-01-25 14:53 八英里 阅读(171) 评论(0) 推荐(0)
摘要:方法一: Controller中注入service的时候使用@Autowired自动注入,@Qualifier("beanId")来指定注入哪一个。 方法二: Controller中注入service的时候使用@Resource(type = 类名.class)来指定注入哪一个。 方法三: 每个se 阅读全文
posted @ 2022-01-24 09:58 八英里 阅读(306) 评论(0) 推荐(0)
摘要:对于同一个方法,上面加了n个注解,如下所示。 @AnnotationOne @AnnotationTwo public void test() { ……………………………… } 如果,不加order来强制表示顺序的话,这2个注解执行的默认顺序是什么样子的呢? 经查阅Spring官方文档https:/ 阅读全文
posted @ 2022-01-17 13:59 八英里 阅读(805) 评论(0) 推荐(0)
摘要:UpdateWrapper<LogisticsOrderCharge> chargeUpdateWrapper = new UpdateWrapper<>();chargeUpdateWrapper.set("update_time",new Date());if(costType == Logis 阅读全文
posted @ 2021-12-30 11:17 八英里 阅读(383) 评论(0) 推荐(0)
摘要:enum switch case label must be the unqualified name of an enumeration constant 或 错误: 枚举 switchcase 标签必须为枚举常量的非限定名称case ColorType.GREEN: 在咱们Android开发中, 阅读全文
posted @ 2021-12-29 09:22 八英里 阅读(1416) 评论(0) 推荐(0)
摘要:private final TransactionTemplate transactionTemplate; 阅读全文
posted @ 2021-12-22 19:17 八英里 阅读(44) 评论(0) 推荐(0)
摘要:@TableField(exist = false) 阅读全文
posted @ 2021-12-17 17:44 八英里 阅读(63) 评论(0) 推荐(0)
摘要:@ApiModelProperty("资源状态名称") private String statusName; @Override public void setStatus(Integer status) { super.setStatus(status); this.statusName = En 阅读全文
posted @ 2021-12-17 15:55 八英里 阅读(19) 评论(0) 推荐(0)
摘要:接受两个参数的函数是BiFunction: BiFunction<Integer, Integer, Integer> f3 = (x, y) -> x + y; 不接受参数的函数是Supplier: Supplier<Double> f4 = () -> Math.random(); 或相当于: 阅读全文
posted @ 2021-12-12 21:33 八英里 阅读(4706) 评论(0) 推荐(0)
摘要:package com.exe.competency.service.impl; import com.exe.competency.domain.RuleParam; import com.exe.competency.domain.RuleResult; import org.springfra 阅读全文
posted @ 2021-12-12 10:25 八英里 阅读(852) 评论(0) 推荐(0)
摘要:<sql id = "Condition_List"> <!-- 根据资源商类型查询 --> <if test="query.partnerType != null" > and a.type = #{query.partnerType} </if> <!-- 根据所在地查询 --> <if tes 阅读全文
posted @ 2021-12-09 20:35 八英里 阅读(238) 评论(0) 推荐(0)
摘要:OrderCharge oc = new OrderCharge();oc.setProcessInstanceId(spNo);LambdaUpdateWrapper<OrderCharge> luw = new LambdaUpdateWrapper<>();luw.eq(OrderCharge 阅读全文
posted @ 2021-11-26 15:07 八英里 阅读(356) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页