摘要:
转自: Mybatis中使用association进行关联的几种方式 这里以一对一单向关联为例。对使用或不使用association的配置进行举例。 实体类: @Data @ToString @NoArgsConstructor public class IdCard { private Integ 阅读全文
摘要:
1.声明 某个Bean 仅在一定条件下 才初始化Bean,否则 就不初始化。 import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotat 阅读全文