feat(sip): 项目信息中增加客户用户名和电话字段
- 在 ProjectInfo 类中添加 customerUserName 和 customerPhone 字段 - 更新 ProjectInfoMapper.xml,增加客户用户名和电话的查询和插入逻辑master
parent
ca345fabac
commit
26646ad301
|
@ -42,6 +42,8 @@ public class ProjectInfo extends BaseEntity
|
|||
/** 客户名称 */
|
||||
@Excel(name = "客户名称")
|
||||
private String customerName;
|
||||
private String customerUserName;
|
||||
private String customerPhone;
|
||||
|
||||
/** 行业 */
|
||||
@Excel(name = "行业")
|
||||
|
|
|
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<sql id="selectProjectInfoVo">
|
||||
select id, project_code, project_name,bg_property, customer_code, customer_name, industry_type, agent_code, project_stage, project_grasp_degree, hz_support_user, operate_institution
|
||||
, partner_code, partner_name, contact_way, estimated_amount, currency_type, estimated_order_time, estimated_deliver_time, competitor, country_product, server_configuration
|
||||
, key_problem, project_desc, create_by, create_time, update_by, update_time from project_info t1
|
||||
, key_problem, project_desc, create_by, create_time, update_by, update_time,customer_user_name,customer_phone from project_info t1
|
||||
</sql>
|
||||
<sql id="selectRelationProjectInfoVo">
|
||||
select t1.id,
|
||||
|
@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
t1.create_time,
|
||||
t1.update_by,
|
||||
t1.update_time,
|
||||
t1.customer_user_name,t1.customer_phone,
|
||||
t2.agent_name,
|
||||
t3.user_name as hz_support_user_name
|
||||
from project_info t1
|
||||
|
@ -172,6 +173,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="projectName != null">project_name,</if>
|
||||
<if test="customerCode != null">customer_code,</if>
|
||||
<if test="customerName != null">customer_name,</if>
|
||||
<if test="customerUserName != null">customer_user_name,</if>
|
||||
<if test="customerPhone != null">customer_phone,</if>
|
||||
<if test="industryType != null">industry_type,</if>
|
||||
<if test="bgProperty != null">bg_property,</if>
|
||||
<if test="agentCode != null">agent_code,</if>
|
||||
|
@ -201,6 +204,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="projectName != null">#{projectName},</if>
|
||||
<if test="customerCode != null">#{customerCode},</if>
|
||||
<if test="customerName != null">#{customerName},</if>
|
||||
<if test="customerUserName != null">#{customerUserName},</if>
|
||||
<if test="customerPhone != null">#{customerPhone},</if>
|
||||
<if test="industryType != null">#{industryType},</if>
|
||||
<if test="bgProperty != null">#{bgProperty},</if>
|
||||
<if test="agentCode != null">#{agentCode},</if>
|
||||
|
@ -234,6 +239,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="projectName != null">project_name = #{projectName},</if>
|
||||
<if test="customerCode != null">customer_code = #{customerCode},</if>
|
||||
<if test="customerName != null">customer_name = #{customerName},</if>
|
||||
<if test="customerUserName != null">customer_user_name=#{customerUserName},</if>
|
||||
<if test="customerPhone != null">customer_phone=#{customerPhone},</if>
|
||||
<if test="bgProperty != null">bg_property=#{bgProperty},</if>
|
||||
<if test="industryType != null">industry_type = #{industryType},</if>
|
||||
<if test="agentCode != null">agent_code = #{agentCode},</if>
|
||||
|
|
Loading…
Reference in New Issue