Commit 82c7cf68 authored by lcl's avatar lcl

u

parent ad91e8d8
......@@ -32,7 +32,7 @@ public class ContactInfo implements Serializable {
/**
* 项目id
*/
private Integer projectId;
private Integer businessId;
/**
* 姓名
*/
......
......@@ -13,7 +13,7 @@ public class ContactInfoSearchDto implements Serializable {
/**
* 项目id
*/
private Integer projectId;
private Integer businessId;
/**
* 企业名称
*/
......
......@@ -29,7 +29,7 @@ public class ContactInfoListVo implements Serializable {
/**
* 项目id
*/
private Integer projectId;
private Integer businessId;
/**
* 项目名称
*/
......@@ -66,6 +66,10 @@ public class ContactInfoListVo implements Serializable {
* 企业名称
*/
private String companyName;
/**
* 备注
*/
private String remark;
/**
* 更新人
*/
......
......@@ -4,14 +4,14 @@
<select id="selectPageList" resultType="com.dsk.system.domain.customer.vo.ContactInfoListVo">
select
cc.id, cc.customer_id, cc.project_id, bi.project_name, cc.name, cc.sex, cc.role,
cc.position, cc.contact_information, cc.company_id, cc.uip_id, cc.company_name,
cc.id, cc.customer_id, cc.business_id, bi.project_name, cc.name, cc.sex, cc.role,
cc.position, cc.contact_information, cc.company_id, cc.uip_id, cc.company_name, cc.remark,
cc.update_by
from contact_info cc
left join business_info bi on cc.project_id = bi.id
left join business_info bi on cc.business_id = bi.id
<where>
<if test="customerId != null and customerId !='' "> and (cc.customer_id = #{customerId} or bi.customer_id = #{customerId})</if>
<if test="projectId != null "> and cc.project_id = #{projectId} </if>
<if test="businessId != null "> and cc.business_id = #{businessId} </if>
</where>
order by cc.create_time desc
</select>
......
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