-- ----------------------------

-- Records of t_wf_model

-- ----------------------------

  DELETE FROM t_wf_model WHERE fid='778011423258309632';

  INSERT INTO t_wf_model (FID, FVERSION, FMODIFYDATE, FPNGID, FTYPE, FOPERATION, FCREATEDATE, FNUMBER, FDEPLOYMENTID, FBPMNXMLID, FGRAPHID, FENTRABILL, FPARENTPROCID, FMODIFIERID, FORGUNITID, FCATEGORY, FCREATORID, FENTRABILLID, FPUBLISH) VALUES ('778011423258309632', ' ', {ts'2019-12-19 09:42:28'}, '0', 'AuditFlow', 'submit', {ts'2019-12-19 09:42:28'}, 'Proc_er_checkingpaybill_audit_1', '0', '778011429742594048', '0', 'er_checkingpaybill', '0', '1', '100000', '404194390785943552', '1', '12//IHR+8/K=', '0');



-- ----------------------------

-- Records of t_wf_model_l

-- ----------------------------

  DELETE FROM t_wf_model_l WHERE fpkid='0FBFISUV2NNY';

  INSERT INTO t_wf_model_l (FID, FPKID, FLOCALEID, FDESCRIPTION, FNAME) VALUES ('778011423258309632', '0FBFISUV2NNY', 'zh_CN', ' ', '商旅付款申请单审批流程');



-- ----------------------------

-- Records of t_wf_proccate

-- ----------------------------

  DELETE FROM t_wf_proccate WHERE fid='404194390785943552';

  INSERT INTO t_wf_proccate (FID, FMODIFYDATE, FMODIFIER, FISLEAF, FCREATEDATE, FPARENTID, FCREATER, FAPPLICATIONID, FNUMBER) (SELECT '404194390785943552', {ts'2018-07-12 16:22:06'}, '1250', '1', {ts'2018-07-12 16:22:06'}, '330957102636178432', '1250', '10MYBGBYHXDU', 'EM' FROM DUAL WHERE NOT EXISTS (select 1 from t_wf_proccate where fapplicationid='10MYBGBYHXDU'));



-- ----------------------------

-- Records of t_wf_proccate_l

-- ----------------------------

  DELETE FROM t_wf_proccate_l WHERE fpkid='/8MEZL08SBAG';

  INSERT INTO t_wf_proccate_l (FID, FPKID, FLOCALEID, FDESCRIPTION, FNAME) (SELECT '404194390785943552', '/8MEZL08SBAG', 'zh_CN', '费用核算、商旅结算', '费用' FROM DUAL WHERE EXISTS (select 1 from t_wf_proccate where fid='404194390785943552'));



-- ----------------------------

-- Records of t_wf_proccate

-- ----------------------------

  DELETE FROM t_wf_proccate WHERE fid='330957102636178432';

  INSERT INTO t_wf_proccate (FID, FMODIFYDATE, FMODIFIER, FISLEAF, FCREATEDATE, FPARENTID, FCREATER, FAPPLICATIONID, FNUMBER) (SELECT '330957102636178432', {ts'2018-04-02 15:12:41'}, '100', '0', {ts'2018-04-02 15:12:41'}, '10000', '100', '83bfebc8000002ac', 'FI' FROM DUAL WHERE NOT EXISTS (select 1 from t_wf_proccate where fapplicationid='83bfebc8000002ac'));



-- ----------------------------

-- Records of t_wf_proccate_l

-- ----------------------------

  DELETE FROM t_wf_proccate_l WHERE fpkid='11PMZTA6KOUV';

  INSERT INTO t_wf_proccate_l (FID, FPKID, FLOCALEID, FDESCRIPTION, FNAME) (SELECT '330957102636178432', '11PMZTA6KOUV', 'zh_CN', ' ', '财务云' FROM DUAL WHERE EXISTS (select 1 from t_wf_proccate where fid='330957102636178432'));



  update t_wf_model set fcategory = (select fid from t_wf_proccate where fapplicationid = '10MYBGBYHXDU') where fid = '778011423258309632';


  update t_wf_proccate set fparentid = '330957102636178432' where fid = '404194390785943552';


-- ----------------------------

-- Records of t_wf_gebytearray

-- ----------------------------

  DELETE FROM t_wf_gebytearray WHERE fid='778011429742594048';

  INSERT INTO t_wf_gebytearray (FID, FCONTENT, FGENERATED, FNAME, FDEPLOYMENTID, FCURRENTLANGUAGE) VALUES ('778011429742594048', ' ', '0', 'Proc_er_checkingpaybill_audit_1.graph_json', '0', 'zh_CN');



-- ----------------------------

-- Records of t_wf_gebytearray_l

-- ----------------------------

  DELETE FROM t_wf_gebytearray_l WHERE fpkid='0FBFISX9CGBI';

  INSERT INTO t_wf_gebytearray_l (FID, FPKID, FLOCALEID, FCONTENT) VALUES ('778011429742594048', '0FBFISX9CGBI', 'zh_CN', ' ');



-- ----------------------------

-- Records of t_wf_billsubjectmodel

-- ----------------------------

