Commit fdc57259 by huangZW

111

parent 10ce9811
......@@ -9,7 +9,9 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gic.commons.util.EntityUtil;
import com.gic.enterprise.api.dto.EnterpriseDTO;
import com.gic.enterprise.api.dto.GicTreeDTO;
import com.gic.enterprise.api.service.EnterpriseService;
import com.gic.enterprise.api.service.StoreGroupService;
import com.gic.haoban.common.utils.UuidUtil;
import com.gic.haoban.manage.api.dto.EnterpriseDetailDTO;
......@@ -29,7 +31,8 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
private WxEnterpriseRelatedMapper wxEnterpriseRelatedMapper;
@Autowired
private WxEnterpriseRelatedService wxEnterpriseRelatedService;
@Autowired
private EnterpriseService enterpriseService;
@Autowired
private StoreGroupService storeGroupService;
@Autowired
......@@ -51,6 +54,9 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
logger.info("【企业数量】gicAllCount={},syncCount={}",gicAllCount,syncCount);
int nodeCount = gicAllCount - syncCount;
enterpriseDetailDTO.setNodeCount(nodeCount);
EnterpriseDTO enterpriseDTO = enterpriseService.getEnterpriseById(enterpriseId);
enterpriseDetailDTO.setEnterpriseName(enterpriseDTO.getEnterpriseName());
enterpriseDetailDTO.setEnterpriseLogo(enterpriseDTO.getQcloudImageUrl());
}
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment