spring bean 循环依赖,mybatis 时间段搜索

   循环依赖:in its raw version as part of a circular reference

    实际开发应避免出现循环依赖

    条件:两个地方依赖  iDsDdService 
    处理:
    
    @Autowired
    @Lazy
    IDsDdService iDsDdService; 

 

   接收参数: Date ksxdsj,Date jsxdsj

    动态sql: 

     
            AND a.xdsj between #{ksxdsj} and #{jsxdsj}
       

你可能感兴趣的:(架构)