同步所有单位
  1. --团体任务【新增】
  2. insert into TBL_HANDLELOG(BUSCODE, KEYID, HANDLETYPE, STATUS, MEMO,CREATEDATE)
  3. select 'COMPANYADD', RWID00,2,0,'团体任务【新增】',(select sysdate from dual) from HM_YW_TTRW00;
同步所有单位分组,同步到现场变成单位套餐
  1. --任务分组【新增】
  2. insert into TBL_HANDLELOG(BUSCODE, KEYID, HANDLETYPE, STATUS, MEMO,CREATEDATE)
  3. select 'MEALCHANGE', RWFZID,2,0,'任务分组【新增】',(select sysdate from dual) from HM_YW_TTRWFZ where rwid00='1282';
同步订单
  1. --订单
  2. insert into TX_JK.TBL_HANDLELOG(BUSCODE, KEYID, HANDLETYPE, STATUS, MEMO,CREATEDATE)
  3. select 'GROUPPERSON',TJH000,2,0,'备单任务,订单状态'||YDJ000||'【修改】',(select sysdate from dual) from HM_YW_TJZ000 where rwid00='1607'
文档更新时间: 2023-07-21 17:09