@ -68,10 +68,35 @@ public class CrmCustomerInfo extends TenantEntity {
private Long ownerId;
/**
* 详细地址
* 办公地
*/
private String detailedAddress;
* 注册地
private String registeredAddress;
* 商务联系人
private String businessContact;
* 商务联系人电话
private String businessContactPhone;
* 技术联系人
private String technicalContact;
* 技术联系人电话
private String technicalContactPhone;
* 企业规模(10人以内 10-20人 21人-50人 51人-200人 201人-500人 500人以上)
@ -66,10 +66,35 @@ public class CrmCustomerInfoBo extends BaseEntity {
@ -94,11 +94,41 @@ public class CrmCustomerInfoVo implements Serializable {
private String ownerName;
@ExcelProperty(value = "详细地址")
@ExcelProperty(value = "办公地")
@ExcelProperty(value = "注册地")
@ExcelProperty(value = "商务联系人")
@ExcelProperty(value = "商务联系人电话")
@ExcelProperty(value = "技术联系人")
@ExcelProperty(value = "技术联系人电话")
@ -1,13 +1,46 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.dromara.oa.crm.mapper.CrmCustomerInfoMapper">
<resultMap type="org.dromara.oa.crm.domain.vo.CrmCustomerInfoVo" id="CrmCustomerInfoResult">
</resultMap>
<select id="selectCustomCrmCustomerInfoVoList" resultMap="CrmCustomerInfoResult">
select customer_id, tenant_id, customer_name, mnemonic_name, industry_id, customer_type, customer_status, customer_level, customer_source, owner_id, detailed_address, customer_scale, parent_customer_id, customer_relationship, legal_representative, business_license_number, tax_number, bank_account_opening, bank_number, oss_id, remark, active_flag, del_flag, create_dept, create_by, create_time, update_by, update_time from crm_customer_info t
select customer_id,
tenant_id,
customer_name,
mnemonic_name,
industry_id,
customer_type,
customer_status,
customer_level,
customer_source,
owner_id,
detailed_address,
registered_address,
business_contact,
business_contact_phone,
technical_contact,
technical_contact_phone,
customer_scale,
parent_customer_id,
customer_relationship,
legal_representative,
business_license_number,
tax_number,
bank_account_opening,
bank_number,
oss_id,
remark,
active_flag,
del_flag,
create_dept,
create_by,
create_time,
update_by,
update_time
from crm_customer_info t
${ew.getCustomSqlSegment}
</select>