java 加载bean

@Service

    @Autowired
    private ActionLogAspect actionLogAspect;
    如果无法自动加载bean,可以 @Autowired(required = false) 忽略加载

@RestController
@RequiredArgsConstructor

private final  ImComplaintService imComplaintService;

@Slf4j
@RequiredArgsConstructor
@Component

    final ActionLogAspect actionLogAspect;
   R rCount = houseInfoService.countList(mpParam);

        Map<String, Object> mp =(Map<String, Object>)rCount.getData();
R取值

Map<String,Object> rObject40 = (Map)rsWechatSADService.xx(page4,rs4).getData()

IPage p40 = (IPage)rsWechatSADService.XX(page4,rs4).getData();
posted @ 2023-07-13 15:23  寒冷的雨呢  阅读(23)  评论(0编辑  收藏  举报