DELETE FROM t_tpo_rule_fetch WHERE FID = 1768139407602547712;
INSERT INTO t_tpo_rule_fetch(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FFORMULA,FCREATORID) VALUES (1768139407602547712,1532683517396254720,'number',' ',1768139407602547712,'A','CN-BBXGZ-000139818','计算公式=递延所得税未确认底稿【上年12月计提底稿/期末余额】',{ts'2023-10-16  00:00:00'},1625975782134637568,'1',{ts'2023-10-16  00:00:00'},'BBXGZ','if(''{P[isShowWqr]}''==''true'',if({P[preyearendsbbid]}==-1,0,StringUtil.toNumber(''{M[select value from tpo_declare_detail_tsd where entryid=''#preyearendsbbid'' and cellnumber=''dysdswqr_kmbks_sh#dysds_qmye'']}'')),0.00)',1625975782134637568); 
DELETE FROM t_tpo_rule_fetch WHERE FID = 1777455070049466368;
INSERT INTO t_tpo_rule_fetch(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FFORMULA,FCREATORID) VALUES (1777455070049466368,1532683517396254720,'number',' ',1777455070049466368,'A','CN-BBXGZ-000139839','第1期或Q1时，判断上年12期或Q1是否是不确认递延所得税，若不确认递延所得税则
计算公式=暂差永差管理【年初余额.调整】*递延税税率
若上年12期或Q4是确认递延所得税，则：计算公式=0',{ts'2023-09-19  00:00:00'},1625975782134637568,'1',{ts'2023-09-19  00:00:00'},'BBXGZ','if(''{P[kmbksWqr]}''==''true'',DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_ncye_tz]} * {Q[dysds_dysdsl#dysds_ncye_tz]}/100,"#.00"),0.00)',1625975782134637568); 
DELETE FROM t_tpo_rule_fetch WHERE FID = 1768071685010927616;
INSERT INTO t_tpo_rule_fetch(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FFORMULA,FCREATORID) VALUES (1768071685010927616,1532683517396254720,'number',' ',1768071685010927616,'A','CN-BBXGZ-000139812','计算公式=上年12月计提底稿/本年变动/合计',{ts'2023-10-16  00:00:00'},1625975782134637568,'1',{ts'2023-10-16  00:00:00'},'BBXGZ','if(''{P[isShowWqr]}''==''true'',if({P[preyearendsbbid]}==-1,0,StringUtil.toNumber(''{M[select value from tpo_declare_detail_tsd where entryid=''#preyearendsbbid'' and cellnumber=''dysdswqr_kmbks_sh#dysds_bnbd_hj'']}'')),0.00)',1625975782134637568); 
DELETE FROM t_tpo_rule_fetch WHERE FID = 1777724512129891328;
INSERT INTO t_tpo_rule_fetch(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FFORMULA,FCREATORID) VALUES (1777724512129891328,1532683517396254720,'number',' ',1777724512129891328,'A','CN-BBXGZ-000139857','dysdswqr_kmbks_sh#dysds_bnbd_tz',{ts'2023-10-16  00:00:00'},1625975782134637568,'1',{ts'2023-10-16  00:00:00'},'BBXGZ','if(''{P[isShowWqr]}''==''true'',if(''{P[isFirstPeriod]}''==''true'',
if(''{P[isFirstQr]}''==''true'',0.00,DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_tz]} *{Q[dysds_dysdsl#dysds_bnbd_tz]} / 100,"#.00")),	
if(''{P[isDqQr]}''==''true'',
	if(''{P[isWqrToQrMap]}''==''true'',{P[historyKmbksBntzValue]},0.00),
	if(''{P[isDqWqr]}''==''true'',if(''{P[isQrToWqrMap]}''==''true'',DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_tz]} *{Q[dysds_dysdsl#dysds_bnbd_tz]} / 100,"#.00") - {P[historyKmbksBntzValue]},DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_tz]} *{Q[dysds_dysdsl#dysds_bnbd_tz]} / 100 ,"#.00")),{P[historyKmbksBntzValue]}))),0.00)',1625975782134637568); 
DELETE FROM t_tpo_rule_fetch WHERE FID = 1777721734544588800;
INSERT INTO t_tpo_rule_fetch(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FFORMULA,FCREATORID) VALUES (1777721734544588800,1532683517396254720,'number',' ',1777721734544588800,'A','CN-BBXGZ-000139856','dysdswqr_kmbks_sh#dysds_bnbd_zdqs',{ts'2023-10-16  00:00:00'},1625975782134637568,'1',{ts'2023-10-16  00:00:00'},'BBXGZ','if(''{P[isShowWqr]}''==''true'',if(''{P[isFirstPeriod]}''==''true'',
if(''{P[isFirstQr]}''==''true'',0.00,DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_zdqs]} *{Q[dysds_dysdsl#dysds_bnbd_zdqs]} / 100,"#.00")),
if(''{P[isDqQr]}''==''true'',	
	if(''{P[isWqrToQrMap]}''==''true'',{P[historyKmbksZdqsValue]},0.00),	
	if(''{P[isDqWqr]}''==''true'',if(''{P[isQrToWqrMap]}''==''true'', DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_zdqs]} *{Q[dysds_dysdsl#dysds_bnbd_zdqs]} / 100 ,"#.00") - {P[historyKmbksZdqsValue]},DataFormatUtils.decimalFormat({Q[zcycgl_kmbss#zcycgl_bnbd_zdqs]} *{Q[dysds_dysdsl#dysds_bnbd_zdqs]} / 100,"#.00")),{P[historyKmbksZdqsValue]}))),0.00)',1625975782134637568); 
