BAOLH
2026-11-10 c5dfc09145e4e10f99dbf388a4a1433b5c2973e5
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/CustomerResourcesServiceImpl.java
@@ -15,8 +15,6 @@
 */
package me.zhengjie.modules.system.service.impl;
import me.zhengjie.modules.business.service.BusinessPlanService;
import me.zhengjie.modules.business.service.dto.BusinessPlanDto;
import me.zhengjie.modules.constant.Constant;
import me.zhengjie.modules.quartz.service.impl.WeComServiceImpl;
import me.zhengjie.modules.system.domain.CustomerResources;
@@ -60,7 +58,6 @@
    private final UserRepository userRepository;
    private final WeComServiceImpl weComService;
    private final CustomerResourcesUserRepository customerResourcesUserRepository;
    private final BusinessPlanService businessPlanService;
    @Override
    public Map<String, Object> queryAll(CustomerResourcesQueryCriteria criteria, Pageable pageable) {
@@ -71,10 +68,6 @@
            public CustomerResourcesDto apply(CustomerResources t) {
                // 将实体类转换成DTO
                CustomerResourcesDto customerResourcesDto = customerResourcesMapper.toDto(t);
                // 获取营业计划
                BusinessPlanDto businessPlanDto = businessPlanService.findById(customerResourcesDto.getBusinessPlanId());
                customerResourcesDto.setBusinessPlanContent(businessPlanDto.getBusinessContent());
                // 返回处理好的DTO
                return customerResourcesDto;