|
|
|
@ -1,13 +1,46 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="org.dromara.oa.crm.mapper.CrmCustomerInfoMapper">
|
|
|
|
<mapper namespace="org.dromara.oa.crm.mapper.CrmCustomerInfoMapper">
|
|
|
|
<resultMap type="org.dromara.oa.crm.domain.vo.CrmCustomerInfoVo" id="CrmCustomerInfoResult">
|
|
|
|
<resultMap type="org.dromara.oa.crm.domain.vo.CrmCustomerInfoVo" id="CrmCustomerInfoResult">
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectCustomCrmCustomerInfoVoList" resultMap="CrmCustomerInfoResult">
|
|
|
|
<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}
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|