lin
2024-02-27 3501ca8469b1a09f22cf0d3dbbe1adf331ea814a
src/main/java/org/springblade/modules/property/service/impl/PropertyCompanyServiceImpl.java
@@ -41,6 +41,8 @@
import org.springblade.modules.property.service.IPropertyDistrictUserService;
import org.springblade.modules.property.vo.PropertyCompanyDetailVO;
import org.springblade.modules.property.vo.PropertyCompanyVO;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.modules.property.vo.PropertyDistrictInfo;
import org.springblade.modules.system.entity.Dept;
import org.springblade.modules.system.entity.User;
import org.springblade.modules.system.entity.UserDept;
@@ -207,7 +209,8 @@
   public PropertyCompanyDetailVO getPayConfig(PropertyCompanyVO propertyCompany) {
      PropertyCompanyDetailVO detail = this.getDetail(propertyCompany);
//      PropertyCompanyDetailVO detail = this.getDetail(propertyCompany);
      PropertyCompanyDetailVO detail = baseMapper.getDetailVO(propertyCompany);
      AliPayInfo pA = new AliPayInfo();
@@ -234,9 +237,14 @@
         IPropertyCompanyService bean = SpringUtil.getBean(IPropertyCompanyService.class);
         PropertyCompanyEntity propertyCompanyEntity = bean.getOne(Wrappers.<PropertyCompanyEntity>lambdaQuery().eq(PropertyCompanyEntity::getDeptId, AuthUtil.getDeptId()));
         if (propertyCompanyEntity != null) {
            return baseMapper.getDetail(BeanUtil.copyProperties(propertyCompanyEntity, PropertyCompanyVO.class));
            return baseMapper.getDetailVO(BeanUtil.copyProperties(propertyCompanyEntity, PropertyCompanyVO.class));
         }
      }
      return null;
   }
   @Override
   public PropertyDistrictInfo getPropertyDistrictInfo(PropertyDistrictInfo propertyDistrictInfo) {
      return baseMapper.getPropertyDistrictInfo(propertyDistrictInfo);
   }
}