【脚本】二代程序,因合并客户资料导致数据上传卡死
2018-08-27    
1163 0
由于二代印特程序存在的部分bug,导致客户资料合并后,影响数据无法正常上传。
  • 查询同步指令

    select * from sys_syncpushtoshare where  ObjectVersion = '批次编号'

    -------------------(2代查询并修复合并资料错误语句)--------------------

    Select ObjectValues from SYS_SyncPushToShare where ObjectValues like 'Update CRM_CustomerPoint Set Code = %' (查询出所有指令中缺少'的命令)

  • 修正同步指令

    Update SYS_SyncPushToShare Set ObjectValues ='

    Update CRM_CustomerPoint Set Code = ''客户编号'' Where Code = ''客户编号'' and PointYear = 年份 ' Where Code ='积分编号'

    Select ObjectValues from SYS_SyncPushToShare where ObjectValues like 'Update CRM_CustomerPoint Set Code = %'

    Select Replace(ObjectValues,' Where',''' Where' ) from SYS_SyncPushToShare where ObjectValues like 'Update CRM_CustomerPoint Set Code = %'

    --------------------(2代查询并修复合并资料错误语句)-------------------

    Update SYS_SyncPushToShare Set  ObjectValues = Replace(ObjectValues,' Where',''' Where') Where  ObjectValues like 'Update CRM_CustomerPoint Set Code = %'
     (修正所有指令中存在缺少’的命令)

该文章对您有用吗?

非常感谢,您的反馈对我们很有价值!

客服电话

4006757966

微信公众号

联系我们

印特3系演示版

申请

印特5系演示版

申请

免费试用

印特软件标准演示版下载申请

请您填写您的一些信息,提交您的申请后,我们会在两个工作日内进行处理,并回复您一封邮件,内附下载链接,请您注意查收。
*
请输入正确的公司名称
*
请输入正确的联络人员
*
请输入正确的联络电话
提交申请
关闭