CRM:完善 excel 导出 review 提到的问题
parent
1f35ef59d1
commit
f56fab932a
@ -1,35 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.crm.framework.excel.service;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.excel.core.service.ExcelColumnSelectDataService;
|
|
||||||
import cn.iocoder.yudao.module.system.api.dict.DictDataApi;
|
|
||||||
import jakarta.annotation.Resource;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_INDUSTRY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Excel 客户所属行业列下拉数据源获取接口实现类
|
|
||||||
*
|
|
||||||
* @author HUIHUI
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
public class CrmCustomerIndustryExcelColumnSelectDataServiceImpl implements ExcelColumnSelectDataService {
|
|
||||||
|
|
||||||
public static final String FUNCTION_NAME = "getCrmCustomerIndustryList";
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private DictDataApi dictDataApi;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getFunctionName() {
|
|
||||||
return FUNCTION_NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<String> getSelectDataList() {
|
|
||||||
return dictDataApi.getDictDataLabelList(CRM_CUSTOMER_INDUSTRY);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.crm.framework.excel.service;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.excel.core.service.ExcelColumnSelectDataService;
|
|
||||||
import cn.iocoder.yudao.module.system.api.dict.DictDataApi;
|
|
||||||
import jakarta.annotation.Resource;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_LEVEL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Excel 客户等级列下拉数据源获取接口实现类
|
|
||||||
*
|
|
||||||
* @author HUIHUI
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
public class CrmCustomerLevelExcelColumnSelectDataServiceImpl implements ExcelColumnSelectDataService {
|
|
||||||
|
|
||||||
public static final String FUNCTION_NAME = "getCrmCustomerLevelList";
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private DictDataApi dictDataApi;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getFunctionName() {
|
|
||||||
return FUNCTION_NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<String> getSelectDataList() {
|
|
||||||
return dictDataApi.getDictDataLabelList(CRM_CUSTOMER_LEVEL);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.crm.framework.excel.service;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.excel.core.service.ExcelColumnSelectDataService;
|
|
||||||
import cn.iocoder.yudao.module.system.api.dict.DictDataApi;
|
|
||||||
import jakarta.annotation.Resource;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_SOURCE;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Excel 客户来源列下拉数据源获取接口实现类
|
|
||||||
*
|
|
||||||
* @author HUIHUI
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
public class CrmCustomerSourceExcelColumnSelectDataServiceImpl implements ExcelColumnSelectDataService {
|
|
||||||
|
|
||||||
public static final String FUNCTION_NAME = "getCrmCustomerSourceList";
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private DictDataApi dictDataApi;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getFunctionName() {
|
|
||||||
return FUNCTION_NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<String> getSelectDataList() {
|
|
||||||
return dictDataApi.getDictDataLabelList(CRM_CUSTOMER_SOURCE);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue