/*==============================================================*/
/* 预测计算    创建人：pengfei_he	  创建时间:20200507 */
/*==============================================================*/

IF NOT EXISTS (SELECT 1 FROM t_cr_coderule WHERE fid = '0RUFQ/78486N') 
insert into t_cr_coderule (FID, FNUMBER, FRULETYPE, FBIZOBJECTID, FSPLITSIGN, FCTRLMODE, FAPPMODE, FEXAMPLE, FEXAMPLELENGTH, FENABLE, FSTATUS, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FDISABLERID, FDISABLEDATE, FMASTERID, FISUPDATERECOVER)
values ('0RUFQ/78486N', ' ', '', 'mds_pdcc', '-', '1', '2', ' ', ' ', '1', 'C', 870245092475037000, {ts'2020-05-07 16:32:40'}, 870245092475037000, {ts'2020-05-07 16:32:40'}, null, null, '0RUFQ/78486N', '0');

IF NOT EXISTS (SELECT 1 FROM t_cr_coderule_l WHERE FPKID = '0RUFQ/784=WP')
insert into t_cr_coderule_l (FPKID, FID, FLOCALEID, FNAME)
values ('0RUFQ/784=WP', '0RUFQ/78486N', 'zh_CN', '预测计算任务编码');

IF NOT EXISTS (SELECT 1 FROM t_cr_coderule_l WHERE FPKID = '0RUFQ/784=WO')
insert into t_cr_coderule_l (FPKID, FID, FLOCALEID, FNAME)
values ('0RUFQ/784=WO', '0RUFQ/78486N', 'zh_TW', '預測計算任務編碼');

IF NOT EXISTS (SELECT 1 FROM t_cr_coderuleentry WHERE FENTRYID = '0RUFQ/9UNVL/')
insert into t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE)
values ('0RUFQ/9UNVL/', '0RUFQ/78486N', 0, '1', ' ', ' ', 'MDSPDCC', ' ', 8, 1, 1, ' ', '0', '1', '1', '0', ' ', '1');

IF NOT EXISTS (SELECT 1 FROM t_cr_coderuleentry WHERE FENTRYID = '0RUFQ/9UNVL0')
insert into t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE)
values ('0RUFQ/9UNVL0', '0RUFQ/78486N', 1, '16', '1', ' ', ' ', ' ', 8, 1, 1, ' ', '1', '1', '1', '0', '-', '1');
