<insert id="information.addInformationReceiver" parameterClass="information">
insert into crm.crm_t_information_receiver receiver
(
receiver.information_id,
receiver.customer_no,
receiver.create_by,
receiver.create_dt
) select
#id#,custNo,#createBy#,#createDt#
--得到custNo的值
from (
select INF.CUSTOMER_NO as custNo
from kf.kf_t_cust_inf INF where INF.customer_no IN ($customerNo$)
)
</insert>
CRM数据插入
本文介绍了一种向CRM系统中插入信息接收者数据的方法。通过SQL语句实现对CRM_t_information_receiver表的数据填充,主要包括信息ID、客户编号、创建者及创建日期等字段。此外,还涉及从kf_t_cust_inf表中获取特定客户的客户编号。

502

被折叠的 条评论
为什么被折叠?



