linwe
2023-12-25 2a9e6607e55733e16e040999840563f7d7f0596d
src/main/java/org/springblade/modules/property/service/impl/PropertyCapitalApplyServiceImpl.java
@@ -69,7 +69,7 @@
      // 判断角色,物业角色只能查询当前小区的
      String userRole = AuthUtil.getUserRole();
      if (userRole.equals("wygly")) {
      if (userRole.contains("wygly")) {
         IPropertyDistrictUserService bean = SpringUtils.getBean(IPropertyDistrictUserService.class);
         List<String> strings = bean.selectPropertyDistrictByUserId(AuthUtil.getUserId());
         propertyCapitalApply.setDistrictIdList(strings);
@@ -97,6 +97,8 @@
      IOwnersCommitteeService bean = SpringUtils.getBean(IOwnersCommitteeService.class);
      OwnersCommitteeEntity one = bean.getOne(Wrappers.<OwnersCommitteeEntity>lambdaQuery()
         .eq(OwnersCommitteeEntity::getAreaId, applyVO.getDistrictId())
         .eq(OwnersCommitteeEntity::getDeleteFlag,0)
         .eq(OwnersCommitteeEntity::getStatus,0)
         .last("limit 1"));
      Integer ownersCommitteeFlag = CommonConstant.NUMBER_TWO;
      if (one != null && one.getPrincipalId() != null) {