feat(sip): 项目信息中增加合作伙伴邮箱字段
- 在 ProjectInfo 类中添加 partnerEmail 字段 - 在 ProjectInfoMapper.xml 中添加相应的 SQL 语句,以支持新增字段的查询和更新master
parent
fae63f6c75
commit
63bd43b4b8
|
@ -78,6 +78,7 @@ public class ProjectInfo extends BaseEntity
|
|||
private String partnerCode;
|
||||
@Excel(name = "代理商")
|
||||
private String partnerName;
|
||||
private String partnerEmail;
|
||||
|
||||
/** 联系方式 */
|
||||
@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,customer_user_name,customer_phone from project_info t1
|
||||
, key_problem, project_desc, create_by, create_time, update_by, update_time,customer_user_name,customer_phone,partner_email from project_info t1
|
||||
</sql>
|
||||
<sql id="selectRelationProjectInfoVo">
|
||||
select t1.id,
|
||||
|
@ -68,7 +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,
|
||||
t1.customer_user_name,t1.customer_phone,t1.partner_email,
|
||||
t2.agent_name,
|
||||
t3.user_name as hz_support_user_name
|
||||
from project_info t1
|
||||
|
@ -184,6 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="operateInstitution != null">operate_institution,</if>
|
||||
<if test="partnerCode != null">partner_code,</if>
|
||||
<if test="partnerName != null">partner_name,</if>
|
||||
<if test="partnerEmail != null">partner_email,</if>
|
||||
<if test="contactWay != null">contact_way,</if>
|
||||
<if test="estimatedAmount != null">estimated_amount,</if>
|
||||
<if test="currencyType != null">currency_type,</if>
|
||||
|
@ -215,6 +216,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="operateInstitution != null">#{operateInstitution},</if>
|
||||
<if test="partnerCode != null">#{partnerCode},</if>
|
||||
<if test="partnerName != null">#{partnerName},</if>
|
||||
<if test="partnerEmail != null">#{partnerEmail},</if>
|
||||
<if test="contactWay != null">#{contactWay},</if>
|
||||
<if test="estimatedAmount != null">#{estimatedAmount},</if>
|
||||
<if test="currencyType != null">#{currencyType},</if>
|
||||
|
@ -250,6 +252,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="operateInstitution != null">operate_institution = #{operateInstitution},</if>
|
||||
partner_code = #{partnerCode},
|
||||
<if test="partnerName != null">partner_name = #{partnerName},</if>
|
||||
<if test="partnerEmail != null">partner_email=#{partnerEmail},</if>
|
||||
<if test="contactWay != null">contact_way = #{contactWay},</if>
|
||||
<if test="estimatedAmount != null">estimated_amount = #{estimatedAmount},</if>
|
||||
<if test="currencyType != null">currency_type = #{currencyType},</if>
|
||||
|
|
Loading…
Reference in New Issue