<?xml version="1.0" encoding="UTF-16LE" standalone="no"?>

<db_upgrade><db_upgrade_row><p_id>10</p_id><no>10</no><make_date>2009-11-02 16:54:20.390000</make_date><note>更新生成账龄存储过程－先删除过程！</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_sc&apos;) then
   drop procedure pt_zl_sc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>10</p_id><no>20</no><make_date>2009-11-02 16:55:32.734000</make_date><note>更新生成账龄存储过程－创建过程！</note><sql>create   procedure pt_zl_sc(@ai_dwid integer,@ai_ndid integer,@as_tab char(1),@as_lsh char(150))

as
begin
    declare @as_kmbh char(64)
    declare @as_hsxmlxbh char(40)
    declare @as_hsxmbh char(40)
    declare @qjxh integer
    declare @qjqs integer
    declare @qjzz integer
    declare @qjms char(1)

    declare @kjqm  integer	////当前账套的会计期间期末
    declare @ms char(1)    ////取表模式 不同模式取不同的表 B 余额表 M 月余额表 || 最后循环用于放置是否进行账龄计算
    declare @nd integer    ////年度序号 分析区间划分
    declare @ndid integer  ////检索时用的ndid
    declare @ksyf integer  ////检索时开始月份
    declare @jsyf integer  ////检索时结束月份
    declare @qmbz integer  ////循环分析区间划分时 判断是否需要取期末余额 0 取 其他不取
    declare @nd_insert integer    ////插入记录年度序号

    declare @jdfx integer 
    declare @qms  decimal(18,4)
    declare @zf   integer ////期末值正负标记
    declare @fse  decimal(18,4)

    declare @sql  char(3000)

    select @kjqm  = kjmonth2 from sjnd where ndid = @ai_ndid
    ////取科目编号或者核算项目类型编号、核算项目编号
    if @as_tab = &apos;K&apos;
        select @as_kmbh = kmbh from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    else
        select @as_kmbh = kmbh,@as_hsxmlxbh = hsxmlxbh,@as_hsxmbh = hsxmbh  from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    ////账龄期间分析临时表
    create table #qjhf(qjxh integer,ms char(1),nd integer,ndid integer,ksyf integer ,jsyf integer,qmbz integer)
    ////分析账龄区间
    DECLARE zlhf CURSOR FOR select qjxh,qjqs,qjzz,qjms from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    open zlhf
    WHILE 1=1
        begin
            FETCH next zlhf INTO @qjxh,@qjqs,@qjzz,@qjms
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            ////最后一条期间 ‘X年以上账龄’ 不用分析
            If @qjzz = 100 break
            ////只有第一个需要取期末余额
            If @qjxh = 1
                set @qmbz = 0
            else
                set @qmbz = 1
            ////不是月模式 改为月模式计算
            If @qjms &lt;&gt; &apos;0&apos; ////月模式
                begin
                    set		@qjqs = @qjqs * 12
                    set		@qjzz =	@qjzz * 12
                end
            ////判断账龄起始年度顺序 
            If 	@qjqs &lt;= @kjqm 
                set @nd = 1
            else
                set @nd = ceiling((@qjqs - @kjqm)/12.0) + 1
            ////分析时间段 拆分计算账龄数据段
            while @qjqs &lt; @qjzz
                begin
                    set @nd_insert = @nd
                    ////开始月份计算 
                    set @jsyf = (@nd - 1) *  12 + @kjqm - @qjqs
                    ////结束月份计算
                    If @qjzz &gt; (@nd - 1) *  12 + @kjqm
                        begin
                            set @ksyf = 1
                            set @qjqs = (@nd - 1) *  12 + @kjqm
                            set @nd = @nd + 1
                        end
                    else
                        begin
                            set @ksyf = (@nd - 1) *  12 + @kjqm - @qjzz + 1							
                            set @qjqs = @qjzz
                        end
                    If (@ksyf = 1 and @jsyf = 12 ) 
                        set @ms = &apos;B&apos;
                    else
                        set @ms = &apos;M&apos;
                    insert into #qjhf values(@qjxh,@ms,@nd_insert,0,@ksyf,@jsyf,@qmbz)
                    set @qmbz = @qmbz + 1
                end

        end
    close zlhf
    ////取可分析年度，使用项目的上一年度，依次找
    DECLARE nd CURSOR FOR select distinct nd from #qjhf order by nd
    open nd
    while 1 = 1
        begin
            FETCH next nd INTO @nd
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            If @nd = 1
                set @ndid = @ai_ndid
            else
                select @ndid = isnull(snid,0) from prj_info where dwid = @ai_dwid and ndid = @ndid
            If @ndid = 0 or @ndid is null break
            update #qjhf set ndid = @ndid where nd = @nd
        end
    close nd
    ////清除只有部分区间数据的账龄划分
    delete from #qjhf where qjxh in (select qjxh from #qjhf group by qjxh having count(ndid) &lt;&gt; sum(case when ndid &gt; 0 then 1 else 0 end))

    ////获取分析科目或核算项目的发生和期末 根据ms从不同的表出数据 qmbz为0时去期末数 便于分组求和
    create table #zlsj(qjxh integer,jdfx char(8),jffse decimal(18,4),dffse decimal(18,4),qms decimal(18,4),qmbz integer)
    if @as_tab = &apos;K&apos;
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_cwkmk a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_kmyek a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh
            ////取科目方向 借方 1 贷方 －1    
            select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh
            ////构造sql
            set @sql = &apos;update c_cwkmk set &apos;
        end
    else
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_hsxm_zz a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_hsxm_yye a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            ////取科目方向 借方 1 贷方 －1    
            select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh and hsxmlxbh = @as_hsxmlxbh and hsxmbh = @as_hsxmbh
            ////构造sql
            set @sql = &apos;update c_hsxm_zz set &apos;
        end
    drop table #qjhf
    ////准备账龄计算数据 
    select @qms = abs(sum(qms)) ,@zf = (case when sum(qms) &lt; 0 then -1 else 1 end ) from #zlsj where qmbz = 0 group by qjxh
    ////期末数为零 赋固定值 计算逻辑相同
    If @@rowcount = 0
        begin
            set @qms = 0
            set @jdfx = 1
            set @zf  = 1
        end
    create table #js(qjxh integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4))
    ////合计账龄划分区间发生额
    insert into #js
        select qjxh ,sum(jffse),sum(dffse),0
        from #zlsj
        group by qjxh
    drop table #zlsj
    ////判断发生额正负
    update #js 
        set fse = (case when @jdfx * @zf = 1 then (case when jffse &gt; 0 then jffse else 0 end) + (case when dffse &gt; 0 then 0 else abs(dffse) end)
                        else (case when dffse &gt; 0 then dffse else 0 end) + (case when jffse &gt; 0 then 0 else abs(jffse) end) end)
    set @qjxh = 1    
    set @ms = 1
    while @qjxh &lt;= 16
        begin
            If @ms = 1 ////账龄数据进行分析
                begin
                    select @fse = fse from #js where qjxh = @qjxh

                    If  @@rowcount &gt; 0   ////有数据 计算
                        begin
                            if @qms &gt; @fse ////余额大于发生额 账龄为发生额 否则为 余额
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@fse * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = @qms - @fse
                                end
                            else
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = 0
                                end
                        end
                    Else ////无数据 将剩余数放入 后续不再进行账龄分析
                        begin
                            set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                            set @ms = 0
                        end
                end
            else ////无账龄数据 置零
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = 0,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = 0,&apos;
                end
            set @qjxh = @qjxh + 1
        end
    set @sql = left(@sql ,length(@sql) - 1 ) || &apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;

    EXECUTE (@sql)
end</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>10</no><make_date>2009-11-13 09:39:06.546000</make_date><note>处理调整分录垃圾数据！</note><sql>delete from tzflb_zu where not exists(select 1 from tzflb b where b.dwid = tzflb_zu.dwid and b.ndid =tzflb_zu.ndid and b.xh = tzflb_zu.xh)</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>20</no><make_date>2009-11-13 09:40:06.515000</make_date><note>处理调整分录明细表垃圾数据！</note><sql>delete 	from tzflb where not exists(select 1 from tzflb_zu b where b.dwid = tzflb.dwid and b.ndid =tzflb.ndid and b.xh = tzflb.xh)</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>30</no><make_date>2009-11-13 09:40:49.796000</make_date><note>处理调整分录核算项目明细表垃圾数据！</note><sql>delete 	from tzflb_hsmx	where not exists(select 1 from tzflb_zu b where b.dwid = tzflb_hsmx.dwid and b.ndid =tzflb_hsmx.ndid and b.xh = tzflb_hsmx.xh)</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>40</no><make_date>2009-11-13 16:49:14.984000</make_date><note>报表调整分录表更新——增加制度类型字段</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;zdlx&apos;) then
	ALTER TABLE tzflb_bb add zdlx char(1)  DEFAULT &apos;0&apos; not null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>50</no><make_date>2009-11-13 16:50:00.718000</make_date><note>报表调整分录表更新——删除bbxm_mx列</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;bbxm_mx&apos;) then
	ALTER TABLE tzflb_bb drop bbxm_mx
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>60</no><make_date>2009-11-13 16:50:54.203000</make_date><note>报表调整分录表更新——删除bbxm1列</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;bbxm1&apos;) then
	ALTER TABLE tzflb_bb drop bbxm1
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>70</no><make_date>2009-11-13 16:51:13.218000</make_date><note>报表调整分录表更新——删除bbxm1_mx列</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;bbxm1_mx&apos;) then
	ALTER TABLE tzflb_bb drop bbxm1_mx
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>80</no><make_date>2009-11-13 16:51:36.625000</make_date><note>报表调整分录表更新——删除bbxm2列</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;bbxm2&apos;) then
	ALTER TABLE tzflb_bb drop bbxm2
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>90</no><make_date>2009-11-13 16:51:57.375000</make_date><note>报表调整分录表更新——删除bbxm2_mx列</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;bbxm2_mx&apos;) then
	ALTER TABLE tzflb_bb drop bbxm2_mx
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>100</no><make_date>2009-11-13 16:52:43.250000</make_date><note>报表调整分录表更新——修改主键字段，先删除主键</note><sql>If exists(select 1 from sys.sysconstraint a,sys.systab b where a.table_object_id = b.object_id and a.constraint_type = &apos;P&apos; and b.table_name = &apos;tzflb_bb&apos;) then
	alter table tzflb_bb  delete primary key
End If</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>110</no><make_date>2009-11-13 16:52:45.187000</make_date><note>报表调整分录表更新——更新lsh列长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;lsh&apos;) then
	ALTER TABLE tzflb_bb alter lsh char(54) not null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>120</no><make_date>2009-11-13 16:52:45.859000</make_date><note>报表调整分录表更新——更新lsh列计算公式</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_bb&apos; and b.column_name = &apos;lsh&apos;) then
	ALTER TABLE tzflb_bb alter lsh  SET COMPUTE  ( &apos;Y&apos; + string(dwid) + &apos;N&apos; + string(ndid) + &apos;Z&apos; + zdlx  +&apos;T&apos; + tzlx + &apos;L&apos; + lx  +  &apos;X&apos; +string(xh) + &apos;H&apos; + string(hh) )
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>130</no><make_date>2009-11-13 16:54:43.906000</make_date><note>报表调整分录表更新——建立主键</note><sql>If not exists(select 1 from sys.sysconstraint a,sys.systab b where a.table_object_id = b.object_id and a.constraint_type = &apos;P&apos; and b.table_name = &apos;tzflb_bb&apos;) then
	alter table tzflb_bb add constraint PK_TZFLB_BB primary key clustered (lsh, dwid, ndid)
End If</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>140</no><make_date>2009-11-13 17:48:47.171000</make_date><note>报表项目计算过程——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_bbxm&apos;) then
   drop procedure pb_bbxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>150</no><make_date>2009-11-13 17:49:28.343000</make_date><note>报表项目计算过程——创建过程</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////////////////////
////计算财务报表项目库的数据,在需要取数前调用，和在c_kmyek,c_cwkmk修改后调用
////@a_dlzt 登录状态 0:正常登录 计算当前项目单体报表数据 必须在 pt_cwkmk 中调用使用 pb_bbxm
////                 1:母公司登录 计算母分公司合并报表数据
////                 2:集团公司登录 计算母子公司合并报表数据
////测试量:科目34133  用时：
////09.7.14 Ben
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

Create Procedure pb_bbxm(@a_dwid Integer,@a_ndid Integer,@a_dlzt Integer)
as
Begin

    declare @bbtz char(1)   //// 报表调整启用标志
    declare @bbqs char(1)   //// 报表未审数来源
    DECLARE @s_dwid_all varchar(2000)
    DECLARE @s_dwid varchar(2000)
    
    CREATE TABLE #tmp_bbxm(zdlx	char(1)	,////	制度类型
        bbbh	char(20)	,////	报表编号
        jdfx char(8),
        zm_sn_qcs	decimal(18,4)	,////	账面上年期初数
        zm_sn_fse_j	decimal(18,4)	,////	账面上年借方发生额
        zm_sn_fse_d	decimal(18,4)	,////	账面上年贷方发生额
        zm_sn_fse	decimal(18,4)	,////	账面上年发生额
        zm_qcs  	decimal(18,4)	,////	账面期初数
        zm_fse_j	decimal(18,4)	,////	账面借方发生额
        zm_fse_d	decimal(18,4)	,////	账面贷方发生额
        zm_fse  	decimal(18,4)	,////	账面发生额
        zm_qms	    decimal(18,4)	,////	账面期末数
        yqc_cfl_j	decimal(18,4)	,////	账表差异调整期初借方发生额
        yqc_cfl_d	decimal(18,4)	,////	账表差异调整期初贷方发生额
        yqm_cfl_j	decimal(18,4)	,////	账表差异调整期末借方发生额
        yqm_cfl_d	decimal(18,4)	,////	账表差异调整期末贷方发生额
        ysn_ws_fse_j	decimal(18,4)	,////	账表差异调整后上年借方发生额
        ysn_ws_fse_d	decimal(18,4)	,////	账表差异调整后上年贷方发生额
        ysn_ws_fse	decimal(18,4)	,////	账表差异调整后上年发生额
        yws_qcs 	decimal(18,4)	,////	账表差异调整后期初数
        yws_fse_j	decimal(18,4)	,////	账表差异调整后借方发生额
        yws_fse_d	decimal(18,4)	,////	账表差异调整后贷方发生额
        yws_fse 	decimal(18,4)	,////	账表差异调整后发生额
        yws_qms 	decimal(18,4)	,////	账表差异调整后期末数
        qc_cfl_j	decimal(18,4)	,////	期初重分类借方发生额
        qc_cfl_d	decimal(18,4)	,////	期初重分类贷方发生额
        qc_tz_j 	decimal(18,4)	,////	期初账项调整借方发生额
        qc_tz_d 	decimal(18,4)	,////	期初账项调整贷方发生额
        qm_cfl_j	decimal(18,4)	,////	期末重分类借方发生额
        qm_cfl_d	decimal(18,4)	,////	期末重分类贷方发生额
        qm_tz_j 	decimal(18,4)	,////	期末账项调整借方发生额
        qm_tz_d 	decimal(18,4)	,////	期末账项调整贷方发生额
        g_yqm_tz_j	decimal(18,4)	,////	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,////	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,////	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,////	调整分录滚调影响期末数贷方
        other5      decimal(18,4)	,////	期初未更正数
        other6      decimal(18,4)	,////	期末未更正数
	PRIMARY KEY (zdlx,bbbh)
	)
    if @a_dlzt = 0
		BEGIN
            ////取项目参数
            SELECT @bbqs = bbqs,@bbtz = bbtz FROM prj_info WHERE @a_dwid = dwid AND @a_ndid = ndid
            If @bbtz = 0
                //// 不使用报表调整
                begin
                    INSERT INTO #tmp_bbxm
                		SELECT a.zdlx,A.bbbh,a.jdfx,
                            ////账面数汇总
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                    		sum(isnull(B.sn_ws_fse_j,0)),
                    		sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                    		sum(isnull(B.ws_fse_j,0)),
                    		sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            ////账表差异调整数汇总
                    		sum(isnull(B.yqc_cfl_j,0)),sum(isnull(B.yqc_cfl_d,0)),
                    		sum(isnull(B.yqm_cfl_j,0)),sum(isnull(B.yqm_cfl_d,0)),
                            ////账表差异调整后汇总
                            sum(isnull(b.ysn_ws_fse_j,0)),
                            sum(isnull(b.ysn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.ysn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qcs,0)),
                            sum(isnull(b.yws_fse_j,0)),
                            sum(isnull(b.yws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qms,0)),
                            ////调整数汇总
                    		sum(isnull(B.qc_cfl_j,0)),sum(isnull(B.qc_cfl_d,0)),
                    		sum(isnull(B.qc_tz_j,0)),sum(isnull(B.qc_tz_d,0)),
                    		sum(isnull(B.qm_cfl_j,0)),sum(isnull(B.qm_cfl_d,0)),
                    		sum(isnull(B.qm_tz_j,0)),sum(isnull(B.qm_tz_d,0)),
                            ////影响发生额的调整数汇总
                    		sum(isnull(B.g_yqm_tz_j,0)),sum(isnull(B.g_yqm_tz_d,0)),
                    		sum(isnull(B.g_qm_tz_j,0)),sum(isnull(B.g_qm_tz_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                		FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B
                        WHERE a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                    		A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                		GROUP BY a.zdlx,A.bbbh,a.jdfx
                end
            else
                ////使用报表调整分录
                begin
                    //// 取账面数
                    INSERT INTO #tmp_bbxm
                        SELECT a.zdlx,A.bbbh,a.jdfx,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                            sum(isnull(B.sn_ws_fse_j,0)),
                            sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                            sum(isnull(B.ws_fse_j,0)),
                            sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                        FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B 
                        WHERE  a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                            A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND 
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                        GROUP BY a.zdlx,A.bbbh,a.jdfx
                    //// 取报表调整数
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (  select zdlx ,bbxm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                    
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and length(bbxm) &gt; 4
                                group by zdlx,bbxm) t
                        where a.zdlx = t.zdlx and a.bbbh = t.bbxm
                    ////        
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (select zdlx ,left(bbxm,4) as xm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and bbxm is not null and bbxm &lt;&gt; &apos;&apos;
                                group by zdlx ,left(bbxm,4)) t
                            where a.zdlx = t.zdlx and a.bbbh = t.xm
                    ////计算账表差异调整后的数据，使用科目级次调整分录不需要计算
                    update #tmp_bbxm 
                        set ysn_ws_fse_j    = zm_sn_fse_j + yqc_cfl_j,
                            ysn_ws_fse_d    = zm_sn_fse_d + yqc_cfl_d,
                            ysn_ws_fse      = zm_sn_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_qcs         = zm_qcs + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_fse_j       = zm_fse_j + g_yqm_tz_j,
                            yws_fse_d       = zm_fse_d + g_yqm_tz_d,
                            yws_fse         = zm_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j - g_yqm_tz_d),
                            yws_qms         = zm_qms + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqm_cfl_j - yqm_cfl_d)
                end
            ////清除已有数据 同时计算报表发生额
            UPDATE b_bbxm
                set zm_sn_qcs	= 0 ,zm_sn_fse_j	= 0 ,zm_sn_fse_d	= 0 ,zm_sn_fse  = 0,
                    zm_qcs	= 0 ,zm_fse_j	= 0 ,zm_fse_d	= 0 ,zm_fse = 0 ,zm_qms	= 0 ,
                    yqc_cfl_j	= 0 ,yqc_cfl_d	= 0 ,yqc_cfl_tzs    = 0,
                    yqm_cfl_j	= 0 ,yqm_cfl_d	= 0 ,yqm_cfl_tzs    = 0,
                    ysn_ws_fse_j	= 0 ,ysn_ws_fse_d	= 0 ,ysn_ws_fse = 0,
                    yws_qcs	= 0 ,yws_fse_j	= 0 ,yws_fse_d	= 0 ,yws_fse = 0 ,yws_qms	= 0 ,
                    qc_cfl_j	= 0 ,qc_cfl_d	= 0 ,qc_cfl_tzs = 0,qc_tz_j	= 0 ,qc_tz_d	= 0 ,qc_tz_tzs = 0,qc_tzs   = 0,
                    qm_cfl_j	= 0 ,qm_cfl_d	= 0 ,qm_cfl_tzs = 0,qm_tz_j	= 0 ,qm_tz_d	= 0 ,qm_tz_tzs=0,qm_tzs = 0,
                    g_yqm_tz_j	= 0 ,g_yqm_tz_d	= 0 ,g_qm_tz_j	= 0 ,g_qm_tz_d	= 0 , other5 = 0 ,other6=0
                WHERE dwid = @a_dwid AND ndid = @a_ndid AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////临时表数据更新到报表项目表

            UPDATE b_bbxm a
                set a.zm_sn_qcs	= b.zm_sn_qcs ,a.zm_sn_fse_j	= b.zm_sn_fse_j ,a.zm_sn_fse_d	= b.zm_sn_fse_d ,a.zm_sn_fse = b.zm_sn_fse,
                    a.zm_qcs	= b.zm_qcs ,a.zm_fse_j	= b.zm_fse_j ,a.zm_fse_d	= b.zm_fse_d ,a.zm_fse    = b.zm_fse,a.zm_qms	= b.zm_qms ,
                    a.yqc_cfl_j	= b.yqc_cfl_j ,a.yqc_cfl_d	= b.yqc_cfl_d ,
                    a.yqc_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqc_cfl_j - b.yqc_cfl_d),
                    a.yqm_cfl_j	= b.yqm_cfl_j ,a.yqm_cfl_d	= b.yqm_cfl_d ,
                    a.yqm_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqm_cfl_j - b.yqm_cfl_d),
                    a.ysn_ws_fse_j	= b.ysn_ws_fse_j ,a.ysn_ws_fse_d	= b.ysn_ws_fse_d ,a.ysn_ws_fse    = b.ysn_ws_fse,
                    a.yws_qcs	= b.yws_qcs ,a.yws_fse_j	= b.yws_fse_j ,a.yws_fse_d	= b.yws_fse_d ,a.yws_fse   = b.yws_fse,a.yws_qms	= b.yws_qms ,
                    a.qc_cfl_j	= b.qc_cfl_j ,a.qc_cfl_d	= b.qc_cfl_d ,
                    a.qc_cfl_tzs= (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d),
                    a.qc_tz_j	= b.qc_tz_j ,a.qc_tz_d	= b.qc_tz_d ,
                    a.qc_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_tz_j - b.qc_tz_d),
                    a.qc_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d + b.qc_tz_j - b.qc_tz_d),
                    a.qm_cfl_j	= b.qm_cfl_j ,a.qm_cfl_d	= b.qm_cfl_d ,
                    a.qm_cfl_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d),
                    a.qm_tz_j	= b.qm_tz_j ,a.qm_tz_d	= b.qm_tz_d ,
                    a.qm_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_tz_j - b.qm_tz_d),
                    a.qm_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d + b.qm_tz_j - b.qm_tz_d),
                    a.g_yqm_tz_j	= b.g_yqm_tz_j ,a.g_yqm_tz_d	= b.g_yqm_tz_d ,a.g_qm_tz_j	= b.g_qm_tz_j ,a.g_qm_tz_d	= b.g_qm_tz_d,
                    a.other5    = b.other5,a.other6 = b.other6
                from #tmp_bbxm b
                WHERE a.zdlx = b.zdlx and a.bbbh = b.bbbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;

            ////确定报表数据来源
            if @bbqs = 3 --报表数
    			UPDATE b_bbxm 
                    SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                        sn_ws_fse = bb_sn_fse,
            			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                        ws_fse= bb_fse,
            			ws_qms = bb_qms    			
        			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    		else if @bbqs = 2 --账面数
    			UPDATE b_bbxm 
                    SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                        sn_ws_fse = zm_sn_fse,
            			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                        ws_fse = zm_fse,
            			ws_qms = zm_qms
                    WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
    		else if @bbqs = 1 --账面预调整数
    			UPDATE b_bbxm 
                    SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                        sn_ws_fse = ysn_ws_fse,
            			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                        ws_fse = yws_fse,
            			ws_qms = yws_qms
                    WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////审定数计算
            UPDATE b_bbxm 
                SET sn_sd_fse_j = adding(sn_ws_fse_j,adding(qc_tz_j,qc_cfl_j)),
            		sn_sd_fse_d = adding(sn_ws_fse_d,adding(qc_tz_d,qc_cfl_d)),
                    sn_sd_fse = sn_ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(qc_tz_j,qc_cfl_j),adding(qc_tz_d,qc_cfl_d)),
                    sd_qcs = adding(ws_qcs,qc_tzs),
            		sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
            		sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                    sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)),
            		sd_qms = adding(ws_qms,qm_tzs)
        		WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND xmlx &lt;&gt; &apos;2&apos;
            ////报表项目计算时间
            update sys_parameter set parvalue = convert(varchar(20),getdate(),20) where dwid = @a_dwid AND ndid = @a_ndid  and parid = &apos;SCAT0002&apos;    
        end
    else

    ////集团或者母公司登录 不改动原有算法 只调整相应改动
        begin            
            CREATE TABLE #tmp_bbxm_j(
            	bbbh		char(20)	NOT NULL,		/*报表编号*/
            	sn_qcs		decimal(18,4)	,			/*上年期初数*/
            	sn_ws_fse_j	decimal(18,4)	,			/*上年发生额借*/
            	sn_ws_fse_d	decimal(18,4)	,			/*上年发生额贷*/
            	ws_qcs		decimal(18,4)	,			/*未审期初数*/
            	ws_qms		decimal(18,4)	,			/*未审期末数*/
            	ws_fse_j	decimal(18,4)	,			/*未审借方发生额，可以由计算1到12月的fse_j得到,现由触发器得到*/
            	ws_fse_d	decimal(18,4)	,
                PRIMARY KEY (bbbh))

            CREATE TABLE #tmp_jt_dxflb_zu(
        		xh integer NOT NULL, ////主序号
        		dwid1 integer NOT NULL, ////审计单位ID1,记录抵消分录涉及到的两个公司
        		dwid2 integer NOT NULL, ////审计单位ID2
        		tzlx tinyint NULL,
        		primary key(xh),
        		)
    		SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,@a_dlzt,3)+&apos;,&apos;
    		INSERT INTO #tmp_jt_dxflb_zu
    		    SELECT xh,dwid1,dwid2,tzlx 
                    FROM jt_dxflb_zu 
        			WHERE ndid = @a_ndid AND sfxj = 1 AND khtzqk = &apos;1&apos; AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
    		--集团公司出汇总数，由getdwid来判断出应该包含的子分公司，
    		SELECT @s_dwid = &apos;&apos;
    		if @a_dlzt = 1
    			BEGIN
                    ////分公司不存在下级单位 将分公司数据处理成登录状态为2的报表数据 供集团或母公司登录使用
        			DECLARE cur11 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND
        			A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;0&apos;
        			OPEN cur11
        			FETCH next cur11 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur11 INTO @i_zfgs
        				END
        			CLOSE cur11
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d) 
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 0) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 1
    		if @a_dlzt = 2
    			BEGIN
        			EXECUTE pb_bbxm @a_dwid,@a_ndid,1
        			SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,1,3)+&apos;,&apos;
        			DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
        			DECLARE cur2 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;1&apos;
        			OPEN cur2
        			FETCH next cur2 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur2 INTO @i_zfgs
        				END
        			CLOSE cur1
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d)
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 1) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 2
            ////
    		DELETE FROM b_bbxm WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; --new
    		INSERT INTO b_bbxm(id,dwid,ndid,zdlx,dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx)
        		SELECT id,dwid,ndid,0,@a_dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx 
                    FROM b_bbxm
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = 0 AND(bbbh is NOT NULL) AND bbbh NOT LIKE &apos;9%&apos; --new
    		UPDATE b_bbxm 
                SET sn_qcs = A.sn_qcs,
            		sn_ws_fse_j = A.sn_ws_fse_j,
            		sn_ws_fse_d = A.sn_ws_fse_d,
            		ws_qcs = A.ws_qcs,
            		ws_qms = A.ws_qms,
            		ws_fse_j = A.ws_fse_j,
            		ws_fse_d = A.ws_fse_d 
                FROM #tmp_bbxm_j as A 
                WHERE b_bbxm.zdlx = &apos;0&apos; and  b_bbxm.dwid = @a_dwid AND b_bbxm.ndid = @a_ndid AND A.bbbh = b_bbxm.bbbh AND b_bbxm.dlzt = @a_dlzt AND b_bbxm.bbbh NOT LIKE &apos;9%&apos; --new
    		if @s_dwid = &apos;,&apos; --当前项目下面没有
    			BEGIN
    			UPDATE b_bbxm 
                    SET sd_qcs = ws_qcs,sd_qms = ws_qms,sn_sd_fse_j = sn_ws_fse_j,sn_sd_fse_d = sn_ws_fse_d,sd_fse_j = ws_fse_j,sd_fse_d = ws_fse_d
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; --new
    			END
    		else -- @s_dwid = &apos;,&apos;
    			BEGIN
    			SELECT @s_dwid = @s_dwid+string(@a_dwid)+&apos;,&apos;
    			CREATE TABLE #t_tzfl_j(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
    			CREATE TABLE #t_tzfl_d(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
 
    			//归集期初抵消分录//add by qy 2008.6.26
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,0,0,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.jfbbbh,z.tzlx
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,0,0,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.dfbbbh,z.tzlx
    			UPDATE b_bbxm as A SET qc_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qc_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    
    		  	delete #t_tzfl_j 
    			delete #t_tzfl_d 
    			//归集期末抵消分录
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.jfbbbh,z.tzlx,g_tz
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.dfbbbh,z.tzlx,g_tz
    			//发生额	g_qm_tz_ = 影响发生额的调整 = 期末正常调整（不打钩） － 期初红字调整（打钩）
    			//余额	qm_tz_	 = 期末正常调整（不打钩） ＋ 期末不影响发生调整（打钩）
    			UPDATE b_bbxm as A SET qm_tz_j = je,g_qm_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = je,g_qm_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_j = adding(qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = adding(qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_j = sub(g_qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_d = sub(g_qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
        
    			--往上汇总
    			CREATE TABLE #t_tzflhz(
    				bbbh char(40) NOT NULL,
    				qc_tz_j decimal(18,4) NULL,
    				qc_tz_d decimal(18,4) NULL,
    				qm_tz_j decimal(18,4) NULL,
    				qm_tz_d decimal(18,4) NULL,
    				g_qm_tz_j decimal(18,4) NULL,
    				g_qm_tz_d decimal(18,4) NULL,
    			primary key(bbbh),
    			)
    			DECLARE cur1 DYNAMIC scroll CURSOR FOR SELECT distinct kmjc = length(bbbh) FROM #tmp_bbxm WHERE length(bbbh) &gt; 1 ORDER BY kmjc DESC
    			OPEN cur1
    			FETCH next cur1 INTO @i_maxjc
    			FETCH next cur1 INTO @i_maxjc1
    			while @@sqlstatus = 0
    				BEGIN
    				DELETE FROM #t_tzflhz
    				INSERT INTO #t_tzflhz
        				SELECT a.bbbh,sum(b.qc_tz_j),sum(b.qc_tz_d),sum(b.qm_tz_j),sum(b.qm_tz_d),sum(b.g_qm_tz_j),sum(b.g_qm_tz_d) 
                            FROM b_bbxm as A,b_bbxm as B 
        				    WHERE a.zdlx = &apos;0&apos; and  b.zdlx = &apos;0&apos; and  a.dwid = @a_dwid AND a.ndid = @a_ndid AND b.dwid = @a_dwid AND b.ndid = @a_ndid AND length(a.bbbh) = @i_maxjc1 AND b.bbbh LIKE a.bbbh+&apos;%&apos; AND(length(b.bbbh) = @i_maxjc OR length(b.bbbh) = @i_maxjc1) AND a.dlzt = @a_dlzt AND b.dlzt = @a_dlzt AND a.xmlx &lt;&gt; &apos;2&apos; AND b.xmlx &lt;&gt; &apos;2&apos; AND a.bbbh NOT LIKE &apos;9%&apos; --new
        				    GROUP BY a.bbbh
    
    				UPDATE b_bbxm as B 
                        SET qc_tz_j = A.qc_tz_j,qc_tz_d = A.qc_tz_d,
    					    qm_tz_j = A.qm_tz_j,	qm_tz_d = A.qm_tz_d,
    					    g_qm_tz_j = A.g_qm_tz_j,g_qm_tz_d = A.g_qm_tz_d
        				FROM #t_tzflhz as A 
                        WHERE b.zdlx = &apos;0&apos; and B.dwid = @a_dwid AND B.ndid = @a_ndid AND B.bbbh = A.bbbh AND b.dlzt = @a_dlzt
    
    				SELECT @i_maxjc = @i_maxjc1
    				FETCH next cur1 INTO @i_maxjc1
    				END
    			CLOSE cur1
    			--分录汇总
    			UPDATE b_bbxm 
                    SET qc_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qc_tz_j,qc_tz_d) else sub(qc_tz_d,qc_tz_j) END,
    				    qm_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qm_tz_j,qm_tz_d) else sub(qm_tz_d,qm_tz_j) END 
    			    WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;
    			--分两步是因为计算顺序的原因
    			UPDATE b_bbxm SET qc_tzs = qc_tz_tzs,qm_tzs = qm_tz_tzs WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;

    			UPDATE b_bbxm 
                    SET sn_ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(sn_ws_fse_j , sn_ws_fse_d),
                        ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(ws_fse_j,ws_fse_d),
                        sn_sd_fse_j = adding(sn_ws_fse_j,qc_tz_j),
                        sn_sd_fse_d = adding(sn_ws_fse_d,qc_tz_d),
                        sn_sd_fs = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(sn_ws_fse_j,qc_tz_j),adding(sn_ws_fse_d,qc_tz_d)),
                        sd_qcs = adding(ws_qcs,qc_tzs),
                        sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
                        sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                        sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(ws_fse_j,g_qm_tz_j),adding(ws_fse_d,g_qm_tz_d)),
        				sd_qms = adding(ws_qms,qm_tzs)        				
    			    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; 		

    		END
        end

END
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>160</no><make_date>2009-11-14 09:54:03.718000</make_date><note>更新过程生成核算项目名称——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_pz_hsxmmc&apos;) then
   drop procedure p_make_pz_hsxmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>170</no><make_date>2009-11-14 09:54:04.640000</make_date><note>更新过程生成核算项目名称——创建过程</note><sql>create procedure p_make_pz_hsxmmc (@a_dwid integer,@a_ndid integer)
as
begin

    create table #t_hsmx_temp(kjmonth integer,pzzl char(30),pzbh char(40),bh char(100),hsmc char(200))
    ////用时：55170 毫秒
    insert #t_hsmx_temp
        SELECT kjmonth,pzzl,pzbh,bh,
            left(list(hsxmlxmc + &apos;:&apos; + hsxmmc + &apos; &apos; + (case when jffse &lt;&gt; 0 then &apos;借 &apos; + cast(cast (jffse as decimal(18,2)) as varchar(50)) else &apos;贷 &apos; + cast(cast (dffse as decimal(18,2)) as varchar(50)) end) , &apos;】【&apos;),200) as hsmc
    		FROM t_hsmx 
            where dwid = @a_dwid  and ndid = @a_ndid   
            group by kjmonth, pzzl, pzbh, bh
    ////用时：32556 毫秒
    update c_cwpz 
        set hsxmmc =  &apos;【&apos; + (case when length(hsmc) &gt; 196 then left(hsmc,193) + &apos;...&apos; else hsmc end )  + &apos;】&apos;
        from #t_hsmx_temp  T
        where c_cwpz.dwid = @a_dwid and c_cwpz.ndid = @a_ndid and	
            c_cwpz.kjmonth = t.kjmonth and c_cwpz.pzzl = t.pzzl and 
            c_cwpz.pzbh = t.pzbh and c_cwpz.bh = t.bh

end
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>180</no><make_date>2009-11-14 10:01:40</make_date><note>更新过程计算科目总账——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_zz&apos;) then
   drop procedure pt_km_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>190</no><make_date>2009-11-14 10:04:34.796000</make_date><note>更新过程计算科目总账——创建过程</note><sql>
create procedure pt_km_zz(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    	
    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @li_jc integer
    declare @li_pz integer --判断凭证是否存在 如果存在凭证计算发生额
    
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有凭证数据
    set @li_pz = isnull((select top 1 ndid  from c_cwpz where dwid = @ai_dwid and ndid = @ai_ndid),0)
    
    If @li_pz &gt; 0 
        begin
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
    
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，后续直接处理有发生额的科目期末数（可以只更新末级科目数据）[5S]
            update c_cwkmk 
                set ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl,
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = 0
                where ndid = @ai_ndid and dwid = @ai_dwid
 
            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                              jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////用时：2990 毫秒
            insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from c_cwpz
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh
            ////涉及利润科目的凭证
            CREATE TABLE #t_pz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_pz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
            update #t_hz a 
                set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from #t_pz a,c_cwpz b
                                        where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                            and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth &gt;= @kjmonth_min and b.kjmonth&lt;= @kjmonth_max
                                        group by kmbh) tab
                where a.kmbh = tab.kmbh

            ////
            drop table #t_pz
            ////更新财务科目库
            update c_cwkmk A 
                set a.ws_fse_j =b.jffse,        a.ws_fse_d=b.dffse,        
                    a.ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.dffse)-(b.jz_jf - b.jz_df)),            
                    a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl - b.dffse_sl) - (b.jz_jf_sl - b.jz_df_sl)),   
                    a.ws_qms_sl= a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.pzsl = b.pzsl
                from #t_hz B	
                where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmbh=b.kmbh 
            ////
            drop table #t_hz
            ////这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理
            ////取科目最大级
            select max(kmjc) into @li_jc 	from c_cwkmk 	where dwid =@ai_dwid and ndid = @ai_ndid
            ////汇总上级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4),fse_sl decimal(18,4),primary key(kmwm))
        
            while  @li_jc &gt; 1
            begin
                ////科目上级数据汇总[s]        
                insert into #t_sj 
                    select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                        sum(ws_fse_j),sum(ws_fse_d),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse),
                        sum(ws_fse_j_sl),sum(ws_fse_d_sl),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse_sl)
                    from c_cwkmk 
                    where dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc 
                    group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                ////更新科目库[s]
                update c_cwkmk A 
                    set a.ws_fse_j = a.ws_fse_j + b.jffse,          a.ws_fse_d = a.ws_fse_d + b.dffse,         
                        a.ws_fse=a.ws_fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse,            
                        a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j + b.jffse - a.ws_fse_d - b.dffse),
                        a.ws_fse_j_sl = a.ws_fse_j_sl + b.jffse_sl, a.ws_fse_d_sl = a.ws_fse_d_sl + b.dffse_sl,   
                        a.ws_fse_sl=a.ws_fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl,   
                        a.ws_qms_sl= a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j_sl + b.jffse_sl - a.ws_fse_d_sl - b.dffse_sl),
                        a.pzsl = b.pzsl
                    from #t_sj  B	
                    where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmwm=b.kmwm
                ////清理临时表数据
                delete from #t_sj            

                ////准备下次循环
                set @li_jc = @li_jc - 1
            end
            drop table #t_sj
        end
    Else
        ////无凭证情况下 只进行科目发生额计算 取科目方向发生 同时更新pzsl字段供数据源过滤掉零使用
        begin    
            update c_cwkmk 
                set ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0), 
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j else ws_fse_d end),
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),                    
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j_sl else ws_fse_d_sl end),
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)),
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = (case when abs(isnull(ws_fse_j,0)) +  abs(isnull(ws_fse_d,0))&gt;0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        End
    ////更新审定数[6s]
    update c_cwkmk
        set ysn_ws_fse_j = sn_ws_fse_j + yqc_cfl_j,
            ysn_ws_fse_d = sn_ws_fse_d + yqc_cfl_d,
            ysn_ws_fse   = sn_ws_fse + yqc_cfl_tzs,
            yws_qcs = ws_qcs+yqc_cfl_tzs,
            yws_fse_j=ws_fse_j+ g_yqm_tz_j,
            yws_fse_d=ws_fse_d+g_yqm_tz_d,
            yws_fse=ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
            yws_qms=ws_qms + yqm_cfl_tzs,
            sn_sd_fse_j = sn_ws_fse_j + yqc_cfl_j + qc_tz_j + qc_cfl_j,
            sn_sd_fse_d = sn_ws_fse_d + yqc_cfl_d + qc_tz_d + qc_cfl_d,
            sn_sd_fse = sn_ws_fse + yqc_cfl_tzs + qc_tzs,
            sd_qcs = ws_qcs + yqc_cfl_tzs + qc_tzs,
            sd_fse_j   = ws_fse_j + g_yqm_tz_j +g_qm_tz_j, 
            sd_fse_d   = ws_fse_d + g_yqm_tz_d + g_qm_tz_d,
            sd_fse	   = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j + g_qm_tz_j - g_yqm_tz_d - g_qm_tz_d),
            sd_qms	   = ws_qms + yqm_cfl_tzs + qm_tzs
        where dwid=@ai_dwid and ndid= @ai_ndid 
        
    ////调用报表项目计算过程
    execute pb_bbxm @ai_dwid,@ai_ndid,0 

end 
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>200</no><make_date>2009-11-14 10:06:36.875000</make_date><note>更新过程计算科目月余额——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_yye&apos;) then
   drop procedure pt_km_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>210</no><make_date>2009-11-14 10:07:13.406000</make_date><note>更新过程计算科目月余额——创建过程</note><sql>
create   procedure pt_km_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @sql    char(1000)
    declare @li_i   integer
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////涉及利润科目的凭证
            CREATE TABLE #t_lrpz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_lrpz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////清除原有科目月余额数据[删除语句需要26秒]
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [2.5秒]
            insert into c_kmyek(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,ws_qcs,0,0,0,ws_qcs,ws_qcs_sl,0,0,0,ws_qcs_sl,0
                from c_cwkmk 
                where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid    

            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4), fse_sl decimal(18,4),primary key(kmwm))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17.5秒]
                    insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from #t_lrpz a,c_cwpz b
                                                where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                                    and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth = @kjmonth_temp 
                                                group by kmbh) tab
                        where a.kmbh = tab.kmbh
                    ////更新月发生额
                    update c_kmyek a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            qms = qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl)- (b.dffse_sl - b.jz_df_sl)),
                            qms_sl = qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                    while @li_i &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[4.7秒]
                            insert into #t_sj select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_sl),sum(dffse_sl) ,sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl)
                                from c_kmyek 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_i and kjmonth = @kjmonth_temp
                                group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                            ////更新科目库[2.6秒]
                            update c_kmyek A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse= a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_sl=a.jffse_sl + b.jffse_sl,  a.dffse_sl = a.dffse_sl + b.dffse_sl,   
                                    a.fse_sl=a.fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_sl,
                                    a.qms_sl= a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_sl + b.jffse_sl - a.dffse_sl - b.dffse_sl),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kjmonth = @kjmonth_temp
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_i =  @li_i - 1
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_kmyek2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_kmyek where c_kmyek2.dwid = c_kmyek.dwid and c_kmyek2.ndid=c_kmyek.ndid and c_kmyek2.kmbh=c_kmyek.kmbh and &apos;
                            + &apos; c_kmyek.dwid = &apos; + string(@ai_dwid) + &apos; and c_kmyek.ndid = &apos; + string(@ai_ndid) + &apos; and c_kmyek.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////下个月期初[55&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_kmyek (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_kmyek 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end

                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_lrpz
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算月余额
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
       
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>220</no><make_date>2009-11-14 10:09:13.546000</make_date><note>更新过程计算核算项目总账——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_zz&apos;) then
   drop procedure pt_hs_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>230</no><make_date>2009-11-14 10:10:05.703000</make_date><note>更新过程计算核算项目总账——创建过程</note><sql>create procedure pt_hs_zz(@ai_dwid integer,@ai_ndid integer)
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    	
    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @li_pz integer
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有核算项目明细数据
    set @li_pz = isnull((select top 1 ndid  from t_hsmx where dwid=@ai_dwid and ndid= @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，审定数同时直接计算，后续直接处理有发生额的科目期末数及审定数[15S]
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl , 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(g_yqm_tz_d,0),
                    yws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=0
                where ndid = @ai_ndid and dwid = @ai_dwid

            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题[13S]
            CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40),hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),primary key (kmbh,hsxmlxbh,hsxmbh))
            insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from t_hsmx
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh,hsxmlxbh,hsxmbh
            ////涉及利润科目的凭证
            CREATE TABLE #t_pz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_pz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////将涉及利润科目的发生额去除掉
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from #t_pz a,t_hsmx b
                                        where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh and 
                                            dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth &gt;= @kjmonth_min and b.kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hsxmlxbh,hsxmbh) tab
                where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh

            ////
            drop table #t_pz
            ////更新核算项目库[15秒]
            update c_hsxm_zz A 
                set a.ws_fse_j  =b.jffse,        a.ws_fse_d=b.dffse,
                    a.ws_fse    =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf )- (b.dffse - b.jz_df)),
                    a.ws_qms    = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl-b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),   
                    a.ws_qms_sl = a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.yws_qcs   = a.ws_qcs + a.yqc_cfl_tzs,
                    a.yws_fse_j = b.jffse + a.g_yqm_tz_j,
                    a.yws_fse_d = b.dffse + a.g_yqm_tz_d,
                    a.yws_fse   = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d)),
                    a.yws_qms   = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs,
                    a.sd_qcs    = a.ws_qcs + a.yqc_cfl_tzs + a.qc_tzs,
                    a.sd_fse_j  = b.jffse +  a.g_yqm_tz_j + a.g_qm_tz_j,
                    a.sd_fse_d  = b.dffse + a.g_yqm_tz_d + a.g_qm_tz_d,
                    a.sd_fse    = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) *((b.jffse - b.jz_jf + a.g_yqm_tz_j + a.g_qm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d + a.g_qm_tz_d)),
                    a.sd_qms    = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs + a.qm_tzs,
                    a.pzsl      = b.pzsl
                from #t_hz B	
                where a.kmbh=b.kmbh and a.hsxmlxbh = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
       
            drop table #t_hz
        end
    else
        ////无明细数据 只计算账面发生额和期末余额 以及 后续 未审、审定数
        begin
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),     
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),       
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),  
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_sl,0) else isnull(ws_fse_d_sl,0) end),    
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)), 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0),
                    yws_fse= (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) +  isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=(case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 Then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        
        end
end 
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>240</no><make_date>2009-11-14 10:11:25.390000</make_date><note>更新过程核算项目外币总账——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hw_zz&apos;) then
   drop procedure pt_hw_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>250</no><make_date>2009-11-14 10:11:27.218000</make_date><note>更新过程核算项目外币总账——创建过程</note><sql>
create procedure pt_hw_zz(@ai_dwid integer,@ai_ndid integer)
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    	
    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @li_pz integer
    
    set @li_pz = isnull((select top 1 dwid from t_hsmx where dwid = @ai_dwid and ndid = @ai_ndid),0)
    
    if @li_pz &gt; 0 
        //// 有核算明细情况计算
        begin
            ////取得会计期间
            select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max 
            begin 
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
    
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，审定数同时直接计算，后续直接处理有发生额的科目期末数及审定数[48S]
            update c_wb_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_qcs=isnull(sn_qcs,0),sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_fse=isnull(sn_fse,0),
                    sn_qcs_f=isnull(sn_qcs_f,0),sn_ws_fse_j_f=isnull(sn_ws_fse_j_f,0),sn_ws_fse_d_f=isnull(sn_ws_fse_d_f,0),sn_fse_f=isnull(sn_fse_f,0),
                    ////初始化账面数
                    ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_f=0,  ws_fse_d_f=0,  ws_fse_f=0,    ws_qms_f=ws_qcs_f ,
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    ////未审数计算
                    ysn_ws_fse_j    = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d    = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse      = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs         = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0),
                    yws_fse_j       = isnull(g_yqm_tz_j,0),
                    yws_fse_d       = isnull(g_yqm_tz_d,0),
                    yws_fse         = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) - isnull(g_yqm_tz_d,0)),
                    yws_qms         = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0),
                    ysn_ws_fse_j_f  = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0),
                    ysn_ws_fse_d_f  = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0),
                    ysn_ws_fse_f    = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_qcs_f       = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_fse_j_f     = isnull(g_yqm_tz_j_f,0),
                    yws_fse_d_f     = isnull(g_yqm_tz_d_f,0),
                    yws_fse_f       = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0)),
                    yws_qms_f       = isnull(ws_qcs_f,0) + isnull(yqm_cfl_tzs_f,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0),
                    sd_fse_d        = isnull(g_yqm_tz_d,0) + isnull(g_qm_tz_d,0),
                    sd_fse          = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0) - isnull(g_yqm_tz_d,0) - isnull(g_qm_tz_d,0)),
                    sd_qms          = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    sn_sd_fse_j_f   = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0) + isnull(qc_cfl_j_f,0) + isnull(qc_tz_j_f,0),
                    sn_sd_fse_d_f   = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0) + isnull(qc_cfl_d_f,0) + isnull(qc_tz_d_f,0),
                    sn_sd_fse_f     = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_qcs_f        = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_fse_j_f      = isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0),
                    sd_fse_d_f      = isnull(g_yqm_tz_d_f,0) + isnull(g_qm_tz_d_f,0),
                    sd_fse_f        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0) - isnull(g_qm_tz_d_f,0)),
                    sd_qms_f        = isnull(ws_qcs_f,0) + isnull(yqm_cfl_tzs_f,0) + isnull(qm_tzs_f,0),
                    pzsl=0
                where ndid = @ai_ndid and dwid = @ai_dwid

            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题[25S]
            CREATE TABLE #t_hz (kmbh char(64),wbzl char(20) ,hsxmlxbh char(40),hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),primary key (kmbh,wbzl,hsxmlxbh,hsxmbh))
            insert into #t_hz 
                select kmbh,hbzl,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                from t_hsmx
                where kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max and dwid=@ai_dwid and ndid= @ai_ndid
                group by kmbh,hbzl,hsxmlxbh,hsxmbh

            ////涉及利润科目的凭证
            CREATE TABLE #t_pz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_pz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////将涉及利润科目的发生额去除掉
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                from (select kmbh,hbzl,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                        from #t_pz a,t_hsmx b
                                        where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                        and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth &gt;= @kjmonth_min and b.kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hbzl,hsxmlxbh,hsxmbh) tab
                where a.kmbh = tab.kmbh and a.wbzl = tab.hbzl and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh             
            ////
    
            drop table #t_pz
            ////更新核算项目库(注意：计算根本涉及不到期初数，所以不需要计算)[44秒]
            update c_wb_hsxm_zz A 
                set a.ws_fse_j      =b.jffse,        a.ws_fse_d = b.dffse,        
                    a.ws_fse        =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                    a.ws_qms        = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_f    =b.jffse_f,   a.ws_fse_d_f=b.dffse_f,  
                    a.ws_fse_f      =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),   
                    a.ws_qms_f      = a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f),
            
                    a.yws_fse_j     = b.jffse + a.g_yqm_tz_j,
                    a.yws_fse_d     = b.dffse + a.g_yqm_tz_d,
                    a.yws_fse       = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j) - (b.dffse - b.jz_df + a.g_yqm_tz_d)),
                    a.yws_qms       = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + yqm_cfl_tzs,
                    a.yws_fse_j_f   = b.jffse_f + a.g_yqm_tz_j_f,
                    a.yws_fse_d_f   = b.dffse_f + a.g_yqm_tz_d_f,
                    a.yws_fse_f     = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f + a.g_yqm_tz_j_f) - (b.dffse_f - b.jz_df_f + a.g_yqm_tz_d_f)),
                    a.yws_qms_f     = a.ws_qcs_f + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f) + a.yqm_cfl_tzs_f,
            
                    a.sd_fse_j      = b.jffse + a.g_yqm_tz_j + a.g_qm_tz_j,
                    a.sd_fse_d      = b.dffse + a.g_yqm_tz_d + a.g_qm_tz_d,
                    a.sd_fse        = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j + a.g_qm_tz_j) - (b.dffse - b.jz_df + a.g_yqm_tz_d + a.g_qm_tz_d)),
                    a.sd_qms        = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs + a.qm_tzs,
                    a.sd_fse_j_f    = b.jffse_f + a.g_yqm_tz_j_f + a.g_qm_tz_j_f,
                    a.sd_fse_d_f    = b.dffse_f + a.g_yqm_tz_d_f + a.g_qm_tz_d_f,
                    a.sd_fse_f      = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f + a.g_yqm_tz_j_f + a.g_qm_tz_j_f) - (b.dffse_f - b.jz_df_f + a.g_yqm_tz_d_f + a.g_qm_tz_d_f)),
                    a.sd_qms_f      = a.ws_qcs_f + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f) + a.yqm_cfl_tzs_f + a.qm_tzs_f,
                    a.pzsl          = b.pzsl
                from #t_hz B	
                where a.kmbh=b.kmbh and a.wbzl = b.wbzl and a.hsxmlxbh = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
            ////
            drop table #t_hz
        end
    else
        ////无核算明细更新核算外币总账
        begin
            update c_wb_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_qcs=isnull(sn_qcs,0),sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_fse=isnull(sn_fse,0),
                    sn_qcs_f=isnull(sn_qcs_f,0),sn_ws_fse_j_f=isnull(sn_ws_fse_j_f,0),sn_ws_fse_d_f=isnull(sn_ws_fse_d_f,0),sn_fse_f=isnull(sn_fse_f,0),
                    ////初始化账面数
                    ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),     
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),       
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)),
                    ws_fse_j_f=isnull(ws_fse_j_f,0),  ws_fse_d_f=isnull(ws_fse_d_f,0),  
                    ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_f,0) else isnull(ws_fse_d_f,0) end),    
                    ws_qms_f=isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)),
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    ////未审数计算
                    ysn_ws_fse_j    = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d    = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse      = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs         = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0),
                    yws_fse_j       = isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0),
                    yws_fse_d       = isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0),
                    yws_fse         = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) - isnull(g_yqm_tz_d,0)),
                    yws_qms         = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0),
                    ysn_ws_fse_j_f  = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0),
                    ysn_ws_fse_d_f  = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0),
                    ysn_ws_fse_f    = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_qcs_f       = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_fse_j_f     = isnull(ws_fse_j_f,0) + isnull(g_yqm_tz_j_f,0),
                    yws_fse_d_f     = isnull(ws_fse_d_f,0) + isnull(g_yqm_tz_d_f,0),
                    yws_fse_f       = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0)),
                    yws_qms_f       = isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)) + isnull(yqm_cfl_tzs_f,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0),
                    sd_fse_d        = isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0) + isnull(g_qm_tz_d,0),
                    sd_fse          = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0) - isnull(g_yqm_tz_d,0) - isnull(g_qm_tz_d,0)),
                    sd_qms          = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    sn_sd_fse_j_f   = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0) + isnull(qc_cfl_j_f,0) + isnull(qc_tz_j_f,0),
                    sn_sd_fse_d_f   = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0) + isnull(qc_cfl_d_f,0) + isnull(qc_tz_d_f,0),
                    sn_sd_fse_f     = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_qcs_f        = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_fse_j_f      = isnull(ws_fse_j_f,0) + isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0),
                    sd_fse_d_f      = isnull(ws_fse_d_f,0) + isnull(g_yqm_tz_d_f,0) + isnull(g_qm_tz_d_f,0),
                    sd_fse_f        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0) - isnull(g_qm_tz_d_f,0)),
                    sd_qms_f        = isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)) + isnull(yqm_cfl_tzs_f,0) + isnull(qm_tzs_f,0),
                    pzsl=(case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
            
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>260</no><make_date>2009-11-14 10:15:03.015000</make_date><note>更新过程核算项目月余额——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_yye&apos;) then
   drop procedure pt_hs_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>270</no><make_date>2009-11-14 10:16:07.125000</make_date><note>更新过程核算项目月余额——创建过程</note><sql>create   procedure pt_hs_yye(@ai_dwid integer,@ai_ndid integer)
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    declare @sql    char(1000)
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from t_hsmx where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////涉及利润科目的凭证
            CREATE TABLE #t_lrpz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_lrpz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////清除原有科目月余额数据[删除语句需要43秒]
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [27秒]
            insert into c_hsxm_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,ws_qcs,0,0,0,ws_qcs,ws_qcs_sl,0,0,0,ws_qcs_sl,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    //汇总临时表
                    CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40) ,hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4))
                   -- create index #t_hz_kmlxhs on #t_hz (kmbh,hsxmlxbh,hsxmbh)
                    ////凭证发生额汇总[50秒]
                    insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from t_hsmx
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hsxmlxbh,hsxmbh

                    ////将涉及利润科目的发生额
                    update #t_hz a 
                        set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from c_cwkmk b,(select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from #t_lrpz a,t_hsmx b
                                                where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh
                                                    and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth = @kjmonth_temp 
                                                group by kmbh,hsxmlxbh,hsxmbh) tab
                        where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh and b.kmbh = tab.kmbh and locate(b.kmlb,&apos;损益&apos;) &gt; 0

                    ////更新月发生额
                    update c_hsxm_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,    
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf)- (b.dffse - b.jz_df)),
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            a.fse_sl = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),
                            a.qms_sl = a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.hsxmlxbh  = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp  
                    ////下个月期初[75&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_hsxm_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_hsxm_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end  
                    ////更新月余额列模式表
                    set @sql = &apos;update c_hsxm_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_hsxm_yye where c_hsxm_yye2.dwid = c_hsxm_yye.dwid and c_hsxm_yye2.ndid=c_hsxm_yye.ndid and c_hsxm_yye2.kmbh=c_hsxm_yye.kmbh and &apos;
                            + &apos; c_hsxm_yye2.hsxmlxbh=c_hsxm_yye.hsxmlxbh and c_hsxm_yye2.hsxmbh=c_hsxm_yye.hsxmbh and&apos;
                            + &apos; c_hsxm_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_hsxm_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_hsxm_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)                
                    ////准备下一个循环
                    drop table #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_lrpz
        end
    else
        begin
            ////无核算明细 不计算余额表
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>280</no><make_date>2009-11-14 10:19:05.546000</make_date><note>更新过程核算项目外币月余额——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hw_yye&apos;) then
   drop procedure pt_hw_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>290</no><make_date>2009-11-14 10:19:53.484000</make_date><note>更新过程核算项目外币月余额——创建过程</note><sql>create   procedure pt_hw_yye(@ai_dwid integer,@ai_ndid integer)
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @sql    char(1000)
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from t_hsmx where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////涉及利润科目的凭证
            CREATE TABLE #t_lrpz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_lrpz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////清除原有科目月余额数据[秒]
            delete from c_wb_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_wb_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [27秒]
            insert into c_wb_hsxm_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,ws_qcs,0,0,0,ws_qcs,ws_qcs_f,0,0,0,ws_qcs_f,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_wb_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    //汇总临时表
                    CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40) ,hsxmbh char(40),wbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4))
                   -- create index #t_hz_kmlxhs on #t_hz (kmbh,hsxmlxbh,hsxmbh)
                    ////凭证发生额汇总[50秒]
                    insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(jffse_f,0)),0,0,0,0
                        from t_hsmx
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hsxmlxbh,hsxmbh,hbzl

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a 
                        set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                        from (select kmbh,hsxmlxbh,hsxmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                                from #t_lrpz a,t_hsmx b
                                                where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                                and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth = @kjmonth_temp 
                                                group by kmbh,hsxmlxbh,hsxmbh,hbzl) tab
                        where tab.hbzl = a.wbzl and tab.hsxmlxbh = a.hsxmlxbh and tab.hsxmbh = a.hsxmbh

                    ////更新月发生额
                    update c_wb_hsxm_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse, 
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_f = b.jffse_f,a.dffse_f = b.dffse_f,
                            a.fse_f = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                            a.qms_f = a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_f - b.dffse_f),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.wbzl = b.wbzl and a.hsxmlxbh  = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp  
                    ////下个月期初[&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_wb_hsxm_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qms,0,0,0,qms,qms_f,0,0,0,qms_f,0
                                from c_wb_hsxm_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end   
                    ////更新月余额列模式表
                    set @sql = &apos;update c_wb_hsxm_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_wb_hsxm_yye where c_wb_hsxm_yye2.dwid = c_wb_hsxm_yye.dwid and c_wb_hsxm_yye2.ndid=c_wb_hsxm_yye.ndid and c_wb_hsxm_yye2.kmbh=c_wb_hsxm_yye.kmbh and &apos;
                            + &apos; c_wb_hsxm_yye2.hsxmlxbh=c_wb_hsxm_yye.hsxmlxbh and c_wb_hsxm_yye2.hsxmbh = c_wb_hsxm_yye.hsxmbh and c_wb_hsxm_yye2.wbzl = c_wb_hsxm_yye.wbzl and &apos;
                            + &apos; c_wb_hsxm_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_wb_hsxm_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_wb_hsxm_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////准备下一个循环

                    drop table #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_lrpz
        end
    else
        begin
            ////无核算明细不计算余额表
            delete from c_wb_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_wb_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            
            insert into c_wb_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>300</no><make_date>2009-11-14 10:21:42.937000</make_date><note>更新过程外币总账——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_wb_zz&apos;) then
   drop procedure pt_wb_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>310</no><make_date>2009-11-14 10:21:43.484000</make_date><note>更新过程计算外币总账——创建过程</note><sql>
create procedure pt_wb_zz(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    	
    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    
    declare @li_jc integer
    declare @kmwm  char(96)
    declare @li_pz integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid=@ai_dwid and ndid= @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max 
            begin 
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，后续直接处理有发生额的科目期末数（可以只更新末级科目数据）[9S]
            update c_wb_zz 
                set ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,   ws_qms=ws_qcs,
                    ws_fse_j_f=0,   ws_fse_d_f=0,   ws_fse_f=0, ws_qms_f=ws_qcs_f,
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    pzsl = 0
                where ndid = @ai_ndid and dwid = @ai_dwid
 
            ////凭证发生额汇总[3S]
            CREATE TABLE #t_hz (kmbh char(64),hbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),  primary key (kmbh,hbzl))
            insert into #t_hz select kmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                from c_cwpz
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh,hbzl
            ////涉及利润科目的凭证
            CREATE TABLE #t_pz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_pz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                from c_wb_zz b,(select kmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                        from #t_pz a,c_cwpz b
                                        where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                        and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth &gt;= @kjmonth_min and b.kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hbzl) tab
                where a.hbzl = tab.hbzl and a.kmbh = tab.kmbh

            ////删除涉及利润科目凭证的临时表
            drop table #t_pz
            ////更新财务科目库
            update c_wb_zz A 
                set a.ws_fse_j =b.jffse,    a.ws_fse_d=b.dffse,     
                    a.ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                    a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_f=b.jffse_f, a.ws_fse_d_f=b.dffse_f, 
                    a.ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                    a.ws_qms_f= a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f),
                    a.pzsl = b.pzsl
                from #t_hz B
                where a.wbzl = b.hbzl and a.kmbh=b.kmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
            ////
            drop table #t_hz
            ////从末级科目开始计算，逐级向上汇总，更新上级时相加模式， 实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
            ////取科目最大级次
            select max(kmjc) into @li_jc 	from c_wb_zz 	where dwid =@ai_dwid and ndid = @ai_ndid
            ////临时汇总数据
            create table #t_sj(kmwm char(96),hbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_f decimal(18,4),dffse_f decimal(18,4),fse_f decimal(18,4) ,primary key(kmwm,hbzl))
        
            set @li_i =1 
            while @li_jc &gt; 1
                begin    
                    ////科目上级数据汇总[1s]
                    insert into #t_sj 
                        select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl,sum(pzsl),
                            sum(ws_fse_j),sum(ws_fse_d),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse),
                            sum(ws_fse_j_f),sum(ws_fse_d_f),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse_f)
                        from c_wb_zz 
                        where dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc
                        group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl
                    ////更新科目库 本级数据与下级汇总相加[1.5s]
                    update c_wb_zz A 
                        set a.ws_fse_j = a.ws_fse_j + b.jffse,    a.ws_fse_d = a.ws_fse_d + b.dffse,         
                            a.ws_fse= a.ws_fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                            a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j + b.jffse - b.dffse - a.ws_fse_d),
                            a.ws_fse_j_f = a.ws_fse_j_f + b.jffse_f,   a.ws_fse_d_f = a.ws_fse_d_f + b.dffse_f,   
                            a.ws_fse_f= a.ws_fse_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_f,
                            a.ws_qms_f= a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j_f + b.jffse_f - a.ws_fse_d_f - b.dffse_f),
                            a.pzsl = b.pzsl
                        from #t_sj  B	
                        where a.kmwm=b.kmwm and a.wbzl = b.hbzl and A.dwid = @ai_dwid and A.ndid =@ai_ndid
                    ////清理临时表数据
                    delete from #t_sj     
                    ////准备下次循环
                    set @li_jc =  @li_jc - 1
                end
            drop table #t_sj
        end
    else
        begin
            update c_wb_zz 
                set ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)),
                    ws_fse_j_f=isnull(ws_fse_j_f,0),   ws_fse_d_f=isnull(ws_fse_d_f,0),   
                    ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_f,0) else isnull(ws_fse_d_f,0) end),
                    ws_qms_f=isnull(ws_qcs_f,0)  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    pzsl = (case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        end
    ////更新审定数[15]
    update c_wb_zz
        set ysn_ws_fse_j    = sn_ws_fse_j + yqc_cfl_j,
            ysn_ws_fse_d    = sn_ws_fse_d + yqc_cfl_d,
            ysn_ws_fse      = sn_fse + yqc_cfl_tzs,
            yws_qcs         = ws_qcs+yqc_cfl_tzs,
            yws_fse_j       = ws_fse_j+ g_yqm_tz_j,
            yws_fse_d       = ws_fse_d+g_yqm_tz_d,
            yws_fse         = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
            yws_qms         = ws_qms + yqm_cfl_tzs,
            ysn_ws_fse_j_f  = sn_ws_fse_j_f + yqc_cfl_j_f,
            ysn_ws_fse_d_f  = sn_ws_fse_d_f + yqc_cfl_d_f,
            ysn_ws_fse_f    = sn_fse_f + yqc_cfl_tzs_f,
            yws_qcs_f       = ws_qcs_f + yqc_cfl_tzs_f,
            yws_fse_j_f     = ws_fse_j_f+ g_yqm_tz_j_f,
            yws_fse_d_f     = ws_fse_d_f+g_yqm_tz_d_f,
            yws_fse_f       = ws_fse_f+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j_f - g_yqm_tz_d_f ),
            yws_qms_f       = ws_qms_f + yqm_cfl_tzs_f,
            sn_sd_fse_j     = sn_ws_fse_j + yqc_cfl_j + qc_cfl_j + qc_tz_j,
            sn_sd_fse_d     = sn_ws_fse_d + yqc_cfl_d + qc_cfl_d + qc_tz_d,
            sn_sd_fse       = sn_fse + yqc_cfl_tzs + qc_tzs,
            sd_qcs          = ws_qcs + yqc_cfl_tzs + qc_tzs,
            sd_fse_j        = ws_fse_j + g_yqm_tz_j + g_qm_tz_j,
            sd_fse_d        = ws_fse_d + g_yqm_tz_d + g_qm_tz_d,
            sd_fse          = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j + g_qm_tz_j -g_yqm_tz_d - g_qm_tz_d),
            sd_qms          = ws_qms + yqm_cfl_tzs + qm_tzs,
            sn_sd_fse_j_f   = sn_ws_fse_j_f + yqc_cfl_j_f + qc_cfl_j_f + qc_tz_j_f,
            sn_sd_fse_d_f   = sn_ws_fse_d_f + yqc_cfl_d_f + qc_cfl_d_f + qc_tz_d_f,
            sn_sd_fse_f     = sn_fse_f + yqc_cfl_tzs_f + qc_tzs_f,
            sd_qcs_f        = ws_qcs_f + yqc_cfl_tzs_f + qc_tzs_f,
            sd_fse_j_f      = ws_fse_j_f + g_yqm_tz_j_f + g_qm_tz_j_f,
            sd_fse_d_f      = ws_fse_d_f + g_yqm_tz_d_f + g_qm_tz_d_f,
            sd_fse_f        = ws_fse_f+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j_f + g_qm_tz_j_f -g_yqm_tz_d_f - g_qm_tz_d_f),
            sd_qms_f        = ws_qms_f + yqm_cfl_tzs_f + qm_tzs_f
        where dwid=@ai_dwid and ndid= @ai_ndid 

end 
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>320</no><make_date>2009-11-14 10:34:36.703000</make_date><note>更新过程外币月余额——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_wb_yye&apos;) then
   drop procedure pt_wb_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>330</no><make_date>2009-11-14 10:34:36.921000</make_date><note>更新过程外币月余额——创建过程</note><sql>
create   procedure pt_wb_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @bnlrkm char(64) --本年利润科目
    declare @wfpkm  char(64) --未分配利润科目
    declare @bnlrkmwm char(96) --本年利润科目伪码
    declare @sql    char(1000)
    
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc 	from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////取得利润科目 整理本年例如科目下所有科目
            CREATE TABLE #t_lrkm (lrkm char(64),primary key (lrkm))
    
            select @bnlrkm = isnull(bnlrkm,&apos;&apos;),@wfpkm = isnull(wfpkm,&apos;&apos;) from prj_info where ndid = @ai_ndid and dwid = @ai_dwid
            select @bnlrkmwm = isnull(kmwm,&apos;&apos;) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @bnlrkm
    
            if @wfpkm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm values(@wfpkm)
            if @bnlrkmwm &lt;&gt; &apos;&apos; 
                insert into #t_lrkm 
                    select kmbh
                    from c_cwkmk
                    where dwid = @ai_dwid and ndid = @ai_ndid and kmwm like @bnlrkmwm + &apos;%&apos;
            ////涉及利润科目的凭证
            CREATE TABLE #t_lrpz (kjyear integer,kjmonth integer,pzzl char(30),pzbh char(40),primary key (kjyear, kjmonth,pzzl, pzbh))
            insert into #t_lrpz 
                select distinct kjyear, kjmonth,pzzl, pzbh 
                from c_cwpz ,#t_lrkm
                where kmbh = lrkm and ndid = @ai_ndid and dwid = @ai_dwid
            drop table #t_lrkm
            ////清除原有科目月余额数据[删除语句需要69秒]
            delete from c_wb_yye where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth &gt; 0
            delete from c_wb_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [8秒]
            insert into c_wb_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,ws_qcs,0,0,0,ws_qcs,ws_qcs_f,0,0,0,ws_qcs_f,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_wb_yye2(dwid,ndid,kjyear,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(64),wbzl char(20),pzsl  integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),primary key (kmbh,wbzl))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kjmonth integer,kmwm char(96),wbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_f decimal(18,4),dffse_f decimal(18,4),fse_f decimal(18,4),primary key(kjmonth,kmwm,wbzl))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17秒]
                    insert into #t_hz select kmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hbzl

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jfsl,a.jz_df_f = tab.dfsl
                        from (select kmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from #t_lrpz a,c_cwpz b
                                                where a.kjyear =b.kjyear and a.kjmonth = b.kjmonth and a.pzzl = b.pzzl and a.pzbh = b.pzbh 
                                                and dwid=@ai_dwid and ndid= @ai_ndid and b.kjmonth = @kjmonth_temp 
                                                group by kmbh,hbzl) tab
                        where a.wbzl = tab.hbzl and a.kmbh = tab.kmbh

                    ////更新月发生额
                    update c_wb_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_f = b.jffse_f,a.dffse_f = b.dffse_f,
                            a.fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                            a.qms_f = a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_f - b.dffse_f),
                            a.pzsl=b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.wbzl =  b.wbzl and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp 
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                     while @li_jc &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[8秒]
                            insert into #t_sj 
                                select kjmonth,left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl,sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_f),sum(dffse_f),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_f)
                                from c_wb_yye 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc
                                group by kjmonth,left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl
                            ////更新科目库[17秒]
                            update c_wb_yye A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse=a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_f=a.jffse_f + b.jffse_f,  a.dffse_f = a.dffse_f + b.dffse_f,   
                                    a.fse_f=a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_f,
                                    a.qms_f= a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_f + b.jffse_f - a.dffse_f - b.dffse_f),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and a.wbzl = b.wbzl and a.kjmonth = b.kjmonth and a.kjmonth &gt; 0  and A.dwid = @ai_dwid and A.ndid =@ai_ndid
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_jc =  @li_jc - 1
                        end
                    ////下个月期初[147&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_wb_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qms,0,0,0,qms,qms_f,0,0,0,qms_f,0
                                from c_wb_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_wb_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_wb_yye where c_wb_yye2.dwid = c_wb_yye.dwid and c_wb_yye2.ndid=c_wb_yye.ndid and c_wb_yye2.kmbh=c_wb_yye.kmbh and c_wb_yye2.wbzl=c_wb_yye.wbzl and&apos;
                            + &apos; c_wb_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_wb_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_wb_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_lrpz
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算余额表
            delete from c_wb_yye where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth &gt; 0
            delete from c_wb_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            
            insert into c_wb_yye2(dwid,ndid,kjyear,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
        End
end
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>340</no><make_date>2009-11-14 13:59:11.484000</make_date><note>更新列信息表</note><sql>delete from datatable_defcolinfo  where t_id in( &apos;C5001&apos;,&apos;C5002&apos;,&apos;C5004&apos;,&apos;C5005&apos;) and col_cname in (&apos;科目级次&apos;,&apos;末级标志&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1616.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1666.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1750.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1050.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1350.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo  where t_id = &apos;C5006&apos; and col_cname = &apos;科目级次&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;科目级次&apos;,	&apos;c_cwkmk.kmjc&apos;,	&apos;c_hsxm_zz.kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1616.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
delete from datatable_defcolinfo  where t_id = &apos;Y0005&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;流水号&apos;,	&apos;lsh&apos;,	NULL,	&apos;lsh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;审计单位ID&apos;,	&apos;dwid&apos;,	NULL,	&apos;dwid&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	340.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;审计期间ID&apos;,	&apos;ndid&apos;,	NULL,	&apos;ndid&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	680.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	3,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;调整类型&apos;,	&apos;tzlx&apos;,	NULL,	&apos;tzlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1020.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;调整分录类型&apos;,	&apos;lx&apos;,	NULL,	&apos;lx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1360.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;主序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2040.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;显示顺序&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2380.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	8,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;说明&apos;,	&apos;sm&apos;,	NULL,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2720.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;报表项目&apos;,	&apos;bbxm&apos;,	NULL,	&apos;bbxm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3060.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;借方金额&apos;,	&apos;jfje&apos;,	NULL,	&apos;jfje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4080.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;贷方金额&apos;,	&apos;dfje&apos;,	NULL,	&apos;dfje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4420.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;其他1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4760.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;影响本期发生额&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5100.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;制度类型&apos;,	&apos;zdlx&apos;,	NULL,	&apos;zdlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5440.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>11</p_id><no>350</no><make_date>2009-11-14 18:07:06.343000</make_date><note>增加核算项目调整分录数据源</note><sql>delete from datatable_definfo where t_id = &apos;Y0009&apos;;
INSERT INTO datatable_definfo VALUES (  &apos;Y0009&apos;,	&apos;调整分录核算项目表&apos;,	&apos; tzflb_zu left outer join b_dgxm on b_dgxm.dgbh = tzflb_zu.dgbh and b_dgxm.dwid = tzflb_zu.dwid and b_dgxm.ndid = tzflb_zu.ndid and dlzt = 0,tzflb left outer join (select tzflb_hsmx.dwid,tzflb_hsmx.ndid,tzflb_hsmx.xh,tzflb_hsmx.hh,tzflb_hsmx.hsxmlxbh,c_hsxm_zdb.hsxmlxmc,tzflb_hsmx.hsxmbh,c_hsxm_zdb.hsxmmc,(tzflb_hsmx.jffse) as hsjf ,(tzflb_hsmx.dffse) as hsdf from tzflb_hsmx,c_hsxm_zdb where tzflb_hsmx.dwid = c_hsxm_zdb.dwid and tzflb_hsmx.ndid = c_hsxm_zdb.ndid and tzflb_hsmx.hsxmlxbh = c_hsxm_zdb.hsxmlxbh and tzflb_hsmx.hsxmbh = c_hsxm_zdb.hsxmbh) hs on tzflb.dwid=hs.dwid and tzflb.ndid=hs.ndid and tzflb.xh=hs.xh and tzflb.hh=hs.hh,c_cwkmk left outer join  (select c_cwkmk.dwid, c_cwkmk.ndid,c_cwkmk.kmwm,b_bbxm.xmlx,b_bbxm.bbbh,b_bbxm.xmmc from  c_cwkmk, bbxmvskm,b_bbxm where  bbxmvskm.dwid = b_bbxm.dwid and bbxmvskm.ndid = b_bbxm.ndid and   bbxmvskm.bbxmid = b_bbxm.id and  bbxmvskm.zdlx = b_bbxm.zdlx and  c_cwkmk.dwid = bbxmvskm.dwid and c_cwkmk.ndid = bbxmvskm.ndid and c_cwkmk.kmbh = bbxmvskm.kmbh and b_bbxm.zdlx = &apos;&apos;0&apos;&apos; and b_bbxm.dlzt = 0 and length(b_bbxm.bbbh) =4) bbxm on c_cwkmk.dwid = bbxm.dwid and c_cwkmk.ndid = bbxm.ndid and c_cwkmk.kmwm like bbxm.kmwm+&apos;&apos;%&apos;&apos;&apos;,	&apos;tzflb.kmbh = c_cwkmk.kmbh and c_cwkmk.dwid = tzflb_zu.dwid and c_cwkmk.ndid = tzflb_zu.ndid and tzflb.ndid = tzflb_zu.ndid and tzflb.dwid = tzflb_zu.dwid and tzflb_zu.xh = tzflb.xh &apos;,	&apos;-&apos;,	&apos;(string(tzflb.hh)+&apos;&apos;Y&apos;&apos;+string(tzflb_zu.ndid)+&apos;&apos;D&apos;&apos;+string(tzflb_zu.dwid)+&apos;&apos;Z&apos;&apos;+isnull(string(tzflb_zu.lx),&apos;&apos;&apos;&apos;)+&apos;&apos;P&apos;&apos;+string(tzflb_zu.xh) + &apos;&apos;L&apos;&apos; + hs.hsxmlxbh + &apos;&apos;H&apos;&apos; + hs.hsxmbh) &apos;,	&apos;tzflb_zu.dwid&apos;,	&apos;tzflb_zu.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	41,	NULL,	NULL);
delete from datatable_fun  where t_id = &apos;Y0009&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_defcolinfo where t_id = &apos;Y0009&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;组号&apos;,	&apos;tzflb_zu.zb&apos;,	NULL,	&apos;zb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整原因&apos;,	&apos;tzflb_zu.sm&apos;,	NULL,	&apos;tzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	280.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整分录类型&apos;,	&apos;(case tzflb_zu.lx when &apos;&apos;1&apos;&apos; then &apos;&apos;重分类&apos;&apos; when &apos;&apos;2&apos;&apos; then  &apos;&apos;调整分录&apos;&apos; when &apos;&apos;9&apos;&apos; then &apos;&apos;账表差异调整&apos;&apos; else &apos;&apos;不予调整&apos;&apos; end)&apos;,	NULL,	&apos;fllx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	560.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;客户调整情况&apos;,	&apos;(case tzflb_zu.khtzqk when &apos;&apos;1&apos;&apos; then &apos;&apos;同意调整&apos;&apos; else &apos;&apos;不同意调整&apos;&apos; end)&apos;,	NULL,	&apos;khtzqk&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	840.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;未调整原因&apos;,	&apos;tzflb_zu.wtzyy&apos;,	NULL,	&apos;wtzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1120.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目编号&apos;,	&apos;tzflb.kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目名称&apos;,	&apos;c_cwkmk.kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1680.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目全称&apos;,	&apos;(isnull(c_cwkmk.sjkmmc,&apos;&apos;&apos;&apos;) || &apos;&apos;&apos;&apos;||c_cwkmk.kmmc)&apos;,	NULL,	&apos;kmqc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1960.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目类型名称&apos;,	&apos;hs.hsxmlxmc&apos;,	NULL,	&apos;lxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2240.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目类型编号&apos;,	&apos;hs.hsxmlxbh&apos;,	NULL,	&apos;lxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2520.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目名称&apos;,	&apos;hs.hsxmmc&apos;,	NULL,	&apos;hsmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目编号&apos;,	&apos;hs.hsxmbh&apos;,	NULL,	&apos;hsbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3080.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;借方金额&apos;,	&apos;(case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end)&apos;,	NULL,	&apos;jfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3360.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;贷方金额&apos;,	&apos;(case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end)&apos;,	NULL,	&apos;dfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3640.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;不参与计算&apos;,	&apos;(case when tzflb.jz = &apos;&apos;1&apos;&apos; then &apos;&apos;不参与计算&apos;&apos; else &apos;&apos;&apos;&apos; end) &apos;,	NULL,	&apos;jz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3920.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;影响期末&apos;,	&apos;(case when tzflb.other2 = &apos;&apos;1&apos;&apos; then &apos;&apos;影响期末&apos;&apos; else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;yxqm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4200.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;说明&apos;,	&apos;tzflb.sm &apos;,	NULL,	&apos;sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4480.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;资产_借方&apos;,	&apos;(case when bbxm.xmlx = 0 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end) else 0 end)&apos;,	NULL,	&apos;zc_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4760.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;资产_贷方&apos;,	&apos;(case when bbxm.xmlx = 0 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end) else 0 end)&apos;,	NULL,	&apos;zc_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5040.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;损益_借方&apos;,	&apos;(case when bbxm.xmlx = 1 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end) else 0 end)&apos;,	NULL,	&apos;sy_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5320.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;损益_贷方&apos;,	&apos;(case when bbxm.xmlx = 1 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end) else 0 end)&apos;,	NULL,	&apos;sy_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5600.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整类型&apos;,	&apos;(case tzflb_zu.tzlx when 0 then &apos;&apos;期初调整&apos;&apos; else &apos;&apos;期末调整&apos;&apos; end)&apos;,	NULL,	&apos;tzlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5880.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;底稿名称&apos;,	&apos;b_dgxm.dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6160.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;底稿编号&apos;,	&apos;b_dgxm.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6440.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;所属表页&apos;,	&apos;tzflb_zu.ssdg&apos;,	NULL,	&apos;ssdg&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6720.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;索引号&apos;,	&apos;b_dgxm.syh&apos;,	NULL,	&apos;syh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7000.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;报表编号&apos;,	&apos;bbxm.bbbh&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7280.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;项目名称&apos;,	&apos;bbxm.xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7560.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>12</p_id><no>10</no><make_date>2009-11-19 14:04:45.140000</make_date><note>更新凭证表核算项目名称字段类型（varchar—nvarchar）</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;hsxmmc&apos;) then
	ALTER TABLE c_cwpz alter hsxmmc nvarchar(200)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>12</p_id><no>20</no><make_date>2009-11-19 14:05:53.640000</make_date><note>更新存储过程生成核算项目名称——先删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_pz_hsxmmc&apos;) then
   drop procedure p_make_pz_hsxmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>12</p_id><no>30</no><make_date>2009-11-19 14:06:47.625000</make_date><note>更新存储过程生成核算项目名称——创建</note><sql>create procedure p_make_pz_hsxmmc (@a_dwid integer,@a_ndid integer)
as
begin

    create table #t_hsmx_temp(kjmonth integer,pzzl char(30),pzbh char(40),bh char(100),hsmc nvarchar(200))
    ////用时：55170 毫秒
    insert #t_hsmx_temp
        SELECT kjmonth,pzzl,pzbh,bh,
            left(list(hsxmlxmc + &apos;:&apos; + hsxmmc + &apos; &apos; + (case when jffse &lt;&gt; 0 then &apos;借 &apos; + cast(cast (jffse as decimal(18,2)) as varchar(50)) else &apos;贷 &apos; + cast(cast (dffse as decimal(18,2)) as varchar(50)) end) , &apos;】【&apos;),200) as hsmc
    		FROM t_hsmx 
            where dwid = @a_dwid  and ndid = @a_ndid   
            group by kjmonth, pzzl, pzbh, bh
    ////用时：32556 毫秒
    update c_cwpz 
        set hsxmmc =  &apos;【&apos; + (case when length(hsmc) &gt; 196 then left(hsmc,193) + &apos;...&apos; else hsmc end )  + &apos;】&apos;
        from #t_hsmx_temp  T
        where c_cwpz.dwid = @a_dwid and c_cwpz.ndid = @a_ndid and	
            c_cwpz.kjmonth = t.kjmonth and c_cwpz.pzzl = t.pzzl and 
            c_cwpz.pzbh = t.pzbh and c_cwpz.bh = t.bh

end</sql></db_upgrade_row><db_upgrade_row><p_id>12</p_id><no>40</no><make_date>2009-11-19 14:45:20.203000</make_date><note>更新getkmmc函数——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;getkmmc&apos;) then
   drop procedure getkmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>12</p_id><no>50</no><make_date>2009-11-19 14:46:08.171000</make_date><note>更新getkmmc函数——创建</note><sql>exec p_exec_sql 
&apos;create function getkmmc(@a_dwid integer,@a_ndid integer,@a_kmbh char(64),@a_jc integer)
returns  nvarchar(100)
begin
	declare	@s char(1000);
	declare	@kmjc	integer;
	declare	@kmwm	char(100);
	declare	@kmmc char(100);

	if @a_kmbh is null or trim(@a_kmbh)=&apos;&apos;&apos;&apos; then return &apos;&apos;&apos;&apos;; end if;
	if @a_jc =0 then
		SELECT kmmc into @s FROM c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @a_kmbh;
	elseif @a_jc = 100 then 
		SELECT isnull(sjkmmc,&apos;&apos;&apos;&apos;) +&apos;&apos;\\&apos;&apos; +isnull(kmmc,&apos;&apos;&apos;&apos;) into @s FROM c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @a_kmbh;
	elseif @a_jc = -1 then
		SELECT sjkmmc into @s FROM c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @a_kmbh;
			if (@s =&apos;&apos;&apos;&apos; or @s is null) and length(@a_kmbh) &gt; 5 then
					select getkmmc(@a_dwid,@a_ndid,@a_kmbh,-2) into @s;
			end if;
	elseif @a_jc = -2 then 
		////取传入科目的上级科目和级次 2009-1-7 sls 使用上级科目进行处理 原有like不兼容同级科目存在包含关系情况
		select kmwm,kmjc into @kmwm,@kmjc from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @a_kmbh;
		If @kmjc = 1 then
			set @s = &apos;&apos;&apos;&apos;;			
		ElseIf @kmjc is null then
			set @s = &apos;&apos;ERR:科目不存在!&apos;&apos;;
		ElseIf @kmjc&lt;=0 Then 
			set @s = &apos;&apos;ERR:科目级次有误!&apos;&apos;;
		Else
			set @s = &apos;&apos;&apos;&apos;;
			If @kmwm &lt;&gt; &apos;&apos;&apos;&apos; and @kmwm is not null Then
				while @kmjc &gt; 1 loop
    				////取上级科目信息
					select kmwm,kmmc,kmjc into @kmwm,@kmmc,@kmjc from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and locate(@kmwm,kmwm) = 1 and kmjc = @kmjc - 1;
				    ////伪码空有问题
					IF( @kmwm = &apos;&apos;&apos;&apos; or  @kmwm is null ) Then
						set @s = &apos;&apos;ERR:科目信息有误，请执行《生成上级科目》功能!&apos;&apos;;
                        set @kmjc = 1; ////跳出循环
					Else
						If @s=&apos;&apos;&apos;&apos; Then
							set @s = &apos;&apos;\\&apos;&apos;+ @kmmc;
						Else
							set @s = &apos;&apos;\\&apos;&apos;+ @kmmc + @s ;
						End If;
					End If;
				End Loop;
			Else
				set @s = &apos;&apos;ERR:科目信息有误，请执行《生成上级科目》功能!&apos;&apos;;
			End If;

		End IF;
	else //返回上某一级的科目名称

		select kmwm,kmjc into @kmwm,@kmjc from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @a_kmbh;
		If @kmjc &lt;= @a_jc then
			set @s = &apos;&apos;&apos;&apos;;
		ElseIf @kmjc is null then
			set @s = &apos;&apos;ERR:科目不存在!&apos;&apos;;
		ElseIf @kmjc&lt;=0 Then 
			set @s = &apos;&apos;ERR:科目级次有误!&apos;&apos;;
		Else
			If @kmwm &lt;&gt; &apos;&apos;&apos;&apos; and @kmwm is not null Then
				////取指定级次科目信息
				select kmmc into @kmmc from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and locate(@kmwm,kmwm) = 1 and kmjc = @a_jc;		
                set @s =  @kmmc;			
			Else
				set @s = &apos;&apos;ERR:科目信息有误，请执行《生成上级科目》功能!&apos;&apos;;
			End If;
		End If;
	end if;
	set @s=left(@s,100);
	return @s;
end&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>13</p_id><no>10</no><make_date>2009-11-20 16:40:57.718000</make_date><note>更新账龄分析过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_sc&apos;) then
   drop procedure pt_zl_sc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>13</p_id><no>20</no><make_date>2009-11-20 16:43:32.203000</make_date><note>更新账龄分析过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////账龄分析 每次计算一个科目或核算项目
////@as_tab  计算表标识 K表示科目 H表示核算项目 @as_lsh 科目或者核算项目流水号
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:  用时：
////09.8.2 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_zl_sc(@ai_dwid integer,@ai_ndid integer,@as_tab char(1),@as_lsh char(150))

as
begin
    declare @as_kmbh char(64)
    declare @as_hsxmlxbh char(40)
    declare @as_hsxmbh char(40)
    declare @qjxh integer
    declare @qjqs integer
    declare @qjzz integer
    declare @qjms char(1)

    declare @kjqm  integer	////当前账套的会计期间期末
    declare @ms char(1)    ////取表模式 不同模式取不同的表 B 余额表 M 月余额表 || 最后循环用于放置是否进行账龄计算
    declare @nd integer    ////年度序号 分析区间划分
    declare @ndid integer  ////检索时用的ndid
    declare @ksyf integer  ////检索时开始月份
    declare @jsyf integer  ////检索时结束月份
    declare @qmbz integer  ////循环分析区间划分时 判断是否需要取期末余额 0 取 其他不取
    declare @nd_insert integer    ////插入记录年度序号

    declare @jdfx integer 
    declare @qms  decimal(18,4)
    declare @zf   integer ////期末值正负标记
    declare @fse  decimal(18,4)

    declare @sql  char(3000)

    select @kjqm  = kjmonth2 from sjnd where ndid = @ai_ndid
    ////取科目编号或者核算项目类型编号、核算项目编号
    if @as_tab = &apos;K&apos;
        select @as_kmbh = kmbh from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    else
        select @as_kmbh = kmbh,@as_hsxmlxbh = hsxmlxbh,@as_hsxmbh = hsxmbh  from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    ////取科目方向(核算项目方向与科目方向相同) 借方 1 贷方 －1    
    select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh
    ////账龄期间分析临时表
    create table #qjhf(qjxh integer,ms char(1),nd integer,ndid integer,ksyf integer ,jsyf integer,qmbz integer)
    ////分析账龄区间
    DECLARE zlhf CURSOR FOR select qjxh,qjqs,qjzz,qjms from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    open zlhf
    WHILE 1=1
        begin
            FETCH next zlhf INTO @qjxh,@qjqs,@qjzz,@qjms
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            ////最后一条期间 ‘X年以上账龄’ 不用分析
            If @qjzz = 100 break
            ////只有第一个需要取期末余额
            If @qjxh = 1
                set @qmbz = 0
            else
                set @qmbz = 1
            ////不是月模式 改为月模式计算
            If @qjms &lt;&gt; &apos;0&apos; ////月模式
                begin
                    set		@qjqs = @qjqs * 12
                    set		@qjzz =	@qjzz * 12
                end
            ////判断账龄起始年度顺序 
            If 	@qjqs &lt;= @kjqm 
                set @nd = 1
            else
                set @nd = ceiling((@qjqs - @kjqm)/12.0) + 1
            ////分析时间段 拆分计算账龄数据段
            while @qjqs &lt; @qjzz
                begin
                    set @nd_insert = @nd
                    ////开始月份计算 
                    set @jsyf = (@nd - 1) *  12 + @kjqm - @qjqs
                    ////结束月份计算
                    If @qjzz &gt; (@nd - 1) *  12 + @kjqm
                        begin
                            set @ksyf = 1
                            set @qjqs = (@nd - 1) *  12 + @kjqm
                            set @nd = @nd + 1
                        end
                    else
                        begin
                            set @ksyf = (@nd - 1) *  12 + @kjqm - @qjzz + 1							
                            set @qjqs = @qjzz
                        end
                    If (@ksyf = 1 and @jsyf = 12 ) 
                        set @ms = &apos;B&apos;
                    else
                        set @ms = &apos;M&apos;
                    insert into #qjhf values(@qjxh,@ms,@nd_insert,0,@ksyf,@jsyf,@qmbz)
                    set @qmbz = @qmbz + 1
                end

        end
    close zlhf
    ////取可分析年度，使用项目的上一年度，依次找
    DECLARE nd CURSOR FOR select distinct nd from #qjhf order by nd
    open nd
    while 1 = 1
        begin
            FETCH next nd INTO @nd
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            If @nd = 1
                set @ndid = @ai_ndid
            else
                select @ndid = isnull(snid,0) from prj_info where dwid = @ai_dwid and ndid = @ndid
            If @ndid = 0 or @ndid is null break
            update #qjhf set ndid = @ndid where nd = @nd
        end
    close nd
    ////清除只有部分区间数据的账龄划分
    delete from #qjhf where qjxh in (select qjxh from #qjhf group by qjxh having count(ndid) &lt;&gt; sum(case when ndid &gt; 0 then 1 else 0 end))

    ////获取分析科目或核算项目的发生和期末 根据ms从不同的表出数据 qmbz为0时去期末数 便于分组求和
    create table #zlsj(qjxh integer,jdfx char(8),jffse decimal(18,4),dffse decimal(18,4),qms decimal(18,4),qmbz integer)
    if @as_tab = &apos;K&apos;
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_cwkmk a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_kmyek a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh
            ////构造sql
            set @sql = &apos;update c_cwkmk set &apos;
        end
    else
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_hsxm_zz a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_hsxm_yye a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            ////构造sql
            set @sql = &apos;update c_hsxm_zz set &apos;
        end
    drop table #qjhf
    ////准备账龄计算数据 
    select @qms = abs(sum(qms)) ,@zf = (case when sum(qms) &lt; 0 then -1 else 1 end ) from #zlsj where qmbz = 0 group by qjxh
    ////期末数为零 赋固定值 计算逻辑相同
    If @@rowcount = 0
        begin
            set @qms = 0
            set @jdfx = 1
            set @zf  = 1
        end
    create table #js(qjxh integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4))
    ////合计账龄划分区间发生额
    insert into #js
        select qjxh ,sum(jffse),sum(dffse),0
        from #zlsj
        group by qjxh
    drop table #zlsj
    ////判断发生额正负
    update #js 
        set fse = (case when @jdfx * @zf = 1 then (case when jffse &gt; 0 then jffse else 0 end) + (case when dffse &gt; 0 then 0 else abs(dffse) end)
                        else (case when dffse &gt; 0 then dffse else 0 end) + (case when jffse &gt; 0 then 0 else abs(jffse) end) end)
    set @qjxh = 1    
    set @ms = 1
    while @qjxh &lt;= 16
        begin
            If @ms = 1 ////账龄数据进行分析
                begin
                    select @fse = fse from #js where qjxh = @qjxh

                    If  @@rowcount &gt; 0   ////有数据 计算
                        begin
                            if @qms &gt; @fse ////余额大于发生额 账龄为发生额 否则为 余额
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@fse * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = @qms - @fse
                                end
                            else
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = 0
                                end
                        end
                    Else ////无数据 将剩余数放入 后续不再进行账龄分析
                        begin
                            set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                            set @ms = 0
                        end
                end
            else ////无账龄数据 置零
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = 0,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = 0,&apos;
                end
            set @qjxh = @qjxh + 1
        end
    set @sql = left(@sql ,length(@sql) - 1 ) || &apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;

    EXECUTE (@sql)
end</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>10</no><make_date>2009-11-26 13:44:34.390000</make_date><note>更新账龄分析过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_sc&apos;) then
   drop procedure pt_zl_sc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>20</no><make_date>2009-11-26 13:50:45.687000</make_date><note>更新账龄分析过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////账龄分析 每次计算一个科目或核算项目
////@as_tab  计算表标识 K表示科目 H表示核算项目 @as_lsh 科目或者核算项目流水号
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:  用时：
////09.8.2 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_zl_sc(@ai_dwid integer,@ai_ndid integer,@as_tab char(1),@as_lsh char(150))

as
begin
    declare @as_kmbh char(64)
    declare @as_hsxmlxbh char(40)
    declare @as_hsxmbh char(40)
    declare @qjxh integer
    declare @qjqs integer
    declare @qjzz integer
    declare @qjms char(1)

    declare @kjqm  integer	////当前账套的会计期间期末
    declare @ms char(1)    ////取表模式 不同模式取不同的表 B 余额表 M 月余额表 || 最后循环用于放置是否进行账龄计算
    declare @nd integer    ////年度序号 分析区间划分
    declare @ndid integer  ////检索时用的ndid
    declare @ksyf integer  ////检索时开始月份
    declare @jsyf integer  ////检索时结束月份
    declare @qmbz integer  ////循环分析区间划分时 判断是否需要取期末余额 0 取 其他不取
    declare @nd_insert integer    ////插入记录年度序号

    declare @jdfx integer 
    declare @qms  decimal(18,4)
    declare @zf   integer ////期末值正负标记
    declare @fse  decimal(18,4)

    declare @sql  char(3000)

    select @kjqm  = kjmonth2 from sjnd where ndid = @ai_ndid
    ////取科目编号或者核算项目类型编号、核算项目编号
    if @as_tab = &apos;K&apos;
        select @as_kmbh = kmbh from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    else
        select @as_kmbh = kmbh,@as_hsxmlxbh = hsxmlxbh,@as_hsxmbh = hsxmbh  from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    ////取科目方向(核算项目方向与科目方向相同) 借方 1 贷方 －1    
    select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh
    ////账龄期间分析临时表
    create table #qjhf(qjxh integer,ms char(1),nd integer,ndid integer,ksyf integer ,jsyf integer,qmbz integer)
    ////分析账龄区间
    DECLARE zlhf CURSOR FOR select qjxh,qjqs,qjzz,qjms from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    open zlhf
    WHILE 1=1
        begin
            FETCH next zlhf INTO @qjxh,@qjqs,@qjzz,@qjms
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            ////最后一条期间 ‘X年以上账龄’ 不用分析
            If @qjzz = 100 break
            ////只有第一个需要取期末余额
            If @qjxh = 1
                set @qmbz = 0
            else
                set @qmbz = 1
            ////不是月模式 改为月模式计算
            If @qjms &lt;&gt; &apos;0&apos; ////月模式
                begin
                    set		@qjqs = @qjqs * 12
                    set		@qjzz =	@qjzz * 12
                end
            ////判断账龄起始年度顺序 
            If 	@qjqs &lt;= @kjqm 
                set @nd = 1
            else
                set @nd = ceiling((@qjqs - @kjqm)/12.0) + 1
            ////分析时间段 拆分计算账龄数据段
            while @qjqs &lt; @qjzz
                begin
                    set @nd_insert = @nd
                    ////开始月份计算 
                    set @jsyf = (@nd - 1) *  12 + @kjqm - @qjqs
                    ////结束月份计算
                    If @qjzz &gt; (@nd - 1) *  12 + @kjqm
                        begin
                            set @ksyf = 1
                            set @qjqs = (@nd - 1) *  12 + @kjqm
                            set @nd = @nd + 1
                        end
                    else
                        begin
                            set @ksyf = (@nd - 1) *  12 + @kjqm - @qjzz + 1							
                            set @qjqs = @qjzz
                        end
                    If (@ksyf = 1 and @jsyf = 12 ) 
                        set @ms = &apos;B&apos;
                    else
                        set @ms = &apos;M&apos;
                    insert into #qjhf values(@qjxh,@ms,@nd_insert,0,@ksyf,@jsyf,@qmbz)
                    set @qmbz = @qmbz + 1
                end

        end
    close zlhf
    ////取可分析年度，使用项目的上一年度，依次找
    DECLARE nd CURSOR FOR select distinct nd from #qjhf order by nd
    open nd
    while 1 = 1
        begin
            FETCH next nd INTO @nd
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            If @nd = 1
                set @ndid = @ai_ndid
            else
                select @ndid = isnull(snid,0) from prj_info where dwid = @ai_dwid and ndid = @ndid
            If @ndid = 0 or @ndid is null break
            update #qjhf set ndid = @ndid where nd = @nd
        end
    close nd
    ////清除只有部分区间数据的账龄划分
    delete from #qjhf where qjxh in (select qjxh from #qjhf where qjxh &gt; 1 group by qjxh having count(ndid) &lt;&gt; sum(case when ndid &gt; 0 then 1 else 0 end))

    ////获取分析科目或核算项目的发生和期末 根据ms从不同的表出数据 qmbz为0时去期末数 便于分组求和
    create table #zlsj(qjxh integer,jdfx char(8),jffse decimal(18,4),dffse decimal(18,4),qms decimal(18,4),qmbz integer)
    if @as_tab = &apos;K&apos;
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_cwkmk a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_kmyek a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh
            ////构造sql
            set @sql = &apos;update c_cwkmk set &apos;
        end
    else
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_hsxm_zz a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_hsxm_yye a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            ////构造sql
            set @sql = &apos;update c_hsxm_zz set &apos;
        end
    drop table #qjhf
    ////准备账龄计算数据 
    select @qms = abs(sum(qms)) ,@zf = (case when sum(qms) &lt; 0 then -1 else 1 end ) from #zlsj where qmbz = 0 group by qjxh
    ////期末数为零 赋固定值 计算逻辑相同
    If @@rowcount = 0
        begin
            set @qms = 0
            set @jdfx = 1
            set @zf  = 1
        end
    create table #js(qjxh integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4))
    ////合计账龄划分区间发生额
    insert into #js
        select qjxh ,sum(jffse),sum(dffse),0
        from #zlsj
        group by qjxh
    drop table #zlsj
    ////判断发生额正负
    update #js 
        set fse = (case when @jdfx * @zf = 1 then (case when jffse &gt; 0 then jffse else 0 end) + (case when dffse &gt; 0 then 0 else abs(dffse) end)
                        else (case when dffse &gt; 0 then dffse else 0 end) + (case when jffse &gt; 0 then 0 else abs(jffse) end) end)
    set @qjxh = 1    
    set @ms = 1
    while @qjxh &lt;= 16
        begin
            If @ms = 1 ////账龄数据进行分析
                begin
                    select @fse = fse from #js where qjxh = @qjxh

                    If  @@rowcount &gt; 0   ////有数据 计算
                        begin
                            if @qms &gt; @fse ////余额大于发生额 账龄为发生额 否则为 余额
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@fse * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = @qms - @fse
                                end
                            else
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = 0
                                end
                        end
                    Else ////无数据 将剩余数放入 后续不再进行账龄分析
                        begin
                            set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                            set @ms = 0
                        end
                end
            else ////无账龄数据 置零
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = 0,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = 0,&apos;
                end
            set @qjxh = @qjxh + 1
        end
    set @sql = left(@sql ,length(@sql) - 1 ) || &apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;

    EXECUTE (@sql)
end</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>30</no><make_date>2009-11-26 13:54:51.859000</make_date><note>更新报表项目过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_bbxm&apos;) then
   drop procedure pb_bbxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>40</no><make_date>2009-11-26 13:56:03.984000</make_date><note>更新报表项目过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////////////////////
////计算财务报表项目库的数据,在需要取数前调用，和在c_kmyek,c_cwkmk修改后调用
////@a_dlzt 登录状态 0:正常登录 计算当前项目单体报表数据 必须在 pt_cwkmk 中调用使用 pb_bbxm
////                 1:母公司登录 计算母分公司合并报表数据
////                 2:集团公司登录 计算母子公司合并报表数据
////测试量:科目34133  用时：
////09.7.14 Ben
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

Create Procedure pb_bbxm(@a_dwid Integer,@a_ndid Integer,@a_dlzt Integer)
as
Begin

    declare @bbtz char(1)   //// 报表调整启用标志
    declare @bbqs char(1)   //// 报表未审数来源
    DECLARE @s_dwid_all varchar(2000)
    DECLARE @s_dwid varchar(2000)
    declare @i_zfgs integer
    
    CREATE TABLE #tmp_bbxm(zdlx	char(1)	,////	制度类型
        bbbh	char(20)	,////	报表编号
        jdfx char(8),
        zm_sn_qcs	decimal(18,4)	,////	账面上年期初数
        zm_sn_fse_j	decimal(18,4)	,////	账面上年借方发生额
        zm_sn_fse_d	decimal(18,4)	,////	账面上年贷方发生额
        zm_sn_fse	decimal(18,4)	,////	账面上年发生额
        zm_qcs  	decimal(18,4)	,////	账面期初数
        zm_fse_j	decimal(18,4)	,////	账面借方发生额
        zm_fse_d	decimal(18,4)	,////	账面贷方发生额
        zm_fse  	decimal(18,4)	,////	账面发生额
        zm_qms	    decimal(18,4)	,////	账面期末数
        yqc_cfl_j	decimal(18,4)	,////	账表差异调整期初借方发生额
        yqc_cfl_d	decimal(18,4)	,////	账表差异调整期初贷方发生额
        yqm_cfl_j	decimal(18,4)	,////	账表差异调整期末借方发生额
        yqm_cfl_d	decimal(18,4)	,////	账表差异调整期末贷方发生额
        ysn_ws_fse_j	decimal(18,4)	,////	账表差异调整后上年借方发生额
        ysn_ws_fse_d	decimal(18,4)	,////	账表差异调整后上年贷方发生额
        ysn_ws_fse	decimal(18,4)	,////	账表差异调整后上年发生额
        yws_qcs 	decimal(18,4)	,////	账表差异调整后期初数
        yws_fse_j	decimal(18,4)	,////	账表差异调整后借方发生额
        yws_fse_d	decimal(18,4)	,////	账表差异调整后贷方发生额
        yws_fse 	decimal(18,4)	,////	账表差异调整后发生额
        yws_qms 	decimal(18,4)	,////	账表差异调整后期末数
        qc_cfl_j	decimal(18,4)	,////	期初重分类借方发生额
        qc_cfl_d	decimal(18,4)	,////	期初重分类贷方发生额
        qc_tz_j 	decimal(18,4)	,////	期初账项调整借方发生额
        qc_tz_d 	decimal(18,4)	,////	期初账项调整贷方发生额
        qm_cfl_j	decimal(18,4)	,////	期末重分类借方发生额
        qm_cfl_d	decimal(18,4)	,////	期末重分类贷方发生额
        qm_tz_j 	decimal(18,4)	,////	期末账项调整借方发生额
        qm_tz_d 	decimal(18,4)	,////	期末账项调整贷方发生额
        g_yqm_tz_j	decimal(18,4)	,////	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,////	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,////	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,////	调整分录滚调影响期末数贷方
        other5      decimal(18,4)	,////	期初未更正数
        other6      decimal(18,4)	,////	期末未更正数
	PRIMARY KEY (zdlx,bbbh)
	)
    if @a_dlzt = 0
		BEGIN
            ////取项目参数
            SELECT @bbqs = bbqs,@bbtz = bbtz FROM prj_info WHERE @a_dwid = dwid AND @a_ndid = ndid
            If @bbtz = 0
                //// 不使用报表调整
                begin
                    INSERT INTO #tmp_bbxm
                		SELECT a.zdlx,A.bbbh,a.jdfx,
                            ////账面数汇总
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                    		sum(isnull(B.sn_ws_fse_j,0)),
                    		sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                    		sum(isnull(B.ws_fse_j,0)),
                    		sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            ////账表差异调整数汇总
                    		sum(isnull(B.yqc_cfl_j,0)),sum(isnull(B.yqc_cfl_d,0)),
                    		sum(isnull(B.yqm_cfl_j,0)),sum(isnull(B.yqm_cfl_d,0)),
                            ////账表差异调整后汇总
                            sum(isnull(b.ysn_ws_fse_j,0)),
                            sum(isnull(b.ysn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.ysn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qcs,0)),
                            sum(isnull(b.yws_fse_j,0)),
                            sum(isnull(b.yws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qms,0)),
                            ////调整数汇总
                    		sum(isnull(B.qc_cfl_j,0)),sum(isnull(B.qc_cfl_d,0)),
                    		sum(isnull(B.qc_tz_j,0)),sum(isnull(B.qc_tz_d,0)),
                    		sum(isnull(B.qm_cfl_j,0)),sum(isnull(B.qm_cfl_d,0)),
                    		sum(isnull(B.qm_tz_j,0)),sum(isnull(B.qm_tz_d,0)),
                            ////影响发生额的调整数汇总
                    		sum(isnull(B.g_yqm_tz_j,0)),sum(isnull(B.g_yqm_tz_d,0)),
                    		sum(isnull(B.g_qm_tz_j,0)),sum(isnull(B.g_qm_tz_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                		FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B
                        WHERE a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                    		A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                		GROUP BY a.zdlx,A.bbbh,a.jdfx
                end
            else
                ////使用报表调整分录
                begin
                    //// 取账面数
                    INSERT INTO #tmp_bbxm
                        SELECT a.zdlx,A.bbbh,a.jdfx,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                            sum(isnull(B.sn_ws_fse_j,0)),
                            sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                            sum(isnull(B.ws_fse_j,0)),
                            sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                        FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B 
                        WHERE  a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                            A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND 
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                        GROUP BY a.zdlx,A.bbbh,a.jdfx
                    //// 取报表调整数
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (  select zdlx ,bbxm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                    
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and length(bbxm) &gt; 4
                                group by zdlx,bbxm) t
                        where a.zdlx = t.zdlx and a.bbbh = t.bbxm
                    ////        
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (select zdlx ,left(bbxm,4) as xm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and bbxm is not null and bbxm &lt;&gt; &apos;&apos;
                                group by zdlx ,left(bbxm,4)) t
                            where a.zdlx = t.zdlx and a.bbbh = t.xm
                    ////计算账表差异调整后的数据，使用科目级次调整分录不需要计算
                    update #tmp_bbxm 
                        set ysn_ws_fse_j    = zm_sn_fse_j + yqc_cfl_j,
                            ysn_ws_fse_d    = zm_sn_fse_d + yqc_cfl_d,
                            ysn_ws_fse      = zm_sn_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_qcs         = zm_qcs + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_fse_j       = zm_fse_j + g_yqm_tz_j,
                            yws_fse_d       = zm_fse_d + g_yqm_tz_d,
                            yws_fse         = zm_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j - g_yqm_tz_d),
                            yws_qms         = zm_qms + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqm_cfl_j - yqm_cfl_d)
                end
            ////清除已有数据 同时计算报表发生额
            UPDATE b_bbxm
                set zm_sn_qcs	= 0 ,zm_sn_fse_j	= 0 ,zm_sn_fse_d	= 0 ,zm_sn_fse  = 0,
                    zm_qcs	= 0 ,zm_fse_j	= 0 ,zm_fse_d	= 0 ,zm_fse = 0 ,zm_qms	= 0 ,
                    yqc_cfl_j	= 0 ,yqc_cfl_d	= 0 ,yqc_cfl_tzs    = 0,
                    yqm_cfl_j	= 0 ,yqm_cfl_d	= 0 ,yqm_cfl_tzs    = 0,
                    ysn_ws_fse_j	= 0 ,ysn_ws_fse_d	= 0 ,ysn_ws_fse = 0,
                    yws_qcs	= 0 ,yws_fse_j	= 0 ,yws_fse_d	= 0 ,yws_fse = 0 ,yws_qms	= 0 ,
                    qc_cfl_j	= 0 ,qc_cfl_d	= 0 ,qc_cfl_tzs = 0,qc_tz_j	= 0 ,qc_tz_d	= 0 ,qc_tz_tzs = 0,qc_tzs   = 0,
                    qm_cfl_j	= 0 ,qm_cfl_d	= 0 ,qm_cfl_tzs = 0,qm_tz_j	= 0 ,qm_tz_d	= 0 ,qm_tz_tzs=0,qm_tzs = 0,
                    g_yqm_tz_j	= 0 ,g_yqm_tz_d	= 0 ,g_qm_tz_j	= 0 ,g_qm_tz_d	= 0 , other5 = 0 ,other6=0
                WHERE dwid = @a_dwid AND ndid = @a_ndid AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////临时表数据更新到报表项目表

            UPDATE b_bbxm a
                set a.zm_sn_qcs	= b.zm_sn_qcs ,a.zm_sn_fse_j	= b.zm_sn_fse_j ,a.zm_sn_fse_d	= b.zm_sn_fse_d ,a.zm_sn_fse = b.zm_sn_fse,
                    a.zm_qcs	= b.zm_qcs ,a.zm_fse_j	= b.zm_fse_j ,a.zm_fse_d	= b.zm_fse_d ,a.zm_fse    = b.zm_fse,a.zm_qms	= b.zm_qms ,
                    a.yqc_cfl_j	= b.yqc_cfl_j ,a.yqc_cfl_d	= b.yqc_cfl_d ,
                    a.yqc_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqc_cfl_j - b.yqc_cfl_d),
                    a.yqm_cfl_j	= b.yqm_cfl_j ,a.yqm_cfl_d	= b.yqm_cfl_d ,
                    a.yqm_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqm_cfl_j - b.yqm_cfl_d),
                    a.ysn_ws_fse_j	= b.ysn_ws_fse_j ,a.ysn_ws_fse_d	= b.ysn_ws_fse_d ,a.ysn_ws_fse    = b.ysn_ws_fse,
                    a.yws_qcs	= b.yws_qcs ,a.yws_fse_j	= b.yws_fse_j ,a.yws_fse_d	= b.yws_fse_d ,a.yws_fse   = b.yws_fse,a.yws_qms	= b.yws_qms ,
                    a.qc_cfl_j	= b.qc_cfl_j ,a.qc_cfl_d	= b.qc_cfl_d ,
                    a.qc_cfl_tzs= (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d),
                    a.qc_tz_j	= b.qc_tz_j ,a.qc_tz_d	= b.qc_tz_d ,
                    a.qc_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_tz_j - b.qc_tz_d),
                    a.qc_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d + b.qc_tz_j - b.qc_tz_d),
                    a.qm_cfl_j	= b.qm_cfl_j ,a.qm_cfl_d	= b.qm_cfl_d ,
                    a.qm_cfl_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d),
                    a.qm_tz_j	= b.qm_tz_j ,a.qm_tz_d	= b.qm_tz_d ,
                    a.qm_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_tz_j - b.qm_tz_d),
                    a.qm_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d + b.qm_tz_j - b.qm_tz_d),
                    a.g_yqm_tz_j	= b.g_yqm_tz_j ,a.g_yqm_tz_d	= b.g_yqm_tz_d ,a.g_qm_tz_j	= b.g_qm_tz_j ,a.g_qm_tz_d	= b.g_qm_tz_d,
                    a.other5    = b.other5,a.other6 = b.other6
                from #tmp_bbxm b
                WHERE a.zdlx = b.zdlx and a.bbbh = b.bbbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;

            ////确定报表数据来源
            if @bbqs = 3 --报表数
    			UPDATE b_bbxm 
                    SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                        sn_ws_fse = bb_sn_fse,
            			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                        ws_fse= bb_fse,
            			ws_qms = bb_qms    			
        			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    		else if @bbqs = 2 --账面数
    			UPDATE b_bbxm 
                    SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                        sn_ws_fse = zm_sn_fse,
            			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                        ws_fse = zm_fse,
            			ws_qms = zm_qms
                    WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
    		else if @bbqs = 1 --账面预调整数
    			UPDATE b_bbxm 
                    SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                        sn_ws_fse = ysn_ws_fse,
            			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                        ws_fse = yws_fse,
            			ws_qms = yws_qms
                    WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////审定数计算
            UPDATE b_bbxm 
                SET sn_sd_fse_j = adding(sn_ws_fse_j,adding(qc_tz_j,qc_cfl_j)),
            		sn_sd_fse_d = adding(sn_ws_fse_d,adding(qc_tz_d,qc_cfl_d)),
                    sn_sd_fse = sn_ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(qc_tz_j,qc_cfl_j),adding(qc_tz_d,qc_cfl_d)),
                    sd_qcs = adding(ws_qcs,qc_tzs),
            		sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
            		sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                    sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)),
            		sd_qms = adding(ws_qms,qm_tzs)
        		WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND xmlx &lt;&gt; &apos;2&apos;
            ////报表项目计算时间
            update sys_parameter set parvalue = convert(varchar(20),getdate(),20) where dwid = @a_dwid AND ndid = @a_ndid  and parid = &apos;SCAT0002&apos;    
        end
    else

    ////集团或者母公司登录 不改动原有算法 只调整相应改动
        begin            
            CREATE TABLE #tmp_bbxm_j(
            	bbbh		char(20)	NOT NULL,		/*报表编号*/
            	sn_qcs		decimal(18,4)	,			/*上年期初数*/
            	sn_ws_fse_j	decimal(18,4)	,			/*上年发生额借*/
            	sn_ws_fse_d	decimal(18,4)	,			/*上年发生额贷*/
            	ws_qcs		decimal(18,4)	,			/*未审期初数*/
            	ws_qms		decimal(18,4)	,			/*未审期末数*/
            	ws_fse_j	decimal(18,4)	,			/*未审借方发生额，可以由计算1到12月的fse_j得到,现由触发器得到*/
            	ws_fse_d	decimal(18,4)	,
                PRIMARY KEY (bbbh))

            CREATE TABLE #tmp_jt_dxflb_zu(
        		xh integer NOT NULL, ////主序号
        		dwid1 integer NOT NULL, ////审计单位ID1,记录抵消分录涉及到的两个公司
        		dwid2 integer NOT NULL, ////审计单位ID2
        		tzlx tinyint NULL,
        		primary key(xh),
        		)
    		SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,@a_dlzt,3)+&apos;,&apos;
    		INSERT INTO #tmp_jt_dxflb_zu
    		    SELECT xh,dwid1,dwid2,tzlx 
                    FROM jt_dxflb_zu 
        			WHERE ndid = @a_ndid AND sfxj = 1 AND khtzqk = &apos;1&apos; AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
    		--集团公司出汇总数，由getdwid来判断出应该包含的子分公司，
    		SELECT @s_dwid = &apos;&apos;
    		if @a_dlzt = 1
    			BEGIN
                    ////分公司不存在下级单位 将分公司数据处理成登录状态为2的报表数据 供集团或母公司登录使用
        			DECLARE cur11 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND
        			A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;0&apos;
        			OPEN cur11
        			FETCH next cur11 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur11 INTO @i_zfgs
        				END
        			CLOSE cur11
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d) 
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 0) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 1
    		if @a_dlzt = 2
    			BEGIN
        			EXECUTE pb_bbxm @a_dwid,@a_ndid,1
        			SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,1,3)+&apos;,&apos;
        			DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
        			DECLARE cur2 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;1&apos;
        			OPEN cur2
        			FETCH next cur2 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur2 INTO @i_zfgs
        				END
        			CLOSE cur1
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d)
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 1) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 2
            ////
    		DELETE FROM b_bbxm WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; --new
    		INSERT INTO b_bbxm(id,dwid,ndid,zdlx,dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx)
        		SELECT id,dwid,ndid,0,@a_dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx 
                    FROM b_bbxm
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = 0 AND(bbbh is NOT NULL) AND bbbh NOT LIKE &apos;9%&apos; --new
    		UPDATE b_bbxm 
                SET sn_qcs = A.sn_qcs,
            		sn_ws_fse_j = A.sn_ws_fse_j,
            		sn_ws_fse_d = A.sn_ws_fse_d,
            		ws_qcs = A.ws_qcs,
            		ws_qms = A.ws_qms,
            		ws_fse_j = A.ws_fse_j,
            		ws_fse_d = A.ws_fse_d 
                FROM #tmp_bbxm_j as A 
                WHERE b_bbxm.zdlx = &apos;0&apos; and  b_bbxm.dwid = @a_dwid AND b_bbxm.ndid = @a_ndid AND A.bbbh = b_bbxm.bbbh AND b_bbxm.dlzt = @a_dlzt AND b_bbxm.bbbh NOT LIKE &apos;9%&apos; --new
    		if @s_dwid = &apos;,&apos; --当前项目下面没有
    			BEGIN
    			UPDATE b_bbxm 
                    SET sd_qcs = ws_qcs,sd_qms = ws_qms,sn_sd_fse_j = sn_ws_fse_j,sn_sd_fse_d = sn_ws_fse_d,sd_fse_j = ws_fse_j,sd_fse_d = ws_fse_d
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; --new
    			END
    		else -- @s_dwid = &apos;,&apos;
    			BEGIN
    			SELECT @s_dwid = @s_dwid+string(@a_dwid)+&apos;,&apos;
    			CREATE TABLE #t_tzfl_j(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
    			CREATE TABLE #t_tzfl_d(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
 
    			//归集期初抵消分录//add by qy 2008.6.26
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,0,0,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.jfbbbh,z.tzlx
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,0,0,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.dfbbbh,z.tzlx
    			UPDATE b_bbxm as A SET qc_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qc_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    
    		  	delete #t_tzfl_j 
    			delete #t_tzfl_d 
    			//归集期末抵消分录
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.jfbbbh,z.tzlx,g_tz
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.dfbbbh,z.tzlx,g_tz
    			//发生额	g_qm_tz_ = 影响发生额的调整 = 期末正常调整（不打钩） － 期初红字调整（打钩）
    			//余额	qm_tz_	 = 期末正常调整（不打钩） ＋ 期末不影响发生调整（打钩）
    			UPDATE b_bbxm as A SET qm_tz_j = je,g_qm_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = je,g_qm_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_j = adding(qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = adding(qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_j = sub(g_qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_d = sub(g_qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
        
    			--往上汇总
    			CREATE TABLE #t_tzflhz(
    				bbbh char(40) NOT NULL,
    				qc_tz_j decimal(18,4) NULL,
    				qc_tz_d decimal(18,4) NULL,
    				qm_tz_j decimal(18,4) NULL,
    				qm_tz_d decimal(18,4) NULL,
    				g_qm_tz_j decimal(18,4) NULL,
    				g_qm_tz_d decimal(18,4) NULL,
    			primary key(bbbh),
    			)
    			DECLARE cur1 DYNAMIC scroll CURSOR FOR SELECT distinct kmjc = length(bbbh) FROM #tmp_bbxm WHERE length(bbbh) &gt; 1 ORDER BY kmjc DESC
    			OPEN cur1
    			FETCH next cur1 INTO @i_maxjc
    			FETCH next cur1 INTO @i_maxjc1
    			while @@sqlstatus = 0
    				BEGIN
    				DELETE FROM #t_tzflhz
    				INSERT INTO #t_tzflhz
        				SELECT a.bbbh,sum(b.qc_tz_j),sum(b.qc_tz_d),sum(b.qm_tz_j),sum(b.qm_tz_d),sum(b.g_qm_tz_j),sum(b.g_qm_tz_d) 
                            FROM b_bbxm as A,b_bbxm as B 
        				    WHERE a.zdlx = &apos;0&apos; and  b.zdlx = &apos;0&apos; and  a.dwid = @a_dwid AND a.ndid = @a_ndid AND b.dwid = @a_dwid AND b.ndid = @a_ndid AND length(a.bbbh) = @i_maxjc1 AND b.bbbh LIKE a.bbbh+&apos;%&apos; AND(length(b.bbbh) = @i_maxjc OR length(b.bbbh) = @i_maxjc1) AND a.dlzt = @a_dlzt AND b.dlzt = @a_dlzt AND a.xmlx &lt;&gt; &apos;2&apos; AND b.xmlx &lt;&gt; &apos;2&apos; AND a.bbbh NOT LIKE &apos;9%&apos; --new
        				    GROUP BY a.bbbh
    
    				UPDATE b_bbxm as B 
                        SET qc_tz_j = A.qc_tz_j,qc_tz_d = A.qc_tz_d,
    					    qm_tz_j = A.qm_tz_j,	qm_tz_d = A.qm_tz_d,
    					    g_qm_tz_j = A.g_qm_tz_j,g_qm_tz_d = A.g_qm_tz_d
        				FROM #t_tzflhz as A 
                        WHERE b.zdlx = &apos;0&apos; and B.dwid = @a_dwid AND B.ndid = @a_ndid AND B.bbbh = A.bbbh AND b.dlzt = @a_dlzt
    
    				SELECT @i_maxjc = @i_maxjc1
    				FETCH next cur1 INTO @i_maxjc1
    				END
    			CLOSE cur1
    			--分录汇总
    			UPDATE b_bbxm 
                    SET qc_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qc_tz_j,qc_tz_d) else sub(qc_tz_d,qc_tz_j) END,
    				    qm_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qm_tz_j,qm_tz_d) else sub(qm_tz_d,qm_tz_j) END 
    			    WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;
    			--分两步是因为计算顺序的原因
    			UPDATE b_bbxm SET qc_tzs = qc_tz_tzs,qm_tzs = qm_tz_tzs WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;

    			UPDATE b_bbxm 
                    SET sn_ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(sn_ws_fse_j , sn_ws_fse_d),
                        ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(ws_fse_j,ws_fse_d),
                        sn_sd_fse_j = adding(sn_ws_fse_j,qc_tz_j),
                        sn_sd_fse_d = adding(sn_ws_fse_d,qc_tz_d),
                        sn_sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(sn_ws_fse_j,qc_tz_j),adding(sn_ws_fse_d,qc_tz_d)),
                        sd_qcs = adding(ws_qcs,qc_tzs),
                        sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
                        sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                        sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(ws_fse_j,g_qm_tz_j),adding(ws_fse_d,g_qm_tz_d)),
        				sd_qms = adding(ws_qms,qm_tzs)        				
    			    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; 		

    		END
        end

END
</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>50</no><make_date>2009-11-26 13:57:03.968000</make_date><note>更新集团报表项目过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_bbxm_forjt&apos;) then
   drop procedure pb_bbxm_forjt
end if</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>60</no><make_date>2009-11-26 13:57:21.593000</make_date><note>更新集团报表项目过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////////////////////
////设置财务报表项目库的数据,在需要取数前调用 集团公司汇总,用于过渡表以&quot;下属所有单位&quot;进行列示时使用。
////测试量:科目34133  用时：
////09.7.14 Ben
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

create procedure pb_bbxm_forjt(@a_dwid integer,@a_ndid integer,@a_dlzt integer)
as 
begin
declare @i_maxjc integer
declare @i_maxjc1 integer
declare @d_nc	decimal(18,4)
declare @s_dwid varchar(2000)
declare @s_dwid_all varchar(2000)
declare @i_zfgs integer

CREATE TABLE #tmp_bbxm(
	bbbh		char(20)	not null,		/*报表编号*/
	sn_qcs		decimal(18,4)	,			/*上年期初数*/
	sn_ws_fse_j	decimal(18,4)	,			/*上年发生额借*/
	sn_ws_fse_d	decimal(18,4)	,			/*上年发生额贷*/
	ws_qcs		decimal(18,4)	,			/*未审期初数*/
	ws_qms		decimal(18,4)	,			/*未审期末数*/
	ws_fse_j	decimal(18,4)	,			/*未审借方发生额*/
	ws_fse_d	decimal(18,4)	,			/*未审贷方发生额*/
	
	PRIMARY KEY (bbbh)
)
CREATE TABLE #tmp_jt_dxflb_zu(
	xh		integer 	not null,	/*主序号*/
	dwid1		integer		not null,	/*审计单位ID1,记录抵消分录涉及到的两个公司*/
	dwid2		integer		not null,	/*审计单位ID2*/
	tzlx		tinyint			,	
	PRIMARY KEY (xh)
)
select @s_dwid_all =&apos;,&apos;+ getdwid(@a_dwid,@a_ndid,@a_dlzt,3)+&apos;,&apos;
insert into #tmp_jt_dxflb_zu select xh,dwid1,dwid2,tzlx
from jt_dxflb_zu where ndid = @a_ndid and sfxj =1 and khtzqk =&apos;1&apos; and (@s_dwid_all like &apos;%,&apos;+ string(dwid1)+&apos;,%&apos;) and (@s_dwid_all like &apos;%,&apos;+ string(dwid2)+&apos;,%&apos;)

select @s_dwid =&apos;,&apos;+ getdwid(@a_dwid,@a_ndid,@a_dlzt,2)+&apos;,&apos;//集团公司出汇总数，由getdwid来判断出应该包含的子分公司，
if @a_dlzt = 2
begin
	EXEC pb_bbxm_forjt @a_dwid,@a_ndid,1
	select @s_dwid_all =&apos;,&apos;+ getdwid(@a_dwid,@a_ndid,1,3)+&apos;,&apos;
	delete #tmp_jt_dxflb_zu where (@s_dwid_all like &apos;%,&apos;+ string(dwid1)+&apos;,%&apos;) and (@s_dwid_all like &apos;%,&apos;+ string(dwid2)+&apos;,%&apos;)

	insert into #tmp_bbxm (bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
	select bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d)
	from b_bbxm where zdlx = &apos;0&apos; and ndid = @a_ndid and ((@s_dwid like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and dlzt = 0 and dwid &lt;&gt; @a_dwid ) or (dlzt = 1 and dwid = @a_dwid)) and ( bbbh is not  null)
	group by bbbh
end 
else --if @a_dlzt = 2
begin
		insert into #tmp_bbxm (bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
		select bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d)
		from b_bbxm where zdlx = &apos;0&apos; and ndid = @a_ndid and (@s_dwid like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and dlzt = 0  ) and ( bbbh is not  null)
		group by bbbh
end

	delete b_bbxm where zdlx = &apos;0&apos; and  dwid = @a_dwid and ndid = @a_ndid and dlzt =@a_dlzt
	insert into b_bbxm(id,dwid,ndid,zdlx,dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx)//,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d,qc_cfl_j,qc_cfl_d,qc_cfl_tzs,qc_tz_j,qc_tz_d,qc_tz_tzs,qc_tzs,qm_cfl_j,qm_cfl_d,qm_cfl_tzs,qm_tz_j,qm_tz_d,qm_tz_tzs,qm_tzs,sn_sd_fse_j,sn_sd_fse_d,sd_qcs,sd_qms,sd_fse_j,sd_fse_d,n01,n02,n03,n04,n05,c01,c02,c03,c04,c05,other1,other2,other3,other4)
				select id,dwid,ndid,&apos;0&apos;,@a_dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx//,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d,qc_cfl_j,qc_cfl_d,qc_cfl_tzs,qc_tz_j,qc_tz_d,qc_tz_tzs,qc_tzs,qm_cfl_j,qm_cfl_d,qm_cfl_tzs,qm_tz_j,qm_tz_d,qm_tz_tzs,qm_tzs,sn_sd_fse_j,sn_sd_fse_d,sd_qcs,sd_qms,sd_fse_j,sd_fse_d,n01,n02,n03,n04,n05,c01,c02,c03,c04,c05,other1,other2,other3,other4
	from b_bbxm where zdlx = &apos;0&apos; and dwid = @a_dwid and ndid = @a_ndid and dlzt =0 and ( bbbh is not  null)
	update b_bbxm 
	set 
	sn_qcs    	=A.sn_qcs,
	sn_ws_fse_j	=A.sn_ws_fse_j,sn_ws_fse_d	=A.sn_ws_fse_d,
	ws_qcs    	=A.ws_qcs,
	ws_qms    	=A.ws_qms,
	ws_fse_j	=A.ws_fse_j,ws_fse_d	=A.ws_fse_d
	from #tmp_bbxm A where b_bbxm.zdlx = &apos;0&apos; and b_bbxm.dwid = @a_dwid  and b_bbxm.ndid = @a_ndid and A.bbbh =b_bbxm.bbbh and b_bbxm.dlzt = @a_dlzt
		select @s_dwid = @s_dwid + string(@a_dwid) +&apos;,&apos;


		CREATE TABLE #t_tzfl_j (bbbh char(20),tzlx tinyint,g_tz tinyint not null,je decimal(18,4),PRIMARY KEY (bbbh,tzlx,g_tz))
		CREATE TABLE #t_tzfl_d (bbbh char(20),tzlx tinyint,g_tz tinyint not null,je decimal(18,4),PRIMARY KEY (bbbh,tzlx,g_tz))
		//归集期初抵消分录//add by qy 2008.6.26
		INSERT INTO #t_tzfl_j SELECT t.jfbbbh,0,0,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.jfbbbh,z.tzlx
		INSERT INTO #t_tzfl_d SELECT t.dfbbbh,0,0,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.dfbbbh,z.tzlx
		UPDATE b_bbxm as A SET qc_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET qc_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new

		delete #t_tzfl_j 
		delete #t_tzfl_d 
		//归集期末抵消分录
		INSERT INTO #t_tzfl_j SELECT t.jfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.jfbbbh,z.tzlx,g_tz
		INSERT INTO #t_tzfl_d SELECT t.dfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.dfbbbh,z.tzlx,g_tz
		//发生额	g_qm_tz_ = 影响发生额的调整 = 期末正常调整（不打钩） － 期初红字调整（打钩）
		//余额	qm_tz_	 = 期末正常调整（不打钩） ＋ 期末不影响发生调整（打钩）
		UPDATE b_bbxm as A SET qm_tz_j = je,g_qm_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET qm_tz_d = je,g_qm_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET qm_tz_j = adding(qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET qm_tz_d = adding(qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET g_qm_tz_j = sub(g_qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
		UPDATE b_bbxm as A SET g_qm_tz_d = sub(g_qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new

	//往上汇总
		CREATE TABLE #t_tzflhz (bbbh char(40),qc_tz_j decimal(18,4),qc_tz_d decimal(18,4),qm_tz_j decimal(18,4),qm_tz_d decimal(18,4),g_qm_tz_j decimal(18,4) NULL,	g_qm_tz_d decimal(18,4) NULL, PRIMARY KEY (bbbh))
	
	DECLARE cur1 CURSOR FOR
		Select distinct length(bbbh) as kmjc from #tmp_bbxm where length(bbbh) &gt; 1 order by kmjc desc
	OPEN cur1
	FETCH NEXT cur1 INTO @i_maxjc
	FETCH NEXT cur1 INTO @i_maxjc1
	
	WHILE @@sqlstatus =0
	  begin
		delete #t_tzflhz
		insert into #t_tzflhz
		select a.bbbh,sum(b.qc_tz_j),sum(b.qc_tz_d),sum(b.qm_tz_j),sum(b.qm_tz_d),sum(b.g_qm_tz_j),sum(b.g_qm_tz_d)
		from b_bbxm A,b_bbxm B 
		where a.zdlx = &apos;0&apos; and b.zdlx = &apos;0&apos; and a.dwid=@a_dwid and a.ndid= @a_ndid and b.dwid=@a_dwid and b.ndid= @a_ndid and length(a.bbbh) = @i_maxjc1 and b.bbbh like a.bbbh+&apos;%&apos; and (length(b.bbbh)=@i_maxjc or length(b.bbbh)=@i_maxjc1) and a.dlzt = @a_dlzt and  b.dlzt = @a_dlzt
		group by a.bbbh 
	
		update b_bbxm B set 
			qc_tz_j  = A.qc_tz_j  ,qc_tz_d  = A.qc_tz_d  ,
			qm_tz_j  = A.qm_tz_j  ,qm_tz_d  = A.qm_tz_d,
			g_qm_tz_j  = A.g_qm_tz_j  ,g_qm_tz_d  = A.g_qm_tz_d 
		from #t_tzflhz A where b.zdlx = &apos;0&apos; and B.dwid=@a_dwid and B.ndid= @a_ndid  and B.bbbh = A.bbbh  and b.dlzt = @a_dlzt
		select @i_maxjc = @i_maxjc1
		FETCH NEXT cur1 INTO @i_maxjc1
	  END
	CLOSE cur1
	//分录汇总
    update b_bbxm
        set qc_tz_tzs  = case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then sub(qc_tz_j,qc_tz_d) else sub(qc_tz_d,qc_tz_j) end,
            qm_tz_tzs  = case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then sub(qm_tz_j,qm_tz_d) else sub(qm_tz_d,qm_tz_j) end
        where zdlx = &apos;0&apos; and dwid=@a_dwid and ndid= @a_ndid  and dlzt = @a_dlzt
    //分两步是因为计算顺序的原因
    update b_bbxm	set qc_tzs = qc_tz_tzs,qm_tzs = qm_tz_tzs	where zdlx = &apos;0&apos; and dwid=@a_dwid and ndid= @a_ndid  and dlzt = @a_dlzt
    update b_bbxm
        set sn_sd_fse_j = adding(sn_ws_fse_j,qc_tz_j),sn_sd_fse_d = adding(sn_ws_fse_d,qc_tz_d) ,
            sn_sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(sn_ws_fse_j,qc_tz_j),adding(sn_ws_fse_d,qc_tz_d)),
            sd_qcs = adding(ws_qcs,qc_tzs),sd_fse_j = adding(ws_fse_j,g_qm_tz_j),sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
            sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(ws_fse_j,g_qm_tz_j),adding(ws_fse_d,g_qm_tz_d)),
            sd_qms = adding(ws_qms,qm_tzs)
        where zdlx = &apos;0&apos; and dwid=@a_dwid and ndid= @a_ndid and dlzt = @a_dlzt
end
</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>70</no><make_date>2009-11-26 14:44:35.953000</make_date><note>更新数据表-抵销分录</note><sql>update datatable_definfo set tab_relating = &apos;zu.ndid = mx.ndid and zu.xh = mx.xh and zu.ndid = xm.ndid and bbbh = xm.bbbh and dw1.ndid = xm.ndid and dw2.ndid = dw1.ndid and zu.dwid1 = dw1.dwid and zu.dwid2 = dw2.dwid&apos;,tabl_dw = &apos;xm.dwid&apos;,tab_nd = &apos;xm.ndid&apos;  where t_id = &apos;Y0003&apos;

</sql></db_upgrade_row><db_upgrade_row><p_id>14</p_id><no>80</no><make_date>2009-11-26 14:49:43.703000</make_date><note>更新底稿项目名称-抵销分录汇总表</note><sql>update b_dgxm set dgmc = &apos;抵销分录汇总表&apos; where dgmc = &apos;抵消分录汇总表&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>15</p_id><no>10</no><make_date>2009-11-27 16:57:27.437000</make_date><note>更新底稿项目名称-抵销分录汇总表</note><sql>update b_dgxm set dgfile = &apos;抵销分录汇总表.sjl&apos; where dgmc = &apos;抵消分录汇总表&apos; or dgmc = &apos;抵销分录汇总表&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>15</p_id><no>20</no><make_date>2009-11-27 17:00:44</make_date><note>更新重用项目分析过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_cyxm&apos;) then
   drop procedure pb_cyxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>15</p_id><no>30</no><make_date>2009-11-27 17:01:58.734000</make_date><note>更新重用项目分析过程——创建</note><sql>//重用项目，在本数据库内重用项目。
create procedure pb_cyxm(@y_dwid integer,@y_ndid integer,@m_dwid integer,@m_ndid integer)//原单位id到目标单位id
as 
begin
delete from b_bbxm where dwid = @m_dwid and ndid = @m_ndid
	insert into b_bbxm(id,dwid,ndid,dlzt,zdlx,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx,bhkmmc)
	select       id,@m_dwid,@m_ndid,dlzt,zdlx,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx,bhkmmc from b_bbxm where dwid = @y_dwid and ndid = @y_ndid

delete from dgxmvsbbxm where dwid = @m_dwid and ndid = @m_ndid
   insert into dgxmvsbbxm(dwid,ndid,zdlx,dgbh,bbbh,other1,other2)
	select       @m_dwid,@m_ndid,zdlx,dgbh,bbbh,other1,other2 from dgxmvsbbxm where dwid = @y_dwid and ndid = @y_ndid

delete from b_sjmb where dwid = @m_dwid and ndid = @m_ndid
	insert into b_sjmb(dwid,ndid,sjmbbh,dgbh,dysjcxl,xsxh,sjmbmc,sjmbnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxwcbj,zxqksm,other1,other2,other3,other4)
	select       @m_dwid,@m_ndid,sjmbbh,dgbh,dysjcxl,xsxh,sjmbmc,sjmbnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxwcbj,zxqksm,other1,other2,other3,other4 from b_sjmb where dwid = @y_dwid and ndid = @y_ndid

delete from b_sjcx where dwid = @m_dwid and ndid = @m_ndid
	insert into b_sjcx(dwid,ndid,sjcxbh,dgbh,xsxh,sjcxmc,sjcxnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxr,zxwcbj,zxqksm,gzdgsy,mxdgbh,other1,other2,other3,other4)
	select       @m_dwid,@m_ndid,sjcxbh,dgbh,xsxh,sjcxmc,sjcxnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxr,zxwcbj,zxqksm,gzdgsy,mxdgbh,other1,other2,other3,other4 from b_sjcx where dwid = @y_dwid and ndid = @y_ndid

delete from b_nbkzcs where dwid = @m_dwid and ndid = @m_ndid
	insert into b_nbkzcs(dwid,ndid,xh,xhfl,zyywhd,kzmb,xgrd,cykzhd,bsjdwkzhd,sfkzyx,sfddzx,sfcsyx,sfyxyx,sfzcjl,kzcscx,zxkzpl,csxmsl,syh,other1,other2)
	select       @m_dwid,@m_ndid,xh,xhfl,zyywhd,kzmb,xgrd,cykzhd,bsjdwkzhd,sfkzyx,sfddzx,sfcsyx,sfyxyx,sfzcjl,kzcscx,zxkzpl,csxmsl,syh,other1,other2 from b_nbkzcs where dwid = @y_dwid and ndid = @y_ndid

delete from b_dgxm where dwid = @m_dwid and ndid = @m_ndid
	insert into b_dgxm(dwid,ndid,nbbh,dgbh,dgmc,dgxsmc,jdfx,dgfile,gzdgsy,fzxmzbh,dlzt,dgjc,sfz,dglx,sfwc,syh,dycd,xsxh,dgcy,dgzy,xhfl,ischecked)
	select       @m_dwid,@m_ndid,nbbh,dgbh,dgmc,dgxsmc,jdfx,dgfile,gzdgsy,fzxmzbh,dlzt,dgjc,sfz,dglx,sfwc,syh,dycd,xsxh,dgcy,dgzy,xhfl,ischecked from b_dgxm where dwid = @y_dwid and ndid = @y_ndid

delete from cyfa where dwid = @m_dwid and ndid = @m_ndid
	insert into cyfa(dwid,ndid,cyid,t_id,cyname,sm,dygx,cygc,other1,other2,wym)
	select       @m_dwid,@m_ndid,cyid,t_id,cyname,sm,dygx,cygc,other1,other2,wym from cyfa where dwid = @y_dwid and ndid = @y_ndid

delete from bbxmvskm where dwid = @m_dwid and ndid = @m_ndid
	insert into bbxmvskm(dwid,ndid,zdlx,bbxmid,kmbh,jdy,jszf,other1,other2)
	select       @m_dwid,@m_ndid,zdlx,bbxmid,kmbh,jdy,jszf,other1,other2 from bbxmvskm where dwid = @y_dwid and ndid = @y_ndid

delete from cwzd_prj where dwid = @m_dwid and ndid = @m_ndid
	insert into cwzd_prj(dwid,ndid,xh,cwzd_prjmc,cwzd_prjsj,dqbdqk,txsm,cwzd_prjkxx,dxdx,other1,other2,bbbh,fjlx)
	select       @m_dwid,@m_ndid,xh,cwzd_prjmc,cwzd_prjsj,dqbdqk,txsm,cwzd_prjkxx,dxdx,other1,other2,bbbh,fjlx from cwzd_prj where dwid = @y_dwid and ndid = @y_ndid

delete from b_dgxm_fxdx where dwid = @m_dwid and ndid = @m_ndid
	insert into b_dgxm_fxdx(lsh, dwid,ndid,xh,dgbh,dgmc,xhfl,xhfl_sm,xsxh,xm,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,xgkzyqsfyx,ljkzsyh,ztfa,kzcs,kzcssyh,szxcx,szxcxsyh,other1,other2,other3,other4)
	select       lsh,@m_dwid,@m_ndid,xh,dgbh,dgmc,xhfl,xhfl_sm,xsxh,xm,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,xgkzyqsfyx,ljkzsyh,ztfa,kzcs,kzcssyh,szxcx,szxcxsyh,other1,other2,other3,other4 from b_dgxm_fxdx where dwid = @y_dwid and ndid = @y_ndid

delete from sys_parameter where dwid = @m_dwid and ndid = @m_ndid
	insert into sys_parameter(dwid,ndid,parid,parname,parvalue,parmeaning)
	select       @m_dwid,@m_ndid,parid,parname,parvalue,parmeaning from sys_parameter where dwid = @y_dwid and ndid = @y_ndid
    
delete from c_zlszb where dwid = @m_dwid and ndid = @m_ndid
	insert into c_zlszb(dwid,ndid,qjxh,qjmc,qjqs,qjzz,qjms,qybz)
	select       @m_dwid,@m_ndid,qjxh,qjmc,qjqs,qjzz,qjms,qybz from c_zlszb where dwid = @y_dwid and ndid = @y_ndid    

update b_dgxm  set dgcy = &apos;1&apos; where dwid = @m_dwid and ndid = @m_ndid
update prj_info set  other1 =&apos;111&apos; where dwid = @m_dwid and ndid = @m_ndid

end
</sql></db_upgrade_row><db_upgrade_row><p_id>16</p_id><no>10</no><make_date>2009-12-09 16:34:12.421000</make_date><note>增加是否显示核算项目信息列</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;sfxshsxm&apos;) then
   alter table tzflb_zu add sfxshsxm char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>17</p_id><no>10</no><make_date>2009-12-16 15:08:34.234000</make_date><note>更新生成科目伪码过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_km_sjkmmc&apos;) then
   drop procedure p_make_km_sjkmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>17</p_id><no>20</no><make_date>2009-12-16 15:09:38.093000</make_date><note>更新生成科目伪码过程——创建</note><sql>
///////////////////////////////////////////////////////////////////////////////////////////
////根据科目级次和末级标识处理科目伪码和上级科目名称（科目表中保留上级科目字段，可用于科目级次间无任何编码规则的使用）
////（目前注释调月余额表的同步 因为科目发生变化才需要生成伪码，同时也需要重新计算月余额表）
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试数据量:项目：3 科目：36175 凭证：862386 核算项目：163750 核算明细：281608 
////用时：47838 毫秒
////09.6.16 Ben
///////////////////////////////////////////////////////////////////////////////////////////

create procedure p_make_km_sjkmmc (@a_dwid integer,@a_ndid integer,@a_fgf char(2))
as

begin
    declare	@i_max_jc	integer	
    declare	@loop_i		integer
    declare	@s_kmbh		varchar(64)
    declare	@s_kmwh		varchar(96)
    declare	@s_kmmc		varchar(160)
    declare @s_sfmx     char(1)

    --标识空不处理伪码
    if(@a_fgf is null or trim(@a_fgf) = &apos;&apos; ) return 
    --取最大科目级次
    SELECT  isnull(max(kmjc),0) into @i_max_jc FROM c_cwkmk where dwid = @a_dwid and ndid = @a_ndid
    --最后一级已经处理完成（上级处理下级的伪码）
    select @i_max_jc = @i_max_jc - 1
    select	@loop_i	=	1
    --临时科目代码表
    CREATE TABLE #t_cwkmk (kmbh char(64) null,kmwm char(96),kmmc char(160) null)
    --处理一级科目伪码
    update c_cwkmk set kmwm = kmbh || @a_fgf,sfmx = &apos;1&apos; where  dwid = @a_dwid and ndid = @a_ndid and kmjc = 1
    ////使用临时表数据声明游标 目的提高性能
    declare	cur_km cursor for 
    	select kmbh,kmwm,kmmc from #t_cwkmk order by kmbh
  ////按照级次顺序处理
    while @loop_i &lt;= @i_max_jc 
    begin
    	////取出当前级次的科目 用于下一步循环使用
    	insert #t_cwkmk 
    		select distinct trim(kmbh),kmwm,left(isnull(sjkmmc,&apos;&apos;) + &apos;\\&apos; + isnull(trim(kmmc),&apos;&apos;),80)  
    		from c_cwkmk 
    		where dwid = @a_dwid and ndid = @a_ndid and kmjc=@loop_i    	
        ////打开游标
    	open cur_km
        ////用时：1774 毫秒
    	FETCH NEXT cur_km INTO @s_kmbh,@s_kmwh,@s_kmmc
    	while @@sqlstatus = 0 
    	begin
            ////根据科目级次和末级标识生成伪码 注意处理同级科目有包含关系 用时：1844
    		update c_cwkmk A set a.kmwm = @s_kmwh||trim(substr(kmbh,length(@s_kmbh) + 1)) || @a_fgf ,a.sjkmmc =left(@s_kmmc,80),sfmx = &apos;1&apos;
    		where not exists(select 1 from(select kmbh from  #t_cwkmk where kmbh &lt;&gt; @s_kmbh and kmbh like @s_kmbh || &apos;%&apos;) tab 
    								where a.kmbh like tab.kmbh||&apos;%&apos;) and 
    			a.dwid = @a_dwid and a.ndid = @a_ndid and a.kmjc = @loop_i + 1 and a.kmbh like @s_kmbh||&apos;%&apos;
            ////判断科目是否是末级科目
            If @@rowcount &gt; 0 
                update c_cwkmk set sfmx = &apos;0&apos; where dwid = @a_dwid and ndid = @a_ndid and kmbh = @s_kmbh
    		
    		FETCH NEXT cur_km INTO @s_kmbh,@s_kmwh,@s_kmmc
    	end
    	////处理下次循环
    	close cur_km
    	delete from #t_cwkmk
    	select	@loop_i	=	@loop_i + 1
    end
    ////同步更新其他几个汇总库
    update c_wb_zz a 
        set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc ,a.kmjc=b.kmjc
        from c_cwkmk b 
        where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_kmyek a 
    --    set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_wb_yye a 
    --    set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////更新核算项目总账科目伪码、科目级次和科目名称  ////用时：26166 毫秒
    update c_hsxm_zz a  
        set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc,A.kmmc = B.kmmc
        from c_cwkmk b 
        where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////用时：16757
    update c_wb_hsxm_zz a 
        set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc
        from c_cwkmk b 
        where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////用时：126131（用索引没有明显改善）
    --update c_hsxm_yye a 
    --    set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_wb_hsxm_yye a 
    --    set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
        
    ////生成核算项目与科目关系 2832用时：
    insert into c_kmvshsxm (dwid,ndid,kmbh,hsxmlxbh,xz)
        select distinct dwid,ndid,kmbh,hsxmlxbh,0
                from c_hsxm_zz
                where dwid = @a_dwid and ndid = @a_ndid and 
                    not exists(select 1 from c_kmvshsxm where c_hsxm_zz.dwid = c_kmvshsxm.dwid and c_hsxm_zz.ndid = c_kmvshsxm.ndid and c_hsxm_zz.kmbh=c_kmvshsxm.kmbh and c_hsxm_zz.hsxmlxbh =c_kmvshsxm.hsxmlxbh)
    update c_kmvshsxm a
        set a.hsxmlxmc = b.hsxmlxmc
        from c_hsxm_lx b
        where a.dwid = b.dwid and a.ndid= b.ndid and a.hsxmlxbh = b.hsxmlxbh and a.dwid =@a_dwid and a.ndid = @a_ndid 
    update c_kmvshsxm a
        set a.kmmc = b.kmmc,a.kmlb = b.kmlb,a.sfmx = b.sfmx,a.kmjc = b.kmjc,a.kmwm = b.kmwm
        from c_cwkmk b
        where a.dwid=b.dwid and a.ndid=b.ndid and a.kmbh=b.kmbh and a.dwid=@a_dwid and a.ndid=@a_ndid

end
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>10</no><make_date>2009-12-17 11:21:02.984000</make_date><note>更新生成科目总账过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_zz&apos;) then
   drop procedure pt_km_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>20</no><make_date>2009-12-17 11:22:24.921000</make_date><note>更新生成科目总账过程——创建</note><sql>////////////////////////////////////////////////////////////////////////////////////////
////由凭证生成总账(注意发生额计算,发生额计算取出本年利润和未分配利润)
////不计算期初数量，单独设计存储过程,防止标识错误数据丢失，计算期初时要求备份项目
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试数据量:项目：3 科目：36175 凭证：862386 核算项目：163750 核算明细：281608 
////用时：3534 毫秒
////09.6.17 Ben
////////////////////////////////////////////////////////////////////////////////////////

create procedure pt_km_zz(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
   
    declare @li_jc integer
    declare @li_pz integer --判断凭证是否存在 如果存在凭证计算发生额
    
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有凭证数据
    set @li_pz = isnull((select top 1 ndid  from c_cwpz where dwid = @ai_dwid and ndid = @ai_ndid),0)
    
    If @li_pz &gt; 0 
        begin
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，后续直接处理有发生额的科目期末数（可以只更新末级科目数据）[5S]
            update c_cwkmk 
                set ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl,
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = 0
                where ndid = @ai_ndid and dwid = @ai_dwid
 
            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                              jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////用时：2990 毫秒
            insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from c_cwpz
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh
            ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
            update #t_hz a 
                set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from c_cwpz
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh) tab
                where a.kmbh = tab.kmbh
            ////更新财务科目库
            update c_cwkmk A 
                set a.ws_fse_j =b.jffse,        a.ws_fse_d=b.dffse,        
                    a.ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.dffse)-(b.jz_jf - b.jz_df)),            
                    a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl - b.dffse_sl) - (b.jz_jf_sl - b.jz_df_sl)),   
                    a.ws_qms_sl= a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.pzsl = b.pzsl
                from #t_hz B	
                where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmbh=b.kmbh 
            ////
            drop table #t_hz
            ////这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理
            ////取科目最大级
            select max(kmjc) into @li_jc 	from c_cwkmk 	where dwid =@ai_dwid and ndid = @ai_ndid
            ////汇总上级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4),fse_sl decimal(18,4),primary key(kmwm))
        
            while  @li_jc &gt; 1
            begin
                ////科目上级数据汇总[s]        
                insert into #t_sj 
                    select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                        sum(ws_fse_j),sum(ws_fse_d),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse),
                        sum(ws_fse_j_sl),sum(ws_fse_d_sl),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse_sl)
                    from c_cwkmk 
                    where dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc 
                    group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                ////更新科目库[s]
                update c_cwkmk A 
                    set a.ws_fse_j = a.ws_fse_j + b.jffse,          a.ws_fse_d = a.ws_fse_d + b.dffse,         
                        a.ws_fse=a.ws_fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse,            
                        a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j + b.jffse - a.ws_fse_d - b.dffse),
                        a.ws_fse_j_sl = a.ws_fse_j_sl + b.jffse_sl, a.ws_fse_d_sl = a.ws_fse_d_sl + b.dffse_sl,   
                        a.ws_fse_sl=a.ws_fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl,   
                        a.ws_qms_sl= a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j_sl + b.jffse_sl - a.ws_fse_d_sl - b.dffse_sl),
                        a.pzsl = b.pzsl
                    from #t_sj  B	
                    where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmwm=b.kmwm
                ////清理临时表数据
                delete from #t_sj            

                ////准备下次循环
                set @li_jc = @li_jc - 1
            end
            drop table #t_sj
        end
    Else
        ////无凭证情况下 只进行科目发生额计算 取科目方向发生 同时更新pzsl字段供数据源过滤掉零使用
        begin    
            update c_cwkmk 
                set ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0), 
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j else ws_fse_d end),
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),                    
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j_sl else ws_fse_d_sl end),
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)),
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = (case when abs(isnull(ws_fse_j,0)) +  abs(isnull(ws_fse_d,0))&gt;0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        End
    ////更新审定数[6s]
    update c_cwkmk
        set ysn_ws_fse_j = sn_ws_fse_j + yqc_cfl_j,
            ysn_ws_fse_d = sn_ws_fse_d + yqc_cfl_d,
            ysn_ws_fse   = sn_ws_fse + yqc_cfl_tzs,
            yws_qcs = ws_qcs+yqc_cfl_tzs,
            yws_fse_j=ws_fse_j+ g_yqm_tz_j,
            yws_fse_d=ws_fse_d+g_yqm_tz_d,
            yws_fse=ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
            yws_qms=ws_qms + yqm_cfl_tzs,
            sn_sd_fse_j = sn_ws_fse_j + yqc_cfl_j + qc_tz_j + qc_cfl_j,
            sn_sd_fse_d = sn_ws_fse_d + yqc_cfl_d + qc_tz_d + qc_cfl_d,
            sn_sd_fse = sn_ws_fse + yqc_cfl_tzs + qc_tzs,
            sd_qcs = ws_qcs + yqc_cfl_tzs + qc_tzs,
            sd_fse_j   = ws_fse_j + g_yqm_tz_j +g_qm_tz_j, 
            sd_fse_d   = ws_fse_d + g_yqm_tz_d + g_qm_tz_d,
            sd_fse	   = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j + g_qm_tz_j - g_yqm_tz_d - g_qm_tz_d),
            sd_qms	   = ws_qms + yqm_cfl_tzs + qm_tzs
        where dwid=@ai_dwid and ndid= @ai_ndid 
        
    ////调用报表项目计算过程
    execute pb_bbxm @ai_dwid,@ai_ndid,0 

end 
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>30</no><make_date>2009-12-17 11:23:02.687000</make_date><note>更新生成科目月余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_yye&apos;) then
   drop procedure pt_km_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>40</no><make_date>2009-12-17 11:24:00.484000</make_date><note>更新生成科目月余额过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////生成科目月余额:将由科目期初数和财务凭证生成科目月余额，先清除原有数据（不清除0月份数据）。
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:科目34133,凭证974900  用时：2&apos;24&quot; 09.07.26修改未测试性能
////09.6.18 Ben
///////////////////////////////////////////////////////////////////////////////////////////////
create   procedure pt_km_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @sql    char(1000)
    declare @li_i   integer
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////清除原有科目月余额数据[删除语句需要26秒]
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [2.5秒]
            insert into c_kmyek(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,ws_qcs,0,0,0,ws_qcs,ws_qcs_sl,0,0,0,ws_qcs_sl,0
                from c_cwkmk 
                where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid    

            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4), fse_sl decimal(18,4),primary key(kmwm))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17.5秒]
                    insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from c_cwpz
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh) tab
                        where a.kmbh = tab.kmbh
                    ////更新月发生额
                    update c_kmyek a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            qms = qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl)- (b.dffse_sl - b.jz_df_sl)),
                            qms_sl = qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                    while @li_i &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[4.7秒]
                            insert into #t_sj select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_sl),sum(dffse_sl) ,sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl)
                                from c_kmyek 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_i and kjmonth = @kjmonth_temp
                                group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                            ////更新科目库[2.6秒]
                            update c_kmyek A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse= a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_sl=a.jffse_sl + b.jffse_sl,  a.dffse_sl = a.dffse_sl + b.dffse_sl,   
                                    a.fse_sl=a.fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_sl,
                                    a.qms_sl= a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_sl + b.jffse_sl - a.dffse_sl - b.dffse_sl),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kjmonth = @kjmonth_temp
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_i =  @li_i - 1
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_kmyek2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_kmyek where c_kmyek2.dwid = c_kmyek.dwid and c_kmyek2.ndid=c_kmyek.ndid and c_kmyek2.kmbh=c_kmyek.kmbh and &apos;
                            + &apos; c_kmyek.dwid = &apos; + string(@ai_dwid) + &apos; and c_kmyek.ndid = &apos; + string(@ai_ndid) + &apos; and c_kmyek.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////下个月期初[55&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_kmyek (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_kmyek 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end

                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算月余额
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
       
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>50</no><make_date>2009-12-17 11:24:34.937000</make_date><note>更新生成核算项目总账过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_zz&apos;) then
   drop procedure pt_hs_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>60</no><make_date>2009-12-17 11:25:39.968000</make_date><note>更新生成核算项目总账过程——创建</note><sql>////////////////////////////////////////////////////////////////////////////////////////
////由核算项目生成核算项目总账(注意发生额计算,发生额计算取出本年利润和未分配利润)
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:核算项目总账80140,核算项目明细1923360  用时：46&quot;秒
////09.7.19 Ben
////////////////////////////////////////////////////////////////////////////////////////
create procedure pt_hs_zz(@ai_dwid integer,@ai_ndid integer)
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    
    declare @li_pz integer
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有核算项目明细数据
    set @li_pz = isnull((select top 1 ndid  from t_hsmx where dwid=@ai_dwid and ndid= @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，审定数同时直接计算，后续直接处理有发生额的科目期末数及审定数[15S]
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl , 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(g_yqm_tz_d,0),
                    yws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=0
                where ndid = @ai_ndid and dwid = @ai_dwid

            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题[13S]
            CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40),hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),primary key (kmbh,hsxmlxbh,hsxmbh))
            insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from t_hsmx
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh,hsxmlxbh,hsxmbh
            ////将涉及利润科目的发生额去除掉
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from t_hsmx
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hsxmlxbh,hsxmbh) tab
                where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh
            ////更新核算项目库[15秒]
            update c_hsxm_zz A 
                set a.ws_fse_j  =b.jffse,        a.ws_fse_d=b.dffse,
                    a.ws_fse    =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf )- (b.dffse - b.jz_df)),
                    a.ws_qms    = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl-b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),   
                    a.ws_qms_sl = a.ws_qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.yws_qcs   = a.ws_qcs + a.yqc_cfl_tzs,
                    a.yws_fse_j = b.jffse + a.g_yqm_tz_j,
                    a.yws_fse_d = b.dffse + a.g_yqm_tz_d,
                    a.yws_fse   = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d)),
                    a.yws_qms   = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs,
                    a.sd_qcs    = a.ws_qcs + a.yqc_cfl_tzs + a.qc_tzs,
                    a.sd_fse_j  = b.jffse +  a.g_yqm_tz_j + a.g_qm_tz_j,
                    a.sd_fse_d  = b.dffse + a.g_yqm_tz_d + a.g_qm_tz_d,
                    a.sd_fse    = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) *((b.jffse - b.jz_jf + a.g_yqm_tz_j + a.g_qm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d + a.g_qm_tz_d)),
                    a.sd_qms    = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs + a.qm_tzs,
                    a.pzsl      = b.pzsl
                from #t_hz B	
                where a.kmbh=b.kmbh and a.hsxmlxbh = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
       
            drop table #t_hz
        end
    else
        ////无明细数据 只计算账面发生额和期末余额 以及 后续 未审、审定数
        begin
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),     
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),       
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),  
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_sl,0) else isnull(ws_fse_d_sl,0) end),    
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)), 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0),
                    yws_fse= (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) +  isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=(case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 Then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        
        end
end 
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>70</no><make_date>2009-12-17 11:28:23.468000</make_date><note>更新生成核算项目月余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_yye&apos;) then
   drop procedure pt_hs_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>80</no><make_date>2009-12-17 11:29:01.984000</make_date><note>更新生成核算项目月余额过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////生成科目月余额:将由科目期初数和财务凭证生成科目月余额，先清除原有数据（不清除0月份数据）。
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:科目34133,凭证974900  用时：4&apos;3&quot;
////09.6.18 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_hs_yye(@ai_dwid integer,@ai_ndid integer)
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer
    
    declare @sql    char(1000)
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from t_hsmx where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            
            ////清除原有科目月余额数据[删除语句需要43秒]
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [27秒]
            insert into c_hsxm_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,ws_qcs,0,0,0,ws_qcs,ws_qcs_sl,0,0,0,ws_qcs_sl,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    //汇总临时表
                    CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40) ,hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4))
                   -- create index #t_hz_kmlxhs on #t_hz (kmbh,hsxmlxbh,hsxmbh)
                    ////凭证发生额汇总[50秒]
                    insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from t_hsmx
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hsxmlxbh,hsxmbh

                    ////将涉及利润科目的发生额
                    update #t_hz a 
                        set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from c_cwkmk b,(select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from t_hsmx
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh,hsxmlxbh,hsxmbh) tab
                        where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh and b.kmbh = tab.kmbh and locate(b.kmlb,&apos;损益&apos;) &gt; 0

                    ////更新月发生额
                    update c_hsxm_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,    
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf)- (b.dffse - b.jz_df)),
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            a.fse_sl = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),
                            a.qms_sl = a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.hsxmlxbh  = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp  
                    ////下个月期初[75&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_hsxm_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_hsxm_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end  
                    ////更新月余额列模式表
                    set @sql = &apos;update c_hsxm_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_hsxm_yye where c_hsxm_yye2.dwid = c_hsxm_yye.dwid and c_hsxm_yye2.ndid=c_hsxm_yye.ndid and c_hsxm_yye2.kmbh=c_hsxm_yye.kmbh and &apos;
                            + &apos; c_hsxm_yye2.hsxmlxbh=c_hsxm_yye.hsxmlxbh and c_hsxm_yye2.hsxmbh=c_hsxm_yye.hsxmbh and&apos;
                            + &apos; c_hsxm_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_hsxm_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_hsxm_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)                
                    ////准备下一个循环
                    drop table #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
        end
    else
        begin
            ////无核算明细 不计算余额表
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>90</no><make_date>2009-12-17 11:29:47.109000</make_date><note>更新生成外币总账余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_wb_zz&apos;) then
   drop procedure pt_wb_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>100</no><make_date>2009-12-17 11:30:49.828000</make_date><note>更新生成外币总账余额过程——创建</note><sql>////////////////////////////////////////////////////////////////////////////////////////
////由凭证生成总账(注意发生额计算,发生额计算取出本年利润和未分配利润)
////不计算期初数量，单独设计存储过程,防止标识错误数据丢失，计算期初时要求备份项目
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:科目68266,凭证974900  用时：32秒
////09.7.17 Ben
////////////////////////////////////////////////////////////////////////////////////////

create procedure pt_wb_zz(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    
    declare @li_jc integer
    declare @kmwm  char(96)
    declare @li_pz integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid=@ai_dwid and ndid= @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max 
            begin 
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，后续直接处理有发生额的科目期末数（可以只更新末级科目数据）[9S]
            update c_wb_zz 
                set ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,   ws_qms=ws_qcs,
                    ws_fse_j_f=0,   ws_fse_d_f=0,   ws_fse_f=0, ws_qms_f=ws_qcs_f,
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    pzsl = 0
                where ndid = @ai_ndid and dwid = @ai_dwid
 
            ////凭证发生额汇总[3S]
            CREATE TABLE #t_hz (kmbh char(64),hbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),  primary key (kmbh,hbzl))
            insert into #t_hz select kmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                from c_cwpz
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh,hbzl
            ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                from c_wb_zz b,(select kmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                        from c_cwpz
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hbzl) tab
                where a.hbzl = tab.hbzl and a.kmbh = tab.kmbh
            ////更新财务科目库
            update c_wb_zz A 
                set a.ws_fse_j =b.jffse,    a.ws_fse_d=b.dffse,     
                    a.ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                    a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_f=b.jffse_f, a.ws_fse_d_f=b.dffse_f, 
                    a.ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                    a.ws_qms_f= a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f),
                    a.pzsl = b.pzsl
                from #t_hz B
                where a.wbzl = b.hbzl and a.kmbh=b.kmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
            ////
            drop table #t_hz
            ////从末级科目开始计算，逐级向上汇总，更新上级时相加模式， 实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
            ////取科目最大级次
            select max(kmjc) into @li_jc 	from c_wb_zz 	where dwid =@ai_dwid and ndid = @ai_ndid
            ////临时汇总数据
            create table #t_sj(kmwm char(96),hbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_f decimal(18,4),dffse_f decimal(18,4),fse_f decimal(18,4) ,primary key(kmwm,hbzl))
        
            set @li_i =1 
            while @li_jc &gt; 1
                begin    
                    ////科目上级数据汇总[1s]
                    insert into #t_sj 
                        select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl,sum(pzsl),
                            sum(ws_fse_j),sum(ws_fse_d),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse),
                            sum(ws_fse_j_f),sum(ws_fse_d_f),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse_f)
                        from c_wb_zz 
                        where dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc
                        group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl
                    ////更新科目库 本级数据与下级汇总相加[1.5s]
                    update c_wb_zz A 
                        set a.ws_fse_j = a.ws_fse_j + b.jffse,    a.ws_fse_d = a.ws_fse_d + b.dffse,         
                            a.ws_fse= a.ws_fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                            a.ws_qms= a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j + b.jffse - b.dffse - a.ws_fse_d),
                            a.ws_fse_j_f = a.ws_fse_j_f + b.jffse_f,   a.ws_fse_d_f = a.ws_fse_d_f + b.dffse_f,   
                            a.ws_fse_f= a.ws_fse_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_f,
                            a.ws_qms_f= a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j_f + b.jffse_f - a.ws_fse_d_f - b.dffse_f),
                            a.pzsl = b.pzsl
                        from #t_sj  B	
                        where a.kmwm=b.kmwm and a.wbzl = b.hbzl and A.dwid = @ai_dwid and A.ndid =@ai_ndid
                    ////清理临时表数据
                    delete from #t_sj     
                    ////准备下次循环
                    set @li_jc =  @li_jc - 1
                end
            drop table #t_sj
        end
    else
        begin
            update c_wb_zz 
                set ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)),
                    ws_fse_j_f=isnull(ws_fse_j_f,0),   ws_fse_d_f=isnull(ws_fse_d_f,0),   
                    ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_f,0) else isnull(ws_fse_d_f,0) end),
                    ws_qms_f=isnull(ws_qcs_f,0)  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    pzsl = (case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        end
    ////更新审定数[15]
    update c_wb_zz
        set ysn_ws_fse_j    = sn_ws_fse_j + yqc_cfl_j,
            ysn_ws_fse_d    = sn_ws_fse_d + yqc_cfl_d,
            ysn_ws_fse      = sn_fse + yqc_cfl_tzs,
            yws_qcs         = ws_qcs+yqc_cfl_tzs,
            yws_fse_j       = ws_fse_j+ g_yqm_tz_j,
            yws_fse_d       = ws_fse_d+g_yqm_tz_d,
            yws_fse         = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
            yws_qms         = ws_qms + yqm_cfl_tzs,
            ysn_ws_fse_j_f  = sn_ws_fse_j_f + yqc_cfl_j_f,
            ysn_ws_fse_d_f  = sn_ws_fse_d_f + yqc_cfl_d_f,
            ysn_ws_fse_f    = sn_fse_f + yqc_cfl_tzs_f,
            yws_qcs_f       = ws_qcs_f + yqc_cfl_tzs_f,
            yws_fse_j_f     = ws_fse_j_f+ g_yqm_tz_j_f,
            yws_fse_d_f     = ws_fse_d_f+g_yqm_tz_d_f,
            yws_fse_f       = ws_fse_f+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j_f - g_yqm_tz_d_f ),
            yws_qms_f       = ws_qms_f + yqm_cfl_tzs_f,
            sn_sd_fse_j     = sn_ws_fse_j + yqc_cfl_j + qc_cfl_j + qc_tz_j,
            sn_sd_fse_d     = sn_ws_fse_d + yqc_cfl_d + qc_cfl_d + qc_tz_d,
            sn_sd_fse       = sn_fse + yqc_cfl_tzs + qc_tzs,
            sd_qcs          = ws_qcs + yqc_cfl_tzs + qc_tzs,
            sd_fse_j        = ws_fse_j + g_yqm_tz_j + g_qm_tz_j,
            sd_fse_d        = ws_fse_d + g_yqm_tz_d + g_qm_tz_d,
            sd_fse          = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j + g_qm_tz_j -g_yqm_tz_d - g_qm_tz_d),
            sd_qms          = ws_qms + yqm_cfl_tzs + qm_tzs,
            sn_sd_fse_j_f   = sn_ws_fse_j_f + yqc_cfl_j_f + qc_cfl_j_f + qc_tz_j_f,
            sn_sd_fse_d_f   = sn_ws_fse_d_f + yqc_cfl_d_f + qc_cfl_d_f + qc_tz_d_f,
            sn_sd_fse_f     = sn_fse_f + yqc_cfl_tzs_f + qc_tzs_f,
            sd_qcs_f        = ws_qcs_f + yqc_cfl_tzs_f + qc_tzs_f,
            sd_fse_j_f      = ws_fse_j_f + g_yqm_tz_j_f + g_qm_tz_j_f,
            sd_fse_d_f      = ws_fse_d_f + g_yqm_tz_d_f + g_qm_tz_d_f,
            sd_fse_f        = ws_fse_f+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j_f + g_qm_tz_j_f -g_yqm_tz_d_f - g_qm_tz_d_f),
            sd_qms_f        = ws_qms_f + yqm_cfl_tzs_f + qm_tzs_f
        where dwid=@ai_dwid and ndid= @ai_ndid 

end 
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>110</no><make_date>2009-12-17 11:31:13.250000</make_date><note>更新生成外币月余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_wb_yye&apos;) then
   drop procedure pt_wb_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>120</no><make_date>2009-12-17 11:31:40.890000</make_date><note>更新生成外币月余额过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////生成科目月余额:将由科目期初数和财务凭证生成科目月余额，先清除原有数据（不清除0月份数据）。
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:科目68266,凭证974900  用时：5&apos;34&quot;
////09.7.17 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_wb_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer
 
    declare @sql    char(1000)
    
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc 	from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////清除原有科目月余额数据[删除语句需要69秒]
            delete from c_wb_yye where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth &gt; 0
            delete from c_wb_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [8秒]
            insert into c_wb_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,ws_qcs,0,0,0,ws_qcs,ws_qcs_f,0,0,0,ws_qcs_f,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_wb_yye2(dwid,ndid,kjyear,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(64),wbzl char(20),pzsl  integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),primary key (kmbh,wbzl))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kjmonth integer,kmwm char(96),wbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_f decimal(18,4),dffse_f decimal(18,4),fse_f decimal(18,4),primary key(kjmonth,kmwm,wbzl))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17秒]
                    insert into #t_hz select kmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hbzl

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jfsl,a.jz_df_f = tab.dfsl
                        from (select kmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from c_cwpz
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh,hbzl) tab
                        where a.wbzl = tab.hbzl and a.kmbh = tab.kmbh

                    ////更新月发生额
                    update c_wb_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_f = b.jffse_f,a.dffse_f = b.dffse_f,
                            a.fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                            a.qms_f = a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_f - b.dffse_f),
                            a.pzsl=b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.wbzl =  b.wbzl and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp 
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                     while @li_jc &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[8秒]
                            insert into #t_sj 
                                select kjmonth,left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl,sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_f),sum(dffse_f),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_f)
                                from c_wb_yye 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc
                                group by kjmonth,left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),wbzl
                            ////更新科目库[17秒]
                            update c_wb_yye A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse=a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_f=a.jffse_f + b.jffse_f,  a.dffse_f = a.dffse_f + b.dffse_f,   
                                    a.fse_f=a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_f,
                                    a.qms_f= a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_f + b.jffse_f - a.dffse_f - b.dffse_f),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and a.wbzl = b.wbzl and a.kjmonth = b.kjmonth and a.kjmonth &gt; 0  and A.dwid = @ai_dwid and A.ndid =@ai_ndid
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_jc =  @li_jc - 1
                        end
                    ////下个月期初[147&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_wb_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,qms,0,0,0,qms,qms_f,0,0,0,qms_f,0
                                from c_wb_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_wb_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_wb_yye where c_wb_yye2.dwid = c_wb_yye.dwid and c_wb_yye2.ndid=c_wb_yye.ndid and c_wb_yye2.kmbh=c_wb_yye.kmbh and c_wb_yye2.wbzl=c_wb_yye.wbzl and&apos;
                            + &apos; c_wb_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_wb_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_wb_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算余额表
            delete from c_wb_yye where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth &gt; 0
            delete from c_wb_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            
            insert into c_wb_yye2(dwid,ndid,kjyear,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
        End
end
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>130</no><make_date>2009-12-17 11:31:59.531000</make_date><note>更新生成核算项目外币总账余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hw_zz&apos;) then
   drop procedure pt_hw_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>140</no><make_date>2009-12-17 11:33:09.703000</make_date><note>更新生成核算项目外币总账余额过程——创建</note><sql>////////////////////////////////////////////////////////////////////////////////////////
////由核算项目生成核算项目总账(注意发生额计算,发生额计算取出本年利润和未分配利润)
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:核算项目总账160280,核算项目明细1923360  用时：118&quot;秒
////09.7.19 Ben
////////////////////////////////////////////////////////////////////////////////////////

create procedure pt_hw_zz(@ai_dwid integer,@ai_ndid integer)
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    
    declare @li_pz integer
    
    set @li_pz = isnull((select top 1 dwid from t_hsmx where dwid = @ai_dwid and ndid = @ai_ndid),0)
    
    if @li_pz &gt; 0 
        //// 有核算明细情况计算
        begin
            ////取得会计期间
            select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max 
            begin 
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
    
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，审定数同时直接计算，后续直接处理有发生额的科目期末数及审定数[48S]
            update c_wb_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_qcs=isnull(sn_qcs,0),sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_fse=isnull(sn_fse,0),
                    sn_qcs_f=isnull(sn_qcs_f,0),sn_ws_fse_j_f=isnull(sn_ws_fse_j_f,0),sn_ws_fse_d_f=isnull(sn_ws_fse_d_f,0),sn_fse_f=isnull(sn_fse_f,0),
                    ////初始化账面数
                    ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_f=0,  ws_fse_d_f=0,  ws_fse_f=0,    ws_qms_f=ws_qcs_f ,
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    ////未审数计算
                    ysn_ws_fse_j    = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d    = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse      = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs         = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0),
                    yws_fse_j       = isnull(g_yqm_tz_j,0),
                    yws_fse_d       = isnull(g_yqm_tz_d,0),
                    yws_fse         = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) - isnull(g_yqm_tz_d,0)),
                    yws_qms         = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0),
                    ysn_ws_fse_j_f  = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0),
                    ysn_ws_fse_d_f  = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0),
                    ysn_ws_fse_f    = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_qcs_f       = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_fse_j_f     = isnull(g_yqm_tz_j_f,0),
                    yws_fse_d_f     = isnull(g_yqm_tz_d_f,0),
                    yws_fse_f       = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0)),
                    yws_qms_f       = isnull(ws_qcs_f,0) + isnull(yqm_cfl_tzs_f,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0),
                    sd_fse_d        = isnull(g_yqm_tz_d,0) + isnull(g_qm_tz_d,0),
                    sd_fse          = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0) - isnull(g_yqm_tz_d,0) - isnull(g_qm_tz_d,0)),
                    sd_qms          = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    sn_sd_fse_j_f   = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0) + isnull(qc_cfl_j_f,0) + isnull(qc_tz_j_f,0),
                    sn_sd_fse_d_f   = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0) + isnull(qc_cfl_d_f,0) + isnull(qc_tz_d_f,0),
                    sn_sd_fse_f     = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_qcs_f        = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_fse_j_f      = isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0),
                    sd_fse_d_f      = isnull(g_yqm_tz_d_f,0) + isnull(g_qm_tz_d_f,0),
                    sd_fse_f        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0) - isnull(g_qm_tz_d_f,0)),
                    sd_qms_f        = isnull(ws_qcs_f,0) + isnull(yqm_cfl_tzs_f,0) + isnull(qm_tzs_f,0),
                    pzsl=0
                where ndid = @ai_ndid and dwid = @ai_dwid

            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题[25S]
            CREATE TABLE #t_hz (kmbh char(64),wbzl char(20) ,hsxmlxbh char(40),hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4),primary key (kmbh,wbzl,hsxmlxbh,hsxmbh))
            insert into #t_hz 
                select kmbh,hbzl,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(dffse_f,0)),0,0,0,0
                from t_hsmx
                where kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max and dwid=@ai_dwid and ndid= @ai_ndid
                group by kmbh,hbzl,hsxmlxbh,hsxmbh

            
            ////将涉及利润科目的发生额去除掉
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                from (select kmbh,hbzl,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                        from t_hsmx
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hbzl,hsxmlxbh,hsxmbh) tab
                where a.kmbh = tab.kmbh and a.wbzl = tab.hbzl and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh             
            ////更新核算项目库(注意：计算根本涉及不到期初数，所以不需要计算)[44秒]
            update c_wb_hsxm_zz A 
                set a.ws_fse_j      =b.jffse,        a.ws_fse_d = b.dffse,        
                    a.ws_fse        =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                    a.ws_qms        = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_f    =b.jffse_f,   a.ws_fse_d_f=b.dffse_f,  
                    a.ws_fse_f      =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),   
                    a.ws_qms_f      = a.ws_qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f),
            
                    a.yws_fse_j     = b.jffse + a.g_yqm_tz_j,
                    a.yws_fse_d     = b.dffse + a.g_yqm_tz_d,
                    a.yws_fse       = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j) - (b.dffse - b.jz_df + a.g_yqm_tz_d)),
                    a.yws_qms       = a.ws_qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + yqm_cfl_tzs,
                    a.yws_fse_j_f   = b.jffse_f + a.g_yqm_tz_j_f,
                    a.yws_fse_d_f   = b.dffse_f + a.g_yqm_tz_d_f,
                    a.yws_fse_f     = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f + a.g_yqm_tz_j_f) - (b.dffse_f - b.jz_df_f + a.g_yqm_tz_d_f)),
                    a.yws_qms_f     = a.ws_qcs_f + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f) + a.yqm_cfl_tzs_f,
            
                    a.sd_fse_j      = b.jffse + a.g_yqm_tz_j + a.g_qm_tz_j,
                    a.sd_fse_d      = b.dffse + a.g_yqm_tz_d + a.g_qm_tz_d,
                    a.sd_fse        = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j + a.g_qm_tz_j) - (b.dffse - b.jz_df + a.g_yqm_tz_d + a.g_qm_tz_d)),
                    a.sd_qms        = a.ws_qcs + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs + a.qm_tzs,
                    a.sd_fse_j_f    = b.jffse_f + a.g_yqm_tz_j_f + a.g_qm_tz_j_f,
                    a.sd_fse_d_f    = b.dffse_f + a.g_yqm_tz_d_f + a.g_qm_tz_d_f,
                    a.sd_fse_f      = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f + a.g_yqm_tz_j_f + a.g_qm_tz_j_f) - (b.dffse_f - b.jz_df_f + a.g_yqm_tz_d_f + a.g_qm_tz_d_f)),
                    a.sd_qms_f      = a.ws_qcs_f + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_f - b.dffse_f) + a.yqm_cfl_tzs_f + a.qm_tzs_f,
                    a.pzsl          = b.pzsl
                from #t_hz B	
                where a.kmbh=b.kmbh and a.wbzl = b.wbzl and a.hsxmlxbh = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
            ////
            drop table #t_hz
        end
    else
        ////无核算明细更新核算外币总账
        begin
            update c_wb_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_qcs=isnull(sn_qcs,0),sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_fse=isnull(sn_fse,0),
                    sn_qcs_f=isnull(sn_qcs_f,0),sn_ws_fse_j_f=isnull(sn_ws_fse_j_f,0),sn_ws_fse_d_f=isnull(sn_ws_fse_d_f,0),sn_fse_f=isnull(sn_fse_f,0),
                    ////初始化账面数
                    ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),     
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),       
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)),
                    ws_fse_j_f=isnull(ws_fse_j_f,0),  ws_fse_d_f=isnull(ws_fse_d_f,0),  
                    ws_fse_f=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_f,0) else isnull(ws_fse_d_f,0) end),    
                    ws_qms_f=isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)),
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqc_cfl_j_f=isnull(yqc_cfl_j_f,0),yqc_cfl_d_f=isnull(yqc_cfl_d_f,0),yqc_cfl_tzs_f=isnull(yqc_cfl_tzs_f,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    yqm_cfl_j_f=isnull(yqm_cfl_j_f,0),yqm_cfl_d_f=isnull(yqm_cfl_d_f,0),yqm_cfl_tzs_f=isnull(yqm_cfl_tzs_f,0),
                    ////未审数计算
                    ysn_ws_fse_j    = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d    = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse      = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs         = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0),
                    yws_fse_j       = isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0),
                    yws_fse_d       = isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0),
                    yws_fse         = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) - isnull(g_yqm_tz_d,0)),
                    yws_qms         = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0),
                    ysn_ws_fse_j_f  = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0),
                    ysn_ws_fse_d_f  = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0),
                    ysn_ws_fse_f    = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_qcs_f       = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0),
                    yws_fse_j_f     = isnull(ws_fse_j_f,0) + isnull(g_yqm_tz_j_f,0),
                    yws_fse_d_f     = isnull(ws_fse_d_f,0) + isnull(g_yqm_tz_d_f,0),
                    yws_fse_f       = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0)),
                    yws_qms_f       = isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)) + isnull(yqm_cfl_tzs_f,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qc_cfl_j_f=isnull(qc_cfl_j_f,0),qc_cfl_d_f=isnull(qc_cfl_d_f,0),qc_cfl_tzs_f=isnull(qc_cfl_tzs_f,0),
                    qc_tz_j_f=isnull(qc_tz_j_f,0),qc_tz_d_f=isnull(qc_tz_d_f,0),qc_tz_tzs_f=isnull(qc_tz_tzs_f,0),qc_tzs_f=isnull(qc_tzs_f,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    qm_cfl_j_f=isnull(qm_cfl_j_f,0),qm_cfl_d_f=isnull(qm_cfl_d_f,0),qm_cfl_tzs_f=isnull(qm_cfl_tzs_f,0),
                    qm_tz_j_f=isnull(qm_tz_j_f,0),qm_tz_d_f=isnull(qm_tz_d_f,0),qm_tz_tzs_f=isnull(qm_tz_tzs_f,0),qm_tzs_f=isnull(qm_tzs_f,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    g_yqm_tz_j_f=isnull(g_yqm_tz_j_f,0),g_yqm_tz_d_f=isnull(g_yqm_tz_d_f,0),g_qm_tz_j_f=isnull(g_qm_tz_j_f,0),g_qm_tz_d_f=isnull(g_qm_tz_d_f,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0),
                    sd_fse_d        = isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0) + isnull(g_qm_tz_d,0),
                    sd_fse          = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j,0) + isnull(g_qm_tz_j,0) - isnull(g_yqm_tz_d,0) - isnull(g_qm_tz_d,0)),
                    sd_qms          = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    sn_sd_fse_j_f   = isnull(sn_ws_fse_j_f,0) + isnull(yqc_cfl_j_f,0) + isnull(qc_cfl_j_f,0) + isnull(qc_tz_j_f,0),
                    sn_sd_fse_d_f   = isnull(sn_ws_fse_d_f,0) + isnull(yqc_cfl_d_f,0) + isnull(qc_cfl_d_f,0) + isnull(qc_tz_d_f,0),
                    sn_sd_fse_f     = isnull(sn_fse_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_qcs_f        = isnull(ws_qcs_f,0) + isnull(yqc_cfl_tzs_f,0) + isnull(qc_tzs_f,0),
                    sd_fse_j_f      = isnull(ws_fse_j_f,0) + isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0),
                    sd_fse_d_f      = isnull(ws_fse_d_f,0) + isnull(g_yqm_tz_d_f,0) + isnull(g_qm_tz_d_f,0),
                    sd_fse_f        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(g_yqm_tz_j_f,0) + isnull(g_qm_tz_j_f,0) - isnull(g_yqm_tz_d_f,0) - isnull(g_qm_tz_d_f,0)),
                    sd_qms_f        = isnull(ws_qcs_f,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_f,0) - isnull(ws_fse_d_f,0)) + isnull(yqm_cfl_tzs_f,0) + isnull(qm_tzs_f,0),
                    pzsl=(case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
            
        end
end </sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>150</no><make_date>2009-12-17 11:33:45.625000</make_date><note>更新生成核算项目外币月余额过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hw_yye&apos;) then
   drop procedure pt_hw_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>160</no><make_date>2009-12-17 11:34:35.953000</make_date><note>更新生成核算项目外币月余额过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////生成科目月余额:将由科目期初数和财务凭证生成科目月余额，先清除原有数据（不清除0月份数据）。
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:核算项目总账160280,,核算项目明细1923360  用时：94&apos;
////09.6.18 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_hw_yye(@ai_dwid integer,@ai_ndid integer)
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @sql    char(1000)
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from t_hsmx where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            
            ////清除原有科目月余额数据[秒]
            delete from c_wb_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_wb_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [27秒]
            insert into c_wb_hsxm_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,ws_qcs,0,0,0,ws_qcs,ws_qcs_f,0,0,0,ws_qcs_f,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_wb_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    //汇总临时表
                    CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40) ,hsxmbh char(40),wbzl char(20),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_f decimal(18,4),dffse_f decimal(18,4),
                                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_f decimal(18,4),jz_df_f decimal(18,4))
                   -- create index #t_hz_kmlxhs on #t_hz (kmbh,hsxmlxbh,hsxmbh)
                    ////凭证发生额汇总[50秒]
                    insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,hbzl,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jffse_f,0)),sum(isnull(jffse_f,0)),0,0,0,0
                        from t_hsmx
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hsxmlxbh,hsxmbh,hbzl

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a 
                        set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_f = tab.jffse_f,a.jz_df_f = tab.dffse_f
                        from (select kmbh,hsxmlxbh,hsxmbh,hbzl,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jffse_f,0)) as jffse_f , sum(isnull(dffse_f,0))  as dffse_f
                                                from t_hsmx
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh,hsxmlxbh,hsxmbh,hbzl) tab
                        where tab.hbzl = a.wbzl and tab.hsxmlxbh = a.hsxmlxbh and tab.hsxmbh = a.hsxmbh

                    ////更新月发生额
                    update c_wb_hsxm_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse, 
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_f = b.jffse_f,a.dffse_f = b.dffse_f,
                            a.fse_f = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_f - b.jz_jf_f) - (b.dffse_f - b.jz_df_f)),
                            a.qms_f = a.qcs_f + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_f - b.dffse_f),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.wbzl = b.wbzl and a.hsxmlxbh  = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp  
                    ////下个月期初[&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_wb_hsxm_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qcs,jffse,dffse,fse,qms,qcs_f,jffse_f,dffse_f,fse_f,qms_f,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,qms,0,0,0,qms,qms_f,0,0,0,qms_f,0
                                from c_wb_hsxm_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end   
                    ////更新月余额列模式表
                    set @sql = &apos;update c_wb_hsxm_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_wb_hsxm_yye where c_wb_hsxm_yye2.dwid = c_wb_hsxm_yye.dwid and c_wb_hsxm_yye2.ndid=c_wb_hsxm_yye.ndid and c_wb_hsxm_yye2.kmbh=c_wb_hsxm_yye.kmbh and &apos;
                            + &apos; c_wb_hsxm_yye2.hsxmlxbh=c_wb_hsxm_yye.hsxmlxbh and c_wb_hsxm_yye2.hsxmbh = c_wb_hsxm_yye.hsxmbh and c_wb_hsxm_yye2.wbzl = c_wb_hsxm_yye.wbzl and &apos;
                            + &apos; c_wb_hsxm_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_wb_hsxm_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_wb_hsxm_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////准备下一个循环

                    drop table #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
        end
    else
        begin
            ////无核算明细不计算余额表
            delete from c_wb_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_wb_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            
            insert into c_wb_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,wbzl,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_wb_hsxm_zz 
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>170</no><make_date>2009-12-22 09:44:51.875000</make_date><note>标志结转凭证-未分配利润</note><sql>update c_cwpz A set A.other2=1 
from (select distinct B.dwid, B.ndid, B.kjyear, B.kjmonth, B.pzzl, B.pzbh from c_cwpz B,prj_info C where B.dwid=C.dwid and B.ndid=C.ndid and isnull(B.kmbh,&apos;&apos;)=isnull(C.wfpkm,&apos;&apos;)) as tab 
where A.dwid=tab.dwid and A.ndid=tab.ndid and isnull(A.kjyear,0)=isnull(tab.kjyear,0) and isnull(A.kjmonth,0)=isnull(tab.kjmonth,0) and A.pzzl=tab.pzzl and A.pzbh=tab.pzbh
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>180</no><make_date>2009-12-22 09:45:50.625000</make_date><note>标志结转核算明细-未分配利润</note><sql>update t_hsmx A set A.other2=1 
from (select distinct B.dwid, B.ndid, B.kjyear, B.kjmonth, B.pzzl, B.pzbh from c_cwpz B,prj_info C where B.dwid=C.dwid and B.ndid=C.ndid and isnull(B.kmbh,&apos;&apos;)=isnull(C.wfpkm,&apos;&apos;)) as tab 
where A.dwid=tab.dwid and A.ndid=tab.ndid and isnull(A.kjyear,0)=isnull(tab.kjyear,0) and isnull(A.kjmonth,0)=isnull(tab.kjmonth,0) and A.pzzl=tab.pzzl and A.pzbh=tab.pzbh
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>190</no><make_date>2009-12-22 09:46:11.281000</make_date><note>标志结转凭证-本年利润</note><sql>update c_cwpz A set A.other2=1 
from (select distinct B.dwid, B.ndid, B.kjyear, B.kjmonth, B.pzzl, B.pzbh from c_cwpz B, c_cwkmk C,
(select E.dwid,E.ndid,E.kmwm from c_cwkmk E,prj_info F where E.dwid = F.dwid and E.ndid = F.ndid and E.kmbh = F.bnlrkm) as D 
where B.dwid=C.dwid and B.ndid=C.ndid and C.dwid = D.dwid and C.ndid = D.ndid and B.kmbh=C.kmbh and C.kmwm like D.kmwm+&apos;%&apos; ) as tab 
where A.dwid=tab.dwid and A.ndid=tab.ndid and isnull(A.kjyear,0)=isnull(tab.kjyear,0) and isnull(A.kjmonth,0)=isnull(tab.kjmonth,0) and A.pzzl=tab.pzzl and A.pzbh=tab.pzbh
</sql></db_upgrade_row><db_upgrade_row><p_id>18</p_id><no>200</no><make_date>2009-12-22 09:46:31.671000</make_date><note>标志结转核算明细-本年利润</note><sql>update t_hsmx A set A.other2=1
from (select distinct B.dwid, B.ndid, B.kjyear, B.kjmonth, B.pzzl, B.pzbh from c_cwpz B, c_cwkmk C, 
(select E.dwid,E.ndid,E.kmwm from c_cwkmk E,prj_info F where E.dwid = F.dwid and E.ndid = F.ndid and E.kmbh = F.bnlrkm) as D  
where B.dwid=C.dwid and B.ndid=C.ndid and C.dwid = D.dwid and C.ndid = D.ndid and B.kmbh=C.kmbh and C.kmwm like D.kmwm+&apos;%&apos;) as tab
where A.dwid=tab.dwid and A.ndid=tab.ndid and isnull(A.kjyear,0)=isnull(tab.kjyear,0) and isnull(A.kjmonth,0)=isnull(tab.kjmonth,0) and A.pzzl=tab.pzzl and A.pzbh=tab.pzbh
</sql></db_upgrade_row><db_upgrade_row><p_id>19</p_id><no>10</no><make_date>2009-12-25 15:07:44.140000</make_date><note>更新预置表记录</note><sql>update datatable_definfo set t_name = &apos;核算项目字典表&apos; where t_id = &apos;C1010&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>19</p_id><no>20</no><make_date>2009-12-29 14:59:25.515000</make_date><note>增加抽样方案对应关系列的长度由原有的100增加到1000</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;cyfa&apos; and b.column_name = &apos;dygx&apos;) then
	ALTER TABLE cyfa alter dygx varchar(1000) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>20</p_id><no>10</no><make_date>2009-12-31 20:31:05.375000</make_date><note>更新数据源所有数量有关的数据列名称</note><sql>update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;上期账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面上期贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面上期借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;上期期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面期末数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C0001&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;上期期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面上期借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面上期贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;上期账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C0002&apos; and col_cname = &apos;账面期末数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C0005&apos; and col_cname = &apos;发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期数&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年数&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年期初数&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方发生额&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面借方发生额&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方发生额&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面贷方发生额&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面发生额&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面贷方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年账面借方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;上年期初数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;账面期末数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;账面贷方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;账面借方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C1001&apos; and col_cname = &apos;账面期初数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;上期期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面上期借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面上期贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;上期账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C1002&apos; and col_cname = &apos;账面期末数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C1005&apos; and col_cname = &apos;期初数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C1005&apos; and col_cname = &apos;借方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C1005&apos; and col_cname = &apos;贷方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C1005&apos; and col_cname = &apos;发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C1005&apos; and col_cname = &apos;期末数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面上期借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面上期贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;上期账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C5001&apos; and col_cname = &apos;账面期末数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C5002&apos; and col_cname = &apos;期初数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C5002&apos; and col_cname = &apos;借方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C5002&apos; and col_cname = &apos;贷方发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C5002&apos; and col_cname = &apos;发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C5002&apos; and col_cname = &apos;期末数_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期期初数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;上期期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期借方数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面上期借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期贷方数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面上期贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;上期发生额数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;上期账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;借方数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面借方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;贷方数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面贷方数量&apos;;
update datatable_defcolinfo set col_cname = &apos;发生额数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面发生额_数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;C5006&apos; and col_cname = &apos;账面期末数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期初数量&apos; where t_id = &apos;Y0006&apos; and col_cname = &apos;账面期初数量&apos;;
update datatable_defcolinfo set col_cname = &apos;期末数量&apos; where t_id = &apos;Y0006&apos; and col_cname = &apos;账面期末数量&apos;;
</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>10</no><make_date>2010-01-05 13:55:38.515000</make_date><note>更新科目总账计算过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_zz&apos;) then
   drop procedure pt_km_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>20</no><make_date>2010-01-05 13:55:38.890000</make_date><note>更新科目总账计算过程——创建</note><sql>create procedure pt_km_zz(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
   
    declare @li_jc integer
    declare @li_pz integer --判断凭证是否存在 如果存在凭证计算发生额
    
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有凭证数据
    set @li_pz = isnull((select top 1 ndid  from c_cwpz where dwid = @ai_dwid and ndid = @ai_ndid),0)
    
    If @li_pz &gt; 0 
        begin
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，后续直接处理有发生额的科目期末数（可以只更新末级科目数据）[5S]
            update c_cwkmk 
                set ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl,
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = 0
                where ndid = @ai_ndid and dwid = @ai_dwid
 
            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                              jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////用时：2990 毫秒
            insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from c_cwpz
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh
            ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
            update #t_hz a 
                set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from c_cwpz
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh) tab
                where a.kmbh = tab.kmbh
            ////更新财务科目库
            update c_cwkmk A 
                set a.ws_fse_j =b.jffse,        a.ws_fse_d=b.dffse,        
                    a.ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.dffse)-(b.jz_jf - b.jz_df)),            
                    a.ws_qms= isnull(a.ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl - b.dffse_sl) - (b.jz_jf_sl - b.jz_df_sl)),   
                    a.ws_qms_sl= isnull(a.ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.pzsl = b.pzsl
                from #t_hz B	
                where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmbh=b.kmbh 
            ////
            drop table #t_hz
            ////这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理
            ////取科目最大级
            select max(kmjc) into @li_jc 	from c_cwkmk 	where dwid =@ai_dwid and ndid = @ai_ndid
            ////汇总上级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4),fse_sl decimal(18,4),primary key(kmwm))
        
            while  @li_jc &gt; 1
            begin
                ////科目上级数据汇总[s]        
                insert into #t_sj 
                    select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                        sum(ws_fse_j),sum(ws_fse_d),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse),
                        sum(ws_fse_j_sl),sum(ws_fse_d_sl),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ws_fse_sl)
                    from c_cwkmk 
                    where dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_jc 
                    group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                ////更新科目库[s]
                update c_cwkmk A 
                    set a.ws_fse_j = a.ws_fse_j + b.jffse,          a.ws_fse_d = a.ws_fse_d + b.dffse,         
                        a.ws_fse=a.ws_fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse,            
                        a.ws_qms= isnull(a.ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j + b.jffse - a.ws_fse_d - b.dffse),
                        a.ws_fse_j_sl = a.ws_fse_j_sl + b.jffse_sl, a.ws_fse_d_sl = a.ws_fse_d_sl + b.dffse_sl,   
                        a.ws_fse_sl=a.ws_fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl,   
                        a.ws_qms_sl= isnull(a.ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.ws_fse_j_sl + b.jffse_sl - a.ws_fse_d_sl - b.dffse_sl),
                        a.pzsl = b.pzsl
                    from #t_sj  B	
                    where A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kmwm=b.kmwm
                ////清理临时表数据
                delete from #t_sj            

                ////准备下次循环
                set @li_jc = @li_jc - 1
            end
            drop table #t_sj
        end
    Else
        ////无凭证情况下 只进行科目发生额计算 取科目方向发生 同时更新pzsl字段供数据源过滤掉零使用
        begin    
            update c_cwkmk 
                set ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0), 
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j else ws_fse_d end),
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),                    
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then ws_fse_j_sl else ws_fse_d_sl end),
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)),
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    pzsl = (case when abs(isnull(ws_fse_j,0)) +  abs(isnull(ws_fse_d,0))&gt;0 then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        End
    ////更新审定数[6s]
    update c_cwkmk
        set ysn_ws_fse_j = sn_ws_fse_j + yqc_cfl_j,
            ysn_ws_fse_d = sn_ws_fse_d + yqc_cfl_d,
            ysn_ws_fse   = sn_ws_fse + yqc_cfl_tzs,
            yws_qcs = isnull(ws_qcs,0)+yqc_cfl_tzs,
            yws_fse_j=ws_fse_j+ g_yqm_tz_j,
            yws_fse_d=ws_fse_d+g_yqm_tz_d,
            yws_fse=ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
            yws_qms=ws_qms + yqm_cfl_tzs,
            sn_sd_fse_j = sn_ws_fse_j + yqc_cfl_j + qc_tz_j + qc_cfl_j,
            sn_sd_fse_d = sn_ws_fse_d + yqc_cfl_d + qc_tz_d + qc_cfl_d,
            sn_sd_fse = sn_ws_fse + yqc_cfl_tzs + qc_tzs,
            sd_qcs = isnull(ws_qcs,0) + yqc_cfl_tzs + qc_tzs,
            sd_fse_j   = ws_fse_j + g_yqm_tz_j +g_qm_tz_j, 
            sd_fse_d   = ws_fse_d + g_yqm_tz_d + g_qm_tz_d,
            sd_fse	   = ws_fse+(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j + g_qm_tz_j - g_yqm_tz_d - g_qm_tz_d),
            sd_qms	   = ws_qms + yqm_cfl_tzs + qm_tzs
        where dwid=@ai_dwid and ndid= @ai_ndid 
        
    ////调用报表项目计算过程
    execute pb_bbxm @ai_dwid,@ai_ndid,0 

end 
</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>30</no><make_date>2010-01-05 13:55:39.171000</make_date><note>更新科目月余额计算过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_yye&apos;) then
   drop procedure pt_km_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>40</no><make_date>2010-01-05 13:55:39.515000</make_date><note>更新科目月余额计算过程——创建</note><sql>create   procedure pt_km_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @sql    char(1000)
    declare @li_i   integer
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////清除原有科目月余额数据[删除语句需要26秒]
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [2.5秒]
            insert into c_kmyek(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,isnull(ws_qcs,0),0,0,0,isnull(ws_qcs,0),isnull(ws_qcs_sl,0),0,0,0,isnull(ws_qcs_sl,0),0
                from c_cwkmk 
                where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid    

            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(64),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(96),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4), fse_sl decimal(18,4),primary key(kmwm))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17.5秒]
                    insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from c_cwpz
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh) tab
                        where a.kmbh = tab.kmbh
                    ////更新月发生额
                    update c_kmyek a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            qms = qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl)- (b.dffse_sl - b.jz_df_sl)),
                            qms_sl = qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                    while @li_i &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[4.7秒]
                            insert into #t_sj select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_sl),sum(dffse_sl) ,sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl)
                                from c_kmyek 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_i and kjmonth = @kjmonth_temp
                                group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                            ////更新科目库[2.6秒]
                            update c_kmyek A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse= a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_sl=a.jffse_sl + b.jffse_sl,  a.dffse_sl = a.dffse_sl + b.dffse_sl,   
                                    a.fse_sl=a.fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_sl,
                                    a.qms_sl= a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_sl + b.jffse_sl - a.dffse_sl - b.dffse_sl),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kjmonth = @kjmonth_temp
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_i =  @li_i - 1
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_kmyek2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_kmyek where c_kmyek2.dwid = c_kmyek.dwid and c_kmyek2.ndid=c_kmyek.ndid and c_kmyek2.kmbh=c_kmyek.kmbh and &apos;
                            + &apos; c_kmyek.dwid = &apos; + string(@ai_dwid) + &apos; and c_kmyek.ndid = &apos; + string(@ai_ndid) + &apos; and c_kmyek.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////下个月期初[55&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_kmyek (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_kmyek 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end

                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算月余额
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
       
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>50</no><make_date>2010-01-05 13:55:39.890000</make_date><note>更新核算项目总账计算过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_zz&apos;) then
   drop procedure pt_hs_zz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>60</no><make_date>2010-01-05 13:55:40.250000</make_date><note>更新核算项目总账计算过程——创建</note><sql>create procedure pt_hs_zz(@ai_dwid integer,@ai_ndid integer)
as 
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    
    declare @li_pz integer
    ////取得会计期间
    select @kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
    if @kjmonth_min &gt; @kjmonth_max 
    begin 
        select @kjmonth_temp  = @kjmonth_max 
        select @kjmonth_max = @kjmonth_min
        select @kjmonth_min = @kjmonth_temp
    end
    ////判断是否有核算项目明细数据
    set @li_pz = isnull((select top 1 ndid  from t_hsmx where dwid=@ai_dwid and ndid= @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////清除重新计算数据，防止计算中涉及不到产生残留数据,期末数直接设置为期初数，审定数同时直接计算，后续直接处理有发生额的科目期末数及审定数[15S]
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =0,    ws_fse_d=0,     ws_fse=0,       ws_qms=ws_qcs,
                    ws_fse_j_sl=0,  ws_fse_d_sl=0,  ws_fse_sl=0,    ws_qms_sl=ws_qcs_sl , 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(g_yqm_tz_d,0),
                    yws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=0
                where ndid = @ai_ndid and dwid = @ai_dwid

            ////凭证发生额汇总,发生额直接用借减贷，向科目余额库更新时在处理方向问题[13S]
            CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40),hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),primary key (kmbh,hsxmlxbh,hsxmbh))
            insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                from t_hsmx
                where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                group by kmbh,hsxmlxbh,hsxmbh
            ////将涉及利润科目的发生额去除掉
            update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                from (select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                        from t_hsmx
                                        where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth &gt;= @kjmonth_min and kjmonth&lt;= @kjmonth_max
                                        group by kmbh,hsxmlxbh,hsxmbh) tab
                where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh
            ////更新核算项目库[15秒]
            update c_hsxm_zz A 
                set a.ws_fse_j  =b.jffse,        a.ws_fse_d=b.dffse,
                    a.ws_fse    =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf )- (b.dffse - b.jz_df)),
                    a.ws_qms    = isnull(a.ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                    a.ws_fse_j_sl=b.jffse_sl,   a.ws_fse_d_sl=b.dffse_sl,  
                    a.ws_fse_sl =(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse_sl-b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),   
                    a.ws_qms_sl = isnull(a.ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse_sl - b.dffse_sl),
                    a.yws_qcs   = isnull(a.ws_qcs,0) + a.yqc_cfl_tzs,
                    a.yws_fse_j = b.jffse + a.g_yqm_tz_j,
                    a.yws_fse_d = b.dffse + a.g_yqm_tz_d,
                    a.yws_fse   = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf + a.g_yqm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d)),
                    a.yws_qms   = isnull(a.ws_qcs,0) + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs,
                    a.sd_qcs    = isnull(a.ws_qcs,0) + a.yqc_cfl_tzs + a.qc_tzs,
                    a.sd_fse_j  = b.jffse +  a.g_yqm_tz_j + a.g_qm_tz_j,
                    a.sd_fse_d  = b.dffse + a.g_yqm_tz_d + a.g_qm_tz_d,
                    a.sd_fse    = (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) *((b.jffse - b.jz_jf + a.g_yqm_tz_j + a.g_qm_tz_j)- (b.dffse - b.jz_df + a.g_yqm_tz_d + a.g_qm_tz_d)),
                    a.sd_qms    = isnull(a.ws_qcs,0) + (case when LOCATE(a.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse) + a.yqm_cfl_tzs + a.qm_tzs,
                    a.pzsl      = b.pzsl
                from #t_hz B	
                where a.kmbh=b.kmbh and a.hsxmlxbh = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and A.dwid = @ai_dwid and A.ndid =@ai_ndid
       
            drop table #t_hz
        end
    else
        ////无明细数据 只计算账面发生额和期末余额 以及 后续 未审、审定数
        begin
            update c_hsxm_zz 
                set ////上年数 空值置 0 便于计算
                    sn_ws_fse_j=isnull(sn_ws_fse_j,0),sn_ws_fse_d=isnull(sn_ws_fse_d,0),sn_ws_fse= isnull(sn_ws_fse,0),
                    ////初始化账面数
                    ws_fse_j =isnull(ws_fse_j,0),    ws_fse_d=isnull(ws_fse_d,0),     
                    ws_fse=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end),       
                    ws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) ,
                    ws_fse_j_sl=isnull(ws_fse_j_sl,0),  ws_fse_d_sl=isnull(ws_fse_d_sl,0),  
                    ws_fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j_sl,0) else isnull(ws_fse_d_sl,0) end),    
                    ws_qms_sl=isnull(ws_qcs_sl,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(isnull(ws_fse_j_sl,0) - isnull(ws_fse_d_sl,0)), 
                    ////账表差异调整  空值置 0 便于计算
                    yqc_cfl_j=isnull(yqc_cfl_j,0),yqc_cfl_d=isnull(yqc_cfl_d,0),yqc_cfl_tzs=isnull(yqc_cfl_tzs,0),
                    yqm_cfl_j=isnull(yqm_cfl_j,0),yqm_cfl_d=isnull(yqm_cfl_d,0),yqm_cfl_tzs=isnull(yqm_cfl_tzs,0),
                    ////未审数计算
                    ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0),
                    ysn_ws_fse_d = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0),
                    ysn_ws_fse   = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0),
                    yws_qcs = isnull(ws_qcs,0)+isnull(yqc_cfl_tzs,0),
                    yws_fse_j=isnull(ws_fse_j,0) + isnull(g_yqm_tz_j,0),
                    yws_fse_d=isnull(ws_fse_d,0) + isnull(g_yqm_tz_d,0),
                    yws_fse= (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(g_yqm_tz_j-g_yqm_tz_d),
                    yws_qms=isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) + isnull(yqm_cfl_tzs,0),
                    ////重分类调整和账项调整  空值置 0 便于计算
                    qc_cfl_j=isnull(qc_cfl_j,0),qc_cfl_d=isnull(qc_cfl_d,0),qc_cfl_tzs=isnull(qc_cfl_tzs,0),
                    qc_tz_j=isnull(qc_tz_j,0),qc_tz_d=isnull(qc_tz_d,0),qc_tz_tzs=isnull(qc_tz_tzs,0),qc_tzs=isnull(qc_tzs,0),
                    qm_cfl_j=isnull(qm_cfl_j,0),qm_cfl_d=isnull(qm_cfl_d,0),qm_cfl_tzs=isnull(qm_cfl_tzs,0),
                    qm_tz_j=isnull(qm_tz_j,0),qm_tz_d=isnull(qm_tz_d,0),qm_tz_tzs=isnull(qm_tz_tzs,0),qm_tzs=isnull(qm_tzs,0),
                    g_yqm_tz_j=isnull(g_yqm_tz_j,0),g_yqm_tz_d=isnull(g_yqm_tz_d,0),g_qm_tz_j=isnull(g_qm_tz_j,0),g_qm_tz_d=isnull(g_qm_tz_d,0),
                    ////审定数计算
                    sn_sd_fse_j     = isnull(sn_ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qc_cfl_j,0) + isnull(qc_tz_j,0),
                    sn_sd_fse_d     = isnull(sn_ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qc_cfl_d,0) + isnull(qc_tz_d,0),
                    sn_sd_fse       = isnull(sn_ws_fse,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_qcs          = isnull(ws_qcs,0) + isnull(yqc_cfl_tzs,0) + isnull(qc_tzs,0),
                    sd_fse_j        = isnull(ws_fse_j,0) + isnull(yqc_cfl_j,0) + isnull(qm_cfl_j,0) + isnull(qm_tz_j,0),
                    sd_fse_d        = isnull(ws_fse_d,0) + isnull(yqc_cfl_d,0) + isnull(qm_cfl_d,0) + isnull(qm_tz_d,0),
                    sd_fse	        = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then isnull(ws_fse_j,0) else isnull(ws_fse_d,0) end) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((g_yqm_tz_j + g_qm_tz_j)-(g_yqm_tz_d + g_qm_tz_d)),
                    sd_qms	        = isnull(ws_qcs,0) + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (isnull(ws_fse_j,0) - isnull(ws_fse_d,0)) +  isnull(yqm_cfl_tzs,0) + isnull(qm_tzs,0),
                    pzsl=(case when abs(isnull(ws_fse_j,0)) + abs(isnull(ws_fse_d,0)) &gt; 0 Then 1 else 0 end)
                where ndid = @ai_ndid and dwid = @ai_dwid
        
        end
end </sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>70</no><make_date>2010-01-05 13:55:40.718000</make_date><note>更新核算项目月余额计算过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_hs_yye&apos;) then
   drop procedure pt_hs_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>21</p_id><no>80</no><make_date>2010-01-05 13:55:41.343000</make_date><note>更新核算项目月余额计算过程——创建</note><sql>create   procedure pt_hs_yye(@ai_dwid integer,@ai_ndid integer)
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer
    
    declare @sql    char(1000)
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from t_hsmx where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            
            ////清除原有科目月余额数据[删除语句需要43秒]
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [27秒]
            insert into c_hsxm_yye(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,isnull(ws_qcs,0),0,0,0,isnull(ws_qcs,0),isnull(ws_qcs_sl,0),0,0,0,isnull(ws_qcs_sl,0),0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
    
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    //汇总临时表
                    CREATE TABLE #t_hz (kmbh char(64),hsxmlxbh char(40) ,hsxmbh char(40),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                        jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4))
                   -- create index #t_hz_kmlxhs on #t_hz (kmbh,hsxmlxbh,hsxmbh)
                    ////凭证发生额汇总[50秒]
                    insert into #t_hz select kmbh,hsxmlxbh,hsxmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from t_hsmx
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh,hsxmlxbh,hsxmbh

                    ////将涉及利润科目的发生额
                    update #t_hz a 
                        set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from c_cwkmk b,(select kmbh,hsxmlxbh,hsxmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from t_hsmx
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh,hsxmlxbh,hsxmbh) tab
                        where a.kmbh = tab.kmbh and a.hsxmlxbh = tab.hsxmlxbh and a.hsxmbh = tab.hsxmbh and b.kmbh = tab.kmbh and locate(b.kmlb,&apos;损益&apos;) &gt; 0

                    ////更新月发生额
                    update c_hsxm_yye a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,    
                            a.fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * ((b.jffse - b.jz_jf)- (b.dffse - b.jz_df)),
                            a.qms = a.qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            a.fse_sl = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl) - (b.dffse_sl - b.jz_df_sl)),
                            a.qms_sl = a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.hsxmlxbh  = b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp  
                    ////下个月期初[75&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_hsxm_yye (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_hsxm_yye 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end  
                    ////更新月余额列模式表
                    set @sql = &apos;update c_hsxm_yye2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse from c_hsxm_yye where c_hsxm_yye2.dwid = c_hsxm_yye.dwid and c_hsxm_yye2.ndid=c_hsxm_yye.ndid and c_hsxm_yye2.kmbh=c_hsxm_yye.kmbh and &apos;
                            + &apos; c_hsxm_yye2.hsxmlxbh=c_hsxm_yye.hsxmlxbh and c_hsxm_yye2.hsxmbh=c_hsxm_yye.hsxmbh and&apos;
                            + &apos; c_hsxm_yye.dwid = &apos; + string(@ai_dwid) + &apos; and c_hsxm_yye.ndid = &apos; + string(@ai_ndid) + &apos; and c_hsxm_yye.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)                
                    ////准备下一个循环
                    drop table #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
        end
    else
        begin
            ////无核算明细 不计算余额表
            delete from c_hsxm_yye where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_hsxm_yye2 where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_hsxm_yye2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,kmjc,kmwm,hsxmlxbh,hsxmlxmc,hsxmbh,hsxmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_hsxm_zz
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>22</p_id><no>10</no><make_date>2010-01-12 19:32:31.109000</make_date><note>更新报表项目计算过程——删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_bbxm&apos;) then
   drop procedure pb_bbxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>22</p_id><no>20</no><make_date>2010-01-12 19:33:56.781000</make_date><note>更新报表项目计算过程——创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////////////////////
////计算财务报表项目库的数据,在需要取数前调用，和在c_kmyek,c_cwkmk修改后调用
////@a_dlzt 登录状态 0:正常登录 计算当前项目单体报表数据 必须在 pt_cwkmk 中调用使用 pb_bbxm
////                 1:母公司登录 计算母分公司合并报表数据
////                 2:集团公司登录 计算母子公司合并报表数据
////测试量:科目34133  用时：
////09.7.14 Ben
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

Create Procedure pb_bbxm(@a_dwid Integer,@a_ndid Integer,@a_dlzt Integer)
as
Begin

    declare @bbtz char(1)   //// 报表调整启用标志
    declare @bbqs char(1)   //// 报表未审数来源
    declare @bbsnfse char(1)   ////报表未审上期发生额数据来源 1：手工输入 0：科目汇总
    DECLARE @s_dwid_all varchar(2000)
    DECLARE @s_dwid varchar(2000)
    declare @i_zfgs integer
    
    CREATE TABLE #tmp_bbxm(zdlx	char(1)	,////	制度类型
        bbbh	char(20)	,////	报表编号
        jdfx char(8),
        zm_sn_qcs	decimal(18,4)	,////	账面上年期初数
        zm_sn_fse_j	decimal(18,4)	,////	账面上年借方发生额
        zm_sn_fse_d	decimal(18,4)	,////	账面上年贷方发生额
        zm_sn_fse	decimal(18,4)	,////	账面上年发生额
        zm_qcs  	decimal(18,4)	,////	账面期初数
        zm_fse_j	decimal(18,4)	,////	账面借方发生额
        zm_fse_d	decimal(18,4)	,////	账面贷方发生额
        zm_fse  	decimal(18,4)	,////	账面发生额
        zm_qms	    decimal(18,4)	,////	账面期末数
        yqc_cfl_j	decimal(18,4)	,////	账表差异调整期初借方发生额
        yqc_cfl_d	decimal(18,4)	,////	账表差异调整期初贷方发生额
        yqm_cfl_j	decimal(18,4)	,////	账表差异调整期末借方发生额
        yqm_cfl_d	decimal(18,4)	,////	账表差异调整期末贷方发生额
        ysn_ws_fse_j	decimal(18,4)	,////	账表差异调整后上年借方发生额
        ysn_ws_fse_d	decimal(18,4)	,////	账表差异调整后上年贷方发生额
        ysn_ws_fse	decimal(18,4)	,////	账表差异调整后上年发生额
        yws_qcs 	decimal(18,4)	,////	账表差异调整后期初数
        yws_fse_j	decimal(18,4)	,////	账表差异调整后借方发生额
        yws_fse_d	decimal(18,4)	,////	账表差异调整后贷方发生额
        yws_fse 	decimal(18,4)	,////	账表差异调整后发生额
        yws_qms 	decimal(18,4)	,////	账表差异调整后期末数
        qc_cfl_j	decimal(18,4)	,////	期初重分类借方发生额
        qc_cfl_d	decimal(18,4)	,////	期初重分类贷方发生额
        qc_tz_j 	decimal(18,4)	,////	期初账项调整借方发生额
        qc_tz_d 	decimal(18,4)	,////	期初账项调整贷方发生额
        qm_cfl_j	decimal(18,4)	,////	期末重分类借方发生额
        qm_cfl_d	decimal(18,4)	,////	期末重分类贷方发生额
        qm_tz_j 	decimal(18,4)	,////	期末账项调整借方发生额
        qm_tz_d 	decimal(18,4)	,////	期末账项调整贷方发生额
        g_yqm_tz_j	decimal(18,4)	,////	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,////	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,////	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,////	调整分录滚调影响期末数贷方
        other5      decimal(18,4)	,////	期初未更正数
        other6      decimal(18,4)	,////	期末未更正数
	PRIMARY KEY (zdlx,bbbh)
	)
    if @a_dlzt = 0
		BEGIN
            ////取项目参数
            SELECT @bbqs = bbqs,@bbtz = bbtz,@bbsnfse = bjw1 FROM prj_info WHERE @a_dwid = dwid AND @a_ndid = ndid
            If @bbtz = 0
                //// 不使用报表调整
                begin
                    INSERT INTO #tmp_bbxm
                		SELECT a.zdlx,A.bbbh,a.jdfx,
                            ////账面数汇总
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                    		sum(isnull(B.sn_ws_fse_j,0)),
                    		sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                    		sum(isnull(B.ws_fse_j,0)),
                    		sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            ////账表差异调整数汇总
                    		sum(isnull(B.yqc_cfl_j,0)),sum(isnull(B.yqc_cfl_d,0)),
                    		sum(isnull(B.yqm_cfl_j,0)),sum(isnull(B.yqm_cfl_d,0)),
                            ////账表差异调整后汇总
                            sum(isnull(b.ysn_ws_fse_j,0)),
                            sum(isnull(b.ysn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.ysn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qcs,0)),
                            sum(isnull(b.yws_fse_j,0)),
                            sum(isnull(b.yws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qms,0)),
                            ////调整数汇总
                    		sum(isnull(B.qc_cfl_j,0)),sum(isnull(B.qc_cfl_d,0)),
                    		sum(isnull(B.qc_tz_j,0)),sum(isnull(B.qc_tz_d,0)),
                    		sum(isnull(B.qm_cfl_j,0)),sum(isnull(B.qm_cfl_d,0)),
                    		sum(isnull(B.qm_tz_j,0)),sum(isnull(B.qm_tz_d,0)),
                            ////影响发生额的调整数汇总
                    		sum(isnull(B.g_yqm_tz_j,0)),sum(isnull(B.g_yqm_tz_d,0)),
                    		sum(isnull(B.g_qm_tz_j,0)),sum(isnull(B.g_qm_tz_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                		FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B
                        WHERE a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                    		A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                		GROUP BY a.zdlx,A.bbbh,a.jdfx
                end
            else
                ////使用报表调整分录
                begin
                    //// 取账面数
                    INSERT INTO #tmp_bbxm
                        SELECT a.zdlx,A.bbbh,a.jdfx,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                            sum(isnull(B.sn_ws_fse_j,0)),
                            sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                            sum(isnull(B.ws_fse_j,0)),
                            sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0))
                        FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B 
                        WHERE  a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                            A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND 
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                        GROUP BY a.zdlx,A.bbbh,a.jdfx
                    //// 取报表调整数
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (  select zdlx ,bbxm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                    
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and length(bbxm) &gt; 4
                                group by zdlx,bbxm) t
                        where a.zdlx = t.zdlx and a.bbbh = t.bbxm
                    ////        
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (select zdlx ,left(bbxm,4) as xm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and bbxm is not null and bbxm &lt;&gt; &apos;&apos;
                                group by zdlx ,left(bbxm,4)) t
                            where a.zdlx = t.zdlx and a.bbbh = t.xm
                    ////计算账表差异调整后的数据，使用科目级次调整分录不需要计算
                    update #tmp_bbxm 
                        set ysn_ws_fse_j    = zm_sn_fse_j + yqc_cfl_j,
                            ysn_ws_fse_d    = zm_sn_fse_d + yqc_cfl_d,
                            ysn_ws_fse      = zm_sn_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_qcs         = zm_qcs + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_fse_j       = zm_fse_j + g_yqm_tz_j,
                            yws_fse_d       = zm_fse_d + g_yqm_tz_d,
                            yws_fse         = zm_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j - g_yqm_tz_d),
                            yws_qms         = zm_qms + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqm_cfl_j - yqm_cfl_d)
                end
            ////清除已有数据 同时计算报表发生额
            UPDATE b_bbxm
                set zm_sn_qcs	= 0 ,zm_sn_fse_j	= 0 ,zm_sn_fse_d	= 0 ,zm_sn_fse  = 0,
                    zm_qcs	= 0 ,zm_fse_j	= 0 ,zm_fse_d	= 0 ,zm_fse = 0 ,zm_qms	= 0 ,
                    yqc_cfl_j	= 0 ,yqc_cfl_d	= 0 ,yqc_cfl_tzs    = 0,
                    yqm_cfl_j	= 0 ,yqm_cfl_d	= 0 ,yqm_cfl_tzs    = 0,
                    ysn_ws_fse_j	= 0 ,ysn_ws_fse_d	= 0 ,ysn_ws_fse = 0,
                    yws_qcs	= 0 ,yws_fse_j	= 0 ,yws_fse_d	= 0 ,yws_fse = 0 ,yws_qms	= 0 ,
                    qc_cfl_j	= 0 ,qc_cfl_d	= 0 ,qc_cfl_tzs = 0,qc_tz_j	= 0 ,qc_tz_d	= 0 ,qc_tz_tzs = 0,qc_tzs   = 0,
                    qm_cfl_j	= 0 ,qm_cfl_d	= 0 ,qm_cfl_tzs = 0,qm_tz_j	= 0 ,qm_tz_d	= 0 ,qm_tz_tzs=0,qm_tzs = 0,
                    g_yqm_tz_j	= 0 ,g_yqm_tz_d	= 0 ,g_qm_tz_j	= 0 ,g_qm_tz_d	= 0 , other5 = 0 ,other6=0
                WHERE dwid = @a_dwid AND ndid = @a_ndid AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////临时表数据更新到报表项目表

            UPDATE b_bbxm a
                set a.zm_sn_qcs	= b.zm_sn_qcs ,a.zm_sn_fse_j	= b.zm_sn_fse_j ,a.zm_sn_fse_d	= b.zm_sn_fse_d ,a.zm_sn_fse = b.zm_sn_fse,
                    a.zm_qcs	= b.zm_qcs ,a.zm_fse_j	= b.zm_fse_j ,a.zm_fse_d	= b.zm_fse_d ,a.zm_fse    = b.zm_fse,a.zm_qms	= b.zm_qms ,
                    a.yqc_cfl_j	= b.yqc_cfl_j ,a.yqc_cfl_d	= b.yqc_cfl_d ,
                    a.yqc_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqc_cfl_j - b.yqc_cfl_d),
                    a.yqm_cfl_j	= b.yqm_cfl_j ,a.yqm_cfl_d	= b.yqm_cfl_d ,
                    a.yqm_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqm_cfl_j - b.yqm_cfl_d),
                    a.ysn_ws_fse_j	= b.ysn_ws_fse_j ,a.ysn_ws_fse_d	= b.ysn_ws_fse_d ,a.ysn_ws_fse    = b.ysn_ws_fse,
                    a.yws_qcs	= b.yws_qcs ,a.yws_fse_j	= b.yws_fse_j ,a.yws_fse_d	= b.yws_fse_d ,a.yws_fse   = b.yws_fse,a.yws_qms	= b.yws_qms ,
                    a.qc_cfl_j	= b.qc_cfl_j ,a.qc_cfl_d	= b.qc_cfl_d ,
                    a.qc_cfl_tzs= (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d),
                    a.qc_tz_j	= b.qc_tz_j ,a.qc_tz_d	= b.qc_tz_d ,
                    a.qc_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_tz_j - b.qc_tz_d),
                    a.qc_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d + b.qc_tz_j - b.qc_tz_d),
                    a.qm_cfl_j	= b.qm_cfl_j ,a.qm_cfl_d	= b.qm_cfl_d ,
                    a.qm_cfl_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d),
                    a.qm_tz_j	= b.qm_tz_j ,a.qm_tz_d	= b.qm_tz_d ,
                    a.qm_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_tz_j - b.qm_tz_d),
                    a.qm_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d + b.qm_tz_j - b.qm_tz_d),
                    a.g_yqm_tz_j	= b.g_yqm_tz_j ,a.g_yqm_tz_d	= b.g_yqm_tz_d ,a.g_qm_tz_j	= b.g_qm_tz_j ,a.g_qm_tz_d	= b.g_qm_tz_d,
                    a.other5    = b.other5,a.other6 = b.other6
                from #tmp_bbxm b
                WHERE a.zdlx = b.zdlx and a.bbbh = b.bbbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;

            ////确定报表数据来源
            if @bbsnfse = 1 --手工输入报表上期数
                begin
                     if @bbqs = 3 --报表数
            			UPDATE b_bbxm 
                            SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                    			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                                ws_fse= bb_fse,
                    			ws_qms = bb_qms    			
                			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            		else if @bbqs = 2 --账面数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                    			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                                ws_fse = zm_fse,
                    			ws_qms = zm_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
            		else if @bbqs = 1 --账面预调整数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                    			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                                ws_fse = yws_fse,
                    			ws_qms = yws_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
                end
            else --科目汇总得来报表上期数
                begin
                    if @bbqs = 3 --报表数
            			UPDATE b_bbxm 
                            SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                                sn_ws_fse = bb_sn_fse,
                    			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                                ws_fse= bb_fse,
                    			ws_qms = bb_qms    			
                			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            		else if @bbqs = 2 --账面数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                                sn_ws_fse = zm_sn_fse,
                    			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                                ws_fse = zm_fse,
                    			ws_qms = zm_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
            		else if @bbqs = 1 --账面预调整数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                                sn_ws_fse = ysn_ws_fse,
                    			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                                ws_fse = yws_fse,
                    			ws_qms = yws_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
                end    
            
                    
            ////审定数计算
            UPDATE b_bbxm 
                SET sn_sd_fse_j = adding(sn_ws_fse_j,adding(qc_tz_j,qc_cfl_j)),
            		sn_sd_fse_d = adding(sn_ws_fse_d,adding(qc_tz_d,qc_cfl_d)),
                    sn_sd_fse = sn_ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(qc_tz_j,qc_cfl_j),adding(qc_tz_d,qc_cfl_d)),
                    sd_qcs = adding(ws_qcs,qc_tzs),
            		sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
            		sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                    sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)),
            		sd_qms = adding(ws_qms,qm_tzs)
        		WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND xmlx &lt;&gt; &apos;2&apos;
            ////报表项目计算时间
            update sys_parameter set parvalue = convert(varchar(20),getdate(),20) where dwid = @a_dwid AND ndid = @a_ndid  and parid = &apos;SCAT0002&apos;    
        end
    else

    ////集团或者母公司登录 不改动原有算法 只调整相应改动
        begin            
            CREATE TABLE #tmp_bbxm_j(
            	bbbh		char(20)	NOT NULL,		/*报表编号*/
            	sn_qcs		decimal(18,4)	,			/*上年期初数*/
            	sn_ws_fse_j	decimal(18,4)	,			/*上年发生额借*/
            	sn_ws_fse_d	decimal(18,4)	,			/*上年发生额贷*/
            	ws_qcs		decimal(18,4)	,			/*未审期初数*/
            	ws_qms		decimal(18,4)	,			/*未审期末数*/
            	ws_fse_j	decimal(18,4)	,			/*未审借方发生额，可以由计算1到12月的fse_j得到,现由触发器得到*/
            	ws_fse_d	decimal(18,4)	,
                PRIMARY KEY (bbbh))

            CREATE TABLE #tmp_jt_dxflb_zu(
        		xh integer NOT NULL, ////主序号
        		dwid1 integer NOT NULL, ////审计单位ID1,记录抵消分录涉及到的两个公司
        		dwid2 integer NOT NULL, ////审计单位ID2
        		tzlx tinyint NULL,
        		primary key(xh),
        		)
    		SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,@a_dlzt,3)+&apos;,&apos;
    		INSERT INTO #tmp_jt_dxflb_zu
    		    SELECT xh,dwid1,dwid2,tzlx 
                    FROM jt_dxflb_zu 
        			WHERE ndid = @a_ndid AND sfxj = 1 AND khtzqk = &apos;1&apos; AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
    		--集团公司出汇总数，由getdwid来判断出应该包含的子分公司，
    		SELECT @s_dwid = &apos;&apos;
    		if @a_dlzt = 1
    			BEGIN
                    ////分公司不存在下级单位 将分公司数据处理成登录状态为2的报表数据 供集团或母公司登录使用
        			DECLARE cur11 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND
        			A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;0&apos;
        			OPEN cur11
        			FETCH next cur11 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur11 INTO @i_zfgs
        				END
        			CLOSE cur11
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d) 
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 0) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 1
    		if @a_dlzt = 2
    			BEGIN
        			EXECUTE pb_bbxm @a_dwid,@a_ndid,1
        			SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,1,3)+&apos;,&apos;
        			DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
        			DECLARE cur2 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;1&apos;
        			OPEN cur2
        			FETCH next cur2 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur2 INTO @i_zfgs
        				END
        			CLOSE cur1
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,ws_qcs,ws_qms,ws_fse_j,ws_fse_d)
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d)
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 1) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 2
            ////
    		DELETE FROM b_bbxm WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; --new
    		INSERT INTO b_bbxm(id,dwid,ndid,zdlx,dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx)
        		SELECT id,dwid,ndid,0,@a_dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx 
                    FROM b_bbxm
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = 0 AND(bbbh is NOT NULL) AND bbbh NOT LIKE &apos;9%&apos; --new
    		UPDATE b_bbxm 
                SET sn_qcs = A.sn_qcs,
            		sn_ws_fse_j = A.sn_ws_fse_j,
            		sn_ws_fse_d = A.sn_ws_fse_d,
            		ws_qcs = A.ws_qcs,
            		ws_qms = A.ws_qms,
            		ws_fse_j = A.ws_fse_j,
            		ws_fse_d = A.ws_fse_d 
                FROM #tmp_bbxm_j as A 
                WHERE b_bbxm.zdlx = &apos;0&apos; and  b_bbxm.dwid = @a_dwid AND b_bbxm.ndid = @a_ndid AND A.bbbh = b_bbxm.bbbh AND b_bbxm.dlzt = @a_dlzt AND b_bbxm.bbbh NOT LIKE &apos;9%&apos; --new
    		if @s_dwid = &apos;,&apos; --当前项目下面没有
    			BEGIN
    			UPDATE b_bbxm 
                    SET sd_qcs = ws_qcs,sd_qms = ws_qms,sn_sd_fse_j = sn_ws_fse_j,sn_sd_fse_d = sn_ws_fse_d,sd_fse_j = ws_fse_j,sd_fse_d = ws_fse_d
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; --new
    			END
    		else -- @s_dwid = &apos;,&apos;
    			BEGIN
    			SELECT @s_dwid = @s_dwid+string(@a_dwid)+&apos;,&apos;
    			CREATE TABLE #t_tzfl_j(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
    			CREATE TABLE #t_tzfl_d(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
 
    			//归集期初抵消分录//add by qy 2008.6.26
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,0,0,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.jfbbbh,z.tzlx
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,0,0,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.dfbbbh,z.tzlx
    			UPDATE b_bbxm as A SET qc_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qc_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    
    		  	delete #t_tzfl_j 
    			delete #t_tzfl_d 
    			//归集期末抵消分录
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.jfbbbh,z.tzlx,g_tz
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.dfbbbh,z.tzlx,g_tz
    			//发生额	g_qm_tz_ = 影响发生额的调整 = 期末正常调整（不打钩） － 期初红字调整（打钩）
    			//余额	qm_tz_	 = 期末正常调整（不打钩） ＋ 期末不影响发生调整（打钩）
    			UPDATE b_bbxm as A SET qm_tz_j = je,g_qm_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = je,g_qm_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_j = adding(qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = adding(qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_j = sub(g_qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_d = sub(g_qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
        
    			--往上汇总
    			CREATE TABLE #t_tzflhz(
    				bbbh char(40) NOT NULL,
    				qc_tz_j decimal(18,4) NULL,
    				qc_tz_d decimal(18,4) NULL,
    				qm_tz_j decimal(18,4) NULL,
    				qm_tz_d decimal(18,4) NULL,
    				g_qm_tz_j decimal(18,4) NULL,
    				g_qm_tz_d decimal(18,4) NULL,
    			primary key(bbbh),
    			)
    			DECLARE cur1 DYNAMIC scroll CURSOR FOR SELECT distinct kmjc = length(bbbh) FROM #tmp_bbxm WHERE length(bbbh) &gt; 1 ORDER BY kmjc DESC
    			OPEN cur1
    			FETCH next cur1 INTO @i_maxjc
    			FETCH next cur1 INTO @i_maxjc1
    			while @@sqlstatus = 0
    				BEGIN
    				DELETE FROM #t_tzflhz
    				INSERT INTO #t_tzflhz
        				SELECT a.bbbh,sum(b.qc_tz_j),sum(b.qc_tz_d),sum(b.qm_tz_j),sum(b.qm_tz_d),sum(b.g_qm_tz_j),sum(b.g_qm_tz_d) 
                            FROM b_bbxm as A,b_bbxm as B 
        				    WHERE a.zdlx = &apos;0&apos; and  b.zdlx = &apos;0&apos; and  a.dwid = @a_dwid AND a.ndid = @a_ndid AND b.dwid = @a_dwid AND b.ndid = @a_ndid AND length(a.bbbh) = @i_maxjc1 AND b.bbbh LIKE a.bbbh+&apos;%&apos; AND(length(b.bbbh) = @i_maxjc OR length(b.bbbh) = @i_maxjc1) AND a.dlzt = @a_dlzt AND b.dlzt = @a_dlzt AND a.xmlx &lt;&gt; &apos;2&apos; AND b.xmlx &lt;&gt; &apos;2&apos; AND a.bbbh NOT LIKE &apos;9%&apos; --new
        				    GROUP BY a.bbbh
    
    				UPDATE b_bbxm as B 
                        SET qc_tz_j = A.qc_tz_j,qc_tz_d = A.qc_tz_d,
    					    qm_tz_j = A.qm_tz_j,	qm_tz_d = A.qm_tz_d,
    					    g_qm_tz_j = A.g_qm_tz_j,g_qm_tz_d = A.g_qm_tz_d
        				FROM #t_tzflhz as A 
                        WHERE b.zdlx = &apos;0&apos; and B.dwid = @a_dwid AND B.ndid = @a_ndid AND B.bbbh = A.bbbh AND b.dlzt = @a_dlzt
    
    				SELECT @i_maxjc = @i_maxjc1
    				FETCH next cur1 INTO @i_maxjc1
    				END
    			CLOSE cur1
    			--分录汇总
    			UPDATE b_bbxm 
                    SET qc_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qc_tz_j,qc_tz_d) else sub(qc_tz_d,qc_tz_j) END,
    				    qm_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qm_tz_j,qm_tz_d) else sub(qm_tz_d,qm_tz_j) END 
    			    WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;
    			--分两步是因为计算顺序的原因
    			UPDATE b_bbxm SET qc_tzs = qc_tz_tzs,qm_tzs = qm_tz_tzs WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;

    			UPDATE b_bbxm 
                    SET sn_ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(sn_ws_fse_j , sn_ws_fse_d),
                        ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(ws_fse_j,ws_fse_d),
                        sn_sd_fse_j = adding(sn_ws_fse_j,qc_tz_j),
                        sn_sd_fse_d = adding(sn_ws_fse_d,qc_tz_d),
                        sn_sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(sn_ws_fse_j,qc_tz_j),adding(sn_ws_fse_d,qc_tz_d)),
                        sd_qcs = adding(ws_qcs,qc_tzs),
                        sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
                        sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                        sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(ws_fse_j,g_qm_tz_j),adding(ws_fse_d,g_qm_tz_d)),
        				sd_qms = adding(ws_qms,qm_tzs)        				
    			    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; 		

    		END
        end

END
</sql></db_upgrade_row><db_upgrade_row><p_id>23</p_id><no>10</no><make_date>2010-01-25 19:40:38.031000</make_date><note>更新审计系统数据源列信息</note><sql>update datatable_defcolinfo set col_cname = &apos;是否明细科目&apos; where t_id =&apos;C5001&apos; and col_cname = &apos;末级标志&apos;
update datatable_defcolinfo set col_cname = &apos;期初未更正数&apos; where t_id =&apos;C5001&apos; and col_cname = &apos;其他备用5&apos;
update datatable_defcolinfo set col_cname = &apos;期末未更正数&apos; where t_id =&apos;C5001&apos; and col_cname = &apos;其他备用6&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期初调整贷方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账表差异调整贷方金额&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期初调整借方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账表差异调整借方金额&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期初调整数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账表差异调整金额&apos;
update datatable_defcolinfo set col_cname = &apos;期初调整贷方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账项调整贷方&apos;
update datatable_defcolinfo set col_cname = &apos;期初调整借方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账项调整借方&apos;
update datatable_defcolinfo set col_cname = &apos;期初调整调整数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期初账项调整数&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期末调整贷方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账表差异调整贷方金额&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期末调整借方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账表差异调整借方金额&apos;
update datatable_defcolinfo set col_cname = &apos;账表差异期末调整数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账表差异调整金额&apos;
update datatable_defcolinfo set col_cname = &apos;期末调整贷方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账项调整贷方&apos;
update datatable_defcolinfo set col_cname = &apos;期末调整借方&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账项调整借方&apos;
update datatable_defcolinfo set col_cname = &apos;期末调整调整数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;期末账项调整数&apos;
update datatable_defcolinfo set col_cname = &apos;期初未更正数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;其他备用5&apos;
update datatable_defcolinfo set col_cname = &apos;期末未更正数&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;其他备用6&apos;
update datatable_defcolinfo set col_cname = &apos;账面上期贷方发生额&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;上期贷方发生额&apos;
update datatable_defcolinfo set col_cname = &apos;账面上期发生额&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;上期发生额&apos;
update datatable_defcolinfo set col_cname = &apos;账面上期借方发生额&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;上期借方发生额&apos;
update datatable_defcolinfo set col_cname = &apos;审定上期贷方发生额&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;审定上年贷方发生额&apos;
update datatable_defcolinfo set col_cname = &apos;审定上期发生额&apos; where t_id =&apos;C1001&apos; and col_cname = &apos;审定上年发生额&apos;
update datatable_defcolinfo set col_cname = &apos;会计年&apos; where t_id =&apos;C5002&apos; and col_cname = &apos;会计年度&apos;
update datatable_defcolinfo set col_cname = &apos;会计月&apos; where t_id =&apos;C5002&apos; and col_cname = &apos;会计期间&apos;
update datatable_defcolinfo set col_cname = &apos;会计年&apos; where t_id =&apos;C1005&apos; and col_cname = &apos;会计年度&apos;
update datatable_defcolinfo set col_cname = &apos;会计月&apos; where t_id =&apos;C1005&apos; and col_cname = &apos;会计期间&apos;
update datatable_defcolinfo set col_cname = &apos;贷方发生额_外币&apos; where t_id =&apos;C5003&apos; and col_cname = &apos;贷方外币发生额&apos;
update datatable_defcolinfo set col_cname = &apos;编号&apos; where t_id =&apos;C5003&apos; and col_cname = &apos;分录编号&apos;
update datatable_defcolinfo set col_cname = &apos;会计年&apos; where t_id =&apos;C5003&apos; and col_cname = &apos;会计年度&apos;
update datatable_defcolinfo set col_cname = &apos;会计月&apos; where t_id =&apos;C5003&apos; and col_cname = &apos;会计月份&apos;
update datatable_defcolinfo set col_cname = &apos;借方发生额_外币&apos; where t_id =&apos;C5003&apos; and col_cname = &apos;借方外币发生额&apos;
update datatable_defcolinfo set col_cname = &apos;贷方发生额_外币&apos; where t_id =&apos;C1006&apos; and col_cname = &apos;贷方外币发生额&apos;
update datatable_defcolinfo set col_cname = &apos;会计年&apos; where t_id =&apos;C1006&apos; and col_cname = &apos;会计年度&apos;
update datatable_defcolinfo set col_cname = &apos;会计月&apos; where t_id =&apos;C1006&apos; and col_cname = &apos;会计期间&apos;
update datatable_defcolinfo set col_cname = &apos;借方发生额_外币&apos; where t_id =&apos;C1006&apos; and col_cname = &apos;借方外币发生额&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>24</p_id><no>10</no><make_date>2010-07-07 11:44:45.078000</make_date><note>更新内部控制测试表的字段相关认定的长度为500</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_nbkzcs&apos; and b.column_name = &apos;xgrd&apos;) then
	ALTER TABLE b_nbkzcs alter xgrd varchar(500) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>10</no><make_date>2010-10-21 17:00:43.078000</make_date><note>修改用户表字段u_shortname</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;sj_user&apos; and b.column_name = &apos;u_shortname&apos;) then
   alter table sj_user add u_shortname varchar(10)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>20</no><make_date>2010-10-21 17:01:27.453000</make_date><note>修改用户表字段u_level</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;sj_user&apos; and b.column_name = &apos;u_level&apos;) then
   alter table sj_user add u_level varchar(100)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>30</no><make_date>2010-10-21 17:01:57.734000</make_date><note>修改用户表字段other5</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;sj_user&apos; and b.column_name = &apos;other5&apos;) then
   alter table sj_user add other5 varchar(50)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>40</no><make_date>2010-10-21 17:02:24.312000</make_date><note>创建表t_review_record-创建1</note><sql>if not isnull(object_id(&apos;t_review_record&apos;),0) &gt;0 then
	create table t_review_record 
	(
	   lsh                  varchar(50)                    not null,
	   oldlsh               varchar(50)                    not null,
	   dwid                 integer                        not null,
	   ndid                 integer                        not null,
	   dgbh                 char(20),
	   dgxsmc               varchar(100)                   not null,
	   bymc                 varchar(100)                   not null,
	   byrow                integer                        not null,
	   bycol                integer                        not null,
	   jl_title             varchar(300),
	   bh                   varchar(100),
	   sjbh                 varchar(100),
	   nbbh                 integer,
	   reference_sm         varchar(200),
	   jc                   integer,
	   lx                   varchar(50),
	   jlr_id               integer,
	   jlr_name             varchar(20),
	   jl_time              datetime,
	   jl_sm                varchar(2000),
	   sftg                 char(1),
	   ifreturn             varchar(30),
	   other1               varchar(100),
	   other2               integer,
	   other3               char(50),
	   other4               char(50),
	   primary key (lsh)	
	)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>50</no><make_date>2010-10-21 17:03:23.312000</make_date><note>创建表t_review_record-创建2</note><sql>if object_id(&apos;t_review_record&apos;) &gt;0 then
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>60</no><make_date>2010-10-21 17:03:50.015000</make_date><note>创建表t_review_record-创建3</note><sql>if object_id(&apos;t_review_record&apos;) &gt;0 then
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>70</no><make_date>2010-10-21 17:04:06.984000</make_date><note>修改底稿项目表dgfhr_tg</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfhr_tg&apos;) then
   alter table b_dgxm add dgfhr_tg char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>80</no><make_date>2010-10-21 17:04:47.031000</make_date><note>修改底稿项目表dgzlfhr_tg</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgzlfhr_tg&apos;) then
   alter table b_dgxm add dgzlfhr_tg char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>90</no><make_date>2010-10-21 17:05:24.796000</make_date><note>修改底稿项目表fhr1_tg</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr1_tg&apos;) then
   alter table b_dgxm add fhr1_tg char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>100</no><make_date>2010-10-21 17:06:01.437000</make_date><note>修改底稿项目表fhr2_tg</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr2_tg&apos;) then
   alter table b_dgxm add fhr2_tg char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>110</no><make_date>2010-10-21 17:06:22.468000</make_date><note>修改底稿项目表fhr3_tg</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr3_tg&apos;) then
   alter table b_dgxm add fhr3_tg char(1)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>120</no><make_date>2010-10-21 17:06:49.906000</make_date><note>修改底稿项目表sfwc</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;sfwc&apos;) then
   alter table b_dgxm alter sfwc char(2)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>130</no><make_date>2010-10-21 17:07:22.968000</make_date><note>修改调整分录主组表sm</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;sm&apos;) then
   alter table tzflb_zu alter sm varchar(1000)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>140</no><make_date>2010-10-21 17:08:34.625000</make_date><note>修改存储过程账龄1-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_sc&apos;) then
   drop procedure pt_zl_sc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>150</no><make_date>2010-10-21 17:09:19.171000</make_date><note>修改存储过程账龄1-创建</note><sql>create   procedure pt_zl_sc(@ai_dwid integer,@ai_ndid integer,@as_tab char(1),@as_lsh char(150),@ai_kjqm integer)

as
begin
    declare @as_kmbh char(64)
    declare @as_hsxmlxbh char(40)
    declare @as_hsxmbh char(40)
    declare @qjxh integer
    declare @qjqs integer
    declare @qjzz integer
    declare @qjms char(1)

    declare @kjqm  integer	////当前账套的会计期间期末
    declare @ms char(1)    ////取表模式 不同模式取不同的表 B 余额表 M 月余额表 || 最后循环用于放置是否进行账龄计算
    declare @nd integer    ////年度序号 分析区间划分
    declare @ndid integer  ////检索时用的ndid
    declare @ksyf integer  ////检索时开始月份
    declare @jsyf integer  ////检索时结束月份
    declare @qmbz integer  ////循环分析区间划分时 判断是否需要取期末余额 0 取 其他不取
    declare @nd_insert integer    ////插入记录年度序号

    declare @jdfx integer 
    declare @qms  decimal(18,4)
    declare @zf   integer ////期末值正负标记
    declare @fse  decimal(18,4)

    declare @sql  char(3000)

    //如果用户传递进来截止月份，那么用用户选择的月份作为账龄计算的截止月份
    if (@ai_kjqm &gt; 0 and @ai_kjqm &lt; 13)
        set @kjqm = @ai_kjqm
    else
        select @kjqm  = kjmonth2 from sjnd where ndid = @ai_ndid
        
    ////取科目编号或者核算项目类型编号、核算项目编号
    if @as_tab = &apos;K&apos;
        select @as_kmbh = kmbh from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    else
        select @as_kmbh = kmbh,@as_hsxmlxbh = hsxmlxbh,@as_hsxmbh = hsxmbh  from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    ////取科目方向(核算项目方向与科目方向相同) 借方 1 贷方 －1    
    select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh
    ////账龄期间分析临时表
    create table #qjhf(qjxh integer,ms char(1),nd integer,ndid integer,ksyf integer ,jsyf integer,qmbz integer)
    ////分析账龄区间
    DECLARE zlhf CURSOR FOR select qjxh,qjqs,qjzz,qjms from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    open zlhf
    WHILE 1=1
        begin
            FETCH next zlhf INTO @qjxh,@qjqs,@qjzz,@qjms
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            ////最后一条期间 ‘X年以上账龄’ 不用分析
            If @qjzz = 100 break
            ////只有第一个需要取期末余额
            If @qjxh = 1
                set @qmbz = 0
            else
                set @qmbz = 1
            ////不是月模式 改为月模式计算
            If @qjms &lt;&gt; &apos;0&apos; ////月模式
                begin
                    set		@qjqs = @qjqs * 12
                    set		@qjzz =	@qjzz * 12
                end
            ////判断账龄起始年度顺序 
            If 	@qjqs &lt;= @kjqm 
                set @nd = 1
            else
                set @nd = ceiling((@qjqs - @kjqm)/12.0) + 1
            ////分析时间段 拆分计算账龄数据段
            while @qjqs &lt; @qjzz
                begin
                    set @nd_insert = @nd
                    ////开始月份计算 
                    set @jsyf = (@nd - 1) *  12 + @kjqm - @qjqs
                    ////结束月份计算
                    If @qjzz &gt; (@nd - 1) *  12 + @kjqm
                        begin
                            set @ksyf = 1
                            set @qjqs = (@nd - 1) *  12 + @kjqm
                            set @nd = @nd + 1
                        end
                    else
                        begin
                            set @ksyf = (@nd - 1) *  12 + @kjqm - @qjzz + 1							
                            set @qjqs = @qjzz
                        end
                    If (@ksyf = 1 and @jsyf = 12 ) 
                        set @ms = &apos;B&apos;
                    else
                        set @ms = &apos;M&apos;
                    insert into #qjhf values(@qjxh,@ms,@nd_insert,0,@ksyf,@jsyf,@qmbz)
                    set @qmbz = @qmbz + 1
                end

        end
    close zlhf
    ////取可分析年度，使用项目的上一年度，依次找
    DECLARE nd CURSOR FOR select distinct nd from #qjhf order by nd
    open nd
    while 1 = 1
        begin
            FETCH next nd INTO @nd
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            If @nd = 1
                set @ndid = @ai_ndid
            else
                select @ndid = isnull(snid,0) from prj_info where dwid = @ai_dwid and ndid = @ndid
            If @ndid = 0 or @ndid is null break
            update #qjhf set ndid = @ndid where nd = @nd
        end
    close nd
    ////清除只有部分区间数据的账龄划分
    delete from #qjhf where qjxh in (select qjxh from #qjhf where qjxh &gt; 1 group by qjxh having count(ndid) &lt;&gt; sum(case when ndid &gt; 0 then 1 else 0 end))

    ////获取分析科目或核算项目的发生和期末 根据ms从不同的表出数据 qmbz为0时去期末数 便于分组求和
    create table #zlsj(qjxh integer,jdfx char(8),jffse decimal(18,4),dffse decimal(18,4),qms decimal(18,4),qmbz integer)
    if @as_tab = &apos;K&apos;
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_cwkmk a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_kmyek a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh
            ////构造sql
            set @sql = &apos;update c_cwkmk set &apos;
        end
    else
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_hsxm_zz a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_hsxm_yye a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            ////构造sql
            set @sql = &apos;update c_hsxm_zz set &apos;
        end
    drop table #qjhf
    ////准备账龄计算数据 
    select @qms = abs(sum(qms)) ,@zf = (case when sum(qms) &lt; 0 then -1 else 1 end ) from #zlsj where qmbz = 0 group by qjxh
    ////期末数为零 赋固定值 计算逻辑相同
    If @@rowcount = 0
        begin
            set @qms = 0
            set @jdfx = 1
            set @zf  = 1
        end
    create table #js(qjxh integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4))
    ////合计账龄划分区间发生额
    insert into #js
        select qjxh ,sum(jffse),sum(dffse),0
        from #zlsj
        group by qjxh
    drop table #zlsj
    ////判断发生额正负
    update #js 
        set fse = (case when @jdfx * @zf = 1 then (case when jffse &gt; 0 then jffse else 0 end) + (case when dffse &gt; 0 then 0 else abs(dffse) end)
                        else (case when dffse &gt; 0 then dffse else 0 end) + (case when jffse &gt; 0 then 0 else abs(jffse) end) end)
    set @qjxh = 1    
    set @ms = 1
    while @qjxh &lt;= 16
        begin
            If @ms = 1 ////账龄数据进行分析
                begin
                    select @fse = fse from #js where qjxh = @qjxh

                    If  @@rowcount &gt; 0   ////有数据 计算
                        begin
                            if @qms &gt; @fse ////余额大于发生额 账龄为发生额 否则为 余额
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@fse * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = @qms - @fse
                                end
                            else
                                begin
                                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                                    set @qms = 0
                                end
                        end
                    Else ////无数据 将剩余数放入 后续不再进行账龄分析
                        begin
                            set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@qms * @zf) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                            set @ms = 0
                        end
                end
            else ////无账龄数据 置零
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = 0,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = 0,&apos;
                end
            set @qjxh = @qjxh + 1
        end
    set @sql = left(@sql ,length(@sql) - 1 ) || &apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;

    EXECUTE (@sql)
end</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>160</no><make_date>2010-10-21 17:09:47.687000</make_date><note>修改存储过程账龄2-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_sc_sn&apos;) then
   drop procedure pt_zl_sc_sn
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>170</no><make_date>2010-10-21 17:10:05.281000</make_date><note>修改存储过程账龄2-创建</note><sql>create   procedure pt_zl_sc_sn(@ai_dwid integer,@ai_ndid integer,@as_tab char(1),@as_lsh char(150),@ai_kjqm integer,@as_zlje_list char(300))

as
begin
    declare @as_kmbh char(64)
    declare @as_hsxmlxbh char(40)
    declare @as_hsxmbh char(40)
    declare @qjxh integer
    declare @qjxh_df integer
    declare @qjqs integer
    declare @qjzz integer
    declare @qjms char(1)

    declare @kjqm  integer	////当前账套的会计期间期末
    declare @ms char(1)    ////取表模式 不同模式取不同的表 B 余额表 M 月余额表 || 最后循环用于放置是否进行账龄计算
    declare @nd integer    ////年度序号 分析区间划分
    declare @ndid integer  ////检索时用的ndid
    declare @ksyf integer  ////检索时开始月份
    declare @jsyf integer  ////检索时结束月份
    declare @qmbz integer  ////循环分析区间划分时 判断是否需要取期末余额 0 取 其他不取
    declare @nd_insert integer    ////插入记录年度序号
    declare @count integer
    declare @zlje decimal(18,4)
    declare @zlje_xn decimal(18,4)
    declare @zlje_sn char(30)
    declare @zf   integer ////期末值正负标记

    declare @jdfx integer 
    declare @fse  decimal(18,4)
    declare @fse_hz  decimal(18,4)

    declare @sql  char(3000)

    //如果用户传递进来截止月份，那么用用户选择的月份作为账龄计算的截止月份
    if (@ai_kjqm &gt; 0 and @ai_kjqm &lt; 13)
        set @kjqm = @ai_kjqm
    else
        select @kjqm  = kjmonth2 from sjnd where ndid = @ai_ndid
        
    ////取科目编号或者核算项目类型编号、核算项目编号
    if @as_tab = &apos;K&apos;
        select @as_kmbh = kmbh from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    else
        select @as_kmbh = kmbh,@as_hsxmlxbh = hsxmlxbh,@as_hsxmbh = hsxmbh  from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh=@as_lsh
    ////取科目方向(核算项目方向与科目方向相同) 借方 1 贷方 －1    
    select @jdfx = (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and kmbh = @as_kmbh
    ////账龄期间分析临时表
    create table #qjhf(qjxh integer,ms char(1),nd integer,ndid integer,ksyf integer ,jsyf integer,qmbz integer)
    ////分析账龄区间
    DECLARE zlhf CURSOR FOR select qjxh,qjqs,qjzz,qjms from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    open zlhf
    WHILE 1=1
        begin
            FETCH next zlhf INTO @qjxh,@qjqs,@qjzz,@qjms
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            ////最后一条期间 ‘X年以上账龄’ 不用分析
            If @qjzz = 100 break
            ////只有第一个需要取期末余额
            If @qjxh = 1
                set @qmbz = 0
            else
                set @qmbz = 1
            ////不是月模式 改为月模式计算
            If @qjms &lt;&gt; &apos;0&apos; ////月模式
                begin
                    set		@qjqs = @qjqs * 12
                    set		@qjzz =	@qjzz * 12
                end
            ////判断账龄起始年度顺序 
            If 	@qjqs &lt;= @kjqm 
                set @nd = 1
            else
                set @nd = ceiling((@qjqs - @kjqm)/12.0) + 1
            ////分析时间段 拆分计算账龄数据段
            while @qjqs &lt; @qjzz
                begin
                    set @nd_insert = @nd
                    ////开始月份计算 
                    set @jsyf = (@nd - 1) *  12 + @kjqm - @qjqs
                    ////结束月份计算
                    If @qjzz &gt; (@nd - 1) *  12 + @kjqm
                        begin
                            set @ksyf = 1
                            set @qjqs = (@nd - 1) *  12 + @kjqm
                            set @nd = @nd + 1
                        end
                    else
                        begin
                            set @ksyf = (@nd - 1) *  12 + @kjqm - @qjzz + 1							
                            set @qjqs = @qjzz
                        end
                    If (@ksyf = 1 and @jsyf = 12 ) 
                        set @ms = &apos;B&apos;
                    else
                        set @ms = &apos;M&apos;
                    insert into #qjhf values(@qjxh,@ms,@nd_insert,0,@ksyf,@jsyf,@qmbz)
                    set @qmbz = @qmbz + 1
                end

        end
    close zlhf
    ////取可分析年度，使用项目的上一年度，依次找
    DECLARE nd CURSOR FOR select distinct nd from #qjhf order by nd
    open nd
    while 1 = 1
        begin
            FETCH next nd INTO @nd
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            If @nd = 1
                set @ndid = @ai_ndid
            else
                select @ndid = isnull(snid,0) from prj_info where dwid = @ai_dwid and ndid = @ndid
            If @ndid = 0 or @ndid is null break
            update #qjhf set ndid = @ndid where nd = @nd
        end
    close nd
    ////清除只有部分区间数据的账龄划分
    delete from #qjhf where qjxh in (select qjxh from #qjhf where qjxh &gt; 1 group by qjxh having count(ndid) &lt;&gt; sum(case when ndid &gt; 0 then 1 else 0 end))
    
    ////创建一个物理表，用于存储生成的账龄数据，先把生成好的账龄的数据存入到物理表里面，然后放入到excel中，等保存excel的时候再把账龄数据保存到科目表中
    ////因为EXCEL中取数也用从此表中取，所以没有用临时表
    if @as_tab = &apos;K&apos;
        begin
            if object_id(&apos;c_cwkmk_zl_data&apos;) &gt; 0
            begin
            end
            else
                begin
                    create table c_cwkmk_zl_data(lsh char(65),dwid integer,ndid integer,
                             wszl01 decimal(18,4),wszl02 decimal(18,4),wszl03 decimal(18,4),wszl04 decimal(18,4),wszl05 decimal(18,4),wszl06 decimal(18,4),wszl07 decimal(18,4),wszl08 decimal(18,4),
                             wszl09 decimal(18,4),wszl10 decimal(18,4),wszl11 decimal(18,4),wszl12 decimal(18,4),wszl13 decimal(18,4),wszl14 decimal(18,4),wszl15 decimal(18,4),wszl16 decimal(18,4),
                             tzzl01 decimal(18,4),tzzl02 decimal(18,4),tzzl03 decimal(18,4),tzzl04 decimal(18,4),tzzl05 decimal(18,4),tzzl06 decimal(18,4),tzzl07 decimal(18,4),tzzl08 decimal(18,4),
                             tzzl09 decimal(18,4),tzzl10 decimal(18,4),tzzl11 decimal(18,4),tzzl12 decimal(18,4),tzzl13 decimal(18,4),tzzl14 decimal(18,4),tzzl15 decimal(18,4),tzzl16 decimal(18,4),
                             CONSTRAINT c_cwkmk_zl_data_PK PRIMARY KEY(lsh,dwid,ndid))
                end
                
            select @count = count(1) from c_cwkmk_zl_data where lsh = @as_lsh and dwid = @ai_dwid and ndid = @ai_ndid
            if @count &gt; 0
                delete from c_cwkmk_zl_data where dwid = @ai_dwid and ndid = @ai_ndid and lsh = @as_lsh
            
            insert into c_cwkmk_zl_data select lsh,dwid,ndid,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                    tzzl01,tzzl02,tzzl03,tzzl04,tzzl05,tzzl06,tzzl07,tzzl08,tzzl09,tzzl10,tzzl11,tzzl12,tzzl13,tzzl14,tzzl15,tzzl16 from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid and lsh = @as_lsh                      
        end
    else
        begin
            if object_id(&apos;c_hsxm_zz_zl_data&apos;) &gt; 0
            begin
            end
            else
                begin
                    create table c_hsxm_zz_zl_data(lsh char(65),dwid integer,ndid integer,
                             wszl01 decimal(18,4),wszl02 decimal(18,4),wszl03 decimal(18,4),wszl04 decimal(18,4),wszl05 decimal(18,4),wszl06 decimal(18,4),wszl07 decimal(18,4),wszl08 decimal(18,4),
                             wszl09 decimal(18,4),wszl10 decimal(18,4),wszl11 decimal(18,4),wszl12 decimal(18,4),wszl13 decimal(18,4),wszl14 decimal(18,4),wszl15 decimal(18,4),wszl16 decimal(18,4),
                             tzzl01 decimal(18,4),tzzl02 decimal(18,4),tzzl03 decimal(18,4),tzzl04 decimal(18,4),tzzl05 decimal(18,4),tzzl06 decimal(18,4),tzzl07 decimal(18,4),tzzl08 decimal(18,4),
                             tzzl09 decimal(18,4),tzzl10 decimal(18,4),tzzl11 decimal(18,4),tzzl12 decimal(18,4),tzzl13 decimal(18,4),tzzl14 decimal(18,4),tzzl15 decimal(18,4),tzzl16 decimal(18,4),
                             CONSTRAINT c_hsxm_zz_zl_data_PK PRIMARY KEY(lsh,dwid,ndid))
                end
                
            select @count = count(1) from c_hsxm_zz_zl_data where lsh = @as_lsh and dwid = @ai_dwid and ndid = @ai_ndid
            if @count &gt; 0
                delete from c_hsxm_zz_zl_data where dwid = @ai_dwid and ndid = @ai_ndid and lsh = @as_lsh
                
            insert into c_hsxm_zz_zl_data select lsh,dwid,ndid,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                    tzzl01,tzzl02,tzzl03,tzzl04,tzzl05,tzzl06,tzzl07,tzzl08,tzzl09,tzzl10,tzzl11,tzzl12,tzzl13,tzzl14,tzzl15,tzzl16 from c_hsxm_zz where dwid = @ai_dwid and ndid = @ai_ndid and lsh = @as_lsh                     
        end
    
    ////获取分析科目或核算项目的发生和期末 根据ms从不同的表出数据 qmbz为0时去期末数 便于分组求和
    create table #zlsj(qjxh integer,jdfx char(8),jffse decimal(18,4),dffse decimal(18,4),qms decimal(18,4),qmbz integer)
    if @as_tab = &apos;K&apos;
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_cwkmk a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_kmyek a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh
            ////构造sql
            set @sql = &apos;update c_cwkmk_zl_data set &apos;
        end
    else
        begin
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(ws_fse_j,0),isnull(ws_fse_d,0),(case when b.qmbz = 0 then isnull(ws_qms,0) else 0 end),qmbz
                from c_hsxm_zz a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;B&apos; and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            insert into #zlsj 
                select b.qjxh,a.jdfx,isnull(jffse,0),isnull(dffse,0),(case when b.qmbz = 0 and a.kjmonth = b.jsyf then isnull(qms,0) else 0 end),qmbz
                from c_hsxm_yye a,#qjhf b 
                where a.ndid = b.ndid and b.ms = &apos;M&apos; and a.kjmonth &gt;= b.ksyf and a.kjmonth &lt;= b.jsyf and dwid = @ai_dwid and a.kmbh = @as_kmbh and a.hsxmlxbh = @as_hsxmlxbh and a.hsxmbh = @as_hsxmbh
            ////构造sql
            set @sql = &apos;update c_hsxm_zz_zl_data set &apos;
        end
    drop table #qjhf
    
    ////根据期末余额判断正负标记 
    select @zf = (case when sum(qms) &lt; 0 then -1 else 1 end ) from #zlsj where qmbz = 0 group by qjxh
    select @count = count(1) from #zlsj where qmbz = 0 group by qjxh
    ////期末数为零 赋固定值 计算逻辑相同
    If @count &lt;= 0
        begin
            set @jdfx = 1
            set @zf  = 1
        end
    
    ////合计账龄划分区间发生额
    create table #js(qjxh integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4))
    insert into #js
        select qjxh ,sum(jffse),sum(dffse),0
        from #zlsj
        group by qjxh
    drop table #zlsj
    
    ////更新发生额
    update #js 
        set fse = (case when @jdfx = 1 then (case when jffse &gt; 0 then jffse else 0 end) + (case when dffse &gt; 0 then 0 else abs(dffse) end)
                        else (case when dffse &gt; 0 then dffse else 0 end) + (case when jffse &gt; 0 then 0 else abs(jffse) end) end)
    
    ///创建本年的账龄划分表用于存放贷方发生额，用于抵消的数据
    create table #zlsz_df (qjxh integer,qjms char(1),zlje decimal(18,4))
    select @count = count(1) from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid and qjms = &apos;0&apos;
    if @count &gt; 0
        begin
            insert into #zlsz_df
            select qjxh,qjms,0 from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid and qjms = &apos;0&apos; order by qjxh
        end
    else
        begin
            insert into #zlsz_df
            select qjxh,qjms,0 from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid and qjxh = 1
        end
       
    ///获取贷方发生额   
    update #zlsz_df a set a.zlje = (case when @jdfx = -1 then (case when b.jffse &gt; 0 then b.jffse else 0 end) + (case when b.dffse &gt; 0 then 0 else abs(b.dffse) end)
                        else (case when b.dffse &gt; 0 then b.dffse else 0 end) + (case when b.jffse &gt; 0 then 0 else abs(b.jffse) end) end)
    from #js b where a.qjxh = b.qjxh 
     
                                     
    set @qjxh = 1    
    while @qjxh &lt;= 16
        begin
            select @fse = fse from #js where qjxh = @qjxh

            If  @@rowcount &gt; 0   ////有数据 计算
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@fse) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;    
                end
            Else ////无数据 
                begin
                    set @sql = @sql || &apos;wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = 0,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end),&apos;
                end
            
            set @qjxh = @qjxh + 1
        end
    set @sql = left(@sql ,length(@sql) - 1 ) || &apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;

    drop table #js
    ///执行sql
    EXECUTE (@sql)
    
    
    ///创建上年的账龄划分数据表，区间设置和本年的一致，把从EXCEL中传入的数据放在表里面用于计算
    create table #zlsz_sn(qjxh integer,qjms char(1),zlje decimal(18,4))   
    insert into #zlsz_sn
        select qjxh,qjms,0 from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid order by qjxh
    
    select @count = count(1) from #zlsz_sn     
    set @qjxh = 1
    while @qjxh &lt;= @count
        begin
            //解析@as_zlje_list
            set @zlje_sn = left(@as_zlje_list,locate(@as_zlje_list,&apos;*&apos;) - 1)
            set @as_zlje_list = substr(@as_zlje_list,locate(@as_zlje_list,&apos;*&apos;) + 1)
            if  @zlje_sn = &apos;&apos; or @zlje_sn is null
                set @zlje_sn = &apos;0&apos;
            
                
            set @sql = &apos;update #zlsz_sn set zlje = &apos;|| @zlje_sn ||&apos; where qjxh = &apos; || string(@qjxh)
            
            ///获取上年的审定账龄数据
            EXECUTE (@sql)
            
            set @qjxh = @qjxh + 1
        end
    
    //循环判断把上年的审定账龄按顺序逐一放到本年的往后推一区间段内
    DECLARE zlsz_sn CURSOR FOR select qjxh,qjms,zlje from #zlsz_sn order by qjxh desc
    open zlsz_sn
    WHILE 1=1
        begin
            FETCH next zlsz_sn INTO @qjxh,@qjms,@zlje
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            
            If @qjms = &apos;1&apos; ////年模式
                begin
                    select @zlje_xn = zlje from #zlsz_sn where qjxh = @qjxh - 1 and qjms = &apos;1&apos;
                    if @zlje is null 
                        set @zlje = 0
                    
                    if @zlje_xn is null 
                        set @zlje_xn = 0
                            
                    if @@rowcount &gt; 0 
                        begin
                            if @qjxh = @count
                                begin
                                    if @as_tab = &apos;K&apos;
                                        set @sql = &apos;update c_cwkmk_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje + @zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;
                                    else
                                        set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje + @zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;    
                                        
                                    EXECUTE (@sql)    
                                end
                            else
                                begin
                                    if @as_tab = &apos;K&apos;
                                        set @sql = &apos;update c_cwkmk_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;
                                    else
                                        set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;    
                                    
                                    EXECUTE (@sql)    
                                end        
                        end
                    else
                        begin
                            select @count = count(1) from #zlsz_sn where qjxh &lt; @qjxh and qjms = &apos;0&apos;
                            
                            if @count &gt; 0 
                                begin
                                    select @zlje_xn = sum(zlje) from #zlsz_sn where qjxh &lt; @qjxh and qjms = &apos;0&apos;
                                    if @zlje_xn is null 
                                        set @zlje_xn = 0
                                    
                                    if @as_tab = &apos;K&apos;
                                        set @sql = &apos;update c_cwkmk_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;
                                    else
                                        set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = &apos; ||  string(@zlje_xn) || &apos;,tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; = (case when tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; is null then 0 else tzzl&apos;|| right(string(&apos;0&apos;,@qjxh),2) ||&apos; end) where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;    
                                    
                                    EXECUTE (@sql)    
                                end
      
                            break    
                        end   
                end
             
        end
        
    close zlsz_sn
    drop table #zlsz_sn
    
    
    ///开始拿本年用于抵消的发生额从账龄的最后一段区间的值做比较逐一进行抵消
    set @fse = 0
    set @fse_hz = 0
    select @qjxh_df = count(1) from #zlsz_df
    set @qjxh_df = @qjxh_df + 1
    select @count = count(1) from c_zlszb where qybz = &apos;1&apos; and dwid =  @ai_dwid and ndid = @ai_ndid    
    if @count &gt; 0
        begin
            DECLARE zlsz_df CURSOR FOR select qjxh,zlje from #zlsz_df where qjxh &lt; @qjxh_df order by qjxh desc
            
            set @qjxh = @count
            while @qjxh &gt; 0
                begin
                    if @as_tab = &apos;K&apos;
                        set @sql = &apos;select @zlje = isnull(wszl&apos;||right(string(&apos;0&apos;,@qjxh),2)||&apos;,0) from c_cwkmk_zl_data where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;    
                    else
                        set @sql = &apos;select @zlje = isnull(wszl&apos;||right(string(&apos;0&apos;,@qjxh),2)||&apos;,0) from c_hsxm_zz_zl_data where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;        
                        
                    EXECUTE (@sql)
                        
                    open zlsz_df
                    WHILE 1=1
                        begin
                            if @fse_hz &lt;= 0
                                begin
                                    FETCH next zlsz_df INTO @qjxh_df,@fse
                                    ////无数据退出循环
                                    If @@sqlstatus &lt;&gt; 0 break
                                    set @fse_hz = @fse_hz + @fse
                                end
                            
                            if @fse_hz &lt;= @zlje   ///如果本年第一区间段的发生额不能抵消区间段的账龄数据，那么继续取下一区间段的来抵消
                                begin
                                    set @zlje = @zlje - @fse_hz
                                    set @fse_hz = 0
                                end
                            else    ///如果本年这一区间段的发生额把区间段的账龄给抵消了，那么跳出循环
                                begin
                                    set @fse_hz = @fse_hz - @zlje
                                    set @zlje = 0
                                    break
                                end    
                        end    
                    close zlsz_df 
                    
                    if @as_tab = &apos;K&apos;
                        set @sql = &apos;update c_cwkmk_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh),2)||&apos; = &apos;|| string(@zlje) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                    else
                        set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh),2)||&apos; = &apos;|| string(@zlje) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                    
                    EXECUTE (@sql)  
                    
                    ///如果发生额已经全部抵消掉了，那么退出循环
                    if @fse_hz &lt;= 0
                        break
                        
                    set @qjxh = @qjxh - 1
                end
        end
        
        ///如果最后把所有区间段的账龄数据都抵消掉了，发生额还大于0的话，那么把发生额的数据更新到对应的账龄列中
        if @fse_hz &gt; 0
            begin
               if @as_tab = &apos;K&apos;
                    set @sql = &apos;update c_cwkmk_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh_df),2)||&apos; = &apos;|| string(@zf*@fse_hz) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                else
                    set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh_df),2)||&apos; = &apos;|| string(@zf*@fse_hz) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                
                EXECUTE (@sql)
                
                set @fse = 0
                DECLARE zlsz_dfdx CURSOR FOR select qjxh,zlje from #zlsz_df where qjxh &lt; @qjxh_df order by qjxh desc
                    open zlsz_dfdx
                    WHILE 1=1
                        begin
                            FETCH next zlsz_dfdx INTO @qjxh_df,@fse
                            ////无数据退出循环
                            If @@sqlstatus &lt;&gt; 0 break
                            
                            if @fse &lt;= 0 continue
                            
                            if @as_tab = &apos;K&apos;
                                set @sql = &apos;update c_cwkmk_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh_df),2)||&apos; = &apos;|| string(@zf*@fse) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                            else
                                set @sql = &apos;update c_hsxm_zz_zl_data set wszl&apos;||right(string(&apos;0&apos;,@qjxh_df),2)||&apos; = &apos;|| string(@zf*@fse) ||&apos; where dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;|| string(@ai_ndid) ||&apos; and lsh = &apos;&apos;&apos;|| @as_lsh||&apos;&apos;&apos;&apos;     
                
                            EXECUTE (@sql)
                        end    
                    close zlsz_dfdx     
                       
            end
        
        drop table #zlsz_df    
    
end</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>180</no><make_date>2010-10-21 17:10:26.593000</make_date><note>修改表user_group-删除</note><sql>if object_id(&apos;user_group&apos;) &gt;0 drop TABLE user_group</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>190</no><make_date>2010-10-21 17:11:34.765000</make_date><note>修改表user_group-创建</note><sql>create table DBA.user_group 
(
   yhz_id               integer                        not null,
   yhz_bh               varchar(10)                    not null,
   yhz_name             char(30)                       not null,
   u_qx                 varchar(200),
   other1               varchar(50),
   other2               tinyint
)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>200</no><make_date>2010-10-21 17:11:58.750000</make_date><note>修改表user_group-创建主键</note><sql>alter table DBA.user_group
   add constraint user_group_PK primary key (yhz_id, yhz_bh, yhz_name)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>210</no><make_date>2010-10-21 17:14:48.421000</make_date><note>修改表user_group-插入数据</note><sql>INSERT INTO user_group VALUES (
	1,
    &apos;1&apos;,
	&apos;项目小组成员&apos;,
    &apos;B1 B2 B3 B4 F3 F4 F5 F9 G1 G3 G4 G5 G6 G7 H1 H2 &apos;,
	NULL,
	NULL);
INSERT INTO user_group VALUES (
	2,
    &apos;2&apos;,
	&apos;现场负责人&apos;,
	&apos;A1 A2 A3 B1 B2 B3 B4 D1 D2 D3 F1 F2 F3 F4 F5 F6 F7 F8 F9 G1 G2 G3 G4 G5 G6 G7 H1 H2 &apos;,
	NULL,
	NULL);
    
INSERT INTO user_group VALUES (
	3,
    &apos;21&apos;,
	&apos;负责经理&apos;,
	&apos;A1 A2 A3 B1 B2 B3 B4 D1 D2 D3 F1 F2 F3 F4 F5 F6 F7 F8 F9 G1 G2 G3 G4 G5 G6 G7 H1 H2 &apos;,
	NULL,
	NULL);
    
INSERT INTO user_group VALUES (
	4,
    &apos;22&apos;,
	&apos;合伙人&apos;,
	&apos;A1 A2 A3 B1 B2 B3 B4 D1 D2 D3 F1 F2 F3 F4 F5 F6 F7 F8 F9 G1 G2 G3 G4 G5 G6 G7 H1 H2 &apos;,
	NULL,
	NULL);
    
INSERT INTO user_group VALUES (
	5,
    &apos;0&apos;,
	&apos;管理员&apos;,
	&apos;A1 A2 A3 B1 B2 B3 B4 D1 D2 D3 F1 F2 F3 F4 F5 F6 F7 F8 F9 G1 G2 G3 G4 G5 G6 G7 H1 H2 &apos;,
	NULL,
	NULL);</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>220</no><make_date>2010-10-21 17:15:06.187000</make_date><note>修改项目表-xjllhsxmlx</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;prj_info&apos; and b.column_name = &apos;xjllhsxmlx&apos;) then
   alter table prj_info add xjllhsxmlx char(64)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>230</no><make_date>2010-10-21 17:15:49.625000</make_date><note>修改调整分录表-xjllxm</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb&apos; and b.column_name = &apos;xjllxm&apos;) then
   alter table tzflb add xjllxm varchar(200)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>240</no><make_date>2010-10-21 17:16:21.625000</make_date><note>修改基本表信息-删除</note><sql>if object_id(&apos;datatable_definfo&apos;) &gt;0 drop TABLE datatable_definfo</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>250</no><make_date>2010-10-21 17:16:41.296000</make_date><note>修改基本表信息-创建</note><sql>create table DBA.datatable_definfo 
(
   t_id                 char(10)                       not null,
   t_name               varchar(40)                    not null,
   dbt_name             char(3000)                     not null,
   tab_relating         char(500),
   tab_update           char(20),
   tab_lsh              varchar(500)                   not null,
   tabl_dw              varchar(50)                    not null,
   tab_nd               varchar(50)                    not null,
   dbt_name2            char(3000),
   tab_relating2        char(500),
   tab_update2          char(20),
   tab_lsh2             varchar(500),
   tabl_dw2             varchar(50),
   tab_nd2              varchar(50),
   t_type1              char(1)                        not null,
   t_type2              char(1)                        not null,
   t_type3              char(1)                        not null,
   t_type4              char(1)                        not null,
   t_type5              char(1)                        not null,
   t_type6              char(1)                        not null,
   t_type7              char(1)                        not null,
   t_type8              char(1)                        not null,
   t_type9              char(1)                        not null,
   t_type10             char(1)                        not null,
   xssx                 integer,
   other1               varchar(50),
   other2               tinyint
)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>260</no><make_date>2010-10-21 17:17:48.109000</make_date><note>修改基本表信息-创建主键</note><sql>alter table DBA.datatable_definfo
   add constraint datatable_definfo_PK primary key (t_id)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>270</no><make_date>2010-10-21 17:18:10.515000</make_date><note>修改基本表信息-插入数据</note><sql>INSERT INTO datatable_definfo VALUES (	&apos;B0001&apos;,	&apos;报表项目&apos;,	&apos;b_bbxm&apos;,	NULL,	&apos;b_bbxm&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	31,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0002&apos;,	&apos;底稿项目&apos;,	&apos;b_dgxm&apos;,	NULL,	&apos;b_dgxm&apos;,	&apos;dgbh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	32,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0003&apos;,	&apos;审计目标&apos;,	&apos;b_sjmb&apos;,	NULL,	&apos;b_sjmb&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	33,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0004&apos;,	&apos;审计程序&apos;,	&apos;b_sjcx&apos;,	&apos;ischecked =&apos;&apos;1&apos;&apos;&apos;,	&apos;b_sjcx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	34,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0005&apos;,	&apos;内部控制程序&apos;,	&apos;b_nbkzcs&apos;,	NULL,	&apos;b_nbkzcs&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	35,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0006&apos;,	&apos;风险导向相关认定&apos;,	&apos;b_dgxm_fxdx&apos;,	NULL,	&apos;b_dgxm_fxdx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	37,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0007&apos;,	&apos;审计程序视图&apos;,	&apos;b_sjcx,b_dgxm&apos;,	&apos;b_sjcx.dwid = b_dgxm.dwid and b_sjcx.ndid = b_dgxm.ndid and b_sjcx.dgbh = b_dgxm.dgbh and b_dgxm.dlzt = &apos;&apos;0&apos;&apos;&apos;,	&apos;b_sjcx&apos;,	&apos;b_sjcx.lsh&apos;,	&apos;b_sjcx.dwid&apos;,	&apos;b_sjcx.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	37,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;B0008&apos;,	&apos;风险导向相关认定竖表&apos;,	&apos;b_dgxm_fxdx2&apos;,	NULL,	&apos;b_dgxm_fxdx2&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	36,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0001&apos;,	&apos;科目余额表(基本表)&apos;,	&apos;c_cwkmk&apos;,	NULL,	&apos;c_cwkmk&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	1,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0002&apos;,	&apos;科目余额表(月)(基本表)&apos;,	&apos;c_cwkmk , c_kmyek2  kmye&apos;,	&apos;c_cwkmk.dwid = kmye.dwid and c_cwkmk.ndid = kmye.ndid and c_cwkmk.kmbh = kmye.kmbh&apos;,	&apos;c_cwkmk&apos;,	&apos;c_cwkmk.lsh&apos;,	&apos;c_cwkmk.dwid&apos;,	&apos;c_cwkmk.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	2,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0005&apos;,	&apos;科目月余额表(基本表)&apos;,	&apos;c_kmyek&apos;,	NULL,	&apos;c_kmyek&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	3,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0006&apos;,	&apos;凭证表(基本表)&apos;,	&apos;c_cwpz&apos;,	NULL,	&apos;c_cwpz&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	4,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0007&apos;,	&apos;外币余额表(基本表)&apos;,	&apos;c_wb_zz&apos;,	NULL,	&apos;c_wb_zz&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	5,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0008&apos;,	&apos;外币月余额表(基本表)&apos;,	&apos;c_wb_yye&apos;,	NULL,	&apos;c_wb_yye&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	6,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1001&apos;,	&apos;核算项目余额表(基本表)&apos;,	&apos;c_hsxm_zz&apos;,	&apos;&apos;,	&apos;c_hsxm_zz&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	21,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1002&apos;,	&apos;核算项目余额表(月)(基本表)&apos;,	&apos;c_hsxm_zz , c_hsxm_yye2  kmye&apos;,	&apos;c_hsxm_zz.dwid = kmye.dwid and c_hsxm_zz.ndid = kmye.ndid and c_hsxm_zz.kmbh = kmye.kmbh and c_hsxm_zz.hsxmlxbh = kmye.hsxmlxbh and c_hsxm_zz.hsxmbh = kmye.hsxmbh &apos;,	&apos;c_hsxm_zz&apos;,	&apos;c_hsxm_zz.lsh&apos;,	&apos;c_hsxm_zz.dwid&apos;,	&apos;c_hsxm_zz.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	22,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1005&apos;,	&apos;核算项目月余额表(基本表)&apos;,	&apos;c_hsxm_yye&apos;,	NULL,	&apos;c_hsxm_yye&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	23,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1006&apos;,	&apos;核算项目明细表(基本表)&apos;,	&apos;t_hsmx&apos;,	NULL,	&apos;t_hsmx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	24,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1007&apos;,	&apos;核算项目外币余额表(基本表)&apos;,	&apos;c_wb_hsxm_zz&apos;,	NULL,	&apos;c_wb_hsxm_zz&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	25,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1008&apos;,	&apos;核算外币外币月余额表(基本表)&apos;,	&apos;c_wb_hsxm_yye&apos;,	NULL,	&apos;c_wb_hsxm_yye&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	26,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1009&apos;,	&apos;核算项目类型&apos;,	&apos;c_hsxm_lx&apos;,	NULL,	&apos;c_hsxm_lx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;2&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	27,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1010&apos;,	&apos;核算项目字典表&apos;,	&apos;c_hsxm_zdb&apos;,	NULL,	&apos;c_hsxm_zdb&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	28,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C2001&apos;,	&apos;固定资产卡片&apos;,	&apos;c_gdzckp&apos;,	NULL,	&apos;c_gdzckp&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	7,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C2002&apos;,	&apos;存货表&apos;,	&apos;c_cwch&apos;,	NULL,	&apos;c_cwch&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	8,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5001&apos;,	&apos;科目余额表&apos;,	&apos;c_cwkmk&apos;,	&apos;&apos;,	&apos;c_cwkmk&apos;,	&apos;&apos;&apos;1:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;c_hsxm_zz&apos;,	NULL,	&apos;c_hsxm_zz&apos;,	&apos;&apos;&apos;2:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	11,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5002&apos;,	&apos;科目月余额表&apos;,	&apos;c_kmyek&apos;,	&apos;&apos;,	&apos;c_kmyek&apos;,	&apos;&apos;&apos;1:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;c_hsxm_yye&apos;,	NULL,	&apos;c_hsxm_yye&apos;,	&apos;&apos;&apos;2:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	12,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5003&apos;,	&apos;凭证表&apos;,	&apos;c_cwpz&apos;,	NULL,	&apos;c_cwpz&apos;,	&apos;&apos;&apos;1:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;t_hsmx&apos;,	NULL,	&apos;t_hsmx&apos;,	&apos;&apos;&apos;2:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	13,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5004&apos;,	&apos;外币科目余额表&apos;,	&apos;c_wb_zz&apos;,	&apos;&apos;,	&apos;c_wb_zz&apos;,	&apos;&apos;&apos;1:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;c_wb_hsxm_zz&apos;,	NULL,	&apos;c_wb_hsxm_zz&apos;,	&apos;&apos;&apos;2:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	14,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5005&apos;,	&apos;外币科目月余额表&apos;,	&apos;c_wb_yye&apos;,	&apos;&apos;,	&apos;c_wb_yye&apos;,	&apos;&apos;&apos;1:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;c_wb_hsxm_yye&apos;,	NULL,	&apos;c_wb_hsxm_yye&apos;,	&apos;&apos;&apos;2:&apos;&apos;+lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	15,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5006&apos;,	&apos;科目余额表(月)&apos;,	&apos;c_cwkmk ,c_kmyek2  kmye&apos;,	&apos;c_cwkmk.dwid = kmye.dwid and c_cwkmk.ndid = kmye.ndid and c_cwkmk.kmbh = kmye.kmbh&apos;,	&apos;c_cwkmk&apos;,	&apos;&apos;&apos;1:&apos;&apos;+ c_cwkmk.lsh&apos;,	&apos;c_cwkmk.dwid&apos;,	&apos;c_cwkmk.ndid&apos;,	&apos;c_hsxm_zz ,c_hsxm_yye2  kmye&apos;,	&apos;c_hsxm_zz.dwid = kmye.dwid and c_hsxm_zz.ndid = kmye.ndid and c_hsxm_zz.kmbh = kmye.kmbh and c_hsxm_zz.hsxmlxbh = kmye.hsxmlxbh and c_hsxm_zz.hsxmbh = kmye.hsxmbh &apos;,	&apos;c_hsxm_zz&apos;,	&apos;&apos;&apos;2:&apos;&apos;+ c_hsxm_zz.lsh&apos;,	&apos;c_hsxm_zz.dwid&apos;,	&apos;c_hsxm_zz.ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	16,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C5007&apos;,	&apos;现金流量明细表&apos;,	&apos;c_cwpz&apos;,	&apos;not exists(select xjllhsxmlx from prj_info where prj_info.dwid = c_cwpz.dwid and prj_info.ndid = c_cwpz.ndid and xjllhsxmlx &lt;&gt; &apos;&apos;&apos;&apos; and xjllhsxmlx is not null)&apos;,	&apos;c_cwpz&apos;,	&apos;&apos;&apos;1:&apos;&apos;+ lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;t_hsmx&apos;,	&apos;exists(select xjllhsxmlx from prj_info where prj_info.dwid = t_hsmx.dwid and prj_info.ndid = t_hsmx.ndid and xjllhsxmlx &lt;&gt; &apos;&apos;&apos;&apos; and xjllhsxmlx is not null) and hsxmlxbh = (select xjllhsxmlx from prj_info where prj_info.dwid = t_hsmx.dwid and prj_info.ndid = t_hsmx.ndid) &apos;,	&apos;t_hsmx&apos;,	&apos;&apos;&apos;2:&apos;&apos;+ lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	17,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y0002&apos;,	&apos;调整分录表&apos;,	&apos; tzflb_zu left outer join b_dgxm on b_dgxm.dgbh = tzflb_zu.dgbh and b_dgxm.dwid = tzflb_zu.dwid and b_dgxm.ndid = tzflb_zu.ndid and dlzt = 0,tzflb,c_cwkmk left outer join  (select c_cwkmk.dwid, c_cwkmk.ndid,c_cwkmk.kmwm,b_bbxm.xmlx,b_bbxm.bbbh,b_bbxm.xmmc from  c_cwkmk, bbxmvskm,b_bbxm where  bbxmvskm.dwid = b_bbxm.dwid and bbxmvskm.ndid = b_bbxm.ndid and   bbxmvskm.bbxmid = b_bbxm.id and  bbxmvskm.zdlx = b_bbxm.zdlx and  c_cwkmk.dwid = bbxmvskm.dwid and c_cwkmk.ndid = bbxmvskm.ndid and c_cwkmk.kmbh = bbxmvskm.kmbh and b_bbxm.zdlx = &apos;&apos;0&apos;&apos; and b_bbxm.dlzt = 0 and length(b_bbxm.bbbh) =4) bbxm on c_cwkmk.dwid = bbxm.dwid and c_cwkmk.ndid = bbxm.ndid and c_cwkmk.kmwm like bbxm.kmwm+&apos;&apos;%&apos;&apos;&apos;,	&apos;tzflb.kmbh = c_cwkmk.kmbh and c_cwkmk.dwid = tzflb_zu.dwid and c_cwkmk.ndid = tzflb_zu.ndid and tzflb.ndid = tzflb_zu.ndid and tzflb.dwid = tzflb_zu.dwid and tzflb_zu.xh = tzflb.xh &apos;,	&apos;-&apos;,	&apos;(string(tzflb.hh)+&apos;&apos;Y&apos;&apos;+string(tzflb_zu.ndid)+&apos;&apos;D&apos;&apos;+string(tzflb_zu.dwid)+&apos;&apos;Z&apos;&apos;+isnull(string(tzflb_zu.lx),&apos;&apos;&apos;&apos;)+&apos;&apos;P&apos;&apos;+string(tzflb_zu.xh))&apos;,	&apos;tzflb_zu.dwid&apos;,	&apos;tzflb_zu.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	41,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y0003&apos;,	&apos;抵消分录表&apos;,	&apos;jt_dxflb_zu as zu,jt_dxflb as mx,prj_info as dw1,prj_info as dw2,b_bbxm as xm &apos;,	&apos;zu.ndid = mx.ndid and zu.xh = mx.xh and zu.ndid = xm.ndid and bbbh = xm.bbbh and dw1.ndid = xm.ndid and dw2.ndid = dw1.ndid and zu.dwid1 = dw1.dwid and zu.dwid2 = dw2.dwid&apos;,	&apos;-&apos;,	&apos;string(zu.xh)+&apos;&apos;N&apos;&apos;+string(mx.hh)&apos;,	&apos;xm.dwid&apos;,	&apos;xm.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	42,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y0005&apos;,	&apos;报表调整分录&apos;,	&apos;tzflb_bb&apos;,	NULL,	&apos;tzflb_bb&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	43,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y0006&apos;,	&apos;函证清单&apos;,	&apos;c_hzkmk&apos;,	NULL,	&apos;c_hzkmk&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	44,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y0007&apos;,	&apos;底稿重大事项说明&apos;,	&apos;t_explain&apos;,	NULL,	&apos;t_explain&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	45,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1008&apos;,	&apos;报表项目对应科目的关系&apos;,	&apos;bbxmvskm&apos;,	NULL,	&apos;bbxmvskm&apos;,	&apos;(&apos;&apos;D&apos;&apos;+string(dwid) + &apos;&apos;N&apos;&apos; + string(ndid) + &apos;&apos;Z&apos;&apos; + zdlx +&apos;&apos;X&apos;&apos; + string(bbxmid) + &apos;&apos;K&apos;&apos; + kmbh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	46,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1009&apos;,	&apos;财务制度项目&apos;,	&apos;cwzd_prj&apos;,	NULL,	&apos;cwzd_prj&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	47,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1010&apos;,	&apos;抽样方案表&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;C&apos;&apos; + cyid + &apos;&apos;T&apos;&apos; +t_id)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	48,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1011&apos;,	&apos;被审计单位项目信息&apos;,	&apos;prj_info&apos;,	NULL,	&apos;prj_info&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid))&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	49,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1012&apos;,	&apos;审计年度设置&apos;,	&apos;sjnd&apos;,	NULL,	&apos;sjnd&apos;,	&apos;ndid&apos;,	&apos;-&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	50,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1013&apos;,	&apos;调整分录表主表&apos;,	&apos;tzflb_zu&apos;,	NULL,	&apos;tzflb_zu&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;X&apos;&apos; + string(xh))&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	51,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1014&apos;,	&apos;调整分录明细表&apos;,	&apos;tzflb&apos;,	NULL,	&apos;tzflb&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;X&apos;&apos; + string(xh) + &apos;&apos;H&apos;&apos; + hh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	52,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1015&apos;,	&apos;调整分录核算项目明细表&apos;,	&apos;tzflb_hsmx&apos;,	NULL,	&apos;tzflb_hsmx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	53,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1017&apos;,	&apos;用户权限表管理&apos;,	&apos;z_qx&apos;,	NULL,	&apos;z_qx&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + string(ndid) + &apos;&apos;U&apos;&apos; + string(usid) + &apos;&apos;D&apos;&apos; + dgbh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	55,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1018&apos;,	&apos;账龄设置表&apos;,	&apos;c_zlszb&apos;,	NULL,	&apos;c_zlszb&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + string(ndid) + &apos;&apos;X&apos;&apos; + string(qjxh))&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	56,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1019&apos;,	&apos;复核问题记录&apos;,	&apos;c_fhwt&apos;,	NULL,	&apos;c_fhwt&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	57,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1020&apos;,	&apos;系统参数表&apos;,	&apos;sys_parameter&apos;,	NULL,	&apos;sys_parameter&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;P&apos;&apos; + string(parid))&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	58,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;Y1021&apos;,	&apos;科目核算项目关系&apos;,	&apos;c_kmvshsxm&apos;,	NULL,	&apos;c_kmvshsxm&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;K&apos;&apos; + kmbh + &apos;&apos;H&apos;&apos; + hsxmlxbh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	59,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0021&apos;,	&apos;科目月余额表(辅助表)&apos;,	&apos;c_kmyek2&apos;,	NULL,	&apos;c_kmyek2&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	70,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C0022&apos;,	&apos;外币月余额表(辅助表)&apos;,	&apos;c_wb_yye2&apos;,	NULL,	&apos;c_wb_yye2&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	71,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1021&apos;,	&apos;核算项目月余额表(辅助表)&apos;,	&apos;c_hsxm_yye2&apos;,	NULL,	&apos;c_hsxm_yye2&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	72,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (	&apos;C1022&apos;,	&apos;核算外币外币月余额表(辅助表)&apos;,	&apos;c_wb_hsxm_yye2&apos;,	NULL,	&apos;c_wb_hsxm_yye2&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	73,	NULL,	NULL);
INSERT INTO datatable_definfo VALUES (  &apos;Y0009&apos;,	&apos;调整分录核算项目表&apos;,	&apos; tzflb_zu left outer join b_dgxm on b_dgxm.dgbh = tzflb_zu.dgbh and b_dgxm.dwid = tzflb_zu.dwid and b_dgxm.ndid = tzflb_zu.ndid and dlzt = 0,tzflb left outer join (select tzflb_hsmx.dwid,tzflb_hsmx.ndid,tzflb_hsmx.xh,tzflb_hsmx.hh,tzflb_hsmx.hsxmlxbh,c_hsxm_zdb.hsxmlxmc,tzflb_hsmx.hsxmbh,c_hsxm_zdb.hsxmmc,(tzflb_hsmx.jffse) as hsjf ,(tzflb_hsmx.dffse) as hsdf from tzflb_hsmx,c_hsxm_zdb where tzflb_hsmx.dwid = c_hsxm_zdb.dwid and tzflb_hsmx.ndid = c_hsxm_zdb.ndid and tzflb_hsmx.hsxmlxbh = c_hsxm_zdb.hsxmlxbh and tzflb_hsmx.hsxmbh = c_hsxm_zdb.hsxmbh) hs on tzflb.dwid=hs.dwid and tzflb.ndid=hs.ndid and tzflb.xh=hs.xh and tzflb.hh=hs.hh,c_cwkmk left outer join  (select c_cwkmk.dwid, c_cwkmk.ndid,c_cwkmk.kmwm,b_bbxm.xmlx,b_bbxm.bbbh,b_bbxm.xmmc from  c_cwkmk, bbxmvskm,b_bbxm where  bbxmvskm.dwid = b_bbxm.dwid and bbxmvskm.ndid = b_bbxm.ndid and   bbxmvskm.bbxmid = b_bbxm.id and  bbxmvskm.zdlx = b_bbxm.zdlx and  c_cwkmk.dwid = bbxmvskm.dwid and c_cwkmk.ndid = bbxmvskm.ndid and c_cwkmk.kmbh = bbxmvskm.kmbh and b_bbxm.zdlx = &apos;&apos;0&apos;&apos; and b_bbxm.dlzt = 0 and length(b_bbxm.bbbh) =4) bbxm on c_cwkmk.dwid = bbxm.dwid and c_cwkmk.ndid = bbxm.ndid and c_cwkmk.kmwm like bbxm.kmwm+&apos;&apos;%&apos;&apos;&apos;,	&apos;tzflb.kmbh = c_cwkmk.kmbh and c_cwkmk.dwid = tzflb_zu.dwid and c_cwkmk.ndid = tzflb_zu.ndid and tzflb.ndid = tzflb_zu.ndid and tzflb.dwid = tzflb_zu.dwid and tzflb_zu.xh = tzflb.xh &apos;,	&apos;-&apos;,	&apos;(string(tzflb.hh)+&apos;&apos;Y&apos;&apos;+string(tzflb_zu.ndid)+&apos;&apos;D&apos;&apos;+string(tzflb_zu.dwid)+&apos;&apos;Z&apos;&apos;+isnull(string(tzflb_zu.lx),&apos;&apos;&apos;&apos;)+&apos;&apos;P&apos;&apos;+string(tzflb_zu.xh) + &apos;&apos;L&apos;&apos; + hs.hsxmlxbh + &apos;&apos;H&apos;&apos; + hs.hsxmbh) &apos;,	&apos;tzflb_zu.dwid&apos;,	&apos;tzflb_zu.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	41,	NULL,	NULL);   
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>280</no><make_date>2010-10-21 17:18:35.531000</make_date><note>修改基本表列信息-删除</note><sql>if object_id(&apos;datatable_defcolinfo&apos;) &gt;0 drop TABLE datatable_defcolinfo</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>290</no><make_date>2010-10-21 17:19:00.531000</make_date><note>修改基本表列信息-创建</note><sql>create table DBA.datatable_defcolinfo 
(
   t_id                 char(10)                       not null,
   col_cname            char(40)                       not null,
   col_ename            char(200)                      not null,
   col_ename2           char(200),
   col_alias            char(40)                       not null,
   col_update           char(1)                        not null,
   col_level            integer                        not null,
   col_code             char(40),
   col_group            char(1)                        not null,
   is_visible           char(1)                        not null default &apos;1&apos;,
   disp_x               numeric(15,2),
   col_width            numeric(15,2),
   col_disformat        char(80)                       default &apos;[general]&apos;,
   group_sign           char(1),
   compute_function     char(80),
   col_no               integer                        not null,
   col_type             char(40)                       not null
)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>300</no><make_date>2010-10-21 17:19:20.437000</make_date><note>修改基本表列信息-创建主键</note><sql>alter table DBA.datatable_defcolinfo
   add constraint datatable_defcolinfo_PK primary key (t_id, col_cname)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>310</no><make_date>2010-10-21 17:19:44.265000</make_date><note>修改基本表列信息-插入数据1</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;项目id&apos;,	&apos;id&apos;,	NULL,	&apos;id&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;登录状态&apos;,	&apos;dlzt&apos;,	NULL,	&apos;dlzt&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;报表编号&apos;,	&apos;bbbh&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	174.00,	430.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;项目名称&apos;,	&apos;xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	613.00,	741.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;显示名称&apos;,	&apos;xsmc&apos;,	NULL,	&apos;xsmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1362.00,	773.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2144.00,	224.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面上期期初数&apos;,	&apos;zm_sn_qcs&apos;,	NULL,	&apos;zm_sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2377.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面上期借方发生额&apos;,	&apos;zm_sn_fse_j&apos;,	NULL,	&apos;zm_sn_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	2889.00,	686.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;zm_sn_fse_d&apos;,	NULL,	&apos;zm_sn_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3584.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面上期发生额&apos;,	&apos;zm_sn_fse&apos;,	NULL,	&apos;zm_sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4169.00,	494.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面期初数&apos;,	&apos;zm_qcs&apos;,	NULL,	&apos;zm_qcs&apos;,	&apos;0&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;1&apos;,	4672.00,	475.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面借方发生额&apos;,	&apos;zm_fse_j&apos;,	NULL,	&apos;zm_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;1&apos;,	5157.00,	457.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面贷方发生额&apos;,	&apos;zm_fse_d&apos;,	NULL,	&apos;zm_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;1&apos;,	5623.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面发生额&apos;,	&apos;zm_fse&apos;,	NULL,	&apos;zm_fse&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;1&apos;,	6034.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账面期末数&apos;,	&apos;zm_qms&apos;,	NULL,	&apos;zm_qms&apos;,	&apos;0&apos;,	2,	&apos;0109&apos;,	&apos;1&apos;,	&apos;1&apos;,	6446.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	6857.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	7488.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期初调整数&apos;,	&apos;yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	8151.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	8809.00,	631.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	9449.00,	681.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异期末调整数&apos;,	&apos;yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;1&apos;,	10139.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后上期借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;1&apos;,	10693.00,	891.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后上期贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;1&apos;,	11593.00,	823.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后上期发生额&apos;,	&apos;ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;1&apos;,	12425.00,	773.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;1&apos;,	13207.00,	640.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后借方发生额&apos;,	&apos;yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0211&apos;,	&apos;1&apos;,	&apos;1&apos;,	13856.00,	878.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后贷方发生额&apos;,	&apos;yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0212&apos;,	&apos;1&apos;,	&apos;1&apos;,	14743.00,	750.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后发生额&apos;,	&apos;yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0213&apos;,	&apos;1&apos;,	&apos;1&apos;,	15502.00,	658.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异调整后期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0214&apos;,	&apos;1&apos;,	&apos;1&apos;,	16169.00,	626.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表上期期初数&apos;,	&apos;bb_sn_qcs&apos;,	NULL,	&apos;bb_sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	16805.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表上期借方发生额&apos;,	&apos;bb_sn_fse_j&apos;,	NULL,	&apos;bb_sn_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	17467.00,	635.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表上期贷方发生额&apos;,	&apos;bb_sn_fse_d&apos;,	NULL,	&apos;bb_sn_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	18112.00,	663.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表上期发生额&apos;,	&apos;bb_sn_fse&apos;,	NULL,	&apos;bb_sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	18784.00,	617.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表期初数&apos;,	&apos;bb_qcs&apos;,	NULL,	&apos;bb_qcs&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	19410.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表借方发生额&apos;,	&apos;bb_fse_j&apos;,	NULL,	&apos;bb_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	19922.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表贷方发生额&apos;,	&apos;bb_fse_d&apos;,	NULL,	&apos;bb_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0307&apos;,	&apos;1&apos;,	&apos;1&apos;,	20494.00,	599.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表发生额&apos;,	&apos;bb_fse&apos;,	NULL,	&apos;bb_fse&apos;,	&apos;0&apos;,	2,	&apos;0308&apos;,	&apos;1&apos;,	&apos;1&apos;,	21102.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;企业报表期末数&apos;,	&apos;bb_qms&apos;,	NULL,	&apos;bb_qms&apos;,	&apos;0&apos;,	2,	&apos;0309&apos;,	&apos;1&apos;,	&apos;1&apos;,	21705.00,	530.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;上年期初数&apos;,	&apos;sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	22245.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审上期借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	22656.00,	631.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	23296.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审上期发生额&apos;,	&apos;sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	23881.00,	549.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	24439.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审借方发生额&apos;,	&apos;ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	25010.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审贷方发生额&apos;,	&apos;ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	25669.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审发生额&apos;,	&apos;ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	26240.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;未审期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0409&apos;,	&apos;1&apos;,	&apos;1&apos;,	26651.00,	535.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	27195.00,	526.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	27730.00,	549.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	28288.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初调整借方&apos;,	&apos;qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	28946.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初调整贷方&apos;,	&apos;qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	29358.00,	498.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初调整调整数&apos;,	&apos;qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	29865.00,	475.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	30350.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	30761.00,	485.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	31255.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	31771.00,	571.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末调整借方&apos;,	&apos;qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	32352.00,	558.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末调整贷方&apos;,	&apos;qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	32919.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末调整调整数&apos;,	&apos;qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	33330.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	33847.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	34258.00,	882.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	35150.00,	887.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	36046.00,	983.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	37038.00,	782.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	72,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定上期借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	37829.00,	613.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	38450.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定上期发生额&apos;,	&apos;sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	39081.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	39643.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	40055.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	40617.00,	539.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	41166.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	41577.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;其他&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	81,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;重要性水平值&apos;,	&apos;zyxspz&apos;,	NULL,	&apos;zyxspz&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	41989.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	82,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;自定义&apos;,	&apos;zdy&apos;,	NULL,	&apos;zdy&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	44123.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	83,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;比率&apos;,	&apos;bl&apos;,	NULL,	&apos;bl&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	46258.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	84,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期末未更正数&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	48393.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	85,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;期初未更正数&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	50528.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	52690.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	87,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	53029.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	88,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	54437.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	89,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	54775.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	90,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;0&apos;,	2,	&apos;0710&apos;,	&apos;1&apos;,	&apos;0&apos;,	56183.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	91,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;0&apos;,	2,	&apos;0711&apos;,	&apos;1&apos;,	&apos;0&apos;,	57591.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	92,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;0&apos;,	2,	&apos;0712&apos;,	&apos;1&apos;,	&apos;0&apos;,	58999.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	93,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;0&apos;,	2,	&apos;0713&apos;,	&apos;1&apos;,	&apos;0&apos;,	60407.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	94,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;0&apos;,	2,	&apos;0714&apos;,	&apos;1&apos;,	&apos;0&apos;,	61815.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	95,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;制度类型&apos;,	&apos;zdlx&apos;,	NULL,	&apos;zdlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	52663.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	96,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;dg_bh_xh&apos;,	&apos;dg_bh_xh&apos;,	NULL,	&apos;dg_bh_xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	63223.00,	850.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	97,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;dg_bh&apos;,	&apos;dg_bh&apos;,	NULL,	&apos;dg_bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	64082.00,	850.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	98,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;显示序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	64942.00,	233.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	99,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;项目类型&apos;,	&apos;xmlx&apos;,	NULL,	&apos;xmlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	65184.00,	288.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	100,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	65481.00,	576.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	101,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿显示名称&apos;,	&apos;dgxsmc&apos;,	NULL,	&apos;dgxsmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	484.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿名称&apos;,	&apos;dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	790.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;显示序号&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1096.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;索引号&apos;,	&apos;syh&apos;,	NULL,	&apos;syh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1425.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;是否组&apos;,	&apos;sfz&apos;,	NULL,	&apos;sfz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1809.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿类型&apos;,	&apos;dglx&apos;,	NULL,	&apos;dglx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2138.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;是否完成&apos;,	&apos;sfwc&apos;,	NULL,	&apos;sfwc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2444.00,	366.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿级次&apos;,	&apos;dgjc&apos;,	NULL,	&apos;dgjc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2810.00,	407.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;审计说明&apos;,	&apos;sjsm&apos;,	NULL,	&apos;sjsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3217.00,	544.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;建议披露事项&apos;,	&apos;jyplsx&apos;,	NULL,	&apos;jyplsx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3761.00,	544.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;提请关注事项&apos;,	&apos;tqgzsx&apos;,	NULL,	&apos;tqgzsx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4305.00,	517.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;审计结论&apos;,	&apos;sjjl&apos;,	NULL,	&apos;sjjl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4822.00,	526.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;编制人日期&apos;,	&apos;bzrrq&apos;,	NULL,	&apos;bzrrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5348.00,	425.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;复核人日期&apos;,	&apos;fhrrq&apos;,	NULL,	&apos;fhrrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5773.00,	503.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿质量复核人&apos;,	&apos;dgzlfhr&apos;,	NULL,	&apos;dgzlfhr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6276.00,	443.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;质量复核人日期&apos;,	&apos;zlfhrrq&apos;,	NULL,	&apos;zlfhrrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6719.00,	434.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;对应帮助文件名称&apos;,	&apos;bzwj&apos;,	NULL,	&apos;bzwj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7153.00,	626.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7779.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;底稿编制人&apos;,	&apos;dgbzr&apos;,	NULL,	&apos;dgbzr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7879.00,	443.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0002&apos;,	&apos;是否修改&apos;,	&apos;sfgd&apos;,	NULL,	&apos;sfxg&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8322.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;审计显示序号&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	142.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;审计目标名称&apos;,	&apos;sjmbmc&apos;,	NULL,	&apos;sjmbmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	329.00,	544.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;审计目标内容&apos;,	&apos;sjmbnr&apos;,	NULL,	&apos;sjmbnr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	882.00,	1344.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;执行情况说明&apos;,	&apos;zxqksm&apos;,	NULL,	&apos;zxqksm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2235.00,	846.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定1&apos;,	&apos;crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3090.00,	494.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定2&apos;,	&apos;crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3593.00,	402.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定3&apos;,	&apos;crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4005.00,	562.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定4&apos;,	&apos;crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4576.00,	416.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定5&apos;,	&apos;crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5001.00,	503.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定6&apos;,	&apos;crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5513.00,	421.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定7&apos;,	&apos;crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5943.00,	498.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定8&apos;,	&apos;crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6450.00,	430.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定9&apos;,	&apos;crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6889.00,	425.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0003&apos;,	&apos;财务报表认定10&apos;,	&apos;crbbrd10&apos;,	NULL,	&apos;crbbrd10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7323.00,	507.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;审计程序名称&apos;,	&apos;sjcxmc&apos;,	NULL,	&apos;sjcxmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;是否组信息&apos;,	&apos;other2&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;是否选择&apos;,	&apos;ischecked&apos;,	NULL,	&apos;ischecked&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;显示序号&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	156.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;审计程序内容&apos;,	&apos;sjcxnr&apos;,	NULL,	&apos;sjcxnr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	343.00,	2409.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定1&apos;,	&apos;crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2761.00,	503.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定2&apos;,	&apos;crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3273.00,	393.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定3&apos;,	&apos;crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3675.00,	416.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定4&apos;,	&apos;crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4101.00,	503.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定5&apos;,	&apos;crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4613.00,	439.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定6&apos;,	&apos;crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5061.00,	462.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定7&apos;,	&apos;crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5531.00,	494.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>320</no><make_date>2010-10-21 17:20:57.515000</make_date><note>修改基本表函数信息-删除</note><sql>if object_id(&apos;datatable_fun&apos;) &gt;0 drop TABLE datatable_fun</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>330</no><make_date>2010-10-21 17:21:18.468000</make_date><note>修改基本表函数信息-创建</note><sql>create table DBA.datatable_fun 
(
   t_id                 char(10)                       not null,
   fun_id               char(10)                       not null,
   fun_kind             char(1)                        not null,
   fun_name             char(50)                       not null,
   fun_col1             varchar(1000),
   fun_col2             char(50),
   con_kind             char(1)                        not null,
   fun_state            char(1)                        not null,
   fun_col12            varchar(1000),
   fun_col22            char(50),
   con_kind2            char(1)                        not null,
   note                 char(200)
)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>340</no><make_date>2010-10-21 17:21:36.093000</make_date><note>修改基本表函数信息-创建主键</note><sql>alter table DBA.datatable_fun
   add constraint PK_DATATABLE_FUN primary key clustered (t_id, fun_id)</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>350</no><make_date>2010-10-21 17:23:05.906000</make_date><note>修改基本表函数信息-插入数据</note><sql>INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;bbbh&apos;,	NULL,	&apos;5&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	&apos;dlzt&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0001&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	&apos;zdlx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;0 主制度 1 从一制度 2从二制度&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	&apos;dlzt&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0002&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0003&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0004&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0005&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0006&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0007&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;B0008&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0001&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;c_cwkmk.ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;c_cwkmk.kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;c_cwkmk.kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;c_cwkmk.kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;c_cwkmk.kmjc&apos;,	&apos;c_cwkmk.sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;c_cwkmk.sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;c_cwkmk.kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;c_cwkmk.cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(c_cwkmk.sn_qcs,0))+abs(isnull(c_cwkmk.sn_ws_fse_j,0))+abs(isnull(c_cwkmk.sn_ws_fse_d,0))+abs(isnull(c_cwkmk.ws_qcs,0))+abs(isnull(c_cwkmk.pzsl,0))+abs(isnull(c_cwkmk.yqc_cfl_j,0))+abs(isnull(c_cwkmk.yqc_cfl_d,0))+abs(isnull(c_cwkmk.yqm_cfl_j,0))+abs(isnull(c_cwkmk.yqm_cfl_d,0))+abs(isnull(c_cwkmk.qc_cfl_j,0))+abs(isnull(c_cwkmk.qc_cfl_d,0))+abs(isnull(c_cwkmk.qc_tz_j,0))+abs(isnull(c_cwkmk.qc_tz_d,0))+abs(isnull(c_cwkmk.qm_cfl_j,0))+abs(isnull(c_cwkmk.qm_cfl_d,0))+abs(isnull(c_cwkmk.qm_tz_j,0))+abs(isnull(c_cwkmk.qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;c_cwkmk.dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0005&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(jffse,0))+abs(isnull(dffse,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0006&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0007&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C0008&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1001&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1005&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1006&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1007&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1008&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1010&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2001&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C2002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;2&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5001&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;kmjc+1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;2&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	null,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;4&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5003&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;2&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;(abs(isnull(sn_qcs,0))+abs(isnull(sn_ws_fse_j,0))+abs(isnull(sn_ws_fse_d,0))+abs(isnull(ws_qcs,0))+abs(isnull(pzsl,0))+abs(isnull(yqc_cfl_j,0))+abs(isnull(yqc_cfl_d,0))+abs(isnull(yqm_cfl_j,0))+abs(isnull(yqm_cfl_d,0))+abs(isnull(qc_cfl_j,0))+abs(isnull(qc_cfl_d,0))+abs(isnull(qc_tz_j,0))+abs(isnull(qc_tz_d,0))+abs(isnull(qm_cfl_j,0))+abs(isnull(qm_cfl_d,0))+abs(isnull(qm_tz_j,0))+abs(isnull(qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5004&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;kmjc&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;kmjc+1&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;2&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;(abs(isnull(qcs,0))+abs(isnull(pzsl,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5005&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;c_cwkmk.ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.ndid&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;c_cwkmk.kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.kmwm||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmlxbh||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmbh&apos;,	NULL,	&apos;1&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;c_cwkmk.kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.kmjc+1&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;c_cwkmk.kmjc&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.kmjc+1&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;c_cwkmk.kmjc&apos;,	&apos;c_cwkmk.sfmx&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.kmjc+1&apos;,	&apos;c_hsxm_zz.sfmx&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;c_cwkmk.sfmx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.sfmx&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;c_cwkmk.kmwm&apos;,	NULL,	&apos;2&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.kmwm||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmlxbh||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmbh&apos;,	NULL,	&apos;2&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;c_cwkmk.cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;c_hsxm_zz.cyfa&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;(abs(isnull(c_cwkmk.sn_qcs,0))+abs(isnull(c_cwkmk.sn_ws_fse_j,0))+abs(isnull(c_cwkmk.sn_ws_fse_d,0))+abs(isnull(c_cwkmk.ws_qcs,0))+abs(isnull(c_cwkmk.pzsl,0))+abs(isnull(c_cwkmk.yqc_cfl_j,0))+abs(isnull(c_cwkmk.yqc_cfl_d,0))+abs(isnull(c_cwkmk.yqm_cfl_j,0))+abs(isnull(c_cwkmk.yqm_cfl_d,0))+abs(isnull(c_cwkmk.qc_cfl_j,0))+abs(isnull(c_cwkmk.qc_cfl_d,0))+abs(isnull(c_cwkmk.qc_tz_j,0))+abs(isnull(c_cwkmk.qc_tz_d,0))+abs(isnull(c_cwkmk.qm_cfl_j,0))+abs(isnull(c_cwkmk.qm_cfl_d,0))+abs(isnull(c_cwkmk.qm_tz_j,0))+abs(isnull(c_cwkmk.qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;(abs(isnull(c_hsxm_zz.sn_qcs,0))+abs(isnull(c_hsxm_zz.sn_ws_fse_j,0))+abs(isnull(c_hsxm_zz.sn_ws_fse_d,0))+abs(isnull(c_hsxm_zz.ws_qcs,0))+abs(isnull(c_hsxm_zz.pzsl,0))+abs(isnull(c_hsxm_zz.yqc_cfl_j,0))+abs(isnull(c_hsxm_zz.yqc_cfl_d,0))+abs(isnull(c_hsxm_zz.yqm_cfl_j,0))+abs(isnull(c_hsxm_zz.yqm_cfl_d,0))+abs(isnull(c_hsxm_zz.qc_cfl_j,0))+abs(isnull(c_hsxm_zz.qc_cfl_d,0))+abs(isnull(c_hsxm_zz.qc_tz_j,0))+abs(isnull(c_hsxm_zz.qc_tz_d,0))+abs(isnull(c_hsxm_zz.qm_cfl_j,0))+abs(isnull(c_hsxm_zz.qm_cfl_d,0))+abs(isnull(c_hsxm_zz.qm_tz_j,0))+abs(isnull(c_hsxm_zz.qm_tz_d,0)))&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmwm&apos;,	NULL,	&apos;1&apos;,	&apos;1&apos;,	&apos;kmwm||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;1&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	NULL,	&apos;4&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;cyfa&apos;,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C5007&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;C5006&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;c_cwkmk.dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;c_hsxm_zz.dwid&apos;,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0002&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;bbbh&apos;,	NULL,	&apos;5&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0003&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;3&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0005&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0006&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0007&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;与按底稿取数互斥,实际上实用的是科目伪码（（条件类型：0 未使用 1 直接kmwm 2 间接kmwm 3直接kmbh 4间接kmbh）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;与按科目取数互斥（（条件类型：0 直接底稿编号 1 直接kmwm 2 间接kmwm 3直接kmbh 4 间接kmbh 5 间接bbbh&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	null,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;按底稿对应关系取数，使用按底稿取数字段（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	&apos;&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y1018&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;（条件类型：0 直接条件）&apos;);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;3&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;4&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;Y0009&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>360</no><make_date>2010-10-21 17:40:35.468000</make_date><note>修改基本表列信息-插入数据2</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定8&apos;,	&apos;crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6034.00,	521.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定9&apos;,	&apos;crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6565.00,	567.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;财务报表认定10&apos;,	&apos;crbbrd10&apos;,	NULL,	&apos;crbbrd10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7141.00,	507.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;工作底稿索引&apos;,	&apos;gzdgsy&apos;,	NULL,	&apos;gzdgsy&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7657.00,	1070.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;执行人&apos;,	&apos;zxr&apos;,	NULL,	&apos;zxr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8736.00,	338.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;是否完成&apos;,	&apos;zxwcbj&apos;,	NULL,	&apos;zxwcbj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9083.00,	421.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0004&apos;,	&apos;执行情况说明&apos;,	&apos;zxqksm&apos;,	NULL,	&apos;zxqksm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9513.00,	475.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;循环分类&apos;,	&apos;xhfl&apos;,	NULL,	&apos;xhfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	389.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;主要业务活动&apos;,	&apos;zyywhd&apos;,	NULL,	&apos;zyywhd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	896.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制目标&apos;,	&apos;kzmb&apos;,	NULL,	&apos;kzmb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1403.00,	1093.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;相关交易和账户余额及其认定&apos;,	&apos;xgrd&apos;,	NULL,	&apos;xgrd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2505.00,	1056.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;常用的控制活动&apos;,	&apos;cykzhd&apos;,	NULL,	&apos;cykzhd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3570.00,	818.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;被审单位的控制活动&apos;,	&apos;bsjdwkzhd&apos;,	NULL,	&apos;bsjdwkzhd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4398.00,	763.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制活动是否得到执行&apos;,	&apos;sfddzx&apos;,	NULL,	&apos;sfddzx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5170.00,	699.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;是否测试该控制活动运行有效性&apos;,	&apos;sfcsyx&apos;,	NULL,	&apos;sfcsyx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5879.00,	832.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制活动是否有效运行&apos;,	&apos;sfyxyx&apos;,	NULL,	&apos;sfyxyx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6720.00,	617.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制测试结果是否支持风险评估结论&apos;,	&apos;sfzcjl&apos;,	NULL,	&apos;sfzcjl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7346.00,	946.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制活动对实现控制目标是否有效&apos;,	&apos;sfkzyx&apos;,	NULL,	&apos;sfkzyx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8302.00,	873.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;控制测试程序&apos;,	&apos;kzcscx&apos;,	NULL,	&apos;kzcscx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9184.00,	544.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;执行控制的频率&apos;,	&apos;zxkzpl&apos;,	NULL,	&apos;zxkzpl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9737.00,	530.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;所测试的项目数量&apos;,	&apos;csxmsl&apos;,	NULL,	&apos;csxmsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10277.00,	603.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;索引号&apos;,	&apos;syh&apos;,	NULL,	&apos;syh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10889.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;其他1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11227.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;其他2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11438.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符01&apos;,	&apos;zf01&apos;,	NULL,	&apos;zf01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符02&apos;,	&apos;zf02&apos;,	NULL,	&apos;zf02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符03&apos;,	&apos;zf03&apos;,	NULL,	&apos;zf03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符04&apos;,	&apos;zf04&apos;,	NULL,	&apos;zf04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符05&apos;,	&apos;zf05&apos;,	NULL,	&apos;zf05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符06&apos;,	&apos;zf06&apos;,	NULL,	&apos;zf06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符07&apos;,	&apos;zf07&apos;,	NULL,	&apos;zf07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符08&apos;,	&apos;zf08&apos;,	NULL,	&apos;zf08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符09&apos;,	&apos;zf09&apos;,	NULL,	&apos;zf09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符10&apos;,	&apos;zf10&apos;,	NULL,	&apos;zf10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	47,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符11&apos;,	&apos;zf11&apos;,	NULL,	&apos;zf11&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	48,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符12&apos;,	&apos;zf12&apos;,	NULL,	&apos;zf12&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	49,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符13&apos;,	&apos;zf13&apos;,	NULL,	&apos;zf13&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	50,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符14&apos;,	&apos;zf14&apos;,	NULL,	&apos;zf14&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	51,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符15&apos;,	&apos;zf15&apos;,	NULL,	&apos;zf15&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	52,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符16&apos;,	&apos;zf16&apos;,	NULL,	&apos;zf16&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符17&apos;,	&apos;zf17&apos;,	NULL,	&apos;zf17&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	54,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符18&apos;,	&apos;zf18&apos;,	NULL,	&apos;zf18&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	55,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符19&apos;,	&apos;zf19&apos;,	NULL,	&apos;zf19&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	56,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符20&apos;,	&apos;zf20&apos;,	NULL,	&apos;zf20&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	57,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符21&apos;,	&apos;zf21&apos;,	NULL,	&apos;zf21&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	58,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符22&apos;,	&apos;zf22&apos;,	NULL,	&apos;zf22&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	59,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符23&apos;,	&apos;zf23&apos;,	NULL,	&apos;zf23&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	60,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符24&apos;,	&apos;zf24&apos;,	NULL,	&apos;zf24&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	61,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符25&apos;,	&apos;zf25&apos;,	NULL,	&apos;zf25&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	62,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符26&apos;,	&apos;zf26&apos;,	NULL,	&apos;zf26&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	63,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符27&apos;,	&apos;zf27&apos;,	NULL,	&apos;zf27&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	64,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符28&apos;,	&apos;zf28&apos;,	NULL,	&apos;zf28&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	65,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符29&apos;,	&apos;zf29&apos;,	NULL,	&apos;zf29&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	66,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;字符30&apos;,	&apos;zf30&apos;,	NULL,	&apos;zf30&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	67,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符31&apos;,	&apos;zf31&apos;,	NULL,	&apos;zf31&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	68,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符32&apos;,	&apos;zf32&apos;,	NULL,	&apos;zf32&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	69,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符33&apos;,	&apos;zf33&apos;,	NULL,	&apos;zf33&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	70,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符34&apos;,	&apos;zf34&apos;,	NULL,	&apos;zf34&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	71,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符35&apos;,	&apos;zf35&apos;,	NULL,	&apos;zf35&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	72,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符36&apos;,	&apos;zf36&apos;,	NULL,	&apos;zf36&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	73,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符37&apos;,	&apos;zf37&apos;,	NULL,	&apos;zf37&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	74,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符38&apos;,	&apos;zf38&apos;,	NULL,	&apos;zf38&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	75,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符39&apos;,	&apos;zf39&apos;,	NULL,	&apos;zf39&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	76,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符40&apos;,	&apos;zf40&apos;,	NULL,	&apos;zf40&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	77,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符41&apos;,	&apos;zf41&apos;,	NULL,	&apos;zf41&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	78,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符42&apos;,	&apos;zf42&apos;,	NULL,	&apos;zf42&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	79,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符43&apos;,	&apos;zf43&apos;,	NULL,	&apos;zf43&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	80,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符44&apos;,	&apos;zf44&apos;,	NULL,	&apos;zf44&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	81,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符45&apos;,	&apos;zf45&apos;,	NULL,	&apos;zf45&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	82,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符46&apos;,	&apos;zf46&apos;,	NULL,	&apos;zf46&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	83,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符47&apos;,	&apos;zf47&apos;,	NULL,	&apos;zf47&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	84,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符48&apos;,	&apos;zf48&apos;,	NULL,	&apos;zf48&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	85,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符49&apos;,	&apos;zf49&apos;,	NULL,	&apos;zf49&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;中长字符50&apos;,	&apos;zf50&apos;,	NULL,	&apos;zf50&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	87,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符01&apos;,	&apos;czf01&apos;,	NULL,	&apos;czf01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	88,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符02&apos;,	&apos;czf02&apos;,	NULL,	&apos;czf02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	89,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符03&apos;,	&apos;czf03&apos;,	NULL,	&apos;czf03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	90,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符04&apos;,	&apos;czf04&apos;,	NULL,	&apos;czf04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	91,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符05&apos;,	&apos;czf05&apos;,	NULL,	&apos;czf05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	92,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符06&apos;,	&apos;czf06&apos;,	NULL,	&apos;czf06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	93,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符07&apos;,	&apos;czf07&apos;,	NULL,	&apos;czf07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25638.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	94,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符08&apos;,	&apos;czf08&apos;,	NULL,	&apos;czf08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25888.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	95,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符09&apos;,	&apos;czf09&apos;,	NULL,	&apos;czf09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	26138.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	96,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0005&apos;,	&apos;长字符10&apos;,	&apos;czf10&apos;,	NULL,	&apos;czf10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	26388.00,	250.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	97,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;显示序号&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	169.00,	206.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;报表项目名称&apos;,	&apos;dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	384.00,	558.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;认定项目&apos;,	&apos;xm&apos;,	NULL,	&apos;xm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	951.00,	878.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;循环分类代码&apos;,	&apos;xhfl&apos;,	NULL,	&apos;xhfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1838.00,	375.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;循环分类说明&apos;,	&apos;xhfl_sm&apos;,	NULL,	&apos;xhfl_sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2222.00,	562.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;存在&apos;,	&apos;crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2793.00,	274.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;完整性&apos;,	&apos;crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3077.00,	283.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;权利和义务&apos;,	&apos;crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3369.00,	375.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;计价和分摊&apos;,	&apos;crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3753.00,	370.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;列报&apos;,	&apos;crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4133.00,	224.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	47,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;发生&apos;,	&apos;crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4366.00,	247.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	48,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;截至&apos;,	&apos;crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4622.00,	210.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	49,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;准确性&apos;,	&apos;crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4841.00,	197.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	50,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;其他认定&apos;,	&apos;crbbrd10&apos;,	NULL,	&apos;crbbrd10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5047.00,	256.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	51,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;相关控制&apos;,	&apos;xgkzyqsfyx&apos;,	NULL,	&apos;xgkzyqsfyx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5312.00,	311.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	52,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;了解控制索引号&apos;,	&apos;ljkzsyh&apos;,	NULL,	&apos;ljkzsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5632.00,	475.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;总体方案&apos;,	&apos;ztfa&apos;,	NULL,	&apos;ztfa&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6117.00,	315.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	54,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;控制测试&apos;,	&apos;kzcs&apos;,	NULL,	&apos;kzcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6441.00,	279.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	55,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;控制测试索引号&apos;,	&apos;kzcssyh&apos;,	NULL,	&apos;kzcssyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6729.00,	539.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	56,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;实质性程序&apos;,	&apos;szxcx&apos;,	NULL,	&apos;szxcx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7278.00,	389.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	57,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7675.00,	302.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	58,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;实质性程序索引号&apos;,	&apos;szxcxsyh&apos;,	NULL,	&apos;szxcxsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7986.00,	608.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	59,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0006&apos;,	&apos;分类&apos;,	&apos;crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8603.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	60,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;底稿编号&apos;,	&apos;b_dgxm.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;底稿名称&apos;,	&apos;b_dgxm.dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;审计程序编号&apos;,	&apos;b_sjcx.sjcxbh&apos;,	NULL,	&apos;sjcxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;审计程序内容&apos;,	&apos;b_sjcx.sjcxnr&apos;,	NULL,	&apos;sjcxnr&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	30.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;记录类型&apos;,	&apos;b_sjcx.other1&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	40.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;是否选择&apos;,	&apos;b_sjcx.ischecked&apos;,	NULL,	&apos;ischecked&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	50.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;审计程序名称&apos;,	&apos;b_sjcx.sjcxmc&apos;,	NULL,	&apos;sjcxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	60.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定1&apos;,	&apos;b_sjcx.crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	70.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定2&apos;,	&apos;b_sjcx.crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	80.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定3&apos;,	&apos;b_sjcx.crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	90.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定4&apos;,	&apos;b_sjcx.crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定5&apos;,	&apos;b_sjcx.crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	110.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定6&apos;,	&apos;b_sjcx.crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	120.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定7&apos;,	&apos;b_sjcx.crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	130.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定8&apos;,	&apos;b_sjcx.crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	140.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定9&apos;,	&apos;b_sjcx.crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	150.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;财务报表认定10&apos;,	&apos;b_sjcx.crbbrd10&apos;,	NULL,	&apos;crbbrd10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	160.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;执行人&apos;,	&apos;b_sjcx.zxr&apos;,	NULL,	&apos;zxr&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	170.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;执行完成标记&apos;,	&apos;b_sjcx.zxwcbj&apos;,	NULL,	&apos;zxwcbj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	180.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;执行情况说明&apos;,	&apos;b_sjcx.zxqksm&apos;,	NULL,	&apos;zxqksm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	190.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;工作底稿索引&apos;,	&apos;b_sjcx.gzdgsy&apos;,	NULL,	&apos;gzdgsy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0007&apos;,	&apos;明细底稿编号&apos;,	&apos;b_sjcx.mxdgbh&apos;,	NULL,	&apos;mxdgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	210.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;显示序号&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	169.00,	206.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;报表项目名称&apos;,	&apos;dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	384.00,	558.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;财务报表认定&apos;,	&apos;crbbrd&apos;,	NULL,	&apos;crbbrd&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	951.00,	878.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;循环分类代码&apos;,	&apos;xhfl&apos;,	NULL,	&apos;xhfl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1838.00,	375.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;循环分类说明&apos;,	&apos;xhfl_sm&apos;,	NULL,	&apos;xhfl_sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2222.00,	562.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;评估的重大错报风险水平&apos;,	&apos;rdxm1&apos;,	NULL,	&apos;rdxm1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2793.00,	600.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;控制测试结果是否支持风险评估结论&apos;,	&apos;rdxm2&apos;,	NULL,	&apos;rdxm2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3077.00,	600.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;需从实质性程序获取的保证程度&apos;,	&apos;rdxm3&apos;,	NULL,	&apos;rdxm3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3369.00,	600.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0008&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3753.00,	370.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;手工添入科目&apos;,	&apos;sfsg&apos;,	NULL,	&apos;sfsg&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	174.00,	498.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	681.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1189.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目类别&apos;,	&apos;kmlb&apos;,	NULL,	&apos;kmlb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1998.00,	224.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2231.00,	242.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;是否明细科目&apos;,	&apos;sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2482.00,	379.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2871.00,	261.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上级科目&apos;,	&apos;sjkmbh&apos;,	NULL,	&apos;sjkmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	116750.00,	1719.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	118478.00,	2583.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;是否禁用&apos;,	&apos;sfjy&apos;,	NULL,	&apos;sfjy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	127424.00,	174.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期期初数&apos;,	&apos;sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	3963.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面上期借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	4375.00,	617.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面上期发生额&apos;,	&apos;sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	5001.00,	489.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	5499.00,	658.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期发生额数量&apos;,	&apos;sn_ws_fse_sl&apos;,	NULL,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	114615.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期贷方数量&apos;,	&apos;sn_ws_fse_d_sl&apos;,	NULL,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	122290.00,	256.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期借方数量&apos;,	&apos;sn_ws_fse_j_sl&apos;,	NULL,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	122555.00,	343.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;上期期初数量&apos;,	&apos;sn_qcs_sl&apos;,	NULL,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	122907.00,	325.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	3141.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	3552.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	6167.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	6578.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	8800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;发生额数量&apos;,	&apos;ws_fse_sl&apos;,	NULL,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	110345.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末数量&apos;,	&apos;ws_qms_sl&apos;,	NULL,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	121070.00,	315.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;贷方数量&apos;,	&apos;ws_fse_d_sl&apos;,	NULL,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	121394.00,	279.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;借方数量&apos;,	&apos;ws_fse_j_sl&apos;,	NULL,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	121682.00,	325.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初数量&apos;,	&apos;ws_qcs_sl&apos;,	NULL,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	122016.00,	265.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	55,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	6990.00,	567.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	7566.00,	617.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期初调整数&apos;,	&apos;yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	8192.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	8754.00,	585.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	9349.00,	635.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异期末调整数&apos;,	&apos;yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	9993.00,	590.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	62,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审上期借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	12160.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	12791.00,	535.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审上期发生额&apos;,	&apos;ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	13335.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	13746.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	14158.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	14569.00,	425.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	15003.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	15826.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	71,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	10592.00,	791.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	11392.00,	759.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	15415.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	16238.00,	517.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	16763.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初调整借方&apos;,	&apos;qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	17280.00,	448.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初调整贷方&apos;,	&apos;qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	17737.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初调整调整数&apos;,	&apos;qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	18149.00,	434.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	18592.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	19003.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	19415.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	19826.00,	530.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末调整借方&apos;,	&apos;qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	20366.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末调整贷方&apos;,	&apos;qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	20777.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末调整调整数&apos;,	&apos;qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	21189.00,	471.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	21669.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	22080.00,	782.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	22871.00,	722.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	90,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	23602.00,	407.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定上期借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	24018.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	24571.00,	567.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定上期发生额&apos;,	&apos;sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	25147.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	25733.00,	498.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	26240.00,	453.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	26702.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	28596.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	99,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	100,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄01&apos;,	&apos;wszl01&apos;,	NULL,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;070101&apos;,	&apos;1&apos;,	&apos;0&apos;,	40168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄02&apos;,	&apos;wszl02&apos;,	NULL,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;070102&apos;,	&apos;1&apos;,	&apos;0&apos;,	40568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄03&apos;,	&apos;wszl03&apos;,	NULL,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;070103&apos;,	&apos;1&apos;,	&apos;0&apos;,	40968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄04&apos;,	&apos;wszl04&apos;,	NULL,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;070104&apos;,	&apos;1&apos;,	&apos;0&apos;,	41368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄05&apos;,	&apos;wszl05&apos;,	NULL,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;070105&apos;,	&apos;1&apos;,	&apos;0&apos;,	41768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄06&apos;,	&apos;wszl06&apos;,	NULL,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;070106&apos;,	&apos;1&apos;,	&apos;0&apos;,	42168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄07&apos;,	&apos;wszl07&apos;,	NULL,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;070107&apos;,	&apos;1&apos;,	&apos;0&apos;,	42568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄08&apos;,	&apos;wszl08&apos;,	NULL,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;070108&apos;,	&apos;1&apos;,	&apos;0&apos;,	42968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄09&apos;,	&apos;wszl09&apos;,	NULL,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;070109&apos;,	&apos;1&apos;,	&apos;0&apos;,	43368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄10&apos;,	&apos;wszl10&apos;,	NULL,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;070110&apos;,	&apos;1&apos;,	&apos;0&apos;,	43768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄11&apos;,	&apos;wszl11&apos;,	NULL,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;070111&apos;,	&apos;1&apos;,	&apos;0&apos;,	44168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄12&apos;,	&apos;wszl12&apos;,	NULL,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;070112&apos;,	&apos;1&apos;,	&apos;0&apos;,	44568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄13&apos;,	&apos;wszl13&apos;,	NULL,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;070113&apos;,	&apos;1&apos;,	&apos;0&apos;,	44968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄14&apos;,	&apos;wszl14&apos;,	NULL,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;070114&apos;,	&apos;1&apos;,	&apos;0&apos;,	45368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	114,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄15&apos;,	&apos;wszl15&apos;,	NULL,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;070115&apos;,	&apos;1&apos;,	&apos;0&apos;,	45768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	115,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;未审账龄16&apos;,	&apos;wszl16&apos;,	NULL,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;070116&apos;,	&apos;1&apos;,	&apos;0&apos;,	46168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	116,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;0&apos;,	&apos;0&apos;,	NULL,	0,	NULL,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄01&apos;,	&apos;tzzl01&apos;,	NULL,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;070201&apos;,	&apos;1&apos;,	&apos;0&apos;,	46568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	118,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄02&apos;,	&apos;tzzl02&apos;,	NULL,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;070202&apos;,	&apos;1&apos;,	&apos;0&apos;,	46968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	119,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄03&apos;,	&apos;tzzl03&apos;,	NULL,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;070203&apos;,	&apos;1&apos;,	&apos;0&apos;,	47368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	120,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄04&apos;,	&apos;tzzl04&apos;,	NULL,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;070204&apos;,	&apos;1&apos;,	&apos;0&apos;,	47768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	121,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄05&apos;,	&apos;tzzl05&apos;,	NULL,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;070205&apos;,	&apos;1&apos;,	&apos;0&apos;,	48168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	122,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄06&apos;,	&apos;tzzl06&apos;,	NULL,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;070206&apos;,	&apos;1&apos;,	&apos;0&apos;,	48568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	123,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄07&apos;,	&apos;tzzl07&apos;,	NULL,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;070207&apos;,	&apos;1&apos;,	&apos;0&apos;,	48968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	124,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄08&apos;,	&apos;tzzl08&apos;,	NULL,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;070208&apos;,	&apos;1&apos;,	&apos;0&apos;,	49368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	125,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄09&apos;,	&apos;tzzl09&apos;,	NULL,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;070209&apos;,	&apos;1&apos;,	&apos;0&apos;,	49768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	126,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄10&apos;,	&apos;tzzl10&apos;,	NULL,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;070210&apos;,	&apos;1&apos;,	&apos;0&apos;,	50168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	127,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄11&apos;,	&apos;tzzl11&apos;,	NULL,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;070211&apos;,	&apos;1&apos;,	&apos;0&apos;,	50568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	128,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄12&apos;,	&apos;tzzl12&apos;,	NULL,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;070212&apos;,	&apos;1&apos;,	&apos;0&apos;,	50968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	129,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄13&apos;,	&apos;tzzl13&apos;,	NULL,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;070213&apos;,	&apos;1&apos;,	&apos;0&apos;,	51368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	130,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄14&apos;,	&apos;tzzl14&apos;,	NULL,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;070214&apos;,	&apos;1&apos;,	&apos;0&apos;,	51768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	131,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄15&apos;,	&apos;tzzl15&apos;,	NULL,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;070215&apos;,	&apos;1&apos;,	&apos;0&apos;,	52168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	132,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;调整账龄16&apos;,	&apos;tzzl16&apos;,	NULL,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;070216&apos;,	&apos;1&apos;,	&apos;0&apos;,	52568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	133,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;0&apos;,	&apos;0&apos;,	NULL,	0,	NULL,	&apos;0&apos;,	NULL,	134,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄01&apos;,	&apos;wszl01 + tzzl01&apos;,	NULL,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;070301&apos;,	&apos;1&apos;,	&apos;0&apos;,	52968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	135,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄02&apos;,	&apos;wszl02 + tzzl02&apos;,	NULL,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;070302&apos;,	&apos;1&apos;,	&apos;0&apos;,	53368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	136,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄03&apos;,	&apos;wszl03 + tzzl03&apos;,	NULL,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;070303&apos;,	&apos;1&apos;,	&apos;0&apos;,	53768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	137,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄04&apos;,	&apos;wszl04 + tzzl04&apos;,	NULL,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;070304&apos;,	&apos;1&apos;,	&apos;0&apos;,	54168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	138,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄05&apos;,	&apos;wszl05 + tzzl05&apos;,	NULL,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;070305&apos;,	&apos;1&apos;,	&apos;0&apos;,	54568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	139,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄06&apos;,	&apos;wszl06 + tzzl06&apos;,	NULL,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;070306&apos;,	&apos;1&apos;,	&apos;0&apos;,	54968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	140,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄07&apos;,	&apos;wszl07 + tzzl07&apos;,	NULL,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;070307&apos;,	&apos;1&apos;,	&apos;0&apos;,	55368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	141,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄08&apos;,	&apos;wszl08 + tzzl08&apos;,	NULL,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;070308&apos;,	&apos;1&apos;,	&apos;0&apos;,	55768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	142,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄09&apos;,	&apos;wszl09+ tzzl09&apos;,	NULL,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;070309&apos;,	&apos;1&apos;,	&apos;0&apos;,	56168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	143,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄10&apos;,	&apos;wszl10 + tzzl10&apos;,	NULL,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;070310&apos;,	&apos;1&apos;,	&apos;0&apos;,	56568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	144,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄11&apos;,	&apos;wszl11 + tzzl11&apos;,	NULL,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;070311&apos;,	&apos;1&apos;,	&apos;0&apos;,	56968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	145,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄12&apos;,	&apos;wszl12 + tzzl12&apos;,	NULL,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;070312&apos;,	&apos;1&apos;,	&apos;0&apos;,	57368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	146,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄13&apos;,	&apos;wszl13 + tzzl13&apos;,	NULL,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;070313&apos;,	&apos;1&apos;,	&apos;0&apos;,	57768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	147,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄14&apos;,	&apos;wszl14 + tzzl14&apos;,	NULL,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;070314&apos;,	&apos;1&apos;,	&apos;0&apos;,	58168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	148,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄15&apos;,	&apos;wszl15+ tzzl15&apos;,	NULL,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;070315&apos;,	&apos;1&apos;,	&apos;0&apos;,	58568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	149,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;审定账龄16&apos;,	&apos;wszl16 + tzzl16&apos;,	NULL,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;070316&apos;,	&apos;1&apos;,	&apos;0&apos;,	58968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	150,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	151,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0810&apos;,	&apos;1&apos;,	&apos;0&apos;,	123593.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	152,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0809&apos;,	&apos;1&apos;,	&apos;0&apos;,	123945.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	153,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	124297.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	154,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	124690.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	155,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	125083.00,	416.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	156,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	125509.00,	379.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	157,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	125897.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	158,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	126290.00,	375.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	159,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	126674.00,	352.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	160,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;0&apos;,	127035.00,	379.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	161,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;09&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	162,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0901&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	163,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0902&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	164,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0903&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	165,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0904&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	166,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0905&apos;,	&apos;1&apos;,	&apos;1&apos;,	27113.00,	722.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	167,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0906&apos;,	&apos;1&apos;,	&apos;0&apos;,	102592.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	168,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期末未更正数&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0907&apos;,	&apos;1&apos;,	&apos;0&apos;,	103941.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	169,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;期初未更正数&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0908&apos;,	&apos;1&apos;,	&apos;0&apos;,	106075.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	170,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>370</no><make_date>2010-10-21 17:53:47.703000</make_date><note>修改基本表列信息-插入数据3</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;行号&apos;,	&apos;c_cwkmk.hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目编号&apos;,	&apos;c_cwkmk.kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	204.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目名称&apos;,	&apos;c_cwkmk.kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	708.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目类别&apos;,	&apos;c_cwkmk.kmlb&apos;,	NULL,	&apos;kmlb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1512.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;借贷方向&apos;,	&apos;c_cwkmk.jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1566.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;是否禁用&apos;,	&apos;c_cwkmk.sfjy&apos;,	NULL,	&apos;sfjy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1620.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;是否明细科目&apos;,	&apos;c_cwkmk.sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1674.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目级次&apos;,	&apos;c_cwkmk.kmjc&apos;,	NULL,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1728.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目伪码&apos;,	&apos;c_cwkmk.kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1782.00,	800.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上级科目&apos;,	&apos;c_cwkmk.sjkmbh&apos;,	NULL,	&apos;sjkmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	2586.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上级科目名称&apos;,	&apos;c_cwkmk.sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2690.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;手工添入科目&apos;,	&apos;c_cwkmk.sfsg&apos;,	NULL,	&apos;sfsg&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	3494.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期期初数&apos;,	&apos;c_cwkmk.sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	3552.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面上期借方发生额&apos;,	&apos;c_cwkmk.sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	3956.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;c_cwkmk.sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	4360.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面上期发生额&apos;,	&apos;c_cwkmk.sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4764.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期期初数量&apos;,	&apos;c_cwkmk.sn_qcs_sl&apos;,	NULL,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	5168.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期借方数量&apos;,	&apos;c_cwkmk.sn_ws_fse_j_sl&apos;,	NULL,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	5572.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期贷方数量&apos;,	&apos;c_cwkmk.sn_ws_fse_d_sl&apos;,	NULL,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	5976.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;上期发生额数量&apos;,	&apos;c_cwkmk.sn_ws_fse_sl&apos;,	NULL,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	6380.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面期初数&apos;,	&apos;c_cwkmk.ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	6788.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面借方发生额&apos;,	&apos;c_cwkmk.ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	7192.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面贷方发生额&apos;,	&apos;c_cwkmk.ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	7596.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面发生额&apos;,	&apos;c_cwkmk.ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	8000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账面期末数&apos;,	&apos;c_cwkmk.ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	8404.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初数量&apos;,	&apos;c_cwkmk.ws_qcs_sl&apos;,	NULL,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	8808.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;借方数量&apos;,	&apos;c_cwkmk.ws_fse_j_sl&apos;,	NULL,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	9212.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;贷方数量&apos;,	&apos;c_cwkmk.ws_fse_d_sl&apos;,	NULL,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	9616.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;发生额数量&apos;,	&apos;c_cwkmk.ws_fse_sl&apos;,	NULL,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	10020.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末数量&apos;,	&apos;c_cwkmk.ws_qms_sl&apos;,	NULL,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	10424.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;月发生额&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0211&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;1月借方发生额&apos;,	&apos;kmye.fse_j1&apos;,	NULL,	&apos;fse_j1&apos;,	&apos;0&apos;,	3,	&apos;021101&apos;,	&apos;1&apos;,	&apos;1&apos;,	10832.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;1月贷方发生额&apos;,	&apos;kmye.fse_d1&apos;,	NULL,	&apos;fse_d1&apos;,	&apos;0&apos;,	3,	&apos;021102&apos;,	&apos;1&apos;,	&apos;1&apos;,	11236.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;1月发生额&apos;,	&apos;kmye.fse_1&apos;,	NULL,	&apos;fse_1&apos;,	&apos;0&apos;,	3,	&apos;021103&apos;,	&apos;1&apos;,	&apos;1&apos;,	11640.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;2月借方发生额&apos;,	&apos;kmye.fse_j2&apos;,	NULL,	&apos;fse_j2&apos;,	&apos;0&apos;,	3,	&apos;021104&apos;,	&apos;1&apos;,	&apos;1&apos;,	12044.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;2月贷方发生额&apos;,	&apos;kmye.fse_d2&apos;,	NULL,	&apos;fse_d2&apos;,	&apos;0&apos;,	3,	&apos;021105&apos;,	&apos;1&apos;,	&apos;1&apos;,	12448.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;2月发生额&apos;,	&apos;kmye.fse_2&apos;,	NULL,	&apos;fse_2&apos;,	&apos;0&apos;,	3,	&apos;021106&apos;,	&apos;1&apos;,	&apos;1&apos;,	12852.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;3月借方发生额&apos;,	&apos;kmye.fse_j3&apos;,	NULL,	&apos;fse_j3&apos;,	&apos;0&apos;,	3,	&apos;021107&apos;,	&apos;1&apos;,	&apos;1&apos;,	13256.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;3月贷方发生额&apos;,	&apos;kmye.fse_d3&apos;,	NULL,	&apos;fse_d3&apos;,	&apos;0&apos;,	3,	&apos;021108&apos;,	&apos;1&apos;,	&apos;1&apos;,	13660.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;3月发生额&apos;,	&apos;kmye.fse_3&apos;,	NULL,	&apos;fse_3&apos;,	&apos;0&apos;,	3,	&apos;021109&apos;,	&apos;1&apos;,	&apos;1&apos;,	14064.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;4月借方发生额&apos;,	&apos;kmye.fse_j4&apos;,	NULL,	&apos;fse_j4&apos;,	&apos;0&apos;,	3,	&apos;021110&apos;,	&apos;1&apos;,	&apos;1&apos;,	14468.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;4月贷方发生额&apos;,	&apos;kmye.fse_d4&apos;,	NULL,	&apos;fse_d4&apos;,	&apos;0&apos;,	3,	&apos;021111&apos;,	&apos;1&apos;,	&apos;1&apos;,	14872.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;4月发生额&apos;,	&apos;kmye.fse_4&apos;,	NULL,	&apos;fse_4&apos;,	&apos;0&apos;,	3,	&apos;021112&apos;,	&apos;1&apos;,	&apos;1&apos;,	15276.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;5月借方发生额&apos;,	&apos;kmye.fse_j5&apos;,	NULL,	&apos;fse_j5&apos;,	&apos;0&apos;,	3,	&apos;021113&apos;,	&apos;1&apos;,	&apos;1&apos;,	15680.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;5月贷方发生额&apos;,	&apos;kmye.fse_d5&apos;,	NULL,	&apos;fse_d5&apos;,	&apos;0&apos;,	3,	&apos;021114&apos;,	&apos;1&apos;,	&apos;1&apos;,	16084.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;5月发生额&apos;,	&apos;kmye.fse_5&apos;,	NULL,	&apos;fse_5&apos;,	&apos;0&apos;,	3,	&apos;021115&apos;,	&apos;1&apos;,	&apos;1&apos;,	16488.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;6月借方发生额&apos;,	&apos;kmye.fse_j6&apos;,	NULL,	&apos;fse_j6&apos;,	&apos;0&apos;,	3,	&apos;021116&apos;,	&apos;1&apos;,	&apos;1&apos;,	16892.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;6月贷方发生额&apos;,	&apos;kmye.fse_d6&apos;,	NULL,	&apos;fse_d6&apos;,	&apos;0&apos;,	3,	&apos;021117&apos;,	&apos;1&apos;,	&apos;1&apos;,	17296.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;6月发生额&apos;,	&apos;kmye.fse_6&apos;,	NULL,	&apos;fse_6&apos;,	&apos;0&apos;,	3,	&apos;021118&apos;,	&apos;1&apos;,	&apos;1&apos;,	17700.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;7月借方发生额&apos;,	&apos;kmye.fse_j7&apos;,	NULL,	&apos;fse_j7&apos;,	&apos;0&apos;,	3,	&apos;021119&apos;,	&apos;1&apos;,	&apos;1&apos;,	18104.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;7月贷方发生额&apos;,	&apos;kmye.fse_d7&apos;,	NULL,	&apos;fse_d7&apos;,	&apos;0&apos;,	3,	&apos;021120&apos;,	&apos;1&apos;,	&apos;1&apos;,	18508.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;7月发生额&apos;,	&apos;kmye.fse_7&apos;,	NULL,	&apos;fse_7&apos;,	&apos;0&apos;,	3,	&apos;021121&apos;,	&apos;1&apos;,	&apos;1&apos;,	18912.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;8月借方发生额&apos;,	&apos;kmye.fse_j8&apos;,	NULL,	&apos;fse_j8&apos;,	&apos;0&apos;,	3,	&apos;021122&apos;,	&apos;1&apos;,	&apos;1&apos;,	19316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;8月贷方发生额&apos;,	&apos;kmye.fse_d8&apos;,	NULL,	&apos;fse_d8&apos;,	&apos;0&apos;,	3,	&apos;021123&apos;,	&apos;1&apos;,	&apos;1&apos;,	19720.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;8月发生额&apos;,	&apos;kmye.fse_8&apos;,	NULL,	&apos;fse_8&apos;,	&apos;0&apos;,	3,	&apos;021124&apos;,	&apos;1&apos;,	&apos;1&apos;,	20124.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;9月借方发生额&apos;,	&apos;kmye.fse_j9&apos;,	NULL,	&apos;fse_j9&apos;,	&apos;0&apos;,	3,	&apos;021125&apos;,	&apos;1&apos;,	&apos;1&apos;,	20528.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;9月贷方发生额&apos;,	&apos;kmye.fse_d9&apos;,	NULL,	&apos;fse_d9&apos;,	&apos;0&apos;,	3,	&apos;021126&apos;,	&apos;1&apos;,	&apos;1&apos;,	20932.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;9月发生额&apos;,	&apos;kmye.fse_9&apos;,	NULL,	&apos;fse_9&apos;,	&apos;0&apos;,	3,	&apos;021127&apos;,	&apos;1&apos;,	&apos;1&apos;,	21336.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;10月借方发生额&apos;,	&apos;kmye.fse_j10&apos;,	NULL,	&apos;fse_j10&apos;,	&apos;0&apos;,	3,	&apos;021128&apos;,	&apos;1&apos;,	&apos;1&apos;,	21740.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;10月贷方发生额&apos;,	&apos;kmye.fse_d10&apos;,	NULL,	&apos;fse_d10&apos;,	&apos;0&apos;,	3,	&apos;021129&apos;,	&apos;1&apos;,	&apos;1&apos;,	22144.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;10月发生额&apos;,	&apos;kmye.fse_10&apos;,	NULL,	&apos;fse_10&apos;,	&apos;0&apos;,	3,	&apos;021130&apos;,	&apos;1&apos;,	&apos;1&apos;,	22548.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;11月借方发生额&apos;,	&apos;kmye.fse_j11&apos;,	NULL,	&apos;fse_j11&apos;,	&apos;0&apos;,	3,	&apos;021131&apos;,	&apos;1&apos;,	&apos;1&apos;,	22952.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;11月贷方发生额&apos;,	&apos;kmye.fse_d11&apos;,	NULL,	&apos;fse_d11&apos;,	&apos;0&apos;,	3,	&apos;021132&apos;,	&apos;1&apos;,	&apos;1&apos;,	23356.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;11月发生额&apos;,	&apos;kmye.fse_11&apos;,	NULL,	&apos;fse_11&apos;,	&apos;0&apos;,	3,	&apos;021133&apos;,	&apos;1&apos;,	&apos;1&apos;,	23760.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;12月借方发生额&apos;,	&apos;kmye.fse_j12&apos;,	NULL,	&apos;fse_j12&apos;,	&apos;0&apos;,	3,	&apos;021134&apos;,	&apos;1&apos;,	&apos;1&apos;,	24164.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;12月贷方发生额&apos;,	&apos;kmye.fse_d12&apos;,	NULL,	&apos;fse_d12&apos;,	&apos;0&apos;,	3,	&apos;021135&apos;,	&apos;1&apos;,	&apos;1&apos;,	24568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;12月发生额&apos;,	&apos;kmye.fse_12&apos;,	NULL,	&apos;fse_12&apos;,	&apos;0&apos;,	3,	&apos;021136&apos;,	&apos;1&apos;,	&apos;1&apos;,	24972.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	70,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;c_cwkmk.yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	25380.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;c_cwkmk.yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	25784.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期初调整数&apos;,	&apos;c_cwkmk.yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	26188.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;c_cwkmk.yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	26592.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;c_cwkmk.yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	26996.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异期末调整数&apos;,	&apos;c_cwkmk.yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	27400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	77,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审上期借方发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	27808.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	28212.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审上期发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	28616.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审期初数&apos;,	&apos;c_cwkmk.yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	29020.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审借方发生额&apos;,	&apos;c_cwkmk.yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	29424.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审贷方发生额&apos;,	&apos;c_cwkmk.yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	29828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审发生额&apos;,	&apos;c_cwkmk.yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	30232.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审期末数&apos;,	&apos;c_cwkmk.yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	30636.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初重分类借方&apos;,	&apos;c_cwkmk.qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	31044.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初重分类贷方&apos;,	&apos;c_cwkmk.qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	31448.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初重分类调整数&apos;,	&apos;c_cwkmk.qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	31852.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初调整借方&apos;,	&apos;c_cwkmk.qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	32256.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初调整贷方&apos;,	&apos;c_cwkmk.qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	32660.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初调整调整数&apos;,	&apos;c_cwkmk.qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	33064.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期初调整数&apos;,	&apos;c_cwkmk.qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	33468.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末重分类借方&apos;,	&apos;c_cwkmk.qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	33872.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末重分类贷方&apos;,	&apos;c_cwkmk.qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	34276.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末重分类调整数&apos;,	&apos;c_cwkmk.qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	34680.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末调整借方&apos;,	&apos;c_cwkmk.qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	35084.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末调整贷方&apos;,	&apos;c_cwkmk.qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	35488.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末调整调整数&apos;,	&apos;c_cwkmk.qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	35892.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;期末调整数&apos;,	&apos;c_cwkmk.qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	36296.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;c_cwkmk.g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	36700.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;c_cwkmk.g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	37104.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;c_cwkmk.g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	37508.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;c_cwkmk.g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	37912.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	105,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定上期借方发生额&apos;,	&apos;c_cwkmk.sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	38320.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;c_cwkmk.sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	38724.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定上期发生额&apos;,	&apos;c_cwkmk.sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	39128.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定期初数&apos;,	&apos;c_cwkmk.sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	39532.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定借方发生额&apos;,	&apos;c_cwkmk.sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	39936.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定贷方发生额&apos;,	&apos;c_cwkmk.sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	40340.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定发生额&apos;,	&apos;c_cwkmk.sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	40744.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定期末数&apos;,	&apos;c_cwkmk.sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	41148.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列01&apos;,	&apos;c_cwkmk.c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	41556.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列02&apos;,	&apos;c_cwkmk.c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	41960.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列03&apos;,	&apos;c_cwkmk.c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	42364.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列04&apos;,	&apos;c_cwkmk.c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	42768.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	118,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列05&apos;,	&apos;c_cwkmk.c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	43172.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	119,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列06&apos;,	&apos;c_cwkmk.c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	43576.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	120,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列07&apos;,	&apos;c_cwkmk.c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	43980.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	121,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列08&apos;,	&apos;c_cwkmk.c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	44384.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	122,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列09&apos;,	&apos;c_cwkmk.c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	44788.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	123,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;字符列10&apos;,	&apos;c_cwkmk.c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0710&apos;,	&apos;1&apos;,	&apos;0&apos;,	45192.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	124,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	125,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用1&apos;,	&apos;c_cwkmk.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;0&apos;,	45600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	126,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用2&apos;,	&apos;c_cwkmk.other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	46004.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	127,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用3&apos;,	&apos;c_cwkmk.other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	46408.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	128,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用4&apos;,	&apos;c_cwkmk.other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	46812.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	129,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用5&apos;,	&apos;c_cwkmk.other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	47216.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	130,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;其他备用6&apos;,	&apos;c_cwkmk.other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	47620.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	131,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;抽样方案&apos;,	&apos;c_cwkmk.cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	48024.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	132,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;科目附加信息&apos;,	&apos;c_cwkmk.fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	48428.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	133,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;09&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	134,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0901&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	135,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄01&apos;,	&apos;c_cwkmk.wszl01&apos;,	NULL,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;090101&apos;,	&apos;1&apos;,	&apos;0&apos;,	49428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	136,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄02&apos;,	&apos;c_cwkmk.wszl02&apos;,	NULL,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;090102&apos;,	&apos;1&apos;,	&apos;0&apos;,	49828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	137,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄03&apos;,	&apos;c_cwkmk.wszl03&apos;,	NULL,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;090103&apos;,	&apos;1&apos;,	&apos;0&apos;,	50228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	138,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄04&apos;,	&apos;c_cwkmk.wszl04&apos;,	NULL,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;090104&apos;,	&apos;1&apos;,	&apos;0&apos;,	50628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	139,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄05&apos;,	&apos;c_cwkmk.wszl05&apos;,	NULL,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;090105&apos;,	&apos;1&apos;,	&apos;0&apos;,	51028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	140,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄06&apos;,	&apos;c_cwkmk.wszl06&apos;,	NULL,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;090106&apos;,	&apos;1&apos;,	&apos;0&apos;,	51428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	141,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄07&apos;,	&apos;c_cwkmk.wszl07&apos;,	NULL,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;090107&apos;,	&apos;1&apos;,	&apos;0&apos;,	51828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	142,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄08&apos;,	&apos;c_cwkmk.wszl08&apos;,	NULL,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;090108&apos;,	&apos;1&apos;,	&apos;0&apos;,	52228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	143,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄09&apos;,	&apos;c_cwkmk.wszl09&apos;,	NULL,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;090109&apos;,	&apos;1&apos;,	&apos;0&apos;,	52628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	144,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄10&apos;,	&apos;c_cwkmk.wszl10&apos;,	NULL,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;090110&apos;,	&apos;1&apos;,	&apos;0&apos;,	53028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	145,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄11&apos;,	&apos;c_cwkmk.wszl11&apos;,	NULL,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;090111&apos;,	&apos;1&apos;,	&apos;0&apos;,	53428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	146,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄12&apos;,	&apos;c_cwkmk.wszl12&apos;,	NULL,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;090112&apos;,	&apos;1&apos;,	&apos;0&apos;,	53828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	147,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄13&apos;,	&apos;c_cwkmk.wszl13&apos;,	NULL,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;090113&apos;,	&apos;1&apos;,	&apos;0&apos;,	54228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	148,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄14&apos;,	&apos;c_cwkmk.wszl14&apos;,	NULL,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;090114&apos;,	&apos;1&apos;,	&apos;0&apos;,	54628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	149,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄15&apos;,	&apos;c_cwkmk.wszl15&apos;,	NULL,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;090115&apos;,	&apos;1&apos;,	&apos;0&apos;,	55028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	150,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;未审账龄16&apos;,	&apos;c_cwkmk.wszl16&apos;,	NULL,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;090116&apos;,	&apos;1&apos;,	&apos;0&apos;,	55428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	151,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0902&apos;,	&apos;0&apos;,	&apos;0&apos;,	NULL,	0,	NULL,	&apos;0&apos;,	NULL,	152,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄01&apos;,	&apos;c_cwkmk.tzzl01&apos;,	NULL,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;090201&apos;,	&apos;1&apos;,	&apos;0&apos;,	55828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	153,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄02&apos;,	&apos;c_cwkmk.tzzl02&apos;,	NULL,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;090202&apos;,	&apos;1&apos;,	&apos;0&apos;,	56228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	154,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄03&apos;,	&apos;c_cwkmk.tzzl03&apos;,	NULL,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;090203&apos;,	&apos;1&apos;,	&apos;0&apos;,	56628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	155,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄04&apos;,	&apos;c_cwkmk.tzzl04&apos;,	NULL,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;090204&apos;,	&apos;1&apos;,	&apos;0&apos;,	57028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	156,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄05&apos;,	&apos;c_cwkmk.tzzl05&apos;,	NULL,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;090205&apos;,	&apos;1&apos;,	&apos;0&apos;,	57428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	157,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄06&apos;,	&apos;c_cwkmk.tzzl06&apos;,	NULL,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;090206&apos;,	&apos;1&apos;,	&apos;0&apos;,	57828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	158,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄07&apos;,	&apos;c_cwkmk.tzzl07&apos;,	NULL,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;090207&apos;,	&apos;1&apos;,	&apos;0&apos;,	58228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	159,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄08&apos;,	&apos;c_cwkmk.tzzl08&apos;,	NULL,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;090208&apos;,	&apos;1&apos;,	&apos;0&apos;,	58628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	160,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄09&apos;,	&apos;c_cwkmk.tzzl09&apos;,	NULL,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;090209&apos;,	&apos;1&apos;,	&apos;0&apos;,	59028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	161,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄10&apos;,	&apos;c_cwkmk.tzzl10&apos;,	NULL,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;090210&apos;,	&apos;1&apos;,	&apos;0&apos;,	59428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	162,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄11&apos;,	&apos;c_cwkmk.tzzl11&apos;,	NULL,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;090211&apos;,	&apos;1&apos;,	&apos;0&apos;,	59828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	163,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄12&apos;,	&apos;c_cwkmk.tzzl12&apos;,	NULL,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;090212&apos;,	&apos;1&apos;,	&apos;0&apos;,	60228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	164,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄13&apos;,	&apos;c_cwkmk.tzzl13&apos;,	NULL,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;090213&apos;,	&apos;1&apos;,	&apos;0&apos;,	60628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	165,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄14&apos;,	&apos;c_cwkmk.tzzl14&apos;,	NULL,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;090214&apos;,	&apos;1&apos;,	&apos;0&apos;,	61028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	166,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄15&apos;,	&apos;c_cwkmk.tzzl15&apos;,	NULL,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;090215&apos;,	&apos;1&apos;,	&apos;0&apos;,	61428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	167,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;调整账龄16&apos;,	&apos;c_cwkmk.tzzl16&apos;,	NULL,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;090216&apos;,	&apos;1&apos;,	&apos;0&apos;,	61828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	168,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0903&apos;,	&apos;0&apos;,	&apos;0&apos;,	NULL,	0,	NULL,	&apos;0&apos;,	NULL,	169,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄01&apos;,	&apos;(c_cwkmk.wszl01+c_cwkmk.tzzl01)&apos;,	NULL,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;090301&apos;,	&apos;1&apos;,	&apos;0&apos;,	62228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	170,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄02&apos;,	&apos;(c_cwkmk.wszl02+c_cwkmk.tzzl02)&apos;,	NULL,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;090302&apos;,	&apos;1&apos;,	&apos;0&apos;,	62628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	171,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄03&apos;,	&apos;(c_cwkmk.wszl03+c_cwkmk.tzzl03)&apos;,	NULL,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;090303&apos;,	&apos;1&apos;,	&apos;0&apos;,	63028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	172,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄04&apos;,	&apos;(c_cwkmk.wszl04+c_cwkmk.tzzl04)&apos;,	NULL,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;090304&apos;,	&apos;1&apos;,	&apos;0&apos;,	63428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	173,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄05&apos;,	&apos;(c_cwkmk.wszl05+c_cwkmk.tzzl05)&apos;,	NULL,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;090305&apos;,	&apos;1&apos;,	&apos;0&apos;,	63828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	174,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄06&apos;,	&apos;(c_cwkmk.wszl06+c_cwkmk.tzzl06)&apos;,	NULL,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;090306&apos;,	&apos;1&apos;,	&apos;0&apos;,	64228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	175,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄07&apos;,	&apos;(c_cwkmk.wszl07+c_cwkmk.tzzl07)&apos;,	NULL,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;090307&apos;,	&apos;1&apos;,	&apos;0&apos;,	64628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	176,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄08&apos;,	&apos;(c_cwkmk.wszl08+c_cwkmk.tzzl08)&apos;,	NULL,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;090308&apos;,	&apos;1&apos;,	&apos;0&apos;,	65028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	177,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄09&apos;,	&apos;(c_cwkmk.wszl09+c_cwkmk.tzzl09)&apos;,	NULL,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;090309&apos;,	&apos;1&apos;,	&apos;0&apos;,	65428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	178,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄10&apos;,	&apos;(c_cwkmk.wszl10+c_cwkmk.tzzl10)&apos;,	NULL,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;090310&apos;,	&apos;1&apos;,	&apos;0&apos;,	65828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	179,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄11&apos;,	&apos;(c_cwkmk.wszl11+c_cwkmk.tzzl11)&apos;,	NULL,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;090311&apos;,	&apos;1&apos;,	&apos;0&apos;,	66228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	180,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄12&apos;,	&apos;(c_cwkmk.wszl12+c_cwkmk.tzzl12)&apos;,	NULL,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;090312&apos;,	&apos;1&apos;,	&apos;0&apos;,	66628.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	181,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄13&apos;,	&apos;(c_cwkmk.wszl13+c_cwkmk.tzzl13)&apos;,	NULL,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;090313&apos;,	&apos;1&apos;,	&apos;0&apos;,	67028.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	182,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄14&apos;,	&apos;(c_cwkmk.wszl14+c_cwkmk.tzzl14)&apos;,	NULL,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;090314&apos;,	&apos;1&apos;,	&apos;0&apos;,	67428.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	183,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄15&apos;,	&apos;(c_cwkmk.wszl15+c_cwkmk.tzzl15)&apos;,	NULL,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;090315&apos;,	&apos;1&apos;,	&apos;0&apos;,	67828.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	184,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0002&apos;,	&apos;审定账龄16&apos;,	&apos;(c_cwkmk.wszl16+c_cwkmk.tzzl16)&apos;,	NULL,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;090316&apos;,	&apos;1&apos;,	&apos;0&apos;,	68228.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	185,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	197.00,	320.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	526.00,	320.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	855.00,	421.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1285.00,	558.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1851.00,	302.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2162.00,	279.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2450.00,	293.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2752.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	NULL,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3163.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3575.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	NULL,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3986.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	NULL,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4398.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;期初数量&apos;,	&apos;qcs_sl&apos;,	NULL,	&apos;qcs_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4809.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;借方数量&apos;,	&apos;jffse_sl&apos;,	NULL,	&apos;jffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5221.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;期末数量&apos;,	&apos;qms_sl&apos;,	NULL,	&apos;qms_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5632.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;发生额数量&apos;,	&apos;fse_sl&apos;,	NULL,	&apos;fse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6043.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;贷方数量&apos;,	&apos;dffse_sl&apos;,	NULL,	&apos;dffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6455.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6866.00,	453.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7328.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	8338.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	9677.00,	1106.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0005&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>380</no><make_date>2010-10-21 17:54:20.968000</make_date><note>修改基本表列信息-插入数据4</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	187.00,	261.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	457.00,	201.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;记账时间&apos;,	&apos;jzsj&apos;,	NULL,	&apos;jzsj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	667.00,	288.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;凭证编号&apos;,	&apos;pzbh&apos;,	NULL,	&apos;pzbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	965.00,	274.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;凭证种类&apos;,	&apos;pzzl&apos;,	NULL,	&apos;pzzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1248.00,	251.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1509.00,	165.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;业务说明&apos;,	&apos;sm&apos;,	NULL,	&apos;sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1682.00,	809.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2501.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2912.00,	512.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3433.00,	567.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4009.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	NULL,	&apos;jffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4421.00,	439.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	NULL,	&apos;dffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4869.00,	443.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;借方数量&apos;,	&apos;jfsl&apos;,	NULL,	&apos;jfsl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5321.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;贷方数量&apos;,	&apos;dfsl&apos;,	NULL,	&apos;dfsl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5733.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;借方单价&apos;,	&apos;jfdj&apos;,	NULL,	&apos;jfdj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6144.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;贷方单价&apos;,	&apos;dfdj&apos;,	NULL,	&apos;dfdj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6555.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;对方科目名称&apos;,	&apos;dfkmmc&apos;,	NULL,	&apos;dfkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6967.00,	741.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;汇率&apos;,	&apos;hl&apos;,	NULL,	&apos;hl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7717.00,	366.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;货币种类&apos;,	&apos;hbzl&apos;,	NULL,	&apos;hbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8091.00,	238.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;附件张数&apos;,	&apos;pzzs&apos;,	NULL,	&apos;pzzs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8338.00,	247.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	8594.00,	2048.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;抽疑说明&apos;,	&apos;cysm&apos;,	NULL,	&apos;cysm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10651.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;抽疑标记&apos;,	&apos;chouyi&apos;,	NULL,	&apos;chouyi&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12000.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12027.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;凭证标记&apos;,	&apos;pzbj&apos;,	NULL,	&apos;pzbj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13376.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;抽样标记&apos;,	&apos;chouyang&apos;,	NULL,	&apos;chouyang&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13403.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	17701.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	18053.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	18391.00,	302.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	18702.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	19054.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;对方科目编码&apos;,	&apos;dfkmbh&apos;,	NULL,	&apos;dfkmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	19369.00,	517.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;是否审核&apos;,	&apos;sfsh&apos;,	NULL,	&apos;sfsh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	19895.00,	247.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0006&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	567.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	782.00,	320.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1113.00,	544.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	NULL,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1673.00,	361.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目类别&apos;,	&apos;kmlb&apos;,	NULL,	&apos;kmlb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2051.00,	215.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2280.00,	261.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2553.00,	238.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	66606.00,	2661.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69280.00,	110.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年期初数&apos;,	&apos;sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2806.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年期初数_外币&apos;,	&apos;sn_qcs_f&apos;,	NULL,	&apos;sn_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	3222.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3640.00,	558.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面借方发生额_外币&apos;,	&apos;sn_ws_fse_j_f&apos;,	NULL,	&apos;sn_ws_fse_j_f&apos;,	&apos;1&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4211.00,	704.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;1&apos;,	4931.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面贷方发生额_外币&apos;,	&apos;sn_ws_fse_d_f&apos;,	NULL,	&apos;sn_ws_fse_d_f&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;1&apos;,	5520.00,	681.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面发生额&apos;,	&apos;sn_fse&apos;,	NULL,	&apos;sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;1&apos;,	6217.00,	456.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年账面发生额_外币&apos;,	&apos;sn_fse_f&apos;,	NULL,	&apos;sn_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;1&apos;,	6686.00,	567.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	7268.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面期初数_外币&apos;,	&apos;ws_qcs_f&apos;,	NULL,	&apos;ws_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	7686.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	8102.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面借方发生额_外币&apos;,	&apos;ws_fse_j_f&apos;,	NULL,	&apos;ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	8520.00,	548.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	9080.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面贷方发生额_外币&apos;,	&apos;ws_fse_d_f&apos;,	NULL,	&apos;ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;1&apos;,	9497.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;1&apos;,	10017.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面发生额_外币&apos;,	&apos;ws_fse_f&apos;,	NULL,	&apos;ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;1&apos;,	10433.00,	477.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;1&apos;,	10926.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账面期末数_外币&apos;,	&apos;ws_qms_f&apos;,	NULL,	&apos;ws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;1&apos;,	11342.00,	492.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账表差异调整&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整借方金额&apos;,	&apos;yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	11851.00,	705.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整借方金额_外币&apos;,	&apos;yqc_cfl_j_f&apos;,	NULL,	&apos;yqc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	12571.00,	818.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整贷方金额&apos;,	&apos;yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	13406.00,	701.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整贷方金额_外币&apos;,	&apos;yqc_cfl_d_f&apos;,	NULL,	&apos;yqc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	14120.00,	846.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整金额&apos;,	&apos;yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	14977.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账表差异调整金额_外币&apos;,	&apos;yqc_cfl_tzs_f&apos;,	NULL,	&apos;yqc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	15582.00,	762.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整借方金额&apos;,	&apos;yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0307&apos;,	&apos;1&apos;,	&apos;1&apos;,	16360.00,	681.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整借方金额_外币&apos;,	&apos;yqm_cfl_j_f&apos;,	NULL,	&apos;yqm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0308&apos;,	&apos;1&apos;,	&apos;1&apos;,	17057.00,	846.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整贷方金额&apos;,	&apos;yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0309&apos;,	&apos;1&apos;,	&apos;1&apos;,	17913.00,	681.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整贷方金额_外币&apos;,	&apos;yqm_cfl_d_f&apos;,	NULL,	&apos;yqm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0310&apos;,	&apos;1&apos;,	&apos;1&apos;,	18611.00,	818.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整金额&apos;,	&apos;yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0311&apos;,	&apos;1&apos;,	&apos;1&apos;,	19446.00,	655.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账表差异调整金额_外币&apos;,	&apos;yqm_cfl_tzs_f&apos;,	NULL,	&apos;yqm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0312&apos;,	&apos;1&apos;,	&apos;1&apos;,	20113.00,	736.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	24166.00,	630.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年贷方发生额_外币&apos;,	&apos;ysn_ws_fse_d_f&apos;,	NULL,	&apos;ysn_ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	24811.00,	610.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	25433.00,	574.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年借方发生额_外币&apos;,	&apos;ysn_ws_fse_j_f&apos;,	NULL,	&apos;ysn_ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	26022.00,	736.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年发生额&apos;,	&apos;ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	26771.00,	521.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审上年发生额_外币&apos;,	&apos;ysn_ws_fse_f&apos;,	NULL,	&apos;ysn_ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	27308.00,	726.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	28051.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审期初数_外币&apos;,	&apos;yws_qcs_f&apos;,	NULL,	&apos;yws_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	28468.00,	620.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0409&apos;,	&apos;1&apos;,	&apos;1&apos;,	29102.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审借方发生额_外币&apos;,	&apos;yws_fse_j_f&apos;,	NULL,	&apos;yws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0410&apos;,	&apos;1&apos;,	&apos;1&apos;,	29520.00,	610.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0411&apos;,	&apos;1&apos;,	&apos;1&apos;,	30142.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审贷方发生额_外币&apos;,	&apos;yws_fse_d_f&apos;,	NULL,	&apos;yws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0412&apos;,	&apos;1&apos;,	&apos;1&apos;,	30560.00,	614.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0413&apos;,	&apos;1&apos;,	&apos;1&apos;,	31188.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审发生额_外币&apos;,	&apos;yws_fse_f&apos;,	NULL,	&apos;yws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0414&apos;,	&apos;1&apos;,	&apos;1&apos;,	31606.00,	558.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0415&apos;,	&apos;1&apos;,	&apos;1&apos;,	32177.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;未审期末数_外币&apos;,	&apos;yws_qms_f&apos;,	NULL,	&apos;yws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0416&apos;,	&apos;1&apos;,	&apos;1&apos;,	32593.00,	539.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	60,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	20862.00,	731.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账表差异滚调影响期末数借方_外币&apos;,	&apos;g_yqm_tz_j_f&apos;,	NULL,	&apos;g_yqm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	21606.00,	873.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	22491.00,	736.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;账表差异滚调影响期末数贷方_外币&apos;,	&apos;g_yqm_tz_d_f&apos;,	NULL,	&apos;g_yqm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	23240.00,	914.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	33148.00,	462.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类借方_外币&apos;,	&apos;qc_cfl_j_f&apos;,	NULL,	&apos;qc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	33622.00,	610.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	34246.00,	498.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类贷方_外币&apos;,	&apos;qc_cfl_d_f&apos;,	NULL,	&apos;qc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	34760.00,	588.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	35366.00,	497.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初重分类调整数_外币&apos;,	&apos;qc_cfl_tzs_f&apos;,	NULL,	&apos;qc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	35880.00,	645.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整借方&apos;,	&apos;qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	36537.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整借方_外币&apos;,	&apos;qc_tz_j_f&apos;,	NULL,	&apos;qc_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	37051.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整贷方&apos;,	&apos;qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	37713.00,	482.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整贷方_外币&apos;,	&apos;qc_tz_d_f&apos;,	NULL,	&apos;qc_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	38206.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整数&apos;,	&apos;qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	38793.00,	539.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初账项调整数_外币&apos;,	&apos;qc_tz_tzs_f&apos;,	NULL,	&apos;qc_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	39348.00,	598.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	39960.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期初调整数_外币&apos;,	&apos;qc_tzs_f&apos;,	NULL,	&apos;qc_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	40377.00,	548.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0519&apos;,	&apos;1&apos;,	&apos;1&apos;,	40937.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类借方_外币&apos;,	&apos;qm_cfl_j_f&apos;,	NULL,	&apos;qm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0520&apos;,	&apos;1&apos;,	&apos;1&apos;,	41353.00,	578.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0521&apos;,	&apos;1&apos;,	&apos;1&apos;,	41942.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类贷方_外币&apos;,	&apos;qm_cfl_d_f&apos;,	NULL,	&apos;qm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0522&apos;,	&apos;1&apos;,	&apos;1&apos;,	42360.00,	584.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0523&apos;,	&apos;1&apos;,	&apos;1&apos;,	42960.00,	462.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末重分类调整数_外币&apos;,	&apos;qm_cfl_tzs_f&apos;,	NULL,	&apos;qm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0524&apos;,	&apos;1&apos;,	&apos;1&apos;,	43433.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整借方&apos;,	&apos;qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0525&apos;,	&apos;1&apos;,	&apos;1&apos;,	44040.00,	489.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整借方_外币&apos;,	&apos;qm_tz_j_f&apos;,	NULL,	&apos;qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0526&apos;,	&apos;1&apos;,	&apos;1&apos;,	44542.00,	588.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整贷方&apos;,	&apos;qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0527&apos;,	&apos;1&apos;,	&apos;1&apos;,	45148.00,	523.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整贷方_外币&apos;,	&apos;qm_tz_d_f&apos;,	NULL,	&apos;qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0528&apos;,	&apos;1&apos;,	&apos;1&apos;,	45686.00,	604.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整数&apos;,	&apos;qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0529&apos;,	&apos;1&apos;,	&apos;1&apos;,	46302.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末账项调整数_外币&apos;,	&apos;qm_tz_tzs_f&apos;,	NULL,	&apos;qm_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0530&apos;,	&apos;1&apos;,	&apos;1&apos;,	46720.00,	568.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0531&apos;,	&apos;1&apos;,	&apos;1&apos;,	47302.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;期末调整数_外币&apos;,	&apos;qm_tzs_f&apos;,	NULL,	&apos;qm_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0532&apos;,	&apos;1&apos;,	&apos;1&apos;,	47720.00,	472.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0533&apos;,	&apos;1&apos;,	&apos;1&apos;,	48206.00,	837.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;调整分录滚调影响期末数借方_外币&apos;,	&apos;g_qm_tz_j_f&apos;,	NULL,	&apos;g_qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0534&apos;,	&apos;1&apos;,	&apos;1&apos;,	49057.00,	901.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0535&apos;,	&apos;1&apos;,	&apos;1&apos;,	49971.00,	777.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;调整分录滚调影响期末数贷方_外币&apos;,	&apos;g_qm_tz_d_f&apos;,	NULL,	&apos;g_qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0536&apos;,	&apos;1&apos;,	&apos;1&apos;,	50760.00,	934.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	97,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	51708.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定借方发生额_外币&apos;,	&apos;sn_sd_fse_j_f&apos;,	NULL,	&apos;sn_sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	52313.00,	686.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	53011.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定贷方发生额_外币&apos;,	&apos;sn_sd_fse_d_f&apos;,	NULL,	&apos;sn_sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	53617.00,	695.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定发生额&apos;,	&apos;sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	54326.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;上年审定发生额_外币&apos;,	&apos;sn_sd_fse_f&apos;,	NULL,	&apos;sn_sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	54742.00,	614.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	55371.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定期初数_外币&apos;,	&apos;sd_qcs_f&apos;,	NULL,	&apos;sd_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	55788.00,	498.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0609&apos;,	&apos;1&apos;,	&apos;1&apos;,	56302.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定借方发生额_外币&apos;,	&apos;sd_fse_j_f&apos;,	NULL,	&apos;sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0610&apos;,	&apos;1&apos;,	&apos;1&apos;,	56817.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0611&apos;,	&apos;1&apos;,	&apos;1&apos;,	57422.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定贷方发生额_外币&apos;,	&apos;sd_fse_d_f&apos;,	NULL,	&apos;sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0612&apos;,	&apos;1&apos;,	&apos;1&apos;,	57840.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0613&apos;,	&apos;1&apos;,	&apos;1&apos;,	58406.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定发生额_外币&apos;,	&apos;sd_fse_f&apos;,	NULL,	&apos;sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0614&apos;,	&apos;1&apos;,	&apos;1&apos;,	58822.00,	489.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0615&apos;,	&apos;1&apos;,	&apos;1&apos;,	59326.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;审定期末数_外币&apos;,	&apos;sd_qms_f&apos;,	NULL,	&apos;sd_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0616&apos;,	&apos;1&apos;,	&apos;1&apos;,	59742.00,	485.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;1&apos;,	60240.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;凭证数量&apos;,	&apos;pzsl&apos;,	NULL,	&apos;pzsl&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	60657.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	61000.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	62399.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	118,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	62728.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	119,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	63057.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	120,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	63386.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	121,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	63715.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	122,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0007&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	64044.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	123,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;会计年度&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	201.00,	265.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;会计期间&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	475.00,	283.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	768.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1161.00,	347.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1518.00,	526.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	NULL,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2053.00,	274.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2336.00,	283.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2629.00,	261.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	NULL,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2898.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	NULL,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3237.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3648.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4059.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	NULL,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4471.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	NULL,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4882.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;期初数_外币&apos;,	&apos;qcs_f&apos;,	NULL,	&apos;qcs_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5294.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	NULL,	&apos;jffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5705.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	NULL,	&apos;dffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6217.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;发生额_外币&apos;,	&apos;fse_f&apos;,	NULL,	&apos;fse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6629.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;期末数_外币&apos;,	&apos;qms_f&apos;,	NULL,	&apos;qms_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7040.00,	512.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7561.00,	576.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	8146.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	9554.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	9893.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10231.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10569.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	11977.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12315.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0008&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13723.00,	2661.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	187.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	695.00,	288.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	992.00,	475.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1477.00,	293.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1778.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;核算项目编号&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2286.00,	338.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2633.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69193.00,	2583.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期期初数&apos;,	&apos;sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	3141.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面上期借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	3552.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	4114.00,	517.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面上期发生额&apos;,	&apos;sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4640.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期发生额数量&apos;,	&apos;sn_ws_fse_sl&apos;,	NULL,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	60654.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期贷方数量&apos;,	&apos;sn_ws_fse_d_sl&apos;,	NULL,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	62789.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期借方数量&apos;,	&apos;sn_ws_fse_j_sl&apos;,	NULL,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	64923.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;上期期初数量&apos;,	&apos;sn_qcs_sl&apos;,	NULL,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	67058.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	5051.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	5463.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	5874.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	6286.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	6697.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末数量&apos;,	&apos;ws_qms_sl&apos;,	NULL,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	49979.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;发生额数量&apos;,	&apos;ws_fse_sl&apos;,	NULL,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	52114.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;贷方数量&apos;,	&apos;ws_fse_d_sl&apos;,	NULL,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	54249.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;借方数量&apos;,	&apos;ws_fse_j_sl&apos;,	NULL,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	56384.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初数量&apos;,	&apos;ws_qcs_sl&apos;,	NULL,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	58519.00,	2126.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	7109.00,	709.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	7826.00,	718.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期初调整数&apos;,	&apos;yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	8553.00,	645.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	9207.00,	690.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	9906.00,	786.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异期末调整数&apos;,	&apos;yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	10702.00,	613.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审上年借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	11323.00,	635.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审上年借贷发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	11968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审上年发生额&apos;,	&apos;ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	12379.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	12791.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	13202.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	13614.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	14025.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	14437.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	14848.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	15259.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	15671.00,	635.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初调整借方&apos;,	&apos;qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	16315.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初调整贷方&apos;,	&apos;qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	16878.00,	535.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初调整调整数&apos;,	&apos;qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	17422.00,	517.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	17947.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	18359.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	18770.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	19182.00,	521.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末调整借方&apos;,	&apos;qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	19712.00,	603.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末调整贷方&apos;,	&apos;qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	20325.00,	581.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末调整调整数&apos;,	&apos;qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	20914.00,	466.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	21390.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	21801.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	22213.00,	741.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	22962.00,	759.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	23730.00,	718.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	64,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定上年借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	24457.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	25061.00,	571.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定上期发生额&apos;,	&apos;sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	25641.00,	526.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	26176.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	26587.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	26999.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	27410.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	27822.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	73,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	74,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄01&apos;,	&apos;wszl01&apos;,	NULL,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;070101&apos;,	&apos;1&apos;,	&apos;0&apos;,	26568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄02&apos;,	&apos;wszl02&apos;,	NULL,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;070102&apos;,	&apos;1&apos;,	&apos;0&apos;,	26968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄03&apos;,	&apos;wszl03&apos;,	NULL,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;070103&apos;,	&apos;1&apos;,	&apos;0&apos;,	27368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄04&apos;,	&apos;wszl04&apos;,	NULL,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;070104&apos;,	&apos;1&apos;,	&apos;0&apos;,	27768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄05&apos;,	&apos;wszl05&apos;,	NULL,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;070105&apos;,	&apos;1&apos;,	&apos;0&apos;,	28168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄06&apos;,	&apos;wszl06&apos;,	NULL,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;070106&apos;,	&apos;1&apos;,	&apos;0&apos;,	28568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄07&apos;,	&apos;wszl07&apos;,	NULL,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;070107&apos;,	&apos;1&apos;,	&apos;0&apos;,	28968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄08&apos;,	&apos;wszl08&apos;,	NULL,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;070108&apos;,	&apos;1&apos;,	&apos;0&apos;,	29368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄09&apos;,	&apos;wszl09&apos;,	NULL,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;070109&apos;,	&apos;1&apos;,	&apos;0&apos;,	29768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄10&apos;,	&apos;wszl10&apos;,	NULL,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;070110&apos;,	&apos;1&apos;,	&apos;0&apos;,	30168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄11&apos;,	&apos;wszl11&apos;,	NULL,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;070111&apos;,	&apos;1&apos;,	&apos;0&apos;,	30568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄12&apos;,	&apos;wszl12&apos;,	NULL,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;070112&apos;,	&apos;1&apos;,	&apos;0&apos;,	30968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄13&apos;,	&apos;wszl13&apos;,	NULL,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;070113&apos;,	&apos;1&apos;,	&apos;0&apos;,	31368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄14&apos;,	&apos;wszl14&apos;,	NULL,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;070114&apos;,	&apos;1&apos;,	&apos;0&apos;,	31768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄15&apos;,	&apos;wszl15&apos;,	NULL,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;070115&apos;,	&apos;1&apos;,	&apos;0&apos;,	32168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;未审账龄16&apos;,	&apos;wszl16&apos;,	NULL,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;070116&apos;,	&apos;1&apos;,	&apos;0&apos;,	32568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	91,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄01&apos;,	&apos;tzzl01&apos;,	NULL,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;070201&apos;,	&apos;1&apos;,	&apos;0&apos;,	33368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄02&apos;,	&apos;tzzl02&apos;,	NULL,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;070202&apos;,	&apos;1&apos;,	&apos;0&apos;,	33768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄03&apos;,	&apos;tzzl03&apos;,	NULL,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;070203&apos;,	&apos;1&apos;,	&apos;0&apos;,	34168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄04&apos;,	&apos;tzzl04&apos;,	NULL,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;070204&apos;,	&apos;1&apos;,	&apos;0&apos;,	34568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄05&apos;,	&apos;tzzl05&apos;,	NULL,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;070205&apos;,	&apos;1&apos;,	&apos;0&apos;,	34968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄06&apos;,	&apos;tzzl06&apos;,	NULL,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;070206&apos;,	&apos;1&apos;,	&apos;0&apos;,	35368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄07&apos;,	&apos;tzzl07&apos;,	NULL,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;070207&apos;,	&apos;1&apos;,	&apos;0&apos;,	35768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄08&apos;,	&apos;tzzl08&apos;,	NULL,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;070208&apos;,	&apos;1&apos;,	&apos;0&apos;,	36168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄09&apos;,	&apos;tzzl09&apos;,	NULL,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;070209&apos;,	&apos;1&apos;,	&apos;0&apos;,	36568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄10&apos;,	&apos;tzzl10&apos;,	NULL,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;070210&apos;,	&apos;1&apos;,	&apos;0&apos;,	36968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄11&apos;,	&apos;tzzl11&apos;,	NULL,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;070211&apos;,	&apos;1&apos;,	&apos;0&apos;,	37368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄12&apos;,	&apos;tzzl12&apos;,	NULL,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;070212&apos;,	&apos;1&apos;,	&apos;0&apos;,	37768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄13&apos;,	&apos;tzzl13&apos;,	NULL,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;070213&apos;,	&apos;1&apos;,	&apos;0&apos;,	38168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄14&apos;,	&apos;tzzl14&apos;,	NULL,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;070214&apos;,	&apos;1&apos;,	&apos;0&apos;,	38568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄15&apos;,	&apos;tzzl15&apos;,	NULL,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;070215&apos;,	&apos;1&apos;,	&apos;0&apos;,	38968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;调整账龄16&apos;,	&apos;tzzl16&apos;,	NULL,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;070216&apos;,	&apos;1&apos;,	&apos;0&apos;,	39368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	108,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄01&apos;,	&apos;wszl01 + tzzl01&apos;,	NULL,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;070301&apos;,	&apos;1&apos;,	&apos;0&apos;,	40168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄02&apos;,	&apos;wszl02 + tzzl02&apos;,	NULL,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;070302&apos;,	&apos;1&apos;,	&apos;0&apos;,	40568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄03&apos;,	&apos;wszl03 + tzzl03&apos;,	NULL,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;070303&apos;,	&apos;1&apos;,	&apos;0&apos;,	40968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄04&apos;,	&apos;wszl04 + tzzl04&apos;,	NULL,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;070304&apos;,	&apos;1&apos;,	&apos;0&apos;,	41368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄05&apos;,	&apos;wszl05 + tzzl05&apos;,	NULL,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;070305&apos;,	&apos;1&apos;,	&apos;0&apos;,	41768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄06&apos;,	&apos;wszl06 + tzzl06&apos;,	NULL,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;070306&apos;,	&apos;1&apos;,	&apos;0&apos;,	42168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	114,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄07&apos;,	&apos;wszl07 + tzzl07&apos;,	NULL,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;070307&apos;,	&apos;1&apos;,	&apos;0&apos;,	42568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	115,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄08&apos;,	&apos;wszl08 + tzzl08&apos;,	NULL,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;070308&apos;,	&apos;1&apos;,	&apos;0&apos;,	42968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	116,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄09&apos;,	&apos;wszl09+ tzzl09&apos;,	NULL,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;070309&apos;,	&apos;1&apos;,	&apos;0&apos;,	43368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	117,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄10&apos;,	&apos;wszl10 + tzzl10&apos;,	NULL,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;070310&apos;,	&apos;1&apos;,	&apos;0&apos;,	43768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	118,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄11&apos;,	&apos;wszl11 + tzzl11&apos;,	NULL,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;070311&apos;,	&apos;1&apos;,	&apos;0&apos;,	44168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	119,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄12&apos;,	&apos;wszl12 + tzzl12&apos;,	NULL,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;070312&apos;,	&apos;1&apos;,	&apos;0&apos;,	44568.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	120,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄13&apos;,	&apos;wszl13 + tzzl13&apos;,	NULL,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;070313&apos;,	&apos;1&apos;,	&apos;0&apos;,	44968.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	121,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄14&apos;,	&apos;wszl14 + tzzl14&apos;,	NULL,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;070314&apos;,	&apos;1&apos;,	&apos;0&apos;,	45368.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	122,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄15&apos;,	&apos;wszl15+ tzzl15&apos;,	NULL,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;070315&apos;,	&apos;1&apos;,	&apos;0&apos;,	45768.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	123,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;审定账龄16&apos;,	&apos;wszl16 + tzzl16&apos;,	NULL,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;070316&apos;,	&apos;1&apos;,	&apos;0&apos;,	46168.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	124,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	125,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;1&apos;,	28233.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	126,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;凭证数量&apos;,	&apos;pzsl&apos;,	NULL,	&apos;pzsl&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	28741.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	127,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	30875.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	128,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	36494.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	129,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	37842.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	130,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	39191.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	131,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	40539.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	132,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	41888.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	133,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0809&apos;,	&apos;1&apos;,	&apos;0&apos;,	43237.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	134,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0810&apos;,	&apos;1&apos;,	&apos;0&apos;,	44585.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	135,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0811&apos;,	&apos;1&apos;,	&apos;0&apos;,	45934.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	136,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0812&apos;,	&apos;1&apos;,	&apos;0&apos;,	47282.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	137,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0813&apos;,	&apos;1&apos;,	&apos;0&apos;,	48631.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	138,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期末未更正数&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0814&apos;,	&apos;1&apos;,	&apos;0&apos;,	32224.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	139,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;期初未更正数&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0815&apos;,	&apos;1&apos;,	&apos;0&apos;,	34359.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	140,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0816&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	141,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0817&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	142,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0818&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	143,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0819&apos;,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	144,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>390</no><make_date>2010-10-21 17:55:19.718000</make_date><note>修改基本表列信息-插入数据5</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;科目编号&apos;,	&apos;c_hsxm_zz.kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	300.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;科目名称&apos;,	&apos;c_hsxm_zz.kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;借贷方向&apos;,	&apos;c_hsxm_zz.jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;科目伪码&apos;,	&apos;c_hsxm_zz.kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	850.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;核算项目类型编号&apos;,	&apos;c_hsxm_zz.hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1650.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;核算项目类型名称&apos;,	&apos;c_hsxm_zz.hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1750.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;核算项目编号&apos;,	&apos;c_hsxm_zz.hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1950.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;核算项目名称&apos;,	&apos;c_hsxm_zz.hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	2750.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期期初数&apos;,	&apos;c_hsxm_zz.sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面上期借方发生额&apos;,	&apos;c_hsxm_zz.sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	3200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;c_hsxm_zz.sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面上期发生额&apos;,	&apos;c_hsxm_zz.sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期期初数量&apos;,	&apos;c_hsxm_zz.sn_qcs_sl&apos;,	NULL,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	4400.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期借方数量&apos;,	&apos;c_hsxm_zz.sn_ws_fse_j_sl&apos;,	NULL,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	4800.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期贷方数量&apos;,	&apos;c_hsxm_zz.sn_ws_fse_d_sl&apos;,	NULL,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	5200.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;上期发生额数量&apos;,	&apos;c_hsxm_zz.sn_ws_fse_sl&apos;,	NULL,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	5600.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面期初数&apos;,	&apos;c_hsxm_zz.ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	6000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面借方发生额&apos;,	&apos;c_hsxm_zz.ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	6400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面贷方发生额&apos;,	&apos;c_hsxm_zz.ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	6800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面发生额&apos;,	&apos;c_hsxm_zz.ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	7200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账面期末数&apos;,	&apos;c_hsxm_zz.ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	7600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初数量&apos;,	&apos;c_hsxm_zz.ws_qcs_sl&apos;,	NULL,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	8000.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;借方数量&apos;,	&apos;c_hsxm_zz.ws_fse_j_sl&apos;,	NULL,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	8400.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;贷方数量&apos;,	&apos;c_hsxm_zz.ws_fse_d_sl&apos;,	NULL,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	8800.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;发生额数量&apos;,	&apos;c_hsxm_zz.ws_fse_sl&apos;,	NULL,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	9200.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末数量&apos;,	&apos;c_hsxm_zz.ws_qms_sl&apos;,	NULL,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	9600.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;月发生额&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0211&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;1月借方发生额&apos;,	&apos;kmye.fse_j1&apos;,	NULL,	&apos;fse_j1&apos;,	&apos;0&apos;,	3,	&apos;021101&apos;,	&apos;1&apos;,	&apos;1&apos;,	10000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;1月贷方发生额&apos;,	&apos;kmye.fse_d1&apos;,	NULL,	&apos;fse_d1&apos;,	&apos;0&apos;,	3,	&apos;021102&apos;,	&apos;1&apos;,	&apos;1&apos;,	10400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;1月发生额&apos;,	&apos;kmye.fse_1&apos;,	NULL,	&apos;fse_1&apos;,	&apos;0&apos;,	3,	&apos;021103&apos;,	&apos;1&apos;,	&apos;1&apos;,	10800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;2月借方发生额&apos;,	&apos;kmye.fse_j2&apos;,	NULL,	&apos;fse_j2&apos;,	&apos;0&apos;,	3,	&apos;021104&apos;,	&apos;1&apos;,	&apos;1&apos;,	11200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;2月贷方发生额&apos;,	&apos;kmye.fse_d2&apos;,	NULL,	&apos;fse_d2&apos;,	&apos;0&apos;,	3,	&apos;021105&apos;,	&apos;1&apos;,	&apos;1&apos;,	11600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;2月发生额&apos;,	&apos;kmye.fse_2&apos;,	NULL,	&apos;fse_2&apos;,	&apos;0&apos;,	3,	&apos;021106&apos;,	&apos;1&apos;,	&apos;1&apos;,	12000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;3月借方发生额&apos;,	&apos;kmye.fse_j3&apos;,	NULL,	&apos;fse_j3&apos;,	&apos;0&apos;,	3,	&apos;021107&apos;,	&apos;1&apos;,	&apos;1&apos;,	12400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;3月贷方发生额&apos;,	&apos;kmye.fse_d3&apos;,	NULL,	&apos;fse_d3&apos;,	&apos;0&apos;,	3,	&apos;021108&apos;,	&apos;1&apos;,	&apos;1&apos;,	12800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;3月发生额&apos;,	&apos;kmye.fse_3&apos;,	NULL,	&apos;fse_3&apos;,	&apos;0&apos;,	3,	&apos;021109&apos;,	&apos;1&apos;,	&apos;1&apos;,	13200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;4月借方发生额&apos;,	&apos;kmye.fse_j4&apos;,	NULL,	&apos;fse_j4&apos;,	&apos;0&apos;,	3,	&apos;021110&apos;,	&apos;1&apos;,	&apos;1&apos;,	13600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;4月贷方发生额&apos;,	&apos;kmye.fse_d4&apos;,	NULL,	&apos;fse_d4&apos;,	&apos;0&apos;,	3,	&apos;021111&apos;,	&apos;1&apos;,	&apos;1&apos;,	14000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;4月发生额&apos;,	&apos;kmye.fse_4&apos;,	NULL,	&apos;fse_4&apos;,	&apos;0&apos;,	3,	&apos;021112&apos;,	&apos;1&apos;,	&apos;1&apos;,	14400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;5月借方发生额&apos;,	&apos;kmye.fse_j5&apos;,	NULL,	&apos;fse_j5&apos;,	&apos;0&apos;,	3,	&apos;021113&apos;,	&apos;1&apos;,	&apos;1&apos;,	14800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;5月贷方发生额&apos;,	&apos;kmye.fse_d5&apos;,	NULL,	&apos;fse_d5&apos;,	&apos;0&apos;,	3,	&apos;021114&apos;,	&apos;1&apos;,	&apos;1&apos;,	15200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;5月发生额&apos;,	&apos;kmye.fse_5&apos;,	NULL,	&apos;fse_5&apos;,	&apos;0&apos;,	3,	&apos;021115&apos;,	&apos;1&apos;,	&apos;1&apos;,	15600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;6月借方发生额&apos;,	&apos;kmye.fse_j6&apos;,	NULL,	&apos;fse_j6&apos;,	&apos;0&apos;,	3,	&apos;021116&apos;,	&apos;1&apos;,	&apos;1&apos;,	16000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;6月贷方发生额&apos;,	&apos;kmye.fse_d6&apos;,	NULL,	&apos;fse_d6&apos;,	&apos;0&apos;,	3,	&apos;021117&apos;,	&apos;1&apos;,	&apos;1&apos;,	16400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;6月发生额&apos;,	&apos;kmye.fse_6&apos;,	NULL,	&apos;fse_6&apos;,	&apos;0&apos;,	3,	&apos;021118&apos;,	&apos;1&apos;,	&apos;1&apos;,	16800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;7月借方发生额&apos;,	&apos;kmye.fse_j7&apos;,	NULL,	&apos;fse_j7&apos;,	&apos;0&apos;,	3,	&apos;021119&apos;,	&apos;1&apos;,	&apos;1&apos;,	17200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;7月贷方发生额&apos;,	&apos;kmye.fse_d7&apos;,	NULL,	&apos;fse_d7&apos;,	&apos;0&apos;,	3,	&apos;021120&apos;,	&apos;1&apos;,	&apos;1&apos;,	17600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;7月发生额&apos;,	&apos;kmye.fse_7&apos;,	NULL,	&apos;fse_7&apos;,	&apos;0&apos;,	3,	&apos;021121&apos;,	&apos;1&apos;,	&apos;1&apos;,	18000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;8月借方发生额&apos;,	&apos;kmye.fse_j8&apos;,	NULL,	&apos;fse_j8&apos;,	&apos;0&apos;,	3,	&apos;021122&apos;,	&apos;1&apos;,	&apos;1&apos;,	18400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;8月贷方发生额&apos;,	&apos;kmye.fse_d8&apos;,	NULL,	&apos;fse_d8&apos;,	&apos;0&apos;,	3,	&apos;021123&apos;,	&apos;1&apos;,	&apos;1&apos;,	18800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;8月发生额&apos;,	&apos;kmye.fse_8&apos;,	NULL,	&apos;fse_8&apos;,	&apos;0&apos;,	3,	&apos;021124&apos;,	&apos;1&apos;,	&apos;1&apos;,	19200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;9月借方发生额&apos;,	&apos;kmye.fse_j9&apos;,	NULL,	&apos;fse_j9&apos;,	&apos;0&apos;,	3,	&apos;021125&apos;,	&apos;1&apos;,	&apos;1&apos;,	19600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;9月贷方发生额&apos;,	&apos;kmye.fse_d9&apos;,	NULL,	&apos;fse_d9&apos;,	&apos;0&apos;,	3,	&apos;021126&apos;,	&apos;1&apos;,	&apos;1&apos;,	20000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;9月发生额&apos;,	&apos;kmye.fse_9&apos;,	NULL,	&apos;fse_9&apos;,	&apos;0&apos;,	3,	&apos;021127&apos;,	&apos;1&apos;,	&apos;1&apos;,	20400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;10月借方发生额&apos;,	&apos;kmye.fse_j10&apos;,	NULL,	&apos;fse_j10&apos;,	&apos;0&apos;,	3,	&apos;021128&apos;,	&apos;1&apos;,	&apos;1&apos;,	20800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;10月贷方发生额&apos;,	&apos;kmye.fse_d10&apos;,	NULL,	&apos;fse_d10&apos;,	&apos;0&apos;,	3,	&apos;021129&apos;,	&apos;1&apos;,	&apos;1&apos;,	21200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;10月发生额&apos;,	&apos;kmye.fse_10&apos;,	NULL,	&apos;fse_10&apos;,	&apos;0&apos;,	3,	&apos;021130&apos;,	&apos;1&apos;,	&apos;1&apos;,	21600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;11月借方发生额&apos;,	&apos;kmye.fse_j11&apos;,	NULL,	&apos;fse_j11&apos;,	&apos;0&apos;,	3,	&apos;021131&apos;,	&apos;1&apos;,	&apos;1&apos;,	22000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;11月贷方发生额&apos;,	&apos;kmye.fse_d11&apos;,	NULL,	&apos;fse_d11&apos;,	&apos;0&apos;,	3,	&apos;021132&apos;,	&apos;1&apos;,	&apos;1&apos;,	22400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;11月发生额&apos;,	&apos;kmye.fse_11&apos;,	NULL,	&apos;fse_11&apos;,	&apos;0&apos;,	3,	&apos;021133&apos;,	&apos;1&apos;,	&apos;1&apos;,	22800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;12月借方发生额&apos;,	&apos;kmye.fse_j12&apos;,	NULL,	&apos;fse_j12&apos;,	&apos;0&apos;,	3,	&apos;021134&apos;,	&apos;1&apos;,	&apos;1&apos;,	23200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;12月贷方发生额&apos;,	&apos;kmye.fse_d12&apos;,	NULL,	&apos;fse_d12&apos;,	&apos;0&apos;,	3,	&apos;021135&apos;,	&apos;1&apos;,	&apos;1&apos;,	23600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;12月发生额&apos;,	&apos;kmye.fse_12&apos;,	NULL,	&apos;fse_12&apos;,	&apos;0&apos;,	3,	&apos;021136&apos;,	&apos;1&apos;,	&apos;1&apos;,	24000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	66,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;c_hsxm_zz.yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	24400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;c_hsxm_zz.yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	24800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期初调整数&apos;,	&apos;c_hsxm_zz.yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	25200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;c_hsxm_zz.yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	25600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;c_hsxm_zz.yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	26000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异期末调整数&apos;,	&apos;c_hsxm_zz.yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	26400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	73,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审上期借方发生额&apos;,	&apos;c_hsxm_zz.ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	26800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;c_hsxm_zz.ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	27200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审上期发生额&apos;,	&apos;c_hsxm_zz.ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	27600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审期初数&apos;,	&apos;c_hsxm_zz.yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	28000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审借方发生额&apos;,	&apos;c_hsxm_zz.yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	28400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审贷方发生额&apos;,	&apos;c_hsxm_zz.yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	28800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审发生额&apos;,	&apos;c_hsxm_zz.yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	29200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审期末数&apos;,	&apos;c_hsxm_zz.yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	29600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	82,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初重分类借方&apos;,	&apos;c_hsxm_zz.qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	30000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初重分类贷方&apos;,	&apos;c_hsxm_zz.qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	30400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初重分类调整数&apos;,	&apos;c_hsxm_zz.qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	30800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初调整借方&apos;,	&apos;c_hsxm_zz.qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	31200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初调整贷方&apos;,	&apos;c_hsxm_zz.qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	31600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初调整调整数&apos;,	&apos;c_hsxm_zz.qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	32000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期初调整数&apos;,	&apos;c_hsxm_zz.qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	32400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末重分类借方&apos;,	&apos;c_hsxm_zz.qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	32800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末重分类贷方&apos;,	&apos;c_hsxm_zz.qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	33200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末重分类调整数&apos;,	&apos;c_hsxm_zz.qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	33600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末调整借方&apos;,	&apos;c_hsxm_zz.qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	34000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末调整贷方&apos;,	&apos;c_hsxm_zz.qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	34400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末调整调整数&apos;,	&apos;c_hsxm_zz.qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	34800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;期末调整数&apos;,	&apos;c_hsxm_zz.qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	35200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;c_hsxm_zz.g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	35600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;c_hsxm_zz.g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	36000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;c_hsxm_zz.g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	36400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;c_hsxm_zz.g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	36800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	101,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定上期借方发生额&apos;,	&apos;c_hsxm_zz.sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	37200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;c_hsxm_zz.sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	37600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定上期发生额&apos;,	&apos;c_hsxm_zz.sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	38000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定期初数&apos;,	&apos;c_hsxm_zz.sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	38400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定借方发生额&apos;,	&apos;c_hsxm_zz.sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	38800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定贷方发生额&apos;,	&apos;c_hsxm_zz.sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	39200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定发生额&apos;,	&apos;c_hsxm_zz.sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	39600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定期末数&apos;,	&apos;c_hsxm_zz.sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	40000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	110,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	111,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄01&apos;,	&apos;c_hsxm_zz.wszl01&apos;,	NULL,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;070101&apos;,	&apos;1&apos;,	&apos;0&apos;,	40400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄02&apos;,	&apos;c_hsxm_zz.wszl02&apos;,	NULL,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;070102&apos;,	&apos;1&apos;,	&apos;0&apos;,	40800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄03&apos;,	&apos;c_hsxm_zz.wszl03&apos;,	NULL,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;070103&apos;,	&apos;1&apos;,	&apos;0&apos;,	41200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	114,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄04&apos;,	&apos;c_hsxm_zz.wszl04&apos;,	NULL,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;070104&apos;,	&apos;1&apos;,	&apos;0&apos;,	41600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	115,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄05&apos;,	&apos;c_hsxm_zz.wszl05&apos;,	NULL,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;070105&apos;,	&apos;1&apos;,	&apos;0&apos;,	42000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	116,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄06&apos;,	&apos;c_hsxm_zz.wszl06&apos;,	NULL,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;070106&apos;,	&apos;1&apos;,	&apos;0&apos;,	42400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	117,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄07&apos;,	&apos;c_hsxm_zz.wszl07&apos;,	NULL,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;070107&apos;,	&apos;1&apos;,	&apos;0&apos;,	42800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	118,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄08&apos;,	&apos;c_hsxm_zz.wszl08&apos;,	NULL,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;070108&apos;,	&apos;1&apos;,	&apos;0&apos;,	43200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	119,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄09&apos;,	&apos;c_hsxm_zz.wszl09&apos;,	NULL,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;070109&apos;,	&apos;1&apos;,	&apos;0&apos;,	43600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	120,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄10&apos;,	&apos;c_hsxm_zz.wszl10&apos;,	NULL,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;070110&apos;,	&apos;1&apos;,	&apos;0&apos;,	44000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	121,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄11&apos;,	&apos;c_hsxm_zz.wszl11&apos;,	NULL,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;070111&apos;,	&apos;1&apos;,	&apos;0&apos;,	44400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	122,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄12&apos;,	&apos;c_hsxm_zz.wszl12&apos;,	NULL,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;070112&apos;,	&apos;1&apos;,	&apos;0&apos;,	44800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	123,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄13&apos;,	&apos;c_hsxm_zz.wszl13&apos;,	NULL,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;070113&apos;,	&apos;1&apos;,	&apos;0&apos;,	45200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	124,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄14&apos;,	&apos;c_hsxm_zz.wszl14&apos;,	NULL,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;070114&apos;,	&apos;1&apos;,	&apos;0&apos;,	45600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	125,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄15&apos;,	&apos;c_hsxm_zz.wszl15&apos;,	NULL,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;070115&apos;,	&apos;1&apos;,	&apos;0&apos;,	46000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	126,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;未审账龄16&apos;,	&apos;c_hsxm_zz.wszl16&apos;,	NULL,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;070116&apos;,	&apos;1&apos;,	&apos;0&apos;,	46400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	127,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	128,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄01&apos;,	&apos;c_hsxm_zz.tzzl01&apos;,	NULL,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;070201&apos;,	&apos;1&apos;,	&apos;0&apos;,	46800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	129,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄02&apos;,	&apos;c_hsxm_zz.tzzl02&apos;,	NULL,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;070202&apos;,	&apos;1&apos;,	&apos;0&apos;,	47200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	130,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄03&apos;,	&apos;c_hsxm_zz.tzzl03&apos;,	NULL,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;070203&apos;,	&apos;1&apos;,	&apos;0&apos;,	47600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	131,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄04&apos;,	&apos;c_hsxm_zz.tzzl04&apos;,	NULL,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;070204&apos;,	&apos;1&apos;,	&apos;0&apos;,	48000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	132,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄05&apos;,	&apos;c_hsxm_zz.tzzl05&apos;,	NULL,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;070205&apos;,	&apos;1&apos;,	&apos;0&apos;,	48400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	133,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄06&apos;,	&apos;c_hsxm_zz.tzzl06&apos;,	NULL,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;070206&apos;,	&apos;1&apos;,	&apos;0&apos;,	48800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	134,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄07&apos;,	&apos;c_hsxm_zz.tzzl07&apos;,	NULL,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;070207&apos;,	&apos;1&apos;,	&apos;0&apos;,	49200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	135,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄08&apos;,	&apos;c_hsxm_zz.tzzl08&apos;,	NULL,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;070208&apos;,	&apos;1&apos;,	&apos;0&apos;,	49600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	136,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄09&apos;,	&apos;c_hsxm_zz.tzzl09&apos;,	NULL,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;070209&apos;,	&apos;1&apos;,	&apos;0&apos;,	50000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	137,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄10&apos;,	&apos;c_hsxm_zz.tzzl10&apos;,	NULL,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;070210&apos;,	&apos;1&apos;,	&apos;0&apos;,	50400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	138,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄11&apos;,	&apos;c_hsxm_zz.tzzl11&apos;,	NULL,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;070211&apos;,	&apos;1&apos;,	&apos;0&apos;,	50800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	139,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄12&apos;,	&apos;c_hsxm_zz.tzzl12&apos;,	NULL,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;070212&apos;,	&apos;1&apos;,	&apos;0&apos;,	51200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	140,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄13&apos;,	&apos;c_hsxm_zz.tzzl13&apos;,	NULL,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;070213&apos;,	&apos;1&apos;,	&apos;0&apos;,	51600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	141,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄14&apos;,	&apos;c_hsxm_zz.tzzl14&apos;,	NULL,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;070214&apos;,	&apos;1&apos;,	&apos;0&apos;,	52000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	142,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄15&apos;,	&apos;c_hsxm_zz.tzzl15&apos;,	NULL,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;070215&apos;,	&apos;1&apos;,	&apos;0&apos;,	52400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	143,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;调整账龄16&apos;,	&apos;c_hsxm_zz.tzzl16&apos;,	NULL,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;070216&apos;,	&apos;1&apos;,	&apos;0&apos;,	52800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	144,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	145,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄01&apos;,	&apos;(c_hsxm_zz.wszl01+c_hsxm_zz.tzzl01)&apos;,	NULL,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;070301&apos;,	&apos;1&apos;,	&apos;0&apos;,	53200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	146,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄02&apos;,	&apos;(c_hsxm_zz.wszl02+c_hsxm_zz.tzzl02)&apos;,	NULL,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;070302&apos;,	&apos;1&apos;,	&apos;0&apos;,	53600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	147,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄03&apos;,	&apos;(c_hsxm_zz.wszl03+c_hsxm_zz.tzzl03)&apos;,	NULL,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;070303&apos;,	&apos;1&apos;,	&apos;0&apos;,	54000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	148,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄04&apos;,	&apos;(c_hsxm_zz.wszl04+c_hsxm_zz.tzzl04)&apos;,	NULL,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;070304&apos;,	&apos;1&apos;,	&apos;0&apos;,	54400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	149,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄05&apos;,	&apos;(c_hsxm_zz.wszl05+c_hsxm_zz.tzzl05)&apos;,	NULL,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;070305&apos;,	&apos;1&apos;,	&apos;0&apos;,	54800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	150,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄06&apos;,	&apos;(c_hsxm_zz.wszl06+c_hsxm_zz.tzzl06)&apos;,	NULL,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;070306&apos;,	&apos;1&apos;,	&apos;0&apos;,	55200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	151,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄07&apos;,	&apos;(c_hsxm_zz.wszl07+c_hsxm_zz.tzzl07)&apos;,	NULL,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;070307&apos;,	&apos;1&apos;,	&apos;0&apos;,	55600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	152,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄08&apos;,	&apos;(c_hsxm_zz.wszl08+c_hsxm_zz.tzzl08)&apos;,	NULL,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;070308&apos;,	&apos;1&apos;,	&apos;0&apos;,	56000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	153,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄09&apos;,	&apos;(c_hsxm_zz.wszl09+c_hsxm_zz.tzzl09)&apos;,	NULL,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;070309&apos;,	&apos;1&apos;,	&apos;0&apos;,	56400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	154,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄10&apos;,	&apos;(c_hsxm_zz.wszl10+c_hsxm_zz.tzzl10)&apos;,	NULL,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;070310&apos;,	&apos;1&apos;,	&apos;0&apos;,	56800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	155,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄11&apos;,	&apos;(c_hsxm_zz.wszl11+c_hsxm_zz.tzzl11)&apos;,	NULL,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;070311&apos;,	&apos;1&apos;,	&apos;0&apos;,	57200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	156,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄12&apos;,	&apos;(c_hsxm_zz.wszl12+c_hsxm_zz.tzzl12)&apos;,	NULL,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;070312&apos;,	&apos;1&apos;,	&apos;0&apos;,	57600.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	157,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄13&apos;,	&apos;(c_hsxm_zz.wszl13+c_hsxm_zz.tzzl13)&apos;,	NULL,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;070313&apos;,	&apos;1&apos;,	&apos;0&apos;,	58000.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	158,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄14&apos;,	&apos;(c_hsxm_zz.wszl14+c_hsxm_zz.tzzl14)&apos;,	NULL,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;070314&apos;,	&apos;1&apos;,	&apos;0&apos;,	58400.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	159,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄15&apos;,	&apos;(c_hsxm_zz.wszl15+c_hsxm_zz.tzzl15)&apos;,	NULL,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;070315&apos;,	&apos;1&apos;,	&apos;0&apos;,	58800.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	160,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;审定账龄16&apos;,	&apos;(c_hsxm_zz.wszl16+c_hsxm_zz.tzzl16)&apos;,	NULL,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;070316&apos;,	&apos;1&apos;,	&apos;0&apos;,	59200.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	161,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	162,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列01&apos;,	&apos;c_hsxm_zz.c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;0&apos;,	59600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	163,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列02&apos;,	&apos;c_hsxm_zz.c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	60000.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	164,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列03&apos;,	&apos;c_hsxm_zz.c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	60400.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	165,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列04&apos;,	&apos;c_hsxm_zz.c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	60800.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	166,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列05&apos;,	&apos;c_hsxm_zz.c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	61200.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	167,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列06&apos;,	&apos;c_hsxm_zz.c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	61600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	168,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列07&apos;,	&apos;c_hsxm_zz.c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	62000.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	169,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列08&apos;,	&apos;c_hsxm_zz.c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	62400.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	170,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列09&apos;,	&apos;c_hsxm_zz.c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0809&apos;,	&apos;1&apos;,	&apos;0&apos;,	62800.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	171,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;字符列10&apos;,	&apos;c_hsxm_zz.c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0810&apos;,	&apos;1&apos;,	&apos;0&apos;,	63200.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	172,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;09&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	173,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用1&apos;,	&apos;c_hsxm_zz.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0901&apos;,	&apos;1&apos;,	&apos;0&apos;,	63600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	174,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用2&apos;,	&apos;c_hsxm_zz.other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0902&apos;,	&apos;1&apos;,	&apos;0&apos;,	64000.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	175,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用3&apos;,	&apos;c_hsxm_zz.other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0903&apos;,	&apos;1&apos;,	&apos;0&apos;,	64400.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	176,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用4&apos;,	&apos;c_hsxm_zz.other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0904&apos;,	&apos;1&apos;,	&apos;0&apos;,	64800.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	177,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用5&apos;,	&apos;c_hsxm_zz.other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0905&apos;,	&apos;1&apos;,	&apos;0&apos;,	65200.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	178,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;其他备用6&apos;,	&apos;c_hsxm_zz.other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0906&apos;,	&apos;1&apos;,	&apos;0&apos;,	65600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	179,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;抽样方案&apos;,	&apos;c_hsxm_zz.cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0907&apos;,	&apos;1&apos;,	&apos;0&apos;,	66000.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	180,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1002&apos;,	&apos;科目附加信息&apos;,	&apos;c_hsxm_zz.fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0908&apos;,	&apos;1&apos;,	&apos;0&apos;,	66400.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	181,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	190.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	192.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	402.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	814.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1225.00,	361.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1595.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;核算项目编号&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2007.00,	402.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2418.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2830.00,	347.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	NULL,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3186.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3598.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4009.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	NULL,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4421.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	NULL,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4832.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;期初数量&apos;,	&apos;qcs_sl&apos;,	NULL,	&apos;qcs_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5243.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;借方数量&apos;,	&apos;jffse_sl&apos;,	NULL,	&apos;jffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5655.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;贷方数量&apos;,	&apos;dffse_sl&apos;,	NULL,	&apos;dffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6066.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;发生额数量&apos;,	&apos;fse_sl&apos;,	NULL,	&apos;fse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6478.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;期末数量&apos;,	&apos;qms_sl&apos;,	NULL,	&apos;qms_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6889.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7301.00,	530.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	7840.00,	631.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	9746.00,	480.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10226.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10236.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10246.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10256.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10266.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1005&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10276.00,	10.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>400</no><make_date>2010-10-21 17:56:00.140000</make_date><note>修改基本表列信息-插入数据6</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	283.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;凭证种类&apos;,	&apos;pzzl&apos;,	NULL,	&apos;pzzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1283.00,	283.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;凭证编号&apos;,	&apos;pzbh&apos;,	NULL,	&apos;pzbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1566.00,	251.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1817.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;业务说明&apos;,	&apos;sm&apos;,	NULL,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2017.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;核算项目序号&apos;,	&apos;hsxmxh&apos;,	NULL,	&apos;hsxmxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2517.00,	379.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2896.00,	544.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3440.00,	494.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;核算项目ID&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3934.00,	421.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4355.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;货币种类&apos;,	&apos;hbzl&apos;,	NULL,	&apos;hbzl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4755.00,	233.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;汇率&apos;,	&apos;hl&apos;,	NULL,	&apos;hl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4988.00,	233.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;借方数量&apos;,	&apos;jfsl&apos;,	NULL,	&apos;jfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5221.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;借方单价&apos;,	&apos;jfdj&apos;,	NULL,	&apos;jfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5621.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5821.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	NULL,	&apos;jffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6221.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;贷方单价&apos;,	&apos;dfdj&apos;,	NULL,	&apos;dfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6621.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;贷方数量&apos;,	&apos;dfsl&apos;,	NULL,	&apos;dfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6821.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7221.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	NULL,	&apos;dffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7621.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;业务号&apos;,	&apos;ywh&apos;,	NULL,	&apos;ywh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8021.00,	306.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;票据号&apos;,	&apos;pjh&apos;,	NULL,	&apos;pjh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8327.00,	334.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	8661.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	10000.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;抽疑说明&apos;,	&apos;cysm&apos;,	NULL,	&apos;cysm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	11339.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;抽疑标记&apos;,	&apos;chouyi&apos;,	NULL,	&apos;chouyi&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12678.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12696.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;凭证标记&apos;,	&apos;pzbj&apos;,	NULL,	&apos;pzbj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14035.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;抽样标记&apos;,	&apos;chouyang&apos;,	NULL,	&apos;chouyang&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14053.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14071.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14171.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14271.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14371.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14471.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14571.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;记账时间&apos;,	&apos;jzsj&apos;,	NULL,	&apos;jzsj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14671.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1006&apos;,	&apos;对方科目名称&apos;,	&apos;dfkmmc&apos;,	NULL,	&apos;dfkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14771.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	197.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	704.00,	293.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1006.00,	320.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1335.00,	224.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1568.00,	494.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;核算项目编号&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2071.00,	366.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2446.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	NULL,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2857.00,	283.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	54313.00,	2661.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年期初数&apos;,	&apos;sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	3150.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	3561.00,	585.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	4155.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面发生额&apos;,	&apos;sn_fse&apos;,	NULL,	&apos;sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4786.00,	453.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年期初数_外币&apos;,	&apos;sn_qcs_f&apos;,	NULL,	&apos;sn_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;1&apos;,	5248.00,	613.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面借方发生额_外币&apos;,	&apos;sn_ws_fse_j_f&apos;,	NULL,	&apos;sn_ws_fse_j_f&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;1&apos;,	5870.00,	718.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面贷方发生额_外币&apos;,	&apos;sn_ws_fse_d_f&apos;,	NULL,	&apos;sn_ws_fse_d_f&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;1&apos;,	6597.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年账面发生额_外币&apos;,	&apos;sn_fse_f&apos;,	NULL,	&apos;sn_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;1&apos;,	7255.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	7918.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	8329.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	8741.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	9152.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	9563.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面期初数_外币&apos;,	&apos;ws_qcs_f&apos;,	NULL,	&apos;ws_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;1&apos;,	9975.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面借方发生额_外币&apos;,	&apos;ws_fse_j_f&apos;,	NULL,	&apos;ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;1&apos;,	10560.00,	722.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面贷方发生额_外币&apos;,	&apos;ws_fse_d_f&apos;,	NULL,	&apos;ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;1&apos;,	11291.00,	581.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面发生额_外币&apos;,	&apos;ws_fse_f&apos;,	NULL,	&apos;ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;1&apos;,	11881.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账面期末数_外币&apos;,	&apos;ws_qms_f&apos;,	NULL,	&apos;ws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;1&apos;,	12293.00,	677.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整金额_外币&apos;,	&apos;yqm_cfl_tzs_f&apos;,	NULL,	&apos;yqm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0312&apos;,	&apos;1&apos;,	&apos;1&apos;,	12978.00,	827.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整贷方金额_外币&apos;,	&apos;yqm_cfl_d_f&apos;,	NULL,	&apos;yqm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0311&apos;,	&apos;1&apos;,	&apos;0&apos;,	50565.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整借方金额_外币&apos;,	&apos;yqm_cfl_j_f&apos;,	NULL,	&apos;yqm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0310&apos;,	&apos;1&apos;,	&apos;0&apos;,	50903.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整金额&apos;,	&apos;yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0309&apos;,	&apos;1&apos;,	&apos;0&apos;,	51241.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整贷方金额&apos;,	&apos;yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0308&apos;,	&apos;1&apos;,	&apos;0&apos;,	51579.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账表差异调整借方金额&apos;,	&apos;yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0307&apos;,	&apos;1&apos;,	&apos;0&apos;,	51918.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整金额_外币&apos;,	&apos;yqc_cfl_tzs_f&apos;,	NULL,	&apos;yqc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;0&apos;,	52256.00,	357.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整贷方金额_外币&apos;,	&apos;yqc_cfl_d_f&apos;,	NULL,	&apos;yqc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;0&apos;,	52622.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整借方金额_外币&apos;,	&apos;yqc_cfl_j_f&apos;,	NULL,	&apos;yqc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;0&apos;,	52960.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整金额&apos;,	&apos;yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;0&apos;,	53298.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整贷方金额&apos;,	&apos;yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;0&apos;,	53637.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账表差异调整借方金额&apos;,	&apos;yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;0&apos;,	53975.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	13815.00,	690.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	14514.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年发生额&apos;,	&apos;ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	14926.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	15337.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	15749.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	16160.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	16571.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	16983.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年借方发生额_外币&apos;,	&apos;ysn_ws_fse_j_f&apos;,	NULL,	&apos;ysn_ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0409&apos;,	&apos;1&apos;,	&apos;1&apos;,	17394.00,	731.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年贷方发生额_外币&apos;,	&apos;ysn_ws_fse_d_f&apos;,	NULL,	&apos;ysn_ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0410&apos;,	&apos;1&apos;,	&apos;1&apos;,	18135.00,	658.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审上年发生额_外币&apos;,	&apos;ysn_ws_fse_f&apos;,	NULL,	&apos;ysn_ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0411&apos;,	&apos;1&apos;,	&apos;1&apos;,	18802.00,	722.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审期初数_外币&apos;,	&apos;yws_qcs_f&apos;,	NULL,	&apos;yws_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0412&apos;,	&apos;1&apos;,	&apos;1&apos;,	19534.00,	613.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审借方发生额_外币&apos;,	&apos;yws_fse_j_f&apos;,	NULL,	&apos;yws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0413&apos;,	&apos;1&apos;,	&apos;1&apos;,	20155.00,	663.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审贷方发生额_外币&apos;,	&apos;yws_fse_d_f&apos;,	NULL,	&apos;yws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0414&apos;,	&apos;1&apos;,	&apos;1&apos;,	20827.00,	549.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审发生额_外币&apos;,	&apos;yws_fse_f&apos;,	NULL,	&apos;yws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0415&apos;,	&apos;1&apos;,	&apos;1&apos;,	21385.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;未审期末数_外币&apos;,	&apos;yws_qms_f&apos;,	NULL,	&apos;yws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0416&apos;,	&apos;1&apos;,	&apos;1&apos;,	21947.00,	521.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	60,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;0&apos;,	22468.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;0&apos;,	22797.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;0&apos;,	23126.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整借方&apos;,	&apos;qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;0&apos;,	23455.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整贷方&apos;,	&apos;qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;0&apos;,	23784.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整数&apos;,	&apos;qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;0&apos;,	24113.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;0&apos;,	24442.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类借方_外币&apos;,	&apos;qc_cfl_j_f&apos;,	NULL,	&apos;qc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;0&apos;,	24771.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类贷方_外币&apos;,	&apos;qc_cfl_d_f&apos;,	NULL,	&apos;qc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;0&apos;,	25100.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初重分类调整数_外币&apos;,	&apos;qc_cfl_tzs_f&apos;,	NULL,	&apos;qc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;0&apos;,	25429.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整借方_外币&apos;,	&apos;qc_tz_j_f&apos;,	NULL,	&apos;qc_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;0&apos;,	25758.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整贷方_外币&apos;,	&apos;qc_tz_d_f&apos;,	NULL,	&apos;qc_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;0&apos;,	26087.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初账项调整数_外币&apos;,	&apos;qc_tz_tzs_f&apos;,	NULL,	&apos;qc_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;0&apos;,	26416.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期初调整数_外币&apos;,	&apos;qc_tzs_f&apos;,	NULL,	&apos;qc_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;0&apos;,	26745.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;0&apos;,	27074.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;0&apos;,	27403.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;0&apos;,	27732.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整借方&apos;,	&apos;qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;0&apos;,	28061.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整贷方&apos;,	&apos;qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0519&apos;,	&apos;1&apos;,	&apos;0&apos;,	28390.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整数&apos;,	&apos;qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0520&apos;,	&apos;1&apos;,	&apos;0&apos;,	28719.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0521&apos;,	&apos;1&apos;,	&apos;0&apos;,	29048.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类借方_外币&apos;,	&apos;qm_cfl_j_f&apos;,	NULL,	&apos;qm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0522&apos;,	&apos;1&apos;,	&apos;0&apos;,	29377.00,	325.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类贷方_外币&apos;,	&apos;qm_cfl_d_f&apos;,	NULL,	&apos;qm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0523&apos;,	&apos;1&apos;,	&apos;0&apos;,	29702.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末重分类调整数_外币&apos;,	&apos;qm_cfl_tzs_f&apos;,	NULL,	&apos;qm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0524&apos;,	&apos;1&apos;,	&apos;0&apos;,	30031.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整借方_外币&apos;,	&apos;qm_tz_j_f&apos;,	NULL,	&apos;qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0525&apos;,	&apos;1&apos;,	&apos;0&apos;,	30360.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整贷方_外币&apos;,	&apos;qm_tz_d_f&apos;,	NULL,	&apos;qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0526&apos;,	&apos;1&apos;,	&apos;0&apos;,	30689.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末账项调整数_外币&apos;,	&apos;qm_tz_tzs_f&apos;,	NULL,	&apos;qm_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0527&apos;,	&apos;1&apos;,	&apos;0&apos;,	31018.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;期末调整数_外币&apos;,	&apos;qm_tzs_f&apos;,	NULL,	&apos;qm_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0528&apos;,	&apos;1&apos;,	&apos;0&apos;,	31347.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0529&apos;,	&apos;1&apos;,	&apos;0&apos;,	31676.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0530&apos;,	&apos;1&apos;,	&apos;0&apos;,	32005.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0531&apos;,	&apos;1&apos;,	&apos;0&apos;,	32334.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0532&apos;,	&apos;1&apos;,	&apos;0&apos;,	32663.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账表差异滚调影响期末数借方_外币&apos;,	&apos;g_yqm_tz_j_f&apos;,	NULL,	&apos;g_yqm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0533&apos;,	&apos;1&apos;,	&apos;0&apos;,	32992.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;账表差异滚调影响期末数贷方_外币&apos;,	&apos;g_yqm_tz_d_f&apos;,	NULL,	&apos;g_yqm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0534&apos;,	&apos;1&apos;,	&apos;0&apos;,	33321.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;调整分录滚调影响期末数借方_外币&apos;,	&apos;g_qm_tz_j_f&apos;,	NULL,	&apos;g_qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0535&apos;,	&apos;1&apos;,	&apos;0&apos;,	33650.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;调整分录滚调影响期末数贷方_外币&apos;,	&apos;g_qm_tz_d_f&apos;,	NULL,	&apos;g_qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0536&apos;,	&apos;1&apos;,	&apos;0&apos;,	33979.00,	329.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	97,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	22478.00,	567.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	23054.00,	603.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定发生额&apos;,	&apos;sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	23666.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	24078.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	24489.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	24901.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	25312.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	25723.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定借方发生额_外币&apos;,	&apos;sn_sd_fse_j_f&apos;,	NULL,	&apos;sn_sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0609&apos;,	&apos;1&apos;,	&apos;1&apos;,	26135.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定贷方发生额_外币&apos;,	&apos;sn_sd_fse_d_f&apos;,	NULL,	&apos;sn_sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0610&apos;,	&apos;1&apos;,	&apos;1&apos;,	26798.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;上年审定发生额_外币&apos;,	&apos;sn_sd_fse_f&apos;,	NULL,	&apos;sn_sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0611&apos;,	&apos;1&apos;,	&apos;1&apos;,	27461.00,	603.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定期初数_外币&apos;,	&apos;sd_qcs_f&apos;,	NULL,	&apos;sd_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0612&apos;,	&apos;1&apos;,	&apos;1&apos;,	28073.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定借方发生额_外币&apos;,	&apos;sd_fse_j_f&apos;,	NULL,	&apos;sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0613&apos;,	&apos;1&apos;,	&apos;1&apos;,	28736.00,	663.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定贷方发生额_外币&apos;,	&apos;sd_fse_d_f&apos;,	NULL,	&apos;sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0614&apos;,	&apos;1&apos;,	&apos;1&apos;,	29408.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定发生额_外币&apos;,	&apos;sd_fse_f&apos;,	NULL,	&apos;sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0615&apos;,	&apos;1&apos;,	&apos;1&apos;,	29961.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;审定期末数_外币&apos;,	&apos;sd_qms_f&apos;,	NULL,	&apos;sd_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0616&apos;,	&apos;1&apos;,	&apos;1&apos;,	30514.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	NULL,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;凭证数量&apos;,	&apos;pzsl&apos;,	NULL,	&apos;pzsl&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	31067.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	31406.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	32814.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	34213.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	118,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	34542.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	119,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	34871.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	120,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	35200.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	121,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	35529.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	122,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1007&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	35858.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	123,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;会计年度&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;会计期间&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	NULL,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	950.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1150.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1250.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;核算项目编号&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1650.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1750.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	NULL,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2150.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	NULL,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2250.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2650.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3050.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	NULL,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3450.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	NULL,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3850.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;期初数_外币&apos;,	&apos;qcs_f&apos;,	NULL,	&apos;qcs_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4250.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	NULL,	&apos;jffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4650.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	NULL,	&apos;dffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5050.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;发生额_外币&apos;,	&apos;fse_f&apos;,	NULL,	&apos;fse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5450.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;期末数_外币&apos;,	&apos;qms_f&apos;,	NULL,	&apos;qms_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5850.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6250.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6350.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6450.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6550.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6650.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6750.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6850.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1008&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6950.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	192.00,	603.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;是否关注类型&apos;,	&apos;gzlx&apos;,	NULL,	&apos;gzlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	805.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;核算项目类型编号&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1143.00,	462.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1614.00,	489.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1009&apos;,	&apos;备注&apos;,	&apos;bz&apos;,	NULL,	&apos;bz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>410</no><make_date>2010-10-21 17:56:31.875000</make_date><note>修改基本表列信息-插入数据7</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;核算项目类型名称&apos;,	&apos;hsxmlxmc&apos;,	NULL,	&apos;hsxmlxmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	658.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;核算项目名称&apos;,	&apos;hsxmmc&apos;,	NULL,	&apos;hsxmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	846.00,	672.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;核算项目编号&apos;,	&apos;hsxmbh&apos;,	NULL,	&apos;hsxmbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1527.00,	334.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;核算项目类型ID&apos;,	&apos;hsxmlxbh&apos;,	NULL,	&apos;hsxmlxbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1870.00,	590.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;其他1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;其他2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;其他3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1010&apos;,	&apos;其他4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;会计期间&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	187.00,	343.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产编码&apos;,	&apos;gdzcbm&apos;,	NULL,	&apos;gdzcbm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	539.00,	361.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产名称&apos;,	&apos;gdzcmc&apos;,	NULL,	&apos;gdzcmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	910.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产类别&apos;,	&apos;gdzclb&apos;,	NULL,	&apos;gdzclb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1321.00,	366.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;规格型号&apos;,	&apos;ggxh&apos;,	NULL,	&apos;ggxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1696.00,	416.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;开始使用日期&apos;,	&apos;kssyrq&apos;,	NULL,	&apos;kssyrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2121.00,	430.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;存放地点&apos;,	&apos;cfdd&apos;,	NULL,	&apos;cfdd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2560.00,	416.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;使用部门&apos;,	&apos;sybm&apos;,	NULL,	&apos;sybm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2985.00,	590.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;使用状态&apos;,	&apos;syzt&apos;,	NULL,	&apos;syzt&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3584.00,	366.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;清理日期&apos;,	&apos;qlrq&apos;,	NULL,	&apos;qlrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3959.00,	384.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;会计年度&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4352.00,	485.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;数量&apos;,	&apos;sl&apos;,	NULL,	&apos;sl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4846.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;原值&apos;,	&apos;yz&apos;,	NULL,	&apos;yz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5257.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;折旧率&apos;,	&apos;zjl&apos;,	NULL,	&apos;zjl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5669.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;折旧值&apos;,	&apos;zj&apos;,	NULL,	&apos;zj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6080.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;入帐凭证号&apos;,	&apos;rzpzh&apos;,	NULL,	&apos;rzpzh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6491.00,	443.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;累计折旧&apos;,	&apos;ljzj&apos;,	NULL,	&apos;ljzj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6944.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产净值&apos;,	&apos;gdzcjz&apos;,	NULL,	&apos;gdzcjz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7355.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产减值&apos;,	&apos;jz&apos;,	NULL,	&apos;jz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7767.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;固定资产净额&apos;,	&apos;gdzcje&apos;,	NULL,	&apos;gdzcje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8178.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;预计净残值率&apos;,	&apos;yjjczl&apos;,	NULL,	&apos;yjjczl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8590.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;上年累计折旧&apos;,	&apos;snljzj&apos;,	NULL,	&apos;snljzj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9001.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;使用年限&apos;,	&apos;yjsynx&apos;,	NULL,	&apos;yjsynx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9413.00,	366.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;折旧方法&apos;,	&apos;zjff&apos;,	NULL,	&apos;zjff&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9787.00,	366.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;当年折旧期间&apos;,	&apos;dnzjqj&apos;,	NULL,	&apos;dnzjqj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10162.00,	457.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;本期增加&apos;,	&apos;bqzj&apos;,	NULL,	&apos;bqzj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10629.00,	393.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;本期减少&apos;,	&apos;bqjs&apos;,	NULL,	&apos;bqjs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11031.00,	430.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;附加信息&apos;,	&apos;fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11470.00,	512.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	11991.00,	1339.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13330.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13530.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13730.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13930.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14130.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14330.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14530.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14730.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14930.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15130.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15330.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15530.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15730.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15930.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	16130.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2001&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	16330.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	178.00,	265.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	453.00,	270.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;类型&apos;,	&apos;lx&apos;,	NULL,	&apos;lx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	731.00,	242.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;记账时间&apos;,	&apos;jzsj&apos;,	NULL,	&apos;jzsj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	983.00,	265.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;货物名称&apos;,	&apos;hwmc&apos;,	NULL,	&apos;hwmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1257.00,	603.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;货物数量&apos;,	&apos;hwsl&apos;,	NULL,	&apos;hwsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1870.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;货物价格&apos;,	&apos;hwdj&apos;,	NULL,	&apos;hwdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2281.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;货物金额&apos;,	&apos;hwje&apos;,	NULL,	&apos;hwje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2693.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;当前期初数量&apos;,	&apos;hwsl_qc&apos;,	NULL,	&apos;hwsl_qc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3104.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;当前期初单价&apos;,	&apos;hwdj_qc&apos;,	NULL,	&apos;hwdj_qc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3515.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;当前期初余额&apos;,	&apos;hwje_qc&apos;,	NULL,	&apos;hwje_qc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3927.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次收入数量&apos;,	&apos;hwsl_j&apos;,	NULL,	&apos;hwsl_j&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4338.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次收入单价&apos;,	&apos;hwdj_j&apos;,	NULL,	&apos;hwdj_j&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4750.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次收入余额&apos;,	&apos;hwje_j&apos;,	NULL,	&apos;hwje_j&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5161.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次发出数量&apos;,	&apos;hwsl_d&apos;,	NULL,	&apos;hwsl_d&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5573.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次发出单价&apos;,	&apos;hwdj_d&apos;,	NULL,	&apos;hwdj_d&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5984.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;本次发出余额&apos;,	&apos;hwje_d&apos;,	NULL,	&apos;hwje_d&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6395.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;存货代码&apos;,	&apos;chdm&apos;,	NULL,	&apos;chdm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6807.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;批次号&apos;,	&apos;pch&apos;,	NULL,	&apos;pch&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7218.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;计量单位&apos;,	&apos;jldw&apos;,	NULL,	&apos;jldw&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7630.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;出库/入库&apos;,	&apos;ckrk&apos;,	NULL,	&apos;ckrk&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8041.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;出入库方式&apos;,	&apos;crkfs&apos;,	NULL,	&apos;crkfs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8453.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;计价方法&apos;,	&apos;jjfa&apos;,	NULL,	&apos;jjfa&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8864.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;跌价准备&apos;,	&apos;djzb&apos;,	NULL,	&apos;djzb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9275.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;结算行&apos;,	&apos;jsh&apos;,	NULL,	&apos;jsh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9687.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;货物内码&apos;,	&apos;hwnm&apos;,	NULL,	&apos;hwnm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10098.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	NULL,	&apos;cyfa&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	11749.00,	690.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12439.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12639.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	12839.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13039.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13239.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13439.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13639.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	13839.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14039.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14239.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14439.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14639.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14839.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15039.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15239.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C2002&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15439.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	204.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	708.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1566.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1616.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;是否明细科目&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1666.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	&apos;getkmmc(c_hsxm_zz.dwid,c_hsxm_zz.ndid,c_hsxm_zz.kmbh,100)&apos;,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1716.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	2516.00,	0,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期期初数&apos;,	&apos;sn_qcs&apos;,	&apos;sn_qcs&apos;,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	8,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面上期借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	2916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面上期发生额&apos;,	&apos;sn_ws_fse&apos;,	&apos;sn_ws_fse&apos;,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	3716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期期初数量&apos;,	&apos;sn_qcs_sl&apos;,	&apos;sn_qcs_sl&apos;,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	4116.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期借方数量&apos;,	&apos;sn_ws_fse_j_sl&apos;,	&apos;sn_ws_fse_j_sl&apos;,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	4516.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期贷方数量&apos;,	&apos;sn_ws_fse_d_sl&apos;,	&apos;sn_ws_fse_d_sl&apos;,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	4916.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;上期发生额数量&apos;,	&apos;sn_ws_fse_sl&apos;,	&apos;sn_ws_fse_sl&apos;,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	5316.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	5716.00,	0,	NULL,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	&apos;ws_qcs&apos;,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	5716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	&apos;ws_fse_j&apos;,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	6116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	&apos;ws_fse_d&apos;,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	6516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	&apos;ws_fse&apos;,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	6916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	&apos;ws_qms&apos;,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	7316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初数量&apos;,	&apos;ws_qcs_sl&apos;,	&apos;ws_qcs_sl&apos;,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	7716.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;借方数量&apos;,	&apos;ws_fse_j_sl&apos;,	&apos;ws_fse_j_sl&apos;,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	8116.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;贷方数量&apos;,	&apos;ws_fse_d_sl&apos;,	&apos;ws_fse_d_sl&apos;,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	8516.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;发生额数量&apos;,	&apos;ws_fse_sl&apos;,	&apos;ws_fse_sl&apos;,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	8916.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末数量&apos;,	&apos;ws_qms_sl&apos;,	&apos;ws_qms_sl&apos;,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	9316.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	9716.00,	0,	NULL,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;yqc_cfl_j&apos;,	&apos;yqc_cfl_j&apos;,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	9716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;yqc_cfl_d&apos;,	&apos;yqc_cfl_d&apos;,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	10116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期初调整数&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	10516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;yqm_cfl_j&apos;,	&apos;yqm_cfl_j&apos;,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	10916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;yqm_cfl_d&apos;,	&apos;yqm_cfl_d&apos;,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	11316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异期末调整数&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	11716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	12116.00,	0,	NULL,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审上期借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	12116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	12516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审上期发生额&apos;,	&apos;ysn_ws_fse&apos;,	&apos;ysn_ws_fse&apos;,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	12916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	&apos;yws_qcs&apos;,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	13316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	&apos;yws_fse_j&apos;,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	13716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	&apos;yws_fse_d&apos;,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	14116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	&apos;yws_fse&apos;,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	14516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	&apos;yws_qms&apos;,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	14916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	15316.00,	0,	NULL,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	&apos;qc_cfl_j&apos;,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	15316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	&apos;qc_cfl_d&apos;,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	15716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	16116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初调整借方&apos;,	&apos;qc_tz_j&apos;,	&apos;qc_tz_j&apos;,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	16516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初调整贷方&apos;,	&apos;qc_tz_d&apos;,	&apos;qc_tz_d&apos;,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	16916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初调整调整数&apos;,	&apos;qc_tz_tzs&apos;,	&apos;qc_tz_tzs&apos;,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	17316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	&apos;qc_tzs&apos;,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	17716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	&apos;qm_cfl_j&apos;,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	18116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	&apos;qm_cfl_d&apos;,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	18516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	18916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末调整借方&apos;,	&apos;qm_tz_j&apos;,	&apos;qm_tz_j&apos;,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	19316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末调整贷方&apos;,	&apos;qm_tz_d&apos;,	&apos;qm_tz_d&apos;,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	19716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末调整调整数&apos;,	&apos;qm_tz_tzs&apos;,	&apos;qm_tz_tzs&apos;,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	20116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	&apos;qm_tzs&apos;,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	20516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	20916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	21316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	&apos;g_qm_tz_j&apos;,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	21716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	&apos;g_qm_tz_d&apos;,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	22116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	22516.00,	0,	NULL,	&apos;0&apos;,	NULL,	62,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定上期借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	22516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	22916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定上期发生额&apos;,	&apos;sn_sd_fse&apos;,	&apos;sn_sd_fse&apos;,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	23316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	&apos;sd_qcs&apos;,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	23716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	&apos;sd_fse_j&apos;,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	24116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	&apos;sd_fse_d&apos;,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	24516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	&apos;sd_fse&apos;,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	24916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	&apos;sd_qms&apos;,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	25316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	25716.00,	0,	NULL,	&apos;0&apos;,	NULL,	71,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;0&apos;,	&apos;0&apos;,	25716.00,	0,	NULL,	&apos;0&apos;,	NULL,	72,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄01&apos;,	&apos;wszl01&apos;,	&apos;wszl01&apos;,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;070101&apos;,	&apos;1&apos;,	&apos;0&apos;,	25716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄02&apos;,	&apos;wszl02&apos;,	&apos;wszl02&apos;,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;070102&apos;,	&apos;1&apos;,	&apos;0&apos;,	26116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄03&apos;,	&apos;wszl03&apos;,	&apos;wszl03&apos;,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;070103&apos;,	&apos;1&apos;,	&apos;0&apos;,	26516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄04&apos;,	&apos;wszl04&apos;,	&apos;wszl04&apos;,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;070104&apos;,	&apos;1&apos;,	&apos;0&apos;,	26916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄05&apos;,	&apos;wszl05&apos;,	&apos;wszl05&apos;,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;070105&apos;,	&apos;1&apos;,	&apos;0&apos;,	27316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄06&apos;,	&apos;wszl06&apos;,	&apos;wszl06&apos;,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;070106&apos;,	&apos;1&apos;,	&apos;0&apos;,	27716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄07&apos;,	&apos;wszl07&apos;,	&apos;wszl07&apos;,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;070107&apos;,	&apos;1&apos;,	&apos;0&apos;,	28116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄08&apos;,	&apos;wszl08&apos;,	&apos;wszl08&apos;,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;070108&apos;,	&apos;1&apos;,	&apos;0&apos;,	28516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄09&apos;,	&apos;wszl09&apos;,	&apos;wszl09&apos;,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;070109&apos;,	&apos;1&apos;,	&apos;0&apos;,	28916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄10&apos;,	&apos;wszl10&apos;,	&apos;wszl10&apos;,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;070110&apos;,	&apos;1&apos;,	&apos;0&apos;,	29316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄11&apos;,	&apos;wszl11&apos;,	&apos;wszl11&apos;,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;070111&apos;,	&apos;1&apos;,	&apos;0&apos;,	29716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄12&apos;,	&apos;wszl12&apos;,	&apos;wszl12&apos;,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;070112&apos;,	&apos;1&apos;,	&apos;0&apos;,	30116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄13&apos;,	&apos;wszl13&apos;,	&apos;wszl13&apos;,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;070113&apos;,	&apos;1&apos;,	&apos;0&apos;,	30516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄14&apos;,	&apos;wszl14&apos;,	&apos;wszl14&apos;,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;070114&apos;,	&apos;1&apos;,	&apos;0&apos;,	30916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄15&apos;,	&apos;wszl15&apos;,	&apos;wszl15&apos;,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;070115&apos;,	&apos;1&apos;,	&apos;0&apos;,	31316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;未审账龄16&apos;,	&apos;wszl16&apos;,	&apos;wszl16&apos;,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;070116&apos;,	&apos;1&apos;,	&apos;0&apos;,	31716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;0&apos;,	&apos;0&apos;,	32116.00,	0,	NULL,	&apos;0&apos;,	NULL,	89,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄01&apos;,	&apos;tzzl01&apos;,	&apos;tzzl01&apos;,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;070201&apos;,	&apos;1&apos;,	&apos;0&apos;,	32116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄02&apos;,	&apos;tzzl02&apos;,	&apos;tzzl02&apos;,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;070202&apos;,	&apos;1&apos;,	&apos;0&apos;,	32516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄03&apos;,	&apos;tzzl03&apos;,	&apos;tzzl03&apos;,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;070203&apos;,	&apos;1&apos;,	&apos;0&apos;,	32916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄04&apos;,	&apos;tzzl04&apos;,	&apos;tzzl04&apos;,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;070204&apos;,	&apos;1&apos;,	&apos;0&apos;,	33316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄05&apos;,	&apos;tzzl05&apos;,	&apos;tzzl05&apos;,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;070205&apos;,	&apos;1&apos;,	&apos;0&apos;,	33716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄06&apos;,	&apos;tzzl06&apos;,	&apos;tzzl06&apos;,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;070206&apos;,	&apos;1&apos;,	&apos;0&apos;,	34116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄07&apos;,	&apos;tzzl07&apos;,	&apos;tzzl07&apos;,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;070207&apos;,	&apos;1&apos;,	&apos;0&apos;,	34516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄08&apos;,	&apos;tzzl08&apos;,	&apos;tzzl08&apos;,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;070208&apos;,	&apos;1&apos;,	&apos;0&apos;,	34916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄09&apos;,	&apos;tzzl09&apos;,	&apos;tzzl09&apos;,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;070209&apos;,	&apos;1&apos;,	&apos;0&apos;,	35316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄10&apos;,	&apos;tzzl10&apos;,	&apos;tzzl10&apos;,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;070210&apos;,	&apos;1&apos;,	&apos;0&apos;,	35716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄11&apos;,	&apos;tzzl11&apos;,	&apos;tzzl11&apos;,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;070211&apos;,	&apos;1&apos;,	&apos;0&apos;,	36116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄12&apos;,	&apos;tzzl12&apos;,	&apos;tzzl12&apos;,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;070212&apos;,	&apos;1&apos;,	&apos;0&apos;,	36516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄13&apos;,	&apos;tzzl13&apos;,	&apos;tzzl13&apos;,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;070213&apos;,	&apos;1&apos;,	&apos;0&apos;,	36916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄14&apos;,	&apos;tzzl14&apos;,	&apos;tzzl14&apos;,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;070214&apos;,	&apos;1&apos;,	&apos;0&apos;,	37316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄15&apos;,	&apos;tzzl15&apos;,	&apos;tzzl15&apos;,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;070215&apos;,	&apos;1&apos;,	&apos;0&apos;,	37716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;调整账龄16&apos;,	&apos;tzzl16&apos;,	&apos;tzzl16&apos;,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;070216&apos;,	&apos;1&apos;,	&apos;0&apos;,	38116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;0&apos;,	&apos;0&apos;,	38516.00,	0,	NULL,	&apos;0&apos;,	NULL,	106,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄01&apos;,	&apos;wszl01 + tzzl01&apos;,	&apos;wszl01 + tzzl01&apos;,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;070301&apos;,	&apos;1&apos;,	&apos;0&apos;,	38516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄02&apos;,	&apos;wszl02 + tzzl02&apos;,	&apos;wszl02 + tzzl02&apos;,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;070302&apos;,	&apos;1&apos;,	&apos;0&apos;,	38916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄03&apos;,	&apos;wszl03 + tzzl03&apos;,	&apos;wszl03 + tzzl03&apos;,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;070303&apos;,	&apos;1&apos;,	&apos;0&apos;,	39316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄04&apos;,	&apos;wszl04 + tzzl04&apos;,	&apos;wszl04 + tzzl04&apos;,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;070304&apos;,	&apos;1&apos;,	&apos;0&apos;,	39716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄05&apos;,	&apos;wszl05 + tzzl05&apos;,	&apos;wszl05 + tzzl05&apos;,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;070305&apos;,	&apos;1&apos;,	&apos;0&apos;,	40116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄06&apos;,	&apos;wszl06 + tzzl06&apos;,	&apos;wszl06 + tzzl06&apos;,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;070306&apos;,	&apos;1&apos;,	&apos;0&apos;,	40516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄07&apos;,	&apos;wszl07 + tzzl07&apos;,	&apos;wszl07 + tzzl07&apos;,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;070307&apos;,	&apos;1&apos;,	&apos;0&apos;,	40916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄08&apos;,	&apos;wszl08 + tzzl08&apos;,	&apos;wszl08 + tzzl08&apos;,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;070308&apos;,	&apos;1&apos;,	&apos;0&apos;,	41316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	114,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄09&apos;,	&apos;wszl09+ tzzl09&apos;,	&apos;wszl09+ tzzl09&apos;,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;070309&apos;,	&apos;1&apos;,	&apos;0&apos;,	41716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	115,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄10&apos;,	&apos;wszl10 + tzzl10&apos;,	&apos;wszl10 + tzzl10&apos;,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;070310&apos;,	&apos;1&apos;,	&apos;0&apos;,	42116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	116,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄11&apos;,	&apos;wszl11 + tzzl11&apos;,	&apos;wszl11 + tzzl11&apos;,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;070311&apos;,	&apos;1&apos;,	&apos;0&apos;,	42516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	117,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄12&apos;,	&apos;wszl12 + tzzl12&apos;,	&apos;wszl12 + tzzl12&apos;,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;070312&apos;,	&apos;1&apos;,	&apos;0&apos;,	42916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	118,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄13&apos;,	&apos;wszl13 + tzzl13&apos;,	&apos;wszl13 + tzzl13&apos;,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;070313&apos;,	&apos;1&apos;,	&apos;0&apos;,	43316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	119,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄14&apos;,	&apos;wszl14 + tzzl14&apos;,	&apos;wszl14 + tzzl14&apos;,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;070314&apos;,	&apos;1&apos;,	&apos;0&apos;,	43716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	120,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄15&apos;,	&apos;wszl15+ tzzl15&apos;,	&apos;wszl15+ tzzl15&apos;,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;070315&apos;,	&apos;1&apos;,	&apos;0&apos;,	44116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	121,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;审定账龄16&apos;,	&apos;wszl16 + tzzl16&apos;,	&apos;wszl16 + tzzl16&apos;,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;070316&apos;,	&apos;1&apos;,	&apos;0&apos;,	44516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	122,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	44916.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	123,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;0&apos;,	44916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	124,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	45316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	125,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	&apos;c03&apos;,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	45716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	126,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	&apos;c04&apos;,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	46116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	127,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	&apos;c05&apos;,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	46516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	128,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	&apos;c06&apos;,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	46916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	129,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	&apos;c07&apos;,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	47316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	130,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	&apos;c08&apos;,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	47716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	131,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	&apos;c09&apos;,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0809&apos;,	&apos;1&apos;,	&apos;0&apos;,	48116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	132,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	&apos;c10&apos;,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0810&apos;,	&apos;1&apos;,	&apos;0&apos;,	48516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	133,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;09&apos;,	&apos;0&apos;,	&apos;0&apos;,	48916.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	134,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0901&apos;,	&apos;1&apos;,	&apos;0&apos;,	48916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	135,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0902&apos;,	&apos;1&apos;,	&apos;0&apos;,	49316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	136,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0903&apos;,	&apos;1&apos;,	&apos;0&apos;,	49716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	137,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0904&apos;,	&apos;1&apos;,	&apos;0&apos;,	50116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	138,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期初未更正数&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0905&apos;,	&apos;1&apos;,	&apos;0&apos;,	50516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	139,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;期末未更正数&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0906&apos;,	&apos;1&apos;,	&apos;0&apos;,	50916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	140,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0907&apos;,	&apos;1&apos;,	&apos;0&apos;,	51316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	141,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0908&apos;,	&apos;1&apos;,	&apos;0&apos;,	51716.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	142,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>420</no><make_date>2010-10-21 17:56:59.359000</make_date><note>修改基本表列信息-插入数据8</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	1,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1350.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1750.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	&apos;getkmmc(c_hsxm_yye.dwid,c_hsxm_yye.ndid,c_hsxm_yye.kmbh,100)&apos;,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1850.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	&apos;qcs&apos;,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2450.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2790.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3130.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	&apos;fse&apos;,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3470.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	&apos;qms&apos;,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3810.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;期初数量&apos;,	&apos;qcs_sl&apos;,	&apos;qcs_sl&apos;,	&apos;qcs_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4150.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;借方数量&apos;,	&apos;jffse_sl&apos;,	&apos;jffse_sl&apos;,	&apos;jffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4490.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;贷方数量&apos;,	&apos;dffse_sl&apos;,	&apos;dffse_sl&apos;,	&apos;dffse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4830.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;发生额数量&apos;,	&apos;fse_sl&apos;,	&apos;fse_sl&apos;,	&apos;fse_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5170.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;期末数量&apos;,	&apos;qms_sl&apos;,	&apos;qms_sl&apos;,	&apos;qms_sl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5510.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5850.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5950.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6050.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6150.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6250.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6350.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6450.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5002&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6550.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	1,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;凭证编号&apos;,	&apos;pzbh&apos;,	&apos;pzbh&apos;,	&apos;pzbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;凭证种类&apos;,	&apos;pzzl&apos;,	&apos;pzzl&apos;,	&apos;pzzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;编号&apos;,	&apos;bh&apos;,	&apos;bh&apos;,	&apos;bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;业务说明&apos;,	&apos;sm&apos;,	&apos;sm&apos;,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;货币种类&apos;,	&apos;hbzl&apos;,	&apos;hbzl&apos;,	&apos;hbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;汇率&apos;,	&apos;hl&apos;,	&apos;hl&apos;,	&apos;hl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;kmmc||&apos;&apos;:&apos;&apos;||hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2300.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2640.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;借方数量&apos;,	&apos;jfsl&apos;,	&apos;jfsl&apos;,	&apos;jfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2980.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;借方单价&apos;,	&apos;jfdj&apos;,	&apos;jfdj&apos;,	&apos;jfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3320.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3660.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4000.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;贷方数量&apos;,	&apos;dfsl&apos;,	&apos;dfsl&apos;,	&apos;dfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4340.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;贷方单价&apos;,	&apos;dfdj&apos;,	&apos;dfdj&apos;,	&apos;dfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4680.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5020.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5360.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6000.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;抽样标记&apos;,	&apos;chouyang&apos;,	&apos;chouyang&apos;,	&apos;chouyang&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;凭证标记&apos;,	&apos;pzbj&apos;,	&apos;pzbj&apos;,	&apos;pzbj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;抽疑标记&apos;,	&apos;chouyi&apos;,	&apos;chouyi&apos;,	&apos;chouyi&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;抽疑说明&apos;,	&apos;cysm&apos;,	&apos;cysm&apos;,	&apos;cysm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;记账时间&apos;,	&apos;jzsj&apos;,	&apos;jzsj&apos;,	&apos;jzsj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5003&apos;,	&apos;对方科目名称&apos;,	&apos;dfkmmc&apos;,	&apos;dfkmmc&apos;,	&apos;dfkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6900.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	&apos;wbzl&apos;,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1050.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	&apos;getkmmc(c_wb_hsxm_zz.dwid,c_wb_hsxm_zz.ndid,c_wb_hsxm_zz.kmbh,100)&apos;,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1150.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	1350.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	8,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1350.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年期初数&apos;,	&apos;sn_qcs&apos;,	&apos;sn_qcs&apos;,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	1550.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面借方发生额&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	1890.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.01;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面贷方发生额&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	2230.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.02;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面发生额&apos;,	&apos;sn_fse&apos;,	&apos;sn_fse&apos;,	&apos;sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	2570.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.03;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年期初数_外币&apos;,	&apos;sn_qcs_f&apos;,	&apos;sn_qcs_f&apos;,	&apos;sn_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;1&apos;,	2910.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.04;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面借方发生额_外币&apos;,	&apos;sn_ws_fse_j_f&apos;,	&apos;sn_ws_fse_j_f&apos;,	&apos;sn_ws_fse_j_f&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;1&apos;,	3250.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.05;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面贷方发生额_外币&apos;,	&apos;sn_ws_fse_d_f&apos;,	&apos;sn_ws_fse_d_f&apos;,	&apos;sn_ws_fse_d_f&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;1&apos;,	3590.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.06;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年账面发生额_外币&apos;,	&apos;sn_fse_f&apos;,	&apos;sn_fse_f&apos;,	&apos;sn_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;1&apos;,	3930.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.07;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	4270.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	18,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	&apos;ws_qcs&apos;,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	4270.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.05;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面借方发生额&apos;,	&apos;ws_fse_j&apos;,	&apos;ws_fse_j&apos;,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	4610.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.06;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面贷方发生额&apos;,	&apos;ws_fse_d&apos;,	&apos;ws_fse_d&apos;,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	4950.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.07;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面发生额&apos;,	&apos;ws_fse&apos;,	&apos;ws_fse&apos;,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	5290.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.08;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	&apos;ws_qms&apos;,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	5630.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.09;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面期初数_外币&apos;,	&apos;ws_qcs_f&apos;,	&apos;ws_qcs_f&apos;,	&apos;ws_qcs_f&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;1&apos;,	5970.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.10;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面借方发生额_外币&apos;,	&apos;ws_fse_j_f&apos;,	&apos;ws_fse_j_f&apos;,	&apos;ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;1&apos;,	6310.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.11;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面贷方发生额_外币&apos;,	&apos;ws_fse_d_f&apos;,	&apos;ws_fse_d_f&apos;,	&apos;ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;1&apos;,	6650.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.12;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面发生额_外币&apos;,	&apos;ws_fse_f&apos;,	&apos;ws_fse_f&apos;,	&apos;ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;1&apos;,	6990.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.13;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账面期末数_外币&apos;,	&apos;ws_qms_f&apos;,	&apos;ws_qms_f&apos;,	&apos;ws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;1&apos;,	7330.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.14;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	7670.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	29,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整借方金额&apos;,	&apos;yqc_cfl_j&apos;,	&apos;yqc_cfl_j&apos;,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;0&apos;,	7670.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.14;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整贷方金额&apos;,	&apos;yqc_cfl_d&apos;,	&apos;yqc_cfl_d&apos;,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;0&apos;,	8010.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.15;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整金额&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;0&apos;,	8350.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.16;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整借方金额_外币&apos;,	&apos;yqc_cfl_j_f&apos;,	&apos;yqc_cfl_j_f&apos;,	&apos;yqc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;0&apos;,	8690.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.17;#&apos;,	&apos;0&apos;,	NULL,	33,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整贷方金额_外币&apos;,	&apos;yqc_cfl_d_f&apos;,	&apos;yqc_cfl_d_f&apos;,	&apos;yqc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;0&apos;,	9030.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.18;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账表差异调整金额_外币&apos;,	&apos;yqc_cfl_tzs_f&apos;,	&apos;yqc_cfl_tzs_f&apos;,	&apos;yqc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;0&apos;,	9370.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.19;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整借方金额&apos;,	&apos;yqm_cfl_j&apos;,	&apos;yqm_cfl_j&apos;,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0307&apos;,	&apos;1&apos;,	&apos;0&apos;,	9710.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.20;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整贷方金额&apos;,	&apos;yqm_cfl_d&apos;,	&apos;yqm_cfl_d&apos;,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0308&apos;,	&apos;1&apos;,	&apos;0&apos;,	10050.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.21;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整金额&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0309&apos;,	&apos;1&apos;,	&apos;0&apos;,	10390.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.22;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整借方金额_外币&apos;,	&apos;yqm_cfl_j_f&apos;,	&apos;yqm_cfl_j_f&apos;,	&apos;yqm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0310&apos;,	&apos;1&apos;,	&apos;0&apos;,	10730.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.23;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整贷方金额_外币&apos;,	&apos;yqm_cfl_d_f&apos;,	&apos;yqm_cfl_d_f&apos;,	&apos;yqm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0311&apos;,	&apos;1&apos;,	&apos;0&apos;,	11070.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.24;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账表差异调整金额_外币&apos;,	&apos;yqm_cfl_tzs_f&apos;,	&apos;yqm_cfl_tzs_f&apos;,	&apos;yqm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0312&apos;,	&apos;1&apos;,	&apos;0&apos;,	11410.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.25;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	11750.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	42,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年借方发生额&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	11750.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.21;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年贷方发生额&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	12090.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.22;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年发生额&apos;,	&apos;ysn_ws_fse&apos;,	&apos;ysn_ws_fse&apos;,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	12430.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.23;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	&apos;yws_qcs&apos;,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	12770.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.24;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审借方发生额&apos;,	&apos;yws_fse_j&apos;,	&apos;yws_fse_j&apos;,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	13110.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.25;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审贷方发生额&apos;,	&apos;yws_fse_d&apos;,	&apos;yws_fse_d&apos;,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	13450.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.26;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审发生额&apos;,	&apos;yws_fse&apos;,	&apos;yws_fse&apos;,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	13790.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.27;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	&apos;yws_qms&apos;,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	14130.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.28;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年借方发生额_外币&apos;,	&apos;ysn_ws_fse_j_f&apos;,	&apos;ysn_ws_fse_j_f&apos;,	&apos;ysn_ws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0409&apos;,	&apos;1&apos;,	&apos;1&apos;,	14470.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.29;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年贷方发生额_外币&apos;,	&apos;ysn_ws_fse_d_f&apos;,	&apos;ysn_ws_fse_d_f&apos;,	&apos;ysn_ws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0410&apos;,	&apos;1&apos;,	&apos;1&apos;,	14810.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.30;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审上年发生额_外币&apos;,	&apos;ysn_ws_fse_f&apos;,	&apos;ysn_ws_fse_f&apos;,	&apos;ysn_ws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0411&apos;,	&apos;1&apos;,	&apos;1&apos;,	15150.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.31;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审期初数_外币&apos;,	&apos;yws_qcs_f&apos;,	&apos;yws_qcs_f&apos;,	&apos;yws_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0412&apos;,	&apos;1&apos;,	&apos;1&apos;,	15490.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.32;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审借方发生额_外币&apos;,	&apos;yws_fse_j_f&apos;,	&apos;yws_fse_j_f&apos;,	&apos;yws_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0413&apos;,	&apos;1&apos;,	&apos;1&apos;,	15830.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.33;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审贷方发生额_外币&apos;,	&apos;yws_fse_d_f&apos;,	&apos;yws_fse_d_f&apos;,	&apos;yws_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0414&apos;,	&apos;1&apos;,	&apos;1&apos;,	16170.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.34;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审发生额_外币&apos;,	&apos;yws_fse_f&apos;,	&apos;yws_fse_f&apos;,	&apos;yws_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0415&apos;,	&apos;1&apos;,	&apos;1&apos;,	16510.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.35;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;未审期末数_外币&apos;,	&apos;yws_qms_f&apos;,	&apos;yws_qms_f&apos;,	&apos;yws_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0416&apos;,	&apos;1&apos;,	&apos;1&apos;,	16850.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.36;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	17190.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	59,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类借方&apos;,	&apos;qc_cfl_j&apos;,	&apos;qc_cfl_j&apos;,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;0&apos;,	17190.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.35;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类贷方&apos;,	&apos;qc_cfl_d&apos;,	&apos;qc_cfl_d&apos;,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;0&apos;,	17530.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.36;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类调整数&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;0&apos;,	17870.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.37;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整借方&apos;,	&apos;qc_tz_j&apos;,	&apos;qc_tz_j&apos;,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;0&apos;,	18210.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.38;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整贷方&apos;,	&apos;qc_tz_d&apos;,	&apos;qc_tz_d&apos;,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;0&apos;,	18550.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.39;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整数&apos;,	&apos;qc_tz_tzs&apos;,	&apos;qc_tz_tzs&apos;,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;0&apos;,	18890.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.40;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初调整数&apos;,	&apos;qc_tzs&apos;,	&apos;qc_tzs&apos;,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;0&apos;,	19230.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.41;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类借方_外币&apos;,	&apos;qc_cfl_j_f&apos;,	&apos;qc_cfl_j_f&apos;,	&apos;qc_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;0&apos;,	19570.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.42;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类贷方_外币&apos;,	&apos;qc_cfl_d_f&apos;,	&apos;qc_cfl_d_f&apos;,	&apos;qc_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;0&apos;,	19910.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.43;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初重分类调整数_外币&apos;,	&apos;qc_cfl_tzs_f&apos;,	&apos;qc_cfl_tzs_f&apos;,	&apos;qc_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;0&apos;,	20250.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.44;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整借方_外币&apos;,	&apos;qc_tz_j_f&apos;,	&apos;qc_tz_j_f&apos;,	&apos;qc_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;0&apos;,	20590.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.45;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整贷方_外币&apos;,	&apos;qc_tz_d_f&apos;,	&apos;qc_tz_d_f&apos;,	&apos;qc_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;0&apos;,	20930.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.46;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初账项调整数_外币&apos;,	&apos;qc_tz_tzs_f&apos;,	&apos;qc_tz_tzs_f&apos;,	&apos;qc_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;0&apos;,	21270.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.47;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期初调整数_外币&apos;,	&apos;qc_tzs_f&apos;,	&apos;qc_tzs_f&apos;,	&apos;qc_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;0&apos;,	21610.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.48;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类借方&apos;,	&apos;qm_cfl_j&apos;,	&apos;qm_cfl_j&apos;,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;0&apos;,	21950.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.49;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类贷方&apos;,	&apos;qm_cfl_d&apos;,	&apos;qm_cfl_d&apos;,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;0&apos;,	22290.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.50;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类调整数&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;0&apos;,	22630.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.51;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整借方&apos;,	&apos;qm_tz_j&apos;,	&apos;qm_tz_j&apos;,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;0&apos;,	22970.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.52;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整贷方&apos;,	&apos;qm_tz_d&apos;,	&apos;qm_tz_d&apos;,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0519&apos;,	&apos;1&apos;,	&apos;0&apos;,	23310.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.53;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整数&apos;,	&apos;qm_tz_tzs&apos;,	&apos;qm_tz_tzs&apos;,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0520&apos;,	&apos;1&apos;,	&apos;0&apos;,	23650.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.54;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	&apos;qm_tzs&apos;,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0521&apos;,	&apos;1&apos;,	&apos;0&apos;,	23990.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.55;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类借方_外币&apos;,	&apos;qm_cfl_j_f&apos;,	&apos;qm_cfl_j_f&apos;,	&apos;qm_cfl_j_f&apos;,	&apos;0&apos;,	2,	&apos;0522&apos;,	&apos;1&apos;,	&apos;0&apos;,	24330.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.56;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类贷方_外币&apos;,	&apos;qm_cfl_d_f&apos;,	&apos;qm_cfl_d_f&apos;,	&apos;qm_cfl_d_f&apos;,	&apos;0&apos;,	2,	&apos;0523&apos;,	&apos;1&apos;,	&apos;0&apos;,	24670.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.57;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末重分类调整数_外币&apos;,	&apos;qm_cfl_tzs_f&apos;,	&apos;qm_cfl_tzs_f&apos;,	&apos;qm_cfl_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0524&apos;,	&apos;1&apos;,	&apos;0&apos;,	25010.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.58;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整借方_外币&apos;,	&apos;qm_tz_j_f&apos;,	&apos;qm_tz_j_f&apos;,	&apos;qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0525&apos;,	&apos;1&apos;,	&apos;0&apos;,	25350.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.59;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整贷方_外币&apos;,	&apos;qm_tz_d_f&apos;,	&apos;qm_tz_d_f&apos;,	&apos;qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0526&apos;,	&apos;1&apos;,	&apos;0&apos;,	25690.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.60;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末账项调整数_外币&apos;,	&apos;qm_tz_tzs_f&apos;,	&apos;qm_tz_tzs_f&apos;,	&apos;qm_tz_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0527&apos;,	&apos;1&apos;,	&apos;0&apos;,	26030.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.61;#&apos;,	&apos;0&apos;,	NULL,	86,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;期末调整数_外币&apos;,	&apos;qm_tzs_f&apos;,	&apos;qm_tzs_f&apos;,	&apos;qm_tzs_f&apos;,	&apos;0&apos;,	2,	&apos;0528&apos;,	&apos;1&apos;,	&apos;0&apos;,	26370.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.62;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0529&apos;,	&apos;1&apos;,	&apos;0&apos;,	26710.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.63;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0530&apos;,	&apos;1&apos;,	&apos;0&apos;,	27050.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.64;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;g_qm_tz_j&apos;,	&apos;g_qm_tz_j&apos;,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0531&apos;,	&apos;1&apos;,	&apos;0&apos;,	27390.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.65;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;g_qm_tz_d&apos;,	&apos;g_qm_tz_d&apos;,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0532&apos;,	&apos;1&apos;,	&apos;0&apos;,	27730.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.66;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账表差异滚调影响期末数借方_外币&apos;,	&apos;g_yqm_tz_j_f&apos;,	&apos;g_yqm_tz_j_f&apos;,	&apos;g_yqm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0533&apos;,	&apos;1&apos;,	&apos;0&apos;,	28070.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.67;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;账表差异滚调影响期末数贷方_外币&apos;,	&apos;g_yqm_tz_d_f&apos;,	&apos;g_yqm_tz_d_f&apos;,	&apos;g_yqm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0534&apos;,	&apos;1&apos;,	&apos;0&apos;,	28410.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.68;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;调整分录滚调影响期末数借方_外币&apos;,	&apos;g_qm_tz_j_f&apos;,	&apos;g_qm_tz_j_f&apos;,	&apos;g_qm_tz_j_f&apos;,	&apos;0&apos;,	2,	&apos;0535&apos;,	&apos;1&apos;,	&apos;0&apos;,	28750.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.69;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;调整分录滚调影响期末数贷方_外币&apos;,	&apos;g_qm_tz_d_f&apos;,	&apos;g_qm_tz_d_f&apos;,	&apos;g_qm_tz_d_f&apos;,	&apos;0&apos;,	2,	&apos;0536&apos;,	&apos;1&apos;,	&apos;0&apos;,	29090.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.70;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	29430.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	96,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定借方发生额&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	29430.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.68;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定贷方发生额&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	29770.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.69;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定发生额&apos;,	&apos;sn_sd_fse&apos;,	&apos;sn_sd_fse&apos;,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	30110.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.70;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	&apos;sd_qcs&apos;,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	30450.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.71;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定借方发生额&apos;,	&apos;sd_fse_j&apos;,	&apos;sd_fse_j&apos;,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	30790.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.72;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定贷方发生额&apos;,	&apos;sd_fse_d&apos;,	&apos;sd_fse_d&apos;,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	31130.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.73;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定发生额&apos;,	&apos;sd_fse&apos;,	&apos;sd_fse&apos;,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	31470.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.74;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	&apos;sd_qms&apos;,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	31810.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.75;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定借方发生额_外币&apos;,	&apos;sn_sd_fse_j_f&apos;,	&apos;sn_sd_fse_j_f&apos;,	&apos;sn_sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0609&apos;,	&apos;1&apos;,	&apos;1&apos;,	32150.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.76;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定贷方发生额_外币&apos;,	&apos;sn_sd_fse_d_f&apos;,	&apos;sn_sd_fse_d_f&apos;,	&apos;sn_sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0610&apos;,	&apos;1&apos;,	&apos;1&apos;,	32490.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.77;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;上年审定发生额_外币&apos;,	&apos;sn_sd_fse_f&apos;,	&apos;sn_sd_fse_f&apos;,	&apos;sn_sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0611&apos;,	&apos;1&apos;,	&apos;1&apos;,	32830.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.78;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定期初数_外币&apos;,	&apos;sd_qcs_f&apos;,	&apos;sd_qcs_f&apos;,	&apos;sd_qcs_f&apos;,	&apos;0&apos;,	2,	&apos;0612&apos;,	&apos;1&apos;,	&apos;1&apos;,	33170.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.79;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定借方发生额_外币&apos;,	&apos;sd_fse_j_f&apos;,	&apos;sd_fse_j_f&apos;,	&apos;sd_fse_j_f&apos;,	&apos;0&apos;,	2,	&apos;0613&apos;,	&apos;1&apos;,	&apos;1&apos;,	33510.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.80;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定贷方发生额_外币&apos;,	&apos;sd_fse_d_f&apos;,	&apos;sd_fse_d_f&apos;,	&apos;sd_fse_d_f&apos;,	&apos;0&apos;,	2,	&apos;0614&apos;,	&apos;1&apos;,	&apos;1&apos;,	33850.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.81;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定发生额_外币&apos;,	&apos;sd_fse_f&apos;,	&apos;sd_fse_f&apos;,	&apos;sd_fse_f&apos;,	&apos;0&apos;,	2,	&apos;0615&apos;,	&apos;1&apos;,	&apos;1&apos;,	34190.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.82;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;审定期末数_外币&apos;,	&apos;sd_qms_f&apos;,	&apos;sd_qms_f&apos;,	&apos;sd_qms_f&apos;,	&apos;0&apos;,	2,	&apos;0616&apos;,	&apos;1&apos;,	&apos;1&apos;,	34530.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.83;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	34870.00,	0,	&apos;-&apos;,	&apos;0&apos;,	NULL,	113,	&apos;-&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	34870.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	34970.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	35070.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;0&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	35170.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;0&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	35270.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	118,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;0&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	35370.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	119,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	35470.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	120,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;0&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	35570.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	121,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5004&apos;,	&apos;凭证数量&apos;,	&apos;pzsl&apos;,	&apos;pzsl&apos;,	&apos;pzsl&apos;,	&apos;0&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	35670.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	122,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;会计年度&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;会计期间&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	50.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目级次&apos;,	&apos;kmjc&apos;,	&apos;kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1350.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;末级标志&apos;,	&apos;sfmx&apos;,	&apos;1&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	&apos;getkmmc(c_wb_hsxm_yye.dwid,c_wb_hsxm_yye.ndid,c_wb_hsxm_yye.kmbh,100)&apos;,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1450.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目伪码&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;kmwm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	1650.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;外币种类&apos;,	&apos;wbzl&apos;,	&apos;wbzl&apos;,	&apos;wbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1850.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;期初数&apos;,	&apos;qcs&apos;,	&apos;qcs&apos;,	&apos;qcs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2050.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2390.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2730.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;发生额&apos;,	&apos;fse&apos;,	&apos;fse&apos;,	&apos;fse&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3070.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;期末数&apos;,	&apos;qms&apos;,	&apos;qms&apos;,	&apos;qms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3410.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;期初数_外币&apos;,	&apos;qcs_f&apos;,	&apos;qcs_f&apos;,	&apos;qcs_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3750.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4090.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4430.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;发生额_外币&apos;,	&apos;fse_f&apos;,	&apos;fse_f&apos;,	&apos;fse_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4770.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;期末数_外币&apos;,	&apos;qms_f&apos;,	&apos;qms_f&apos;,	&apos;qms_f&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5110.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5450.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5550.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5650.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5750.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5850.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5950.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6050.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5005&apos;,	&apos;科目附加信息&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;fzfl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6150.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;科目编号&apos;,	&apos;c_cwkmk.kmbh&apos;,	&apos;c_hsxm_zz.kmbh||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmlxbh||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	204.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;科目名称&apos;,	&apos;c_cwkmk.kmmc&apos;,	&apos;c_hsxm_zz.hsxmlxmc||&apos;&apos;:&apos;&apos;||c_hsxm_zz.hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	708.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;借贷方向&apos;,	&apos;c_cwkmk.jdfx&apos;,	&apos;c_hsxm_zz.jdfx&apos;,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1566.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;科目级次&apos;,	&apos;c_cwkmk.kmjc&apos;,	&apos;c_hsxm_zz.kmjc + 1&apos;,	&apos;kmjc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1616.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;是否明细科目&apos;,	&apos;c_cwkmk.sfmx&apos;,	&apos;c_hsxm_zz.sfmx&apos;,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1666.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上级科目名称&apos;,	&apos;c_cwkmk.sjkmmc&apos;,	&apos;getkmmc(c_hsxm_zz.dwid,c_hsxm_zz.ndid,c_hsxm_zz.kmbh,100)&apos;,	&apos;sjkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1716.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	2516.00,	0,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期期初数&apos;,	&apos;c_cwkmk.sn_qcs&apos;,	&apos;c_hsxm_zz.sn_qcs&apos;,	&apos;sn_qcs&apos;,	&apos;1&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面上期借方发生额&apos;,	&apos;c_cwkmk.sn_ws_fse_j&apos;,	&apos;c_hsxm_zz.sn_ws_fse_j&apos;,	&apos;sn_ws_fse_j&apos;,	&apos;1&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	2916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;c_cwkmk.sn_ws_fse_d&apos;,	&apos;c_hsxm_zz.sn_ws_fse_d&apos;,	&apos;sn_ws_fse_d&apos;,	&apos;1&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面上期发生额&apos;,	&apos;c_cwkmk.sn_ws_fse&apos;,	&apos;c_hsxm_zz.sn_ws_fse&apos;,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	3716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期期初数量&apos;,	&apos;c_cwkmk.sn_qcs_sl&apos;,	&apos;c_hsxm_zz.sn_qcs_sl&apos;,	&apos;sn_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;0&apos;,	4116.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期借方数量&apos;,	&apos;c_cwkmk.sn_ws_fse_j_sl&apos;,	&apos;c_hsxm_zz.sn_ws_fse_j_sl&apos;,	&apos;sn_ws_fse_j_sl&apos;,	&apos;1&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;0&apos;,	4516.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期贷方数量&apos;,	&apos;c_cwkmk.sn_ws_fse_d_sl&apos;,	&apos;c_hsxm_zz.sn_ws_fse_d_sl&apos;,	&apos;sn_ws_fse_d_sl&apos;,	&apos;1&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;0&apos;,	4916.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;上期发生额数量&apos;,	&apos;c_cwkmk.sn_ws_fse_sl&apos;,	&apos;c_hsxm_zz.sn_ws_fse_sl&apos;,	&apos;sn_ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;0&apos;,	5316.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	5716.00,	0,	NULL,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面期初数&apos;,	&apos;c_cwkmk.ws_qcs&apos;,	&apos;c_hsxm_zz.ws_qcs&apos;,	&apos;ws_qcs&apos;,	&apos;1&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	5716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面借方发生额&apos;,	&apos;c_cwkmk.ws_fse_j&apos;,	&apos;c_hsxm_zz.ws_fse_j&apos;,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	6116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面贷方发生额&apos;,	&apos;c_cwkmk.ws_fse_d&apos;,	&apos;c_hsxm_zz.ws_fse_d&apos;,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	6516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面发生额&apos;,	&apos;c_cwkmk.ws_fse&apos;,	&apos;c_hsxm_zz.ws_fse&apos;,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	6916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账面期末数&apos;,	&apos;c_cwkmk.ws_qms&apos;,	&apos;c_hsxm_zz.ws_qms&apos;,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	7316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初数量&apos;,	&apos;c_cwkmk.ws_qcs_sl&apos;,	&apos;c_hsxm_zz.ws_qcs_sl&apos;,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;0&apos;,	7716.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;借方数量&apos;,	&apos;c_cwkmk.ws_fse_j_sl&apos;,	&apos;c_hsxm_zz.ws_fse_j_sl&apos;,	&apos;ws_fse_j_sl&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;0&apos;,	8116.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;贷方数量&apos;,	&apos;c_cwkmk.ws_fse_d_sl&apos;,	&apos;c_hsxm_zz.ws_fse_d_sl&apos;,	&apos;ws_fse_d_sl&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;0&apos;,	8516.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;发生额数量&apos;,	&apos;c_cwkmk.ws_fse_sl&apos;,	&apos;c_hsxm_zz.ws_fse_sl&apos;,	&apos;ws_fse_sl&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;0&apos;,	8916.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末数量&apos;,	&apos;c_cwkmk.ws_qms_sl&apos;,	&apos;c_hsxm_zz.ws_qms_sl&apos;,	&apos;ws_qms_sl&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;0&apos;,	9316.00,	400.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;月发生额&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0211&apos;,	&apos;0&apos;,	&apos;0&apos;,	9716.00,	0,	NULL,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;1月借方发生额&apos;,	&apos;kmye.fse_j1&apos;,	&apos;kmye.fse_j1&apos;,	&apos;fse_j1&apos;,	&apos;0&apos;,	3,	&apos;021101&apos;,	&apos;1&apos;,	&apos;1&apos;,	9716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;1月贷方发生额&apos;,	&apos;kmye.fse_d1&apos;,	&apos;kmye.fse_d1&apos;,	&apos;fse_d1&apos;,	&apos;0&apos;,	3,	&apos;021102&apos;,	&apos;1&apos;,	&apos;1&apos;,	10116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;1月发生额&apos;,	&apos;kmye.fse_1&apos;,	&apos;kmye.fse_1&apos;,	&apos;fse_1&apos;,	&apos;0&apos;,	3,	&apos;021103&apos;,	&apos;1&apos;,	&apos;1&apos;,	10516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;2月借方发生额&apos;,	&apos;kmye.fse_j2&apos;,	&apos;kmye.fse_j2&apos;,	&apos;fse_j2&apos;,	&apos;0&apos;,	3,	&apos;021104&apos;,	&apos;1&apos;,	&apos;1&apos;,	10916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;2月贷方发生额&apos;,	&apos;kmye.fse_d2&apos;,	&apos;kmye.fse_d2&apos;,	&apos;fse_d2&apos;,	&apos;0&apos;,	3,	&apos;021105&apos;,	&apos;1&apos;,	&apos;1&apos;,	11316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;2月发生额&apos;,	&apos;kmye.fse_2&apos;,	&apos;kmye.fse_2&apos;,	&apos;fse_2&apos;,	&apos;0&apos;,	3,	&apos;021106&apos;,	&apos;1&apos;,	&apos;1&apos;,	11716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;3月借方发生额&apos;,	&apos;kmye.fse_j3&apos;,	&apos;kmye.fse_j3&apos;,	&apos;fse_j3&apos;,	&apos;0&apos;,	3,	&apos;021107&apos;,	&apos;1&apos;,	&apos;1&apos;,	12116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;3月贷方发生额&apos;,	&apos;kmye.fse_d3&apos;,	&apos;kmye.fse_d3&apos;,	&apos;fse_d3&apos;,	&apos;0&apos;,	3,	&apos;021108&apos;,	&apos;1&apos;,	&apos;1&apos;,	12516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;3月发生额&apos;,	&apos;kmye.fse_3&apos;,	&apos;kmye.fse_3&apos;,	&apos;fse_3&apos;,	&apos;0&apos;,	3,	&apos;021109&apos;,	&apos;1&apos;,	&apos;1&apos;,	12916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;4月借方发生额&apos;,	&apos;kmye.fse_j4&apos;,	&apos;kmye.fse_j4&apos;,	&apos;fse_j4&apos;,	&apos;0&apos;,	3,	&apos;021110&apos;,	&apos;1&apos;,	&apos;1&apos;,	13316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	43,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;4月贷方发生额&apos;,	&apos;kmye.fse_d4&apos;,	&apos;kmye.fse_d4&apos;,	&apos;fse_d4&apos;,	&apos;0&apos;,	3,	&apos;021111&apos;,	&apos;1&apos;,	&apos;1&apos;,	13716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;4月发生额&apos;,	&apos;kmye.fse_4&apos;,	&apos;kmye.fse_4&apos;,	&apos;fse_4&apos;,	&apos;0&apos;,	3,	&apos;021112&apos;,	&apos;1&apos;,	&apos;1&apos;,	14116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;5月借方发生额&apos;,	&apos;kmye.fse_j5&apos;,	&apos;kmye.fse_j5&apos;,	&apos;fse_j5&apos;,	&apos;0&apos;,	3,	&apos;021113&apos;,	&apos;1&apos;,	&apos;1&apos;,	14516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;5月贷方发生额&apos;,	&apos;kmye.fse_d5&apos;,	&apos;kmye.fse_d5&apos;,	&apos;fse_d5&apos;,	&apos;0&apos;,	3,	&apos;021114&apos;,	&apos;1&apos;,	&apos;1&apos;,	14916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;5月发生额&apos;,	&apos;kmye.fse_5&apos;,	&apos;kmye.fse_5&apos;,	&apos;fse_5&apos;,	&apos;0&apos;,	3,	&apos;021115&apos;,	&apos;1&apos;,	&apos;1&apos;,	15316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;6月借方发生额&apos;,	&apos;kmye.fse_j6&apos;,	&apos;kmye.fse_j6&apos;,	&apos;fse_j6&apos;,	&apos;0&apos;,	3,	&apos;021116&apos;,	&apos;1&apos;,	&apos;1&apos;,	15716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;6月贷方发生额&apos;,	&apos;kmye.fse_d6&apos;,	&apos;kmye.fse_d6&apos;,	&apos;fse_d6&apos;,	&apos;0&apos;,	3,	&apos;021117&apos;,	&apos;1&apos;,	&apos;1&apos;,	16116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;6月发生额&apos;,	&apos;kmye.fse_6&apos;,	&apos;kmye.fse_6&apos;,	&apos;fse_6&apos;,	&apos;0&apos;,	3,	&apos;021118&apos;,	&apos;1&apos;,	&apos;1&apos;,	16516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;7月借方发生额&apos;,	&apos;kmye.fse_j7&apos;,	&apos;kmye.fse_j7&apos;,	&apos;fse_j7&apos;,	&apos;0&apos;,	3,	&apos;021119&apos;,	&apos;1&apos;,	&apos;1&apos;,	16916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;7月贷方发生额&apos;,	&apos;kmye.fse_d7&apos;,	&apos;kmye.fse_d7&apos;,	&apos;fse_d7&apos;,	&apos;0&apos;,	3,	&apos;021120&apos;,	&apos;1&apos;,	&apos;1&apos;,	17316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	53,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;7月发生额&apos;,	&apos;kmye.fse_7&apos;,	&apos;kmye.fse_7&apos;,	&apos;fse_7&apos;,	&apos;0&apos;,	3,	&apos;021121&apos;,	&apos;1&apos;,	&apos;1&apos;,	17716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;8月借方发生额&apos;,	&apos;kmye.fse_j8&apos;,	&apos;kmye.fse_j8&apos;,	&apos;fse_j8&apos;,	&apos;0&apos;,	3,	&apos;021122&apos;,	&apos;1&apos;,	&apos;1&apos;,	18116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;8月贷方发生额&apos;,	&apos;kmye.fse_d8&apos;,	&apos;kmye.fse_d8&apos;,	&apos;fse_d8&apos;,	&apos;0&apos;,	3,	&apos;021123&apos;,	&apos;1&apos;,	&apos;1&apos;,	18516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;8月发生额&apos;,	&apos;kmye.fse_8&apos;,	&apos;kmye.fse_8&apos;,	&apos;fse_8&apos;,	&apos;0&apos;,	3,	&apos;021124&apos;,	&apos;1&apos;,	&apos;1&apos;,	18916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;9月借方发生额&apos;,	&apos;kmye.fse_j9&apos;,	&apos;kmye.fse_j9&apos;,	&apos;fse_j9&apos;,	&apos;0&apos;,	3,	&apos;021125&apos;,	&apos;1&apos;,	&apos;1&apos;,	19316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;9月贷方发生额&apos;,	&apos;kmye.fse_d9&apos;,	&apos;kmye.fse_d9&apos;,	&apos;fse_d9&apos;,	&apos;0&apos;,	3,	&apos;021126&apos;,	&apos;1&apos;,	&apos;1&apos;,	19716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;9月发生额&apos;,	&apos;kmye.fse_9&apos;,	&apos;kmye.fse_9&apos;,	&apos;fse_9&apos;,	&apos;0&apos;,	3,	&apos;021127&apos;,	&apos;1&apos;,	&apos;1&apos;,	20116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;10月借方发生额&apos;,	&apos;kmye.fse_j10&apos;,	&apos;kmye.fse_j10&apos;,	&apos;fse_j10&apos;,	&apos;0&apos;,	3,	&apos;021128&apos;,	&apos;1&apos;,	&apos;1&apos;,	20516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;10月贷方发生额&apos;,	&apos;kmye.fse_d10&apos;,	&apos;kmye.fse_d10&apos;,	&apos;fse_d10&apos;,	&apos;0&apos;,	3,	&apos;021129&apos;,	&apos;1&apos;,	&apos;1&apos;,	20916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;10月发生额&apos;,	&apos;kmye.fse_10&apos;,	&apos;kmye.fse_10&apos;,	&apos;fse_10&apos;,	&apos;0&apos;,	3,	&apos;021130&apos;,	&apos;1&apos;,	&apos;1&apos;,	21316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;11月借方发生额&apos;,	&apos;kmye.fse_j11&apos;,	&apos;kmye.fse_j11&apos;,	&apos;fse_j11&apos;,	&apos;0&apos;,	3,	&apos;021131&apos;,	&apos;1&apos;,	&apos;1&apos;,	21716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;11月贷方发生额&apos;,	&apos;kmye.fse_d11&apos;,	&apos;kmye.fse_d11&apos;,	&apos;fse_d11&apos;,	&apos;0&apos;,	3,	&apos;021132&apos;,	&apos;1&apos;,	&apos;1&apos;,	22116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;11月发生额&apos;,	&apos;kmye.fse_11&apos;,	&apos;kmye.fse_11&apos;,	&apos;fse_11&apos;,	&apos;0&apos;,	3,	&apos;021133&apos;,	&apos;1&apos;,	&apos;1&apos;,	22516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;12月借方发生额&apos;,	&apos;kmye.fse_j12&apos;,	&apos;kmye.fse_j12&apos;,	&apos;fse_j12&apos;,	&apos;0&apos;,	3,	&apos;021134&apos;,	&apos;1&apos;,	&apos;1&apos;,	22916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;12月贷方发生额&apos;,	&apos;kmye.fse_d12&apos;,	&apos;kmye.fse_d12&apos;,	&apos;fse_d12&apos;,	&apos;0&apos;,	3,	&apos;021135&apos;,	&apos;1&apos;,	&apos;1&apos;,	23316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;12月发生额&apos;,	&apos;kmye.fse_12&apos;,	&apos;kmye.fse_12&apos;,	&apos;fse_12&apos;,	&apos;0&apos;,	3,	&apos;021136&apos;,	&apos;1&apos;,	&apos;1&apos;,	23716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	24116.00,	0,	NULL,	&apos;0&apos;,	NULL,	70,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;c_cwkmk.yqc_cfl_j&apos;,	&apos;c_hsxm_zz.yqc_cfl_j&apos;,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	24116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;c_cwkmk.yqc_cfl_d&apos;,	&apos;c_hsxm_zz.yqc_cfl_d&apos;,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	24516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期初调整数&apos;,	&apos;c_cwkmk.yqc_cfl_tzs&apos;,	&apos;c_hsxm_zz.yqc_cfl_tzs&apos;,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	24916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;c_cwkmk.yqm_cfl_j&apos;,	&apos;c_hsxm_zz.yqm_cfl_j&apos;,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	25316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;c_cwkmk.yqm_cfl_d&apos;,	&apos;c_hsxm_zz.yqm_cfl_d&apos;,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	25716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异期末调整数&apos;,	&apos;c_cwkmk.yqm_cfl_tzs&apos;,	&apos;c_hsxm_zz.yqm_cfl_tzs&apos;,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	26116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	26516.00,	0,	NULL,	&apos;0&apos;,	NULL,	77,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审上期借方发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse_j&apos;,	&apos;c_hsxm_zz.ysn_ws_fse_j&apos;,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	26516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse_d&apos;,	&apos;c_hsxm_zz.ysn_ws_fse_d&apos;,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	26916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审上期发生额&apos;,	&apos;c_cwkmk.ysn_ws_fse&apos;,	&apos;c_hsxm_zz.ysn_ws_fse&apos;,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	27316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审期初数&apos;,	&apos;c_cwkmk.yws_qcs&apos;,	&apos;c_hsxm_zz.yws_qcs&apos;,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	27716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审借方发生额&apos;,	&apos;c_cwkmk.yws_fse_j&apos;,	&apos;c_hsxm_zz.yws_fse_j&apos;,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	28116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审贷方发生额&apos;,	&apos;c_cwkmk.yws_fse_d&apos;,	&apos;c_hsxm_zz.yws_fse_d&apos;,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	28516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审发生额&apos;,	&apos;c_cwkmk.yws_fse&apos;,	&apos;c_hsxm_zz.yws_fse&apos;,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	28916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审期末数&apos;,	&apos;c_cwkmk.yws_qms&apos;,	&apos;c_hsxm_zz.yws_qms&apos;,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	29316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	29716.00,	0,	NULL,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初重分类借方&apos;,	&apos;c_cwkmk.qc_cfl_j&apos;,	&apos;c_hsxm_zz.qc_cfl_j&apos;,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	29716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	87,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初重分类贷方&apos;,	&apos;c_cwkmk.qc_cfl_d&apos;,	&apos;c_hsxm_zz.qc_cfl_d&apos;,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	30116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	88,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初重分类调整数&apos;,	&apos;c_cwkmk.qc_cfl_tzs&apos;,	&apos;c_hsxm_zz.qc_cfl_tzs&apos;,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	30516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	89,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初调整借方&apos;,	&apos;c_cwkmk.qc_tz_j&apos;,	&apos;c_hsxm_zz.qc_tz_j&apos;,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	30916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	90,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初调整贷方&apos;,	&apos;c_cwkmk.qc_tz_d&apos;,	&apos;c_hsxm_zz.qc_tz_d&apos;,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	31316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	91,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初调整调整数&apos;,	&apos;c_cwkmk.qc_tz_tzs&apos;,	&apos;c_hsxm_zz.qc_tz_tzs&apos;,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	31716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	92,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期初调整数&apos;,	&apos;c_cwkmk.qc_tzs&apos;,	&apos;c_hsxm_zz.qc_tzs&apos;,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	32116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	93,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末重分类借方&apos;,	&apos;c_cwkmk.qm_cfl_j&apos;,	&apos;c_hsxm_zz.qm_cfl_j&apos;,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	32516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	94,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末重分类贷方&apos;,	&apos;c_cwkmk.qm_cfl_d&apos;,	&apos;c_hsxm_zz.qm_cfl_d&apos;,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	32916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	95,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末重分类调整数&apos;,	&apos;c_cwkmk.qm_cfl_tzs&apos;,	&apos;c_hsxm_zz.qm_cfl_tzs&apos;,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	33316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	96,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末调整借方&apos;,	&apos;c_cwkmk.qm_tz_j&apos;,	&apos;c_hsxm_zz.qm_tz_j&apos;,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	33716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	97,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末调整贷方&apos;,	&apos;c_cwkmk.qm_tz_d&apos;,	&apos;c_hsxm_zz.qm_tz_d&apos;,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	34116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	98,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末调整调整数&apos;,	&apos;c_cwkmk.qm_tz_tzs&apos;,	&apos;c_hsxm_zz.qm_tz_tzs&apos;,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	34516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	99,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;期末调整数&apos;,	&apos;c_cwkmk.qm_tzs&apos;,	&apos;c_hsxm_zz.qm_tzs&apos;,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	34916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	100,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;c_cwkmk.g_yqm_tz_j&apos;,	&apos;c_hsxm_zz.g_yqm_tz_j&apos;,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	35316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	101,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;c_cwkmk.g_yqm_tz_d&apos;,	&apos;c_hsxm_zz.g_yqm_tz_d&apos;,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	35716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	102,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;c_cwkmk.g_qm_tz_j&apos;,	&apos;c_hsxm_zz.g_qm_tz_j&apos;,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	36116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	103,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;c_cwkmk.g_qm_tz_d&apos;,	&apos;c_hsxm_zz.g_qm_tz_d&apos;,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	36516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	36916.00,	0,	NULL,	&apos;0&apos;,	NULL,	105,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定上期借方发生额&apos;,	&apos;c_cwkmk.sn_sd_fse_j&apos;,	&apos;c_hsxm_zz.sn_sd_fse_j&apos;,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	36916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;c_cwkmk.sn_sd_fse_d&apos;,	&apos;c_hsxm_zz.sn_sd_fse_d&apos;,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	37316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定上期发生额&apos;,	&apos;c_cwkmk.sn_sd_fse&apos;,	&apos;c_hsxm_zz.sn_sd_fse&apos;,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	37716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定期初数&apos;,	&apos;c_cwkmk.sd_qcs&apos;,	&apos;c_hsxm_zz.sd_qcs&apos;,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	38116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定借方发生额&apos;,	&apos;c_cwkmk.sd_fse_j&apos;,	&apos;c_hsxm_zz.sd_fse_j&apos;,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	38516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定贷方发生额&apos;,	&apos;c_cwkmk.sd_fse_d&apos;,	&apos;c_hsxm_zz.sd_fse_d&apos;,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	38916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定发生额&apos;,	&apos;c_cwkmk.sd_fse&apos;,	&apos;c_hsxm_zz.sd_fse&apos;,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	39316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定期末数&apos;,	&apos;c_cwkmk.sd_qms&apos;,	&apos;c_hsxm_zz.sd_qms&apos;,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	39716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	40116.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列01&apos;,	&apos;c_cwkmk.c01&apos;,	&apos;c_hsxm_zz.c01&apos;,	&apos;c01&apos;,	&apos;1&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	40116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列02&apos;,	&apos;c_cwkmk.c02&apos;,	&apos;c_hsxm_zz.c02&apos;,	&apos;c02&apos;,	&apos;1&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	40516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列03&apos;,	&apos;c_cwkmk.c03&apos;,	&apos;c_hsxm_zz.c03&apos;,	&apos;c03&apos;,	&apos;1&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	40916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列04&apos;,	&apos;c_cwkmk.c04&apos;,	&apos;c_hsxm_zz.c04&apos;,	&apos;c04&apos;,	&apos;1&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	41316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	118,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列05&apos;,	&apos;c_cwkmk.c05&apos;,	&apos;c_hsxm_zz.c05&apos;,	&apos;c05&apos;,	&apos;1&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	41716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	119,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列06&apos;,	&apos;c_cwkmk.c06&apos;,	&apos;c_hsxm_zz.c06&apos;,	&apos;c06&apos;,	&apos;1&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	42116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	120,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列07&apos;,	&apos;c_cwkmk.c07&apos;,	&apos;c_hsxm_zz.c07&apos;,	&apos;c07&apos;,	&apos;1&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	42516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	121,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列08&apos;,	&apos;c_cwkmk.c08&apos;,	&apos;c_hsxm_zz.c08&apos;,	&apos;c08&apos;,	&apos;1&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	42916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	122,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列09&apos;,	&apos;c_cwkmk.c09&apos;,	&apos;c_hsxm_zz.c09&apos;,	&apos;c09&apos;,	&apos;1&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	43316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	123,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;字符列10&apos;,	&apos;c_cwkmk.c10&apos;,	&apos;c_hsxm_zz.c10&apos;,	&apos;c10&apos;,	&apos;1&apos;,	2,	&apos;0710&apos;,	&apos;1&apos;,	&apos;0&apos;,	43716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	124,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他列&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;08&apos;,	&apos;0&apos;,	&apos;0&apos;,	44116.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	125,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用1&apos;,	&apos;c_cwkmk.other1&apos;,	&apos;c_hsxm_zz.other1&apos;,	&apos;other1&apos;,	&apos;1&apos;,	2,	&apos;0801&apos;,	&apos;1&apos;,	&apos;0&apos;,	44116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	126,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用2&apos;,	&apos;c_cwkmk.other2&apos;,	&apos;c_hsxm_zz.other2&apos;,	&apos;other2&apos;,	&apos;1&apos;,	2,	&apos;0802&apos;,	&apos;1&apos;,	&apos;0&apos;,	44516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	127,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用3&apos;,	&apos;c_cwkmk.other3&apos;,	&apos;c_hsxm_zz.other3&apos;,	&apos;other3&apos;,	&apos;1&apos;,	2,	&apos;0803&apos;,	&apos;1&apos;,	&apos;0&apos;,	44916.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	128,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用4&apos;,	&apos;c_cwkmk.other4&apos;,	&apos;c_hsxm_zz.other4&apos;,	&apos;other4&apos;,	&apos;1&apos;,	2,	&apos;0804&apos;,	&apos;1&apos;,	&apos;0&apos;,	45316.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	129,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用5&apos;,	&apos;c_cwkmk.other5&apos;,	&apos;c_hsxm_zz.other5&apos;,	&apos;other5&apos;,	&apos;1&apos;,	2,	&apos;0805&apos;,	&apos;1&apos;,	&apos;0&apos;,	45716.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	130,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;其他备用6&apos;,	&apos;c_cwkmk.other6&apos;,	&apos;c_hsxm_zz.other6&apos;,	&apos;other6&apos;,	&apos;1&apos;,	2,	&apos;0806&apos;,	&apos;1&apos;,	&apos;0&apos;,	46116.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	131,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;抽样方案&apos;,	&apos;c_cwkmk.cyfa&apos;,	&apos;c_hsxm_zz.cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	2,	&apos;0807&apos;,	&apos;1&apos;,	&apos;0&apos;,	46516.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	132,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;科目附加信息&apos;,	&apos;c_cwkmk.fzfl&apos;,	&apos;c_hsxm_zz.fzfl&apos;,	&apos;fzfl&apos;,	&apos;1&apos;,	2,	&apos;0808&apos;,	&apos;1&apos;,	&apos;0&apos;,	46916.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	133,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;09&apos;,	&apos;0&apos;,	&apos;0&apos;,	47916.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	134,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0901&apos;,	&apos;0&apos;,	&apos;0&apos;,	47916.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	135,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄01&apos;,	&apos;c_cwkmk.wszl01&apos;,	&apos;c_hsxm_zz.wszl01&apos;,	&apos;wszl01&apos;,	&apos;1&apos;,	3,	&apos;090101&apos;,	&apos;1&apos;,	&apos;0&apos;,	47916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	136,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄02&apos;,	&apos;c_cwkmk.wszl02&apos;,	&apos;c_hsxm_zz.wszl02&apos;,	&apos;wszl02&apos;,	&apos;1&apos;,	3,	&apos;090102&apos;,	&apos;1&apos;,	&apos;0&apos;,	48316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	137,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄03&apos;,	&apos;c_cwkmk.wszl03&apos;,	&apos;c_hsxm_zz.wszl03&apos;,	&apos;wszl03&apos;,	&apos;1&apos;,	3,	&apos;090103&apos;,	&apos;1&apos;,	&apos;0&apos;,	48716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	138,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄04&apos;,	&apos;c_cwkmk.wszl04&apos;,	&apos;c_hsxm_zz.wszl04&apos;,	&apos;wszl04&apos;,	&apos;1&apos;,	3,	&apos;090104&apos;,	&apos;1&apos;,	&apos;0&apos;,	49116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	139,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄05&apos;,	&apos;c_cwkmk.wszl05&apos;,	&apos;c_hsxm_zz.wszl05&apos;,	&apos;wszl05&apos;,	&apos;1&apos;,	3,	&apos;090105&apos;,	&apos;1&apos;,	&apos;0&apos;,	49516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	140,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄06&apos;,	&apos;c_cwkmk.wszl06&apos;,	&apos;c_hsxm_zz.wszl06&apos;,	&apos;wszl06&apos;,	&apos;1&apos;,	3,	&apos;090106&apos;,	&apos;1&apos;,	&apos;0&apos;,	49916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	141,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄07&apos;,	&apos;c_cwkmk.wszl07&apos;,	&apos;c_hsxm_zz.wszl07&apos;,	&apos;wszl07&apos;,	&apos;1&apos;,	3,	&apos;090107&apos;,	&apos;1&apos;,	&apos;0&apos;,	50316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	142,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄08&apos;,	&apos;c_cwkmk.wszl08&apos;,	&apos;c_hsxm_zz.wszl08&apos;,	&apos;wszl08&apos;,	&apos;1&apos;,	3,	&apos;090108&apos;,	&apos;1&apos;,	&apos;0&apos;,	50716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	143,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄09&apos;,	&apos;c_cwkmk.wszl09&apos;,	&apos;c_hsxm_zz.wszl09&apos;,	&apos;wszl09&apos;,	&apos;1&apos;,	3,	&apos;090109&apos;,	&apos;1&apos;,	&apos;0&apos;,	51116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	144,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄10&apos;,	&apos;c_cwkmk.wszl10&apos;,	&apos;c_hsxm_zz.wszl10&apos;,	&apos;wszl10&apos;,	&apos;1&apos;,	3,	&apos;090110&apos;,	&apos;1&apos;,	&apos;0&apos;,	51516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	145,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄11&apos;,	&apos;c_cwkmk.wszl11&apos;,	&apos;c_hsxm_zz.wszl11&apos;,	&apos;wszl11&apos;,	&apos;1&apos;,	3,	&apos;090111&apos;,	&apos;1&apos;,	&apos;0&apos;,	51916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	146,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄12&apos;,	&apos;c_cwkmk.wszl12&apos;,	&apos;c_hsxm_zz.wszl12&apos;,	&apos;wszl12&apos;,	&apos;1&apos;,	3,	&apos;090112&apos;,	&apos;1&apos;,	&apos;0&apos;,	52316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	147,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄13&apos;,	&apos;c_cwkmk.wszl13&apos;,	&apos;c_hsxm_zz.wszl13&apos;,	&apos;wszl13&apos;,	&apos;1&apos;,	3,	&apos;090113&apos;,	&apos;1&apos;,	&apos;0&apos;,	52716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	148,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄14&apos;,	&apos;c_cwkmk.wszl14&apos;,	&apos;c_hsxm_zz.wszl14&apos;,	&apos;wszl14&apos;,	&apos;1&apos;,	3,	&apos;090114&apos;,	&apos;1&apos;,	&apos;0&apos;,	53116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	149,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄15&apos;,	&apos;c_cwkmk.wszl15&apos;,	&apos;c_hsxm_zz.wszl15&apos;,	&apos;wszl15&apos;,	&apos;1&apos;,	3,	&apos;090115&apos;,	&apos;1&apos;,	&apos;0&apos;,	53516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	150,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;未审账龄16&apos;,	&apos;c_cwkmk.wszl16&apos;,	&apos;c_hsxm_zz.wszl16&apos;,	&apos;wszl16&apos;,	&apos;1&apos;,	3,	&apos;090116&apos;,	&apos;1&apos;,	&apos;0&apos;,	53916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	151,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0902&apos;,	&apos;0&apos;,	&apos;0&apos;,	54316.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	152,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄01&apos;,	&apos;c_cwkmk.tzzl01&apos;,	&apos;c_hsxm_zz.tzzl01&apos;,	&apos;tzzl01&apos;,	&apos;0&apos;,	3,	&apos;090201&apos;,	&apos;1&apos;,	&apos;0&apos;,	54316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	153,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄02&apos;,	&apos;c_cwkmk.tzzl02&apos;,	&apos;c_hsxm_zz.tzzl02&apos;,	&apos;tzzl02&apos;,	&apos;0&apos;,	3,	&apos;090202&apos;,	&apos;1&apos;,	&apos;0&apos;,	54716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	154,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄03&apos;,	&apos;c_cwkmk.tzzl03&apos;,	&apos;c_hsxm_zz.tzzl03&apos;,	&apos;tzzl03&apos;,	&apos;0&apos;,	3,	&apos;090203&apos;,	&apos;1&apos;,	&apos;0&apos;,	55116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	155,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄04&apos;,	&apos;c_cwkmk.tzzl04&apos;,	&apos;c_hsxm_zz.tzzl04&apos;,	&apos;tzzl04&apos;,	&apos;0&apos;,	3,	&apos;090204&apos;,	&apos;1&apos;,	&apos;0&apos;,	55516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	156,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄05&apos;,	&apos;c_cwkmk.tzzl05&apos;,	&apos;c_hsxm_zz.tzzl05&apos;,	&apos;tzzl05&apos;,	&apos;0&apos;,	3,	&apos;090205&apos;,	&apos;1&apos;,	&apos;0&apos;,	55916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	157,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄06&apos;,	&apos;c_cwkmk.tzzl06&apos;,	&apos;c_hsxm_zz.tzzl06&apos;,	&apos;tzzl06&apos;,	&apos;0&apos;,	3,	&apos;090206&apos;,	&apos;1&apos;,	&apos;0&apos;,	56316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	158,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄07&apos;,	&apos;c_cwkmk.tzzl07&apos;,	&apos;c_hsxm_zz.tzzl07&apos;,	&apos;tzzl07&apos;,	&apos;0&apos;,	3,	&apos;090207&apos;,	&apos;1&apos;,	&apos;0&apos;,	56716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	159,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄08&apos;,	&apos;c_cwkmk.tzzl08&apos;,	&apos;c_hsxm_zz.tzzl08&apos;,	&apos;tzzl08&apos;,	&apos;0&apos;,	3,	&apos;090208&apos;,	&apos;1&apos;,	&apos;0&apos;,	57116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	160,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄09&apos;,	&apos;c_cwkmk.tzzl09&apos;,	&apos;c_hsxm_zz.tzzl09&apos;,	&apos;tzzl09&apos;,	&apos;0&apos;,	3,	&apos;090209&apos;,	&apos;1&apos;,	&apos;0&apos;,	57516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	161,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄10&apos;,	&apos;c_cwkmk.tzzl10&apos;,	&apos;c_hsxm_zz.tzzl10&apos;,	&apos;tzzl10&apos;,	&apos;0&apos;,	3,	&apos;090210&apos;,	&apos;1&apos;,	&apos;0&apos;,	57916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	162,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄11&apos;,	&apos;c_cwkmk.tzzl11&apos;,	&apos;c_hsxm_zz.tzzl11&apos;,	&apos;tzzl11&apos;,	&apos;0&apos;,	3,	&apos;090211&apos;,	&apos;1&apos;,	&apos;0&apos;,	58316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	163,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄12&apos;,	&apos;c_cwkmk.tzzl12&apos;,	&apos;c_hsxm_zz.tzzl12&apos;,	&apos;tzzl12&apos;,	&apos;0&apos;,	3,	&apos;090212&apos;,	&apos;1&apos;,	&apos;0&apos;,	58716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	164,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄13&apos;,	&apos;c_cwkmk.tzzl13&apos;,	&apos;c_hsxm_zz.tzzl13&apos;,	&apos;tzzl13&apos;,	&apos;0&apos;,	3,	&apos;090213&apos;,	&apos;1&apos;,	&apos;0&apos;,	59116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	165,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄14&apos;,	&apos;c_cwkmk.tzzl14&apos;,	&apos;c_hsxm_zz.tzzl14&apos;,	&apos;tzzl14&apos;,	&apos;0&apos;,	3,	&apos;090214&apos;,	&apos;1&apos;,	&apos;0&apos;,	59516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	166,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄15&apos;,	&apos;c_cwkmk.tzzl15&apos;,	&apos;c_hsxm_zz.tzzl15&apos;,	&apos;tzzl15&apos;,	&apos;0&apos;,	3,	&apos;090215&apos;,	&apos;1&apos;,	&apos;0&apos;,	59916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	167,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;调整账龄16&apos;,	&apos;c_cwkmk.tzzl16&apos;,	&apos;c_hsxm_zz.tzzl16&apos;,	&apos;tzzl16&apos;,	&apos;0&apos;,	3,	&apos;090216&apos;,	&apos;1&apos;,	&apos;0&apos;,	60316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	168,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄数&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;-&apos;,	&apos;0&apos;,	2,	&apos;0903&apos;,	&apos;0&apos;,	&apos;0&apos;,	60716.00,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	169,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄01&apos;,	&apos;(c_cwkmk.wszl01+c_cwkmk.tzzl01)&apos;,	&apos;(c_hsxm_zz.wszl01+c_hsxm_zz.tzzl01)&apos;,	&apos;sdzl01&apos;,	&apos;0&apos;,	3,	&apos;090301&apos;,	&apos;1&apos;,	&apos;0&apos;,	60716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	170,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄02&apos;,	&apos;(c_cwkmk.wszl02+c_cwkmk.tzzl02)&apos;,	&apos;(c_hsxm_zz.wszl02+c_hsxm_zz.tzzl02)&apos;,	&apos;sdzl02&apos;,	&apos;0&apos;,	3,	&apos;090302&apos;,	&apos;1&apos;,	&apos;0&apos;,	61116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	171,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄03&apos;,	&apos;(c_cwkmk.wszl03+c_cwkmk.tzzl03)&apos;,	&apos;(c_hsxm_zz.wszl03+c_hsxm_zz.tzzl03)&apos;,	&apos;sdzl03&apos;,	&apos;0&apos;,	3,	&apos;090303&apos;,	&apos;1&apos;,	&apos;0&apos;,	61516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	172,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄04&apos;,	&apos;(c_cwkmk.wszl04+c_cwkmk.tzzl04)&apos;,	&apos;(c_hsxm_zz.wszl04+c_hsxm_zz.tzzl04)&apos;,	&apos;sdzl04&apos;,	&apos;0&apos;,	3,	&apos;090304&apos;,	&apos;1&apos;,	&apos;0&apos;,	61916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	173,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄05&apos;,	&apos;(c_cwkmk.wszl05+c_cwkmk.tzzl05)&apos;,	&apos;(c_hsxm_zz.wszl05+c_hsxm_zz.tzzl05)&apos;,	&apos;sdzl05&apos;,	&apos;0&apos;,	3,	&apos;090305&apos;,	&apos;1&apos;,	&apos;0&apos;,	62316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	174,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄06&apos;,	&apos;(c_cwkmk.wszl06+c_cwkmk.tzzl06)&apos;,	&apos;(c_hsxm_zz.wszl06+c_hsxm_zz.tzzl06)&apos;,	&apos;sdzl06&apos;,	&apos;0&apos;,	3,	&apos;090306&apos;,	&apos;1&apos;,	&apos;0&apos;,	62716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	175,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄07&apos;,	&apos;(c_cwkmk.wszl07+c_cwkmk.tzzl07)&apos;,	&apos;(c_hsxm_zz.wszl07+c_hsxm_zz.tzzl07)&apos;,	&apos;sdzl07&apos;,	&apos;0&apos;,	3,	&apos;090307&apos;,	&apos;1&apos;,	&apos;0&apos;,	63116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	176,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄08&apos;,	&apos;(c_cwkmk.wszl08+c_cwkmk.tzzl08)&apos;,	&apos;(c_hsxm_zz.wszl08+c_hsxm_zz.tzzl08)&apos;,	&apos;sdzl08&apos;,	&apos;0&apos;,	3,	&apos;090308&apos;,	&apos;1&apos;,	&apos;0&apos;,	63516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	177,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄09&apos;,	&apos;(c_cwkmk.wszl09+c_cwkmk.tzzl09)&apos;,	&apos;(c_hsxm_zz.wszl09+c_hsxm_zz.tzzl09)&apos;,	&apos;sdzl09&apos;,	&apos;0&apos;,	3,	&apos;090309&apos;,	&apos;1&apos;,	&apos;0&apos;,	63916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	178,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄10&apos;,	&apos;(c_cwkmk.wszl10+c_cwkmk.tzzl10)&apos;,	&apos;(c_hsxm_zz.wszl10+c_hsxm_zz.tzzl10)&apos;,	&apos;sdzl10&apos;,	&apos;0&apos;,	3,	&apos;090310&apos;,	&apos;1&apos;,	&apos;0&apos;,	64316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	179,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄11&apos;,	&apos;(c_cwkmk.wszl11+c_cwkmk.tzzl11)&apos;,	&apos;(c_hsxm_zz.wszl11+c_hsxm_zz.tzzl11)&apos;,	&apos;sdzl11&apos;,	&apos;0&apos;,	3,	&apos;090311&apos;,	&apos;1&apos;,	&apos;0&apos;,	64716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	180,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄12&apos;,	&apos;(c_cwkmk.wszl12+c_cwkmk.tzzl12)&apos;,	&apos;(c_hsxm_zz.wszl12+c_hsxm_zz.tzzl12)&apos;,	&apos;sdzl12&apos;,	&apos;0&apos;,	3,	&apos;090312&apos;,	&apos;1&apos;,	&apos;0&apos;,	65116.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	181,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄13&apos;,	&apos;(c_cwkmk.wszl13+c_cwkmk.tzzl13)&apos;,	&apos;(c_hsxm_zz.wszl13+c_hsxm_zz.tzzl13)&apos;,	&apos;sdzl13&apos;,	&apos;0&apos;,	3,	&apos;090313&apos;,	&apos;1&apos;,	&apos;0&apos;,	65516.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	182,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄14&apos;,	&apos;(c_cwkmk.wszl14+c_cwkmk.tzzl14)&apos;,	&apos;(c_hsxm_zz.wszl14+c_hsxm_zz.tzzl14)&apos;,	&apos;sdzl14&apos;,	&apos;0&apos;,	3,	&apos;090314&apos;,	&apos;1&apos;,	&apos;0&apos;,	65916.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	183,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄15&apos;,	&apos;(c_cwkmk.wszl15+c_cwkmk.tzzl15)&apos;,	&apos;(c_hsxm_zz.wszl15+c_hsxm_zz.tzzl15)&apos;,	&apos;sdzl15&apos;,	&apos;0&apos;,	3,	&apos;090315&apos;,	&apos;1&apos;,	&apos;0&apos;,	66316.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	184,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5006&apos;,	&apos;审定账龄16&apos;,	&apos;(c_cwkmk.wszl16+c_cwkmk.tzzl16)&apos;,	&apos;(c_hsxm_zz.wszl16+c_hsxm_zz.tzzl16)&apos;,	&apos;sdzl16&apos;,	&apos;0&apos;,	3,	&apos;090316&apos;,	&apos;1&apos;,	&apos;0&apos;,	66716.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	NULL,	NULL,	185,	&apos;decimal&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>25</p_id><no>430</no><make_date>2010-10-21 17:57:32.031000</make_date><note>修改基本表列信息-插入数据9</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	1,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;1&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;凭证编号&apos;,	&apos;pzbh&apos;,	&apos;pzbh&apos;,	&apos;pzbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;凭证种类&apos;,	&apos;pzzl&apos;,	&apos;pzzl&apos;,	&apos;pzzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;编号&apos;,	&apos;bh&apos;,	&apos;bh&apos;,	&apos;bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;业务说明&apos;,	&apos;sm&apos;,	&apos;sm&apos;,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;货币种类&apos;,	&apos;hbzl&apos;,	&apos;hbzl&apos;,	&apos;hbzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	100.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;汇率&apos;,	&apos;hl&apos;,	&apos;hl&apos;,	&apos;hl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	&apos;kmbh||&apos;&apos;:&apos;&apos;||hsxmlxbh||&apos;&apos;:&apos;&apos;||hsxmbh&apos;,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	&apos;kmmc||&apos;&apos;:&apos;&apos;||hsxmlxmc||&apos;&apos;:&apos;&apos;||hsxmmc&apos;,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;借方发生额&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;jffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2300.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;借方发生额_外币&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;jffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2640.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;借方数量&apos;,	&apos;jfsl&apos;,	&apos;jfsl&apos;,	&apos;jfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2980.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;借方单价&apos;,	&apos;jfdj&apos;,	&apos;jfdj&apos;,	&apos;jfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3320.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;贷方发生额&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;dffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3660.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;贷方发生额_外币&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;dffse_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4000.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;贷方数量&apos;,	&apos;dfsl&apos;,	&apos;dfsl&apos;,	&apos;dfsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4340.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;贷方单价&apos;,	&apos;dfdj&apos;,	&apos;dfdj&apos;,	&apos;dfdj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4680.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5020.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5360.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	5900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6000.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;抽样标记&apos;,	&apos;chouyang&apos;,	&apos;chouyang&apos;,	&apos;chouyang&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;凭证标记&apos;,	&apos;pzbj&apos;,	&apos;pzbj&apos;,	&apos;pzbj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;抽样方案&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;cyfa&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;抽疑标记&apos;,	&apos;chouyi&apos;,	&apos;chouyi&apos;,	&apos;chouyi&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;抽疑说明&apos;,	&apos;cysm&apos;,	&apos;cysm&apos;,	&apos;cysm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;记账时间&apos;,	&apos;jzsj&apos;,	&apos;jzsj&apos;,	&apos;jzsj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5007&apos;,	&apos;对方科目名称&apos;,	&apos;dfkmmc&apos;,	&apos;dfkmmc&apos;,	&apos;dfkmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	6900.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;组号&apos;,	&apos;tzflb_zu.zb&apos;,	NULL,	&apos;zb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;调整原因&apos;,	&apos;tzflb_zu.sm&apos;,	NULL,	&apos;tzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	280.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;调整分录类型&apos;,	&apos;(case tzflb_zu.lx when &apos;&apos;1&apos;&apos; then &apos;&apos;重分类&apos;&apos; when &apos;&apos;2&apos;&apos; then  &apos;&apos;调整分录&apos;&apos; when &apos;&apos;9&apos;&apos; then &apos;&apos;账表差异调整&apos;&apos; else &apos;&apos;不予调整&apos;&apos; end)&apos;,	NULL,	&apos;fllx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	560.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;客户调整情况&apos;,	&apos;(case tzflb_zu.khtzqk when &apos;&apos;1&apos;&apos; then &apos;&apos;同意调整&apos;&apos; else &apos;&apos;不同意调整&apos;&apos; end)&apos;,	NULL,	&apos;khtzqk&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	840.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;未调整原因&apos;,	&apos;tzflb_zu.wtzyy&apos;,	NULL,	&apos;wtzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1120.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;科目编号&apos;,	&apos;tzflb.kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;科目名称&apos;,	&apos;c_cwkmk.kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1680.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;科目全称&apos;,	&apos;(isnull(c_cwkmk.sjkmmc,&apos;&apos;&apos;&apos;) || &apos;&apos;&apos;&apos;||c_cwkmk.kmmc)&apos;,	NULL,	&apos;kmqc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1960.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;借方金额&apos;,	&apos;tzflb.jfje&apos;,	NULL,	&apos;jfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2240.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;贷方金额&apos;,	&apos;tzflb.dfje&apos;,	NULL,	&apos;dfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2520.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;不参与计算&apos;,	&apos;(case when tzflb.jz = &apos;&apos;1&apos;&apos; then &apos;&apos;不参与计算&apos;&apos; else &apos;&apos;&apos;&apos; end) &apos;,	NULL,	&apos;jz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;影响期末&apos;,	&apos;(case when tzflb.other2 = &apos;&apos;1&apos;&apos; then &apos;&apos;影响期末&apos;&apos; else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;yxqm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3080.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;说明&apos;,	&apos;tzflb.sm &apos;,	NULL,	&apos;sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3360.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;资产_借方&apos;,	&apos;(case when bbxm.xmlx = 0 then tzflb.jfje else 0 end)&apos;,	NULL,	&apos;zc_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3640.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;资产_贷方&apos;,	&apos;(case when bbxm.xmlx = 0 then tzflb.dfje else 0 end)&apos;,	NULL,	&apos;zc_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3720.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;损益_借方&apos;,	&apos;(case when bbxm.xmlx = 1 then tzflb.jfje else 0 end)&apos;,	NULL,	&apos;sy_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4000.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;损益_贷方&apos;,	&apos;(case when bbxm.xmlx = 1 then tzflb.dfje else 0 end)&apos;,	NULL,	&apos;sy_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4280.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;调整类型&apos;,	&apos;(case tzflb_zu.tzlx when 0 then &apos;&apos;期初调整&apos;&apos; else &apos;&apos;期末调整&apos;&apos; end)&apos;,	NULL,	&apos;tzlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4560.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;底稿名称&apos;,	&apos;b_dgxm.dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4840.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;底稿编号&apos;,	&apos;b_dgxm.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5120.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;所属表页&apos;,	&apos;tzflb_zu.ssdg&apos;,	NULL,	&apos;ssdg&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5400.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;索引号&apos;,	&apos;b_dgxm.syh&apos;,	NULL,	&apos;syh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5680.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;报表编号&apos;,	&apos;bbxm.bbbh&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5960.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;项目名称&apos;,	&apos;bbxm.xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6240.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;现金流量项目名称&apos;,	&apos;tzflb.xjllxm&apos;,	NULL,	&apos;xjllxm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6520.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;审计年度&apos;,	&apos;zu.ndid&apos;,	NULL,	&apos;ndid&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;审计单位1&apos;,	&apos;zu.dwid1&apos;,	NULL,	&apos;dwid1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	280.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;审计单位2&apos;,	&apos;zu.dwid2&apos;,	NULL,	&apos;dwid2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	560.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;单位名称1&apos;,	&apos;dw1.xmmc&apos;,	NULL,	&apos;dwmc1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	840.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;单位名称2&apos;,	&apos;dw2.xmmc&apos;,	NULL,	&apos;dwmc2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1120.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;显示序号&apos;,	&apos;mx.xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;主序号&apos;,	&apos;zu.xh&apos;,	NULL,	&apos;xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1680.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;组别&apos;,	&apos;zu.zb&apos;,	NULL,	&apos;zb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1960.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;调整类型&apos;,	&apos;(case when zu.tzlx = 0 then &apos;&apos;期初调整&apos;&apos; else &apos;&apos;期末调整&apos;&apos; end)&apos;,	NULL,	&apos;tzlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2240.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;报表编号&apos;,	&apos;(case when rtrim(jfbbbh) &lt;&gt; &apos;&apos;&apos;&apos; or jfbbbh is null then jfbbbh else dfbbbh end)&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2520.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;项目名称&apos;,	&apos;xm.xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;期初调整借方金额&apos;,	&apos;(case when zu.tzlx = 0 then mx.jfje else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;qc_jfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3080.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;期初调整贷方金额&apos;,	&apos;(case when zu.tzlx = 0 then mx.dfje else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;qc_dfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3360.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;期末调整借方金额&apos;,	&apos;(case when zu.tzlx = 1 then mx.jfje else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;qm_jfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3640.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;期末调整贷方金额&apos;,	&apos;(case when zu.tzlx = 1 then mx.dfje else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;qm_dfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3920.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;附注分类&apos;,	&apos;mx.fzfl&apos;,	NULL,	&apos;fzfl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4200.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;说明&apos;,	&apos;mx.sm&apos;,	NULL,	&apos;sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4480.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;纪录人&apos;,	&apos;zu.jlr&apos;,	NULL,	&apos;jlr&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4760.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0003&apos;,	&apos;发生&apos;,	&apos;(case when mx.other2 = 1 then &apos;&apos;√&apos;&apos; else &apos;&apos;&apos;&apos; end) &apos;,	NULL,	&apos;hz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5040.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;流水号&apos;,	&apos;lsh&apos;,	NULL,	&apos;lsh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;审计单位ID&apos;,	&apos;dwid&apos;,	NULL,	&apos;dwid&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	340.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	2,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;审计期间ID&apos;,	&apos;ndid&apos;,	NULL,	&apos;ndid&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	680.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	3,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;调整类型&apos;,	&apos;tzlx&apos;,	NULL,	&apos;tzlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1020.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;调整分录类型&apos;,	&apos;lx&apos;,	NULL,	&apos;lx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1360.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;主序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2040.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;显示顺序&apos;,	&apos;xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2380.00,	340.00,	&apos;##,###,###,###,##0&apos;,	&apos;0&apos;,	NULL,	8,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;说明&apos;,	&apos;sm&apos;,	NULL,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2720.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;报表项目&apos;,	&apos;bbxm&apos;,	NULL,	&apos;bbxm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3060.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;借方金额&apos;,	&apos;jfje&apos;,	NULL,	&apos;jfje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4080.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;贷方金额&apos;,	&apos;dfje&apos;,	NULL,	&apos;dfje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4420.00,	340.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;其他1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4760.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;影响本期发生额&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5100.00,	340.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0005&apos;,	&apos;制度类型&apos;,	&apos;zdlx&apos;,	NULL,	&apos;zdlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5440.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;函证编号&apos;,	&apos;hzbh&apos;,	NULL,	&apos;hzbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	343.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;函证类型&apos;,	&apos;hzlx&apos;,	NULL,	&apos;hzlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	686.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;科目编号&apos;,	&apos;kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1029.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;借贷方向&apos;,	&apos;jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1372.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;科目名称&apos;,	&apos;kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1715.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;上级科目名称&apos;,	&apos;sjkmmc&apos;,	NULL,	&apos;sjkmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2058.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;审计结束时间&apos;,	&apos;sjjssj&apos;,	NULL,	&apos;sjjssj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2401.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;审计起始时间&apos;,	&apos;sjkssj&apos;,	NULL,	&apos;sjkssj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2744.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;索引号&apos;,	&apos;syh&apos;,	NULL,	&apos;syh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3087.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;银行账号&apos;,	&apos;yhzh&apos;,	NULL,	&apos;yhzh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3430.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;币种&apos;,	&apos;bz&apos;,	NULL,	&apos;bz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3773.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;利率&apos;,	&apos;lilv&apos;,	NULL,	&apos;lilv&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4116.00,	343.00,	&apos;##,###,###,###,##0.0000;-##,###,###,###,##0.0000;0.0000;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;是否被押或质押其他限制&apos;,	&apos;sfdy&apos;,	NULL,	&apos;sfdy&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4459.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;借款日期&apos;,	&apos;jkrq&apos;,	NULL,	&apos;jkrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4802.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;还款日期&apos;,	&apos;hkrq&apos;,	NULL,	&apos;hkrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5145.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;账面期初数&apos;,	&apos;ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5488.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;审定期初数&apos;,	&apos;sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5831.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;账面期末数&apos;,	&apos;ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6174.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;期末调整数&apos;,	&apos;qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6517.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;审定期末数&apos;,	&apos;sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6860.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;账面期初数_外币&apos;,	&apos;ws_qcs_f&apos;,	NULL,	&apos;ws_qcs_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7203.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;期初数量&apos;,	&apos;ws_qcs_sl&apos;,	NULL,	&apos;ws_qcs_sl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7546.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;账面期末数_外币&apos;,	&apos;ws_qms_f&apos;,	NULL,	&apos;ws_qms_f&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7889.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;期末数量&apos;,	&apos;ws_qms_sl&apos;,	NULL,	&apos;ws_qms_sl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8232.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;未审期初数&apos;,	&apos;yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8575.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;未审期末数&apos;,	&apos;yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8918.00,	343.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;选取样本特征&apos;,	&apos;ybtz&apos;,	NULL,	&apos;ybtz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9261.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;被询证单位名称&apos;,	&apos;dwmc&apos;,	NULL,	&apos;dwmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9604.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;函证金额&apos;,	&apos;hzje&apos;,	NULL,	&apos;hzje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9947.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;款项性质&apos;,	&apos;zxxz&apos;,	NULL,	&apos;zxxz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10290.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;单位地址&apos;,	&apos;dwdz&apos;,	NULL,	&apos;dwdz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10633.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;邮政编码&apos;,	&apos;yzbm&apos;,	NULL,	&apos;yzbm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10976.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;联系人&apos;,	&apos;lxr&apos;,	NULL,	&apos;lxr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11319.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;电话&apos;,	&apos;dhua&apos;,	NULL,	&apos;dhua&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11662.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;传真&apos;,	&apos;fax&apos;,	NULL,	&apos;fax&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12005.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;第一次发函日期&apos;,	&apos;dycfhrq&apos;,	NULL,	&apos;dycfhrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12348.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;第二次发函日期&apos;,	&apos;decfhrq&apos;,	NULL,	&apos;decfhrq&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12691.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;函证数量&apos;,	&apos;n09&apos;,	NULL,	&apos;n10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13034.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;函证编号－汇总表&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13377.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;收函单位名称&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13720.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14063.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14406.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	14749.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15092.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15435.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	15778.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	47,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	16121.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	48,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	16464.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	49,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	16807.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	50,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	17150.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	51,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	17493.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	52,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	17836.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用5&apos;,	&apos;other5&apos;,	NULL,	&apos;other5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	18179.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	54,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0006&apos;,	&apos;其他备用6&apos;,	&apos;other6&apos;,	NULL,	&apos;other6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	18522.00,	343.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	55,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;系列流水号&apos;,	&apos;oldid&apos;,	NULL,	&apos;oldid&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;底稿编号&apos;,	&apos;dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;底稿名称&apos;,	&apos;dgxsmc&apos;,	NULL,	&apos;dgxsmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;表页名称&apos;,	&apos;bymc&apos;,	NULL,	&apos;bymc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;类型&apos;,	&apos;lx&apos;,	NULL,	&apos;lx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;记录类型&apos;,	&apos;hl&apos;,	NULL,	&apos;hl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;记录人&apos;,	&apos;jlr&apos;,	NULL,	&apos;jlr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;操作时间&apos;,	&apos;czsj&apos;,	NULL,	&apos;czsj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;内容&apos;,	&apos;nr&apos;,	NULL,	&apos;nr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;批复人&apos;,	&apos;pfr&apos;,	NULL,	&apos;pfr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;批复内容&apos;,	&apos;pfnr&apos;,	NULL,	&apos;pfnr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2000.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;批复时间&apos;,	&apos;pfsj&apos;,	NULL,	&apos;pfsj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2200.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;其他1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	2400.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0007&apos;,	&apos;其他2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	2600.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;组号&apos;,	&apos;tzflb_zu.zb&apos;,	NULL,	&apos;zb&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整原因&apos;,	&apos;tzflb_zu.sm&apos;,	NULL,	&apos;tzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	280.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整分录类型&apos;,	&apos;(case tzflb_zu.lx when &apos;&apos;1&apos;&apos; then &apos;&apos;重分类&apos;&apos; when &apos;&apos;2&apos;&apos; then  &apos;&apos;调整分录&apos;&apos; when &apos;&apos;9&apos;&apos; then &apos;&apos;账表差异调整&apos;&apos; else &apos;&apos;不予调整&apos;&apos; end)&apos;,	NULL,	&apos;fllx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	560.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;客户调整情况&apos;,	&apos;(case tzflb_zu.khtzqk when &apos;&apos;1&apos;&apos; then &apos;&apos;同意调整&apos;&apos; else &apos;&apos;不同意调整&apos;&apos; end)&apos;,	NULL,	&apos;khtzqk&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	840.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;未调整原因&apos;,	&apos;tzflb_zu.wtzyy&apos;,	NULL,	&apos;wtzyy&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1120.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目编号&apos;,	&apos;tzflb.kmbh&apos;,	NULL,	&apos;kmbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目名称&apos;,	&apos;c_cwkmk.kmmc&apos;,	NULL,	&apos;kmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1680.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;科目全称&apos;,	&apos;(isnull(c_cwkmk.sjkmmc,&apos;&apos;&apos;&apos;) || &apos;&apos;&apos;&apos;||c_cwkmk.kmmc)&apos;,	NULL,	&apos;kmqc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1960.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目类型名称&apos;,	&apos;hs.hsxmlxmc&apos;,	NULL,	&apos;lxmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2240.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目类型编号&apos;,	&apos;hs.hsxmlxbh&apos;,	NULL,	&apos;lxbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2520.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目名称&apos;,	&apos;hs.hsxmmc&apos;,	NULL,	&apos;hsmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;核算项目编号&apos;,	&apos;hs.hsxmbh&apos;,	NULL,	&apos;hsbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3080.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;借方金额&apos;,	&apos;(case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end)&apos;,	NULL,	&apos;jfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3360.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;贷方金额&apos;,	&apos;(case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end)&apos;,	NULL,	&apos;dfje&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3640.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;不参与计算&apos;,	&apos;(case when tzflb.jz = &apos;&apos;1&apos;&apos; then &apos;&apos;不参与计算&apos;&apos; else &apos;&apos;&apos;&apos; end) &apos;,	NULL,	&apos;jz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3920.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;影响期末&apos;,	&apos;(case when tzflb.other2 = &apos;&apos;1&apos;&apos; then &apos;&apos;影响期末&apos;&apos; else &apos;&apos;&apos;&apos; end)&apos;,	NULL,	&apos;yxqm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4200.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;说明&apos;,	&apos;tzflb.sm &apos;,	NULL,	&apos;sm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4480.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;资产_借方&apos;,	&apos;(case when bbxm.xmlx = 0 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end) else 0 end)&apos;,	NULL,	&apos;zc_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4760.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;资产_贷方&apos;,	&apos;(case when bbxm.xmlx = 0 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end) else 0 end)&apos;,	NULL,	&apos;zc_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5040.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;损益_借方&apos;,	&apos;(case when bbxm.xmlx = 1 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsjf,0) else isnull(tzflb.jfje,0) end) else 0 end)&apos;,	NULL,	&apos;sy_jf&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5320.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;损益_贷方&apos;,	&apos;(case when bbxm.xmlx = 1 then (case when length(isnull(hs.hsxmlxbh,&apos;&apos;&apos;&apos;)) &gt; 0 then isnull(hs.hsdf,0) else isnull(tzflb.dfje,0) end) else 0 end)&apos;,	NULL,	&apos;sy_df&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5600.00,	280.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;调整类型&apos;,	&apos;(case tzflb_zu.tzlx when 0 then &apos;&apos;期初调整&apos;&apos; else &apos;&apos;期末调整&apos;&apos; end)&apos;,	NULL,	&apos;tzlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5880.00,	280.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	22,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;底稿名称&apos;,	&apos;b_dgxm.dgmc&apos;,	NULL,	&apos;dgmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6160.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;底稿编号&apos;,	&apos;b_dgxm.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6440.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;所属表页&apos;,	&apos;tzflb_zu.ssdg&apos;,	NULL,	&apos;ssdg&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6720.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;索引号&apos;,	&apos;b_dgxm.syh&apos;,	NULL,	&apos;syh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7000.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;报表编号&apos;,	&apos;bbxm.bbbh&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7280.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;项目名称&apos;,	&apos;bbxm.xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7560.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;账龄区间序号&apos;,	&apos;qjxh&apos;,	NULL,	&apos;qjxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	1,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;账龄区间名称&apos;,	&apos;qjmc&apos;,	NULL,	&apos;qjmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;账龄区间起始值&apos;,	&apos;qjqs&apos;,	NULL,	&apos;qjqs&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	3,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;账龄区间终止值&apos;,	&apos;qjzz&apos;,	NULL,	&apos;qjzz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	4,	&apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;区间模式&apos;,	&apos;qjms&apos;,	NULL,	&apos;qjms&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1018&apos;,	&apos;启用标志&apos;,	&apos;qybz&apos;,	NULL,	&apos;qybz&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
</sql></db_upgrade_row><db_upgrade_row><p_id>26</p_id><no>10</no><make_date>2010-11-01 19:20:48.812000</make_date><note>创建风险导向相关认定竖表-删除</note><sql>if not isnull(object_id(&apos;b_dgxm_fxdx2&apos;),0) &gt;0 then
   create table DBA.b_dgxm_fxdx2 
(
   lsh                  char(40)                       compute (string(xh)+&apos;X&apos;+dgbh),
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   xh                   integer                        not null,
   dgbh                 char(20)                       not null,
   crbbrd               char(20)                       not null,
   dgmc                 char(80),
   xhfl                 char(20),
   xhfl_sm              char(30),
   xsxh                 integer,
   rdxm1                char(20),
   rdxm2                char(20),
   rdxm3                char(20),
   rdxm4                char(20),
   rdxm5                char(20),
   rdxm6                char(20),
   rdxm7                char(20),
   rdxm8                char(20),
   rdxm9                char(20),
   rdxm10               char(20),
   other1               varchar(50),
   other2               tinyint,
   other3               varchar(50),
   other4               tinyint,
   primary key (dwid, ndid, xh, dgbh, crbbrd) 
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>27</p_id><no>10</no><make_date>2010-11-04 14:00:49.031000</make_date><note>更新调整分录字典表-列信息</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;主序号&apos;,	&apos;tzflb_zu.xh&apos;,	NULL,	&apos;xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6800.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;行号&apos;,	&apos;tzflb.hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7080.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;显示行号&apos;,	&apos;tzflb.xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7360.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;主序号&apos;,	&apos;tzflb_zu.xh&apos;,	NULL,	&apos;xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7840.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;行号&apos;,	&apos;tzflb.hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8120.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;显示行号&apos;,	&apos;tzflb.xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8400.00,	280.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>27</p_id><no>20</no><make_date>2010-11-11 16:11:06.109000</make_date><note>修改计算账龄调整-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_tz&apos;) then
   drop procedure pt_zl_tz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>27</p_id><no>30</no><make_date>2010-11-11 16:12:57.234000</make_date><note>修改计算账龄调整-创建</note><sql>///////////////////////////////////////////////////////////////////////////////////////////////
////账龄t调整 计算一个科目或核算项目,目前只支持计算期末账龄
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:  用时：
////09.8.2 Ben
///////////////////////////////////////////////////////////////////////////////////////////////

create   procedure pt_zl_tz(@ai_dwid integer,@ai_ndid integer)
as
begin
	declare @max_qjxh integer
	declare @qjxh integer
	declare @sql_hs varchar(3000)
	declare @sql_km varchar(3000)
    declare @xh integer
    declare @kmbh varchar(65)
    declare @hsxmlxbh varchar(65)
    declare @hsxmbh varchar(65)
    declare @jfje decimal(18,4)
    declare @dfje decimal(18,4)
    declare @vskmbh varchar(65)
    declare @vshsxmlxbh varchar(65)
    declare @vshsxmbh varchar(65)
    declare @vsjfje decimal(18,4)
    declare @vsdfje decimal(18,4)
    
    ////清除原有数据防止遗留
    update c_cwkmk
        set tzzl01=0,tzzl02=0,tzzl03=0,tzzl04=0,tzzl05=0,tzzl06=0,tzzl07=0,tzzl08=0,
            tzzl09=0,tzzl10=0,tzzl11=0,tzzl12=0,tzzl13=0,tzzl14=0,tzzl15=0,tzzl16=0
        where dwid = @ai_dwid and ndid = @ai_ndid
	update c_hsxm_zz
        set tzzl01=0,tzzl02=0,tzzl03=0,tzzl04=0,tzzl05=0,tzzl06=0,tzzl07=0,tzzl08=0,
            tzzl09=0,tzzl10=0,tzzl11=0,tzzl12=0,tzzl13=0,tzzl14=0,tzzl15=0,tzzl16=0
        where dwid = @ai_dwid and ndid = @ai_ndid
    ////把未审的账龄是null的置0，不然在计算审定账龄的时候出问题
    update c_cwkmk set wszl01 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl01 is null
    update c_cwkmk set wszl02 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl02 is null
    update c_cwkmk set wszl03 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl03 is null
    update c_cwkmk set wszl04 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl04 is null
    update c_cwkmk set wszl05 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl05 is null
    update c_cwkmk set wszl06 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl06 is null
    update c_cwkmk set wszl07 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl07 is null
    update c_cwkmk set wszl08 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl08 is null
    update c_cwkmk set wszl09 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl09 is null
    update c_cwkmk set wszl10 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl10 is null
    update c_cwkmk set wszl11 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl11 is null
    update c_cwkmk set wszl12 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl12 is null
    update c_cwkmk set wszl13 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl13 is null
    update c_cwkmk set wszl14 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl14 is null
    update c_cwkmk set wszl15 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl15 is null
    update c_cwkmk set wszl16 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl16 is null
    
    update c_hsxm_zz set wszl01 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl01 is null
    update c_hsxm_zz set wszl02 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl02 is null
    update c_hsxm_zz set wszl03 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl03 is null
    update c_hsxm_zz set wszl04 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl04 is null
    update c_hsxm_zz set wszl05 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl05 is null
    update c_hsxm_zz set wszl06 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl06 is null
    update c_hsxm_zz set wszl07 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl07 is null
    update c_hsxm_zz set wszl08 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl08 is null
    update c_hsxm_zz set wszl09 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl09 is null
    update c_hsxm_zz set wszl10 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl10 is null
    update c_hsxm_zz set wszl11 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl11 is null
    update c_hsxm_zz set wszl12 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl12 is null
    update c_hsxm_zz set wszl13 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl13 is null
    update c_hsxm_zz set wszl14 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl14 is null
    update c_hsxm_zz set wszl15 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl15 is null
    update c_hsxm_zz set wszl16 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl16 is null
        
	////汇总科目调整分录
    create table #t_tzfl_km(kmbh char(64),qjxh integer,tzs decimal(18,4))
   insert into #t_tzfl_km 
        select t.kmbh,t.fzfl,sum(isnull(t.jfje,0) - isnull(t.dfje,0))
            from tzflb_zu as Z,tzflb as T 
        	where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and 
                z.dwid = @ai_dwid and z.ndid = @ai_ndid and z.tzlx = 1 and 
        		z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl is not null and t.fzfl &lt;= 16 
            group by t.kmbh,t.fzfl
    ////汇总调整分录账龄数据
    create table #t_tzfl_hs(kmbh char(64),hsxmlxbh char(40),hsxmbh char(40),qjxh integer,tzs decimal(18,4)) 
    insert into #t_tzfl_hs
        select h.kmbh,h.hsxmlxbh,h.hsxmbh,t.fzfl,sum(isnull(h.jffse,0) - isnull(h.dffse,0))
            from tzflb_zu as Z,tzflb as T , tzflb_hsmx as H
            where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and 
                (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and t.hh = h.hh and z.dwid = @ai_dwid and z.ndid = @ai_ndid and z.tzlx = 1 and 
        		z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl is not null and t.fzfl &lt;= 16 
            group by h.kmbh,h.hsxmlxbh,h.hsxmbh,t.fzfl

    select @max_qjxh = max(qjxh) from #t_tzfl_km
    set @qjxh = 1
    while @qjxh &lt;= @max_qjxh
        begin
			set @sql_km = &apos;update c_cwkmk a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = (case when locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 then 1 else -1 end) * b.tzs from #t_tzfl_km b where a.kmbh = b.kmbh &apos;
							||&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid) || &apos;and b.qjxh = &apos;||string(@qjxh)
			EXECUTE (@sql_km)

			set @sql_hs = &apos;update c_hsxm_zz a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = (case when locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 then 1 else -1 end) * b.tzs from #t_tzfl_hs b where a.kmbh = b.kmbh &apos;
							||&apos;and a.hsxmlxbh=b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid) || &apos;and b.qjxh = &apos;||string(@qjxh)
			EXECUTE (@sql_hs)

            set @qjxh = @qjxh + 1
        end    
    
    ///下面调整负值重分类过来的账龄
    select @max_qjxh = max(qjxh) from c_zlszb where dwid = @ai_dwid and ndid = @ai_ndid and qybz = &apos;1&apos;
    ///科目
    set @qjxh = 1
    DECLARE fzcflzlkm CURSOR FOR 
    select z.xh,t.kmbh,isnull(t.jfje,0),isnull(t.dfje,0)
    from tzflb_zu as Z,tzflb as T 
	where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and z.dwid = @ai_dwid and z.ndid = @ai_ndid 
    and z.tzlx = 1 and z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; 1 and z.khtzqk = &apos;1&apos;  and t.fzfl = 17 
    open fzcflzlkm
    WHILE 1=1
        begin
            FETCH next fzcflzlkm INTO @xh,@kmbh,@jfje,@dfje
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            if @xh is null or @xh = &apos;&apos; continue
            if @kmbh is null or @kmbh = &apos;&apos; continue
            
            select @vskmbh = a.kmbh,@vsjfje = isnull(a.jfje,0),@vsdfje = isnull(a.dfje,0) from tzflb a,c_cwkmk b where a.dwid = @ai_dwid and a.ndid = @ai_ndid 
                and a.dwid = b.dwid and a.ndid = b.ndid and a.kmbh = b.kmbh and b.other3 = @kmbh and a.xh = @xh and a.fzfl = 18 
            if @vskmbh is null or @vskmbh = &apos;&apos; continue
            
            while @qjxh &lt;= @max_qjxh
                begin
                    set @sql_km = &apos;update c_cwkmk set tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@jfje)||&apos; &gt; 0) or (locate(jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@dfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) where kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;||string(@ai_ndid)
			        EXECUTE (@sql_km)
                    
                    set @sql_km = &apos;update c_cwkmk a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@vsjfje)||&apos; &gt; 0) or (locate(a.jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@vsdfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(b.wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) from c_cwkmk b where a.kmbh = &apos;&apos;&apos;||@vskmbh||&apos;&apos;&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid)
                    ||&apos; and b.kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and b.dwid = a.dwid and b.ndid = a.ndid &apos;
			        EXECUTE (@sql_km)
                    
                    set @qjxh = @qjxh + 1
                end
        end
    close fzcflzlkm   
    
    ///核算项目
    set @qjxh = 1
    DECLARE fzcflzlhsxm CURSOR FOR 
    select z.xh,h.kmbh,h.hsxmlxbh,h.hsxmbh,isnull(h.jffse,0),isnull(h.dffse,0)
            from tzflb_zu as Z,tzflb as T , tzflb_hsmx as H
            where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and t.hh = h.hh and z.dwid = @ai_dwid and z.ndid = @ai_ndid 
            and z.tzlx = 1 and z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl = 17 
    open fzcflzlhsxm
    WHILE 1=1
        begin
            FETCH next fzcflzlhsxm INTO @xh,@kmbh,@hsxmlxbh,@hsxmbh,@jfje,@dfje
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            if @xh is null or @xh = &apos;&apos; continue
            if @kmbh is null or @kmbh = &apos;&apos; continue
            if @hsxmlxbh is null or @hsxmlxbh = &apos;&apos; continue
            if @hsxmbh is null or @hsxmbh = &apos;&apos; continue
            
            select @vskmbh = h.kmbh,@vshsxmlxbh = h.hsxmlxbh,@vshsxmbh = h.hsxmbh,@vsjfje = isnull(h.jffse,0),@vsdfje = isnull(h.dffse,0) from tzflb t,tzflb_hsmx h,c_hsxm_zz z 
                where t.dwid = @ai_dwid and t.ndid = @ai_ndid and t.xh = @xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and t.hh = h.hh 
                and h.dwid = z.dwid and h.ndid = z.ndid and h.kmbh = z.kmbh and h.hsxmlxbh = z.hsxmlxbh and h.hsxmbh = z.hsxmbh and z.other3 = @kmbh||&apos;:&apos;||@hsxmlxbh||&apos;:&apos;||@hsxmbh and t.fzfl = 18 
            if @vskmbh is null or @vskmbh = &apos;&apos; continue
            if @vshsxmlxbh is null or @vshsxmlxbh = &apos;&apos; continue
            if @vshsxmbh is null or @vshsxmbh = &apos;&apos; continue
            
            while @qjxh &lt;= @max_qjxh
                begin
                    set @sql_hs = &apos;update c_hsxm_zz set tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@jfje)||&apos; &gt; 0) or (locate(jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@dfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) where kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and hsxmlxbh = &apos;&apos;&apos;||@hsxmlxbh||&apos;&apos;&apos; and hsxmbh = &apos;&apos;&apos;||@hsxmbh||&apos;&apos;&apos; and dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;||string(@ai_ndid)
			        EXECUTE (@sql_hs)
                    
                    set @sql_hs = &apos;update c_hsxm_zz a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@vsjfje)||&apos; &gt; 0) or (locate(a.jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@vsdfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(b.wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) from c_hsxm_zz b where a.kmbh = &apos;&apos;&apos;||@vskmbh||&apos;&apos;&apos; and a.hsxmlxbh = &apos;&apos;&apos;||@vshsxmlxbh||&apos;&apos;&apos; and a.hsxmbh = &apos;&apos;&apos;||@vshsxmbh||&apos;&apos;&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid)
                    ||&apos; and b.kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and b.hsxmlxbh = &apos;&apos;&apos;||@hsxmlxbh||&apos;&apos;&apos; and b.hsxmbh = &apos;&apos;&apos;||@hsxmbh||&apos;&apos;&apos; and b.dwid = a.dwid and b.ndid = a.ndid &apos;
			        EXECUTE (@sql_hs)
                    
                    set @qjxh = @qjxh + 1
                end
        end
    close fzcflzlhsxm                     
end</sql></db_upgrade_row><db_upgrade_row><p_id>27</p_id><no>40</no><make_date>2010-11-12 16:21:43.861000</make_date><note>更新科目余额表-列信息</note><sql>INSERT INTO datatable_defcolinfo VALUES (	&apos;C5001&apos;,	&apos;科目(核算)名称&apos;,	&apos;kmmc&apos;,	&apos;hsxmmc&apos;,	&apos;kmhsxmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	52716.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	143,	&apos;char&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>28</p_id><no>10</no><make_date>2010-11-26 17:30:44.250000</make_date><note>修改取数函数表</note><sql>update datatable_fun set fun_col12 = &apos;取消&apos; where t_id = &apos;C5007&apos; and fun_id = &apos;08&apos;;</sql></db_upgrade_row><db_upgrade_row><p_id>28</p_id><no>20</no><make_date>2010-11-26 17:31:07.906000</make_date><note>更改存货名称字段长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwch&apos; and b.column_name = &apos;hwmc&apos;) then
   alter table c_cwch alter hwmc char(200) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>29</p_id><no>10</no><make_date>2010-12-07 11:46:42.375000</make_date><note>增加项目表远程项目ID</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;prj_info&apos; and b.column_name = &apos;ycxmid&apos;) then
   alter table prj_info add ycxmid varchar(50) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>29</p_id><no>20</no><make_date>2010-12-07 11:47:07.625000</make_date><note>增加项目表远程人员ID</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;prj_info&apos; and b.column_name = &apos;ycuserid&apos;) then
   alter table prj_info add ycuserid varchar(20) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>29</p_id><no>30</no><make_date>2010-12-07 11:48:01.906000</make_date><note>创建人员关系对照表</note><sql>if not isnull(object_id(&apos;user_localvsserver&apos;),0) &gt;0 then
   create table user_localvsserver 
(
   u_id                 integer                        not null,
   UserID               varchar(20)                    not null,
   UserName             varchar(20),
   LoginName            varchar(20),
   PassWord             varchar(20),
   PositionGrade        varchar(20),
   DeptID               varchar(20),
   RankID               varchar(20),
   IsLeave              char(1),
   LeaveDate            datetime,
   LastDate             datetime,
   IP                   varchar(15),
   CreateDate           datetime,
   Resume               varchar(3000),
   Phone                varchar(15),
   Email                varchar(50),
   Remark               varchar(1000),
   State                char(1),
   AloneReView          char(1),
   primary key (u_id, UserID)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>30</p_id><no>10</no><make_date>2011-01-19 16:43:32</make_date><note>修改计算账龄调整-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_zl_tz&apos;) then
   drop procedure pt_zl_tz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>30</p_id><no>20</no><make_date>2011-01-19 16:43:52.765000</make_date><note>修改计算账龄调整-创建</note><sql>create   procedure pt_zl_tz(@ai_dwid integer,@ai_ndid integer)
as
begin
	declare @max_qjxh integer
	declare @qjxh integer
	declare @sql_hs varchar(3000)
	declare @sql_km varchar(3000)
    declare @xh integer
    declare @kmbh varchar(65)
    declare @hsxmlxbh varchar(65)
    declare @hsxmbh varchar(65)
    declare @jfje decimal(18,4)
    declare @dfje decimal(18,4)
    declare @vskmbh varchar(65)
    declare @vshsxmlxbh varchar(65)
    declare @vshsxmbh varchar(65)
    declare @vsjfje decimal(18,4)
    declare @vsdfje decimal(18,4)
    
    ////清除原有数据防止遗留
    update c_cwkmk
        set tzzl01=0,tzzl02=0,tzzl03=0,tzzl04=0,tzzl05=0,tzzl06=0,tzzl07=0,tzzl08=0,
            tzzl09=0,tzzl10=0,tzzl11=0,tzzl12=0,tzzl13=0,tzzl14=0,tzzl15=0,tzzl16=0
        where dwid = @ai_dwid and ndid = @ai_ndid
	update c_hsxm_zz
        set tzzl01=0,tzzl02=0,tzzl03=0,tzzl04=0,tzzl05=0,tzzl06=0,tzzl07=0,tzzl08=0,
            tzzl09=0,tzzl10=0,tzzl11=0,tzzl12=0,tzzl13=0,tzzl14=0,tzzl15=0,tzzl16=0
        where dwid = @ai_dwid and ndid = @ai_ndid
    ////把未审的账龄是null的置0，不然在计算审定账龄的时候出问题
    update c_cwkmk set wszl01 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl01 is null
    update c_cwkmk set wszl02 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl02 is null
    update c_cwkmk set wszl03 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl03 is null
    update c_cwkmk set wszl04 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl04 is null
    update c_cwkmk set wszl05 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl05 is null
    update c_cwkmk set wszl06 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl06 is null
    update c_cwkmk set wszl07 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl07 is null
    update c_cwkmk set wszl08 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl08 is null
    update c_cwkmk set wszl09 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl09 is null
    update c_cwkmk set wszl10 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl10 is null
    update c_cwkmk set wszl11 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl11 is null
    update c_cwkmk set wszl12 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl12 is null
    update c_cwkmk set wszl13 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl13 is null
    update c_cwkmk set wszl14 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl14 is null
    update c_cwkmk set wszl15 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl15 is null
    update c_cwkmk set wszl16 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl16 is null
    
    update c_hsxm_zz set wszl01 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl01 is null
    update c_hsxm_zz set wszl02 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl02 is null
    update c_hsxm_zz set wszl03 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl03 is null
    update c_hsxm_zz set wszl04 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl04 is null
    update c_hsxm_zz set wszl05 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl05 is null
    update c_hsxm_zz set wszl06 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl06 is null
    update c_hsxm_zz set wszl07 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl07 is null
    update c_hsxm_zz set wszl08 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl08 is null
    update c_hsxm_zz set wszl09 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl09 is null
    update c_hsxm_zz set wszl10 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl10 is null
    update c_hsxm_zz set wszl11 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl11 is null
    update c_hsxm_zz set wszl12 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl12 is null
    update c_hsxm_zz set wszl13 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl13 is null
    update c_hsxm_zz set wszl14 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl14 is null
    update c_hsxm_zz set wszl15 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl15 is null
    update c_hsxm_zz set wszl16 = 0 where dwid = @ai_dwid and ndid = @ai_ndid and wszl16 is null
        
	////汇总科目调整分录
    create table #t_tzfl_km(kmbh char(64),qjxh integer,tzs decimal(18,4))
   insert into #t_tzfl_km 
        select t.kmbh,t.fzfl,sum(isnull(t.jfje,0) - isnull(t.dfje,0))
            from tzflb_zu as Z,tzflb as T 
        	where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and 
                z.dwid = @ai_dwid and z.ndid = @ai_ndid and z.tzlx = 1 and 
        		z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl is not null and t.fzfl &lt;= 16 
            group by t.kmbh,t.fzfl
    ////汇总调整分录账龄数据
    create table #t_tzfl_hs(kmbh char(64),hsxmlxbh char(40),hsxmbh char(40),qjxh integer,tzs decimal(18,4)) 
    insert into #t_tzfl_hs
        select h.kmbh,h.hsxmlxbh,h.hsxmbh,t.fzfl,sum(isnull(h.jffse,0) - isnull(h.dffse,0))
            from tzflb_zu as Z,tzflb as T , tzflb_hsmx as H
            where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and 
                (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and t.hh = h.hh and z.dwid = @ai_dwid and z.ndid = @ai_ndid and z.tzlx = 1 and 
        		z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl is not null and t.fzfl &lt;= 16 
            group by h.kmbh,h.hsxmlxbh,h.hsxmbh,t.fzfl

    select @max_qjxh = max(qjxh) from #t_tzfl_km
    set @qjxh = 1
    while @qjxh &lt;= @max_qjxh
        begin
			set @sql_km = &apos;update c_cwkmk a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = (case when locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 then 1 else -1 end) * b.tzs from #t_tzfl_km b where a.kmbh = b.kmbh &apos;
							||&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid) || &apos;and b.qjxh = &apos;||string(@qjxh)
			EXECUTE (@sql_km)

			set @sql_hs = &apos;update c_hsxm_zz a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = (case when locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 then 1 else -1 end) * b.tzs from #t_tzfl_hs b where a.kmbh = b.kmbh &apos;
							||&apos;and a.hsxmlxbh=b.hsxmlxbh and a.hsxmbh = b.hsxmbh and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid) || &apos;and b.qjxh = &apos;||string(@qjxh)
			EXECUTE (@sql_hs)

            set @qjxh = @qjxh + 1
        end    
    
    ///下面调整负值重分类过来的账龄
    select @max_qjxh = max(qjxh) from c_zlszb where dwid = @ai_dwid and ndid = @ai_ndid and qybz = &apos;1&apos;
    ///科目
    DECLARE fzcflzlkm CURSOR FOR 
    select z.xh,t.kmbh,isnull(t.jfje,0),isnull(t.dfje,0)
    from tzflb_zu as Z,tzflb as T 
	where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and z.dwid = @ai_dwid and z.ndid = @ai_ndid 
    and z.tzlx = 1 and z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; 1 and z.khtzqk = &apos;1&apos;  and t.fzfl = 17 
    open fzcflzlkm
    WHILE 1=1
        begin
            FETCH next fzcflzlkm INTO @xh,@kmbh,@jfje,@dfje
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            if @xh is null or @xh = &apos;&apos; continue
            if @kmbh is null or @kmbh = &apos;&apos; continue
            
            select @vskmbh = a.kmbh,@vsjfje = isnull(a.jfje,0),@vsdfje = isnull(a.dfje,0) from tzflb a,c_cwkmk b where a.dwid = @ai_dwid and a.ndid = @ai_ndid 
                and a.dwid = b.dwid and a.ndid = b.ndid and a.kmbh = b.kmbh and b.other3 = @kmbh and a.xh = @xh and a.fzfl = 18 
            if @vskmbh is null or @vskmbh = &apos;&apos; continue
            
            set @qjxh = 1
            while @qjxh &lt;= @max_qjxh
                begin
                    set @sql_km = &apos;update c_cwkmk set tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@jfje)||&apos; &gt; 0) or (locate(jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@dfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) where kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;||string(@ai_ndid)
			        EXECUTE (@sql_km)
                    
                    set @sql_km = &apos;update c_cwkmk a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@vsjfje)||&apos; &gt; 0) or (locate(a.jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@vsdfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(b.wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) from c_cwkmk b where a.kmbh = &apos;&apos;&apos;||@vskmbh||&apos;&apos;&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid)
                    ||&apos; and b.kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and b.dwid = a.dwid and b.ndid = a.ndid &apos;
			        EXECUTE (@sql_km)
                    
                    set @qjxh = @qjxh + 1
                end
        end
    close fzcflzlkm   
    
    ///核算项目
    DECLARE fzcflzlhsxm CURSOR FOR 
    select z.xh,h.kmbh,h.hsxmlxbh,h.hsxmbh,isnull(h.jffse,0),isnull(h.dffse,0)
            from tzflb_zu as Z,tzflb as T , tzflb_hsmx as H
            where z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and (z.lx =&apos;1&apos; or z.lx = &apos;2&apos;) and t.hh = h.hh and z.dwid = @ai_dwid and z.ndid = @ai_ndid 
            and z.tzlx = 1 and z.sfxj = 1 and isnull(t.jz,&apos;0&apos;) &lt;&gt; &apos;1&apos; and z.khtzqk = &apos;1&apos;  and t.fzfl = 17 
    open fzcflzlhsxm
    WHILE 1=1
        begin
            FETCH next fzcflzlhsxm INTO @xh,@kmbh,@hsxmlxbh,@hsxmbh,@jfje,@dfje
            ////无数据退出循环
            If @@sqlstatus &lt;&gt; 0 break
            if @xh is null or @xh = &apos;&apos; continue
            if @kmbh is null or @kmbh = &apos;&apos; continue
            if @hsxmlxbh is null or @hsxmlxbh = &apos;&apos; continue
            if @hsxmbh is null or @hsxmbh = &apos;&apos; continue
            
            select @vskmbh = h.kmbh,@vshsxmlxbh = h.hsxmlxbh,@vshsxmbh = h.hsxmbh,@vsjfje = isnull(h.jffse,0),@vsdfje = isnull(h.dffse,0) from tzflb t,tzflb_hsmx h,c_hsxm_zz z 
                where t.dwid = @ai_dwid and t.ndid = @ai_ndid and t.xh = @xh and t.dwid = h.dwid and t.ndid = h.ndid and t.xh = h.xh and t.hh = h.hh 
                and h.dwid = z.dwid and h.ndid = z.ndid and h.kmbh = z.kmbh and h.hsxmlxbh = z.hsxmlxbh and h.hsxmbh = z.hsxmbh and z.other3 = @kmbh||&apos;:&apos;||@hsxmlxbh||&apos;:&apos;||@hsxmbh and t.fzfl = 18 
            if @vskmbh is null or @vskmbh = &apos;&apos; continue
            if @vshsxmlxbh is null or @vshsxmlxbh = &apos;&apos; continue
            if @vshsxmbh is null or @vshsxmbh = &apos;&apos; continue
            
            set @qjxh = 1
            while @qjxh &lt;= @max_qjxh
                begin
                    set @sql_hs = &apos;update c_hsxm_zz set tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@jfje)||&apos; &gt; 0) or (locate(jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@dfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) where kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and hsxmlxbh = &apos;&apos;&apos;||@hsxmlxbh||&apos;&apos;&apos; and hsxmbh = &apos;&apos;&apos;||@hsxmbh||&apos;&apos;&apos; and dwid = &apos;||string(@ai_dwid)||&apos; and ndid = &apos;||string(@ai_ndid)
			        EXECUTE (@sql_hs)
                    
                    set @sql_hs = &apos;update c_hsxm_zz a set a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; = a.tzzl&apos; || right(string(&apos;0&apos;,@qjxh),2)  || &apos; + (case when ((locate(a.jdfx,&apos;&apos;借&apos;&apos;) &gt; 0 and &apos;||string(@vsjfje)||&apos; &gt; 0) or (locate(a.jdfx,&apos;&apos;贷&apos;&apos;) &gt; 0 and &apos;||string(@vsdfje)||&apos; &gt; 0)) then 1 else -1 end) * &apos;
                    ||&apos; abs(b.wszl&apos; || right(string(&apos;0&apos;,@qjxh),2)|| &apos;) from c_hsxm_zz b where a.kmbh = &apos;&apos;&apos;||@vskmbh||&apos;&apos;&apos; and a.hsxmlxbh = &apos;&apos;&apos;||@vshsxmlxbh||&apos;&apos;&apos; and a.hsxmbh = &apos;&apos;&apos;||@vshsxmbh||&apos;&apos;&apos; and a.dwid = &apos;||string(@ai_dwid)||&apos; and a.ndid = &apos;||string(@ai_ndid)
                    ||&apos; and b.kmbh = &apos;&apos;&apos;||@kmbh||&apos;&apos;&apos; and b.hsxmlxbh = &apos;&apos;&apos;||@hsxmlxbh||&apos;&apos;&apos; and b.hsxmbh = &apos;&apos;&apos;||@hsxmbh||&apos;&apos;&apos; and b.dwid = a.dwid and b.ndid = a.ndid &apos;
			        EXECUTE (@sql_hs)
                    
                    set @qjxh = @qjxh + 1
                end
        end
    close fzcflzlhsxm                     
end
</sql></db_upgrade_row><db_upgrade_row><p_id>31</p_id><no>10</no><make_date>2011-01-28 10:15:14.015000</make_date><note>修改人员对照表-角色</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;user_localvsserver&apos; and b.column_name = &apos;Vsroleid&apos;) then
   alter table user_localvsserver add Vsroleid varchar(10) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>31</p_id><no>20</no><make_date>2011-01-28 10:17:41.953000</make_date><note>修改人员对照表-权限</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;user_localvsserver&apos; and b.column_name = &apos;Qxlist&apos;) then
   alter table user_localvsserver add Qxlist varchar(300) null
end if</sql></db_upgrade_row><db_upgrade_row><p_id>32</p_id><no>10</no><make_date>2011-04-12 14:46:38.125000</make_date><note>修改存储过程-获取月余额删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_getyye&apos;) then
   drop procedure p_getyye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>32</p_id><no>20</no><make_date>2011-04-12 14:47:34.343000</make_date><note>修改存储过程-获取月余额创建</note><sql>create   procedure p_getyye(@ai_dwid integer,@ai_ndid integer)
as
begin

   IF not EXISTS(Select 1 from sysobjects where id = object_id(&apos;t_lsyye&apos;))
	begin
		create table t_lsyye(kmbh char(64),kmmc char(80),kmlb char(20),jdfx char(8),nc decimal(18,4),y1 decimal(18,4),y2 decimal(18,4),y3 decimal(18,4),y4 decimal(18,4),y5 decimal(18,4),y6 decimal(18,4),y7 decimal(18,4),y8 decimal(18,4),y9 decimal(18,4),y10 decimal(18,4),y11 decimal(18,4),y12 decimal(18,4))
	end
   delete t_lsyye
   insert t_lsyye(kmbh,kmmc,kmlb,jdfx,nc) select kmbh,kmmc,kmlb,jdfx,ws_qcs from c_cwkmk where dwid = @ai_dwid and ndid = @ai_ndid
   update  t_lsyye set y1 = qms from c_kmyek b  where kjmonth = 1 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y2 = qms from c_kmyek b where kjmonth = 2 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y3 = qms from c_kmyek b  where kjmonth = 3 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y4 = qms from c_kmyek b where kjmonth = 4 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y5 = qms from c_kmyek b where kjmonth = 5 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y6 = qms from c_kmyek b where kjmonth = 6 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y7 = qms from c_kmyek b where kjmonth = 7 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y8 = qms from c_kmyek b where kjmonth = 8 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y9 = qms from c_kmyek b where kjmonth = 9 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y10 = qms from c_kmyek b where kjmonth = 10 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y11 = qms from c_kmyek b where kjmonth = 11 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
   update  t_lsyye set y12 = qms from c_kmyek b where kjmonth = 12 and dwid = @ai_dwid and ndid = @ai_ndid and t_lsyye.kmbh = b.kmbh
end </sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>10</no><make_date>2011-12-21 16:25:45.984000</make_date><note>增加报表项目类型</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;bbxmlx&apos;) then alter table b_bbxm add bbxmlx char(2) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>20</no><make_date>2011-12-21 16:26:24.921000</make_date><note>增加报表正负方向</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;bbzffx&apos;) then alter table b_bbxm add bbzffx char(2) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>30</no><make_date>2011-12-21 16:27:02.765000</make_date><note>修改底稿名称长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgmc&apos;) then alter table b_dgxm alter dgmc varchar(160) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>40</no><make_date>2011-12-21 16:27:20.546000</make_date><note>修改底稿显示名称长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgxsmc&apos;) then alter table b_dgxm alter dgxsmc varchar(160) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>50</no><make_date>2011-12-21 16:27:41.156000</make_date><note>修改底稿文件长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm_fxdx&apos; and b.column_name = &apos;dgmc&apos;) then alter table b_dgxm_fxdx alter dgmc varchar(160) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>60</no><make_date>2011-12-21 16:27:55.296000</make_date><note>修改底稿名称长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfile&apos;) then alter table b_dgxm alter dgfile varchar(200) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>33</p_id><no>70</no><make_date>2011-12-21 16:28:11.734000</make_date><note>修改底稿名称长度</note><sql>if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm_fxdx2&apos; and b.column_name = &apos;dgmc&apos;) then alter table b_dgxm_fxdx2 alter dgmc varchar(160) null end if</sql></db_upgrade_row><db_upgrade_row><p_id>34</p_id><no>10</no><make_date>2011-12-21 16:28:43.625000</make_date><note>更新字典表-调整分录1</note><sql>update datatable_fun set fun_col1 = &apos;dxn_temp_col_kmbh&apos; where t_id = &apos;Y0002&apos; and fun_id = &apos;08&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>34</p_id><no>20</no><make_date>2011-12-21 16:29:06.265000</make_date><note>更新字典表-调整分录2</note><sql>update datatable_definfo set dbt_name = &apos; tzflb_zu left outer join b_dgxm on b_dgxm.dgbh = tzflb_zu.dgbh and b_dgxm.dwid = tzflb_zu.dwid and b_dgxm.ndid = tzflb_zu.ndid and dlzt = 0,tzflb,c_cwkmk left outer join (select c_cwkmk.dwid, c_cwkmk.ndid,c_cwkmk.kmwm,b_bbxm.xmlx,b_bbxm.bbxmlx,b_bbxm.bbbh,b_bbxm.xmmc from c_cwkmk, bbxmvskm,b_bbxm where bbxmvskm.dwid = b_bbxm.dwid and bbxmvskm.ndid = b_bbxm.ndid and bbxmvskm.bbxmid = b_bbxm.id and bbxmvskm.zdlx = b_bbxm.zdlx and c_cwkmk.dwid = bbxmvskm.dwid and c_cwkmk.ndid = bbxmvskm.ndid and c_cwkmk.kmbh = bbxmvskm.kmbh and b_bbxm.zdlx = &apos;&apos;0&apos;&apos; and b_bbxm.dlzt = 0 and length(b_bbxm.bbbh) =4) bbxm on c_cwkmk.dwid = bbxm.dwid and c_cwkmk.ndid = bbxm.ndid and c_cwkmk.kmwm like bbxm.kmwm+&apos;&apos;%&apos;&apos;,(select distinct E.xh as dxn_temp_col_xh,E.kmbh as dxn_temp_col_kmbh FROM tzflb E WHERE (E.dwid = 1 and E.ndid = 1 )) AS Dxn_tzflb_temp&apos;, tab_relating = &apos;tzflb.kmbh = c_cwkmk.kmbh and c_cwkmk.dwid = tzflb_zu.dwid and c_cwkmk.ndid = tzflb_zu.ndid and tzflb.ndid = tzflb_zu.ndid and tzflb.dwid = tzflb_zu.dwid and tzflb_zu.xh = tzflb.xh and xh = dxn_temp_col_xh&apos; where t_id = &apos;Y0002&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>35</p_id><no>10</no><make_date>2012-01-04 15:50:27.301000</make_date><note>更新字典表-调整分录取数设置</note><sql>update datatable_definfo set dbt_name = &apos; tzflb_zu left outer join b_dgxm on b_dgxm.dgbh = tzflb_zu.dgbh and b_dgxm.dwid = tzflb_zu.dwid and b_dgxm.ndid = tzflb_zu.ndid and dlzt = 0,tzflb,c_cwkmk left outer join (select c_cwkmk.dwid, c_cwkmk.ndid,c_cwkmk.kmwm,b_bbxm.xmlx,b_bbxm.bbxmlx,b_bbxm.bbbh,b_bbxm.xmmc from c_cwkmk, bbxmvskm,b_bbxm where bbxmvskm.dwid = b_bbxm.dwid and bbxmvskm.ndid = b_bbxm.ndid and bbxmvskm.bbxmid = b_bbxm.id and bbxmvskm.zdlx = b_bbxm.zdlx and c_cwkmk.dwid = bbxmvskm.dwid and c_cwkmk.ndid = bbxmvskm.ndid and c_cwkmk.kmbh = bbxmvskm.kmbh and b_bbxm.zdlx = &apos;&apos;0&apos;&apos; and b_bbxm.dlzt = 0 and length(b_bbxm.bbbh) =4) bbxm on c_cwkmk.dwid = bbxm.dwid and c_cwkmk.ndid = bbxm.ndid and c_cwkmk.kmwm like bbxm.kmwm+&apos;&apos;%&apos;&apos;,(select distinct E.dwid as dwid,E.ndid as ndid,E.xh as dxn_temp_col_xh,E.kmbh as dxn_temp_col_kmbh FROM tzflb E) AS Dxn_tzflb_temp&apos;, tab_relating = &apos;tzflb.kmbh = c_cwkmk.kmbh and c_cwkmk.dwid = tzflb_zu.dwid and c_cwkmk.ndid = tzflb_zu.ndid and tzflb.ndid = tzflb_zu.ndid and tzflb.dwid = tzflb_zu.dwid and Dxn_tzflb_temp.dwid = tzflb_zu.dwid and Dxn_tzflb_temp.ndid = tzflb_zu.ndid and tzflb_zu.xh = tzflb.xh and xh = dxn_temp_col_xh&apos; where t_id = &apos;Y0002&apos;</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>10</no><make_date>2012-03-13 15:51:37.546000</make_date><note>修改调整分录列信息1</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0002&apos; and col_cname = &apos;管理层不予更正的原因&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;管理层不予更正的原因&apos;,	&apos;tzflb_zu.khsm&apos;,	NULL,	&apos;khsm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10660.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>20</no><make_date>2012-03-13 15:51:52.484000</make_date><note>修改调整分录列信息2</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0002&apos; and col_cname = &apos;未更正错报类型&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;未更正错报类型&apos;,	&apos;case tzflb_zu.other2 when 1 then &apos;&apos;以前期间识别出影响本期财务报表的前期未更正错报&apos;&apos; when 2 then &apos;&apos;本期识别出影响本期财务报表的前期未更正错报&apos;&apos; when 3 then &apos;&apos;本期识别出影响本期财务报表未更正错报&apos;&apos; end&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10960.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;integer&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>30</no><make_date>2012-03-13 15:52:02.625000</make_date><note>修改调整分录列信息3</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0002&apos; and col_cname = &apos;错报性质&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0002&apos;,	&apos;错报性质&apos;,	&apos;tzflb_zu.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11260.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>40</no><make_date>2012-03-13 15:52:13.750000</make_date><note>修改调整分录列信息4</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0009&apos; and col_cname = &apos;管理层不予更正的原因&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;管理层不予更正的原因&apos;,	&apos;tzflb_zu.khsm&apos;,	NULL,	&apos;khsm&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8680.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>50</no><make_date>2012-03-13 15:52:25.640000</make_date><note>修改调整分录列信息5</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0009&apos; and col_cname = &apos;未更正错报类型&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;未更正错报类型&apos;,	&apos;case tzflb_zu.other2 when 1 then &apos;&apos;以前期间识别出影响本期财务报表的前期未更正错报&apos;&apos; when 2 then &apos;&apos;本期识别出影响本期财务报表的前期未更正错报&apos;&apos; when 3 then &apos;&apos;本期识别出影响本期财务报表未更正错报&apos;&apos; end&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8980.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;integer&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>36</p_id><no>60</no><make_date>2012-03-13 15:52:46.281000</make_date><note>修改调整分录列信息6</note><sql>if not exists(select 1 from datatable_defcolinfo where t_id = &apos;Y0009&apos; and col_cname = &apos;错报性质&apos;) then
   INSERT INTO datatable_defcolinfo VALUES (	&apos;Y0009&apos;,	&apos;错报性质&apos;,	&apos;tzflb_zu.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9280.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>10</no><make_date>2012-08-21 11:11:53.843000</make_date><note>增加数据列</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;t_hsmx&apos; and b.column_name = &apos;flag&apos;) then alter table t_hsmx add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_zz&apos; and b.column_name = &apos;flag&apos;) then alter table c_hsxm_zz add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;flag&apos;) then alter table c_cwpz add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwkmk&apos; and b.column_name = &apos;flag&apos;) then alter table c_cwkmk add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwch&apos; and b.column_name = &apos;flag&apos;) then alter table c_cwch add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_gdzckp&apos; and b.column_name = &apos;flag&apos;) then alter table c_gdzckp add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_lx&apos; and b.column_name = &apos;flag&apos;) then alter table c_hsxm_lx add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye&apos; and b.column_name = &apos;flag&apos;) then alter table c_hsxm_yye add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye2&apos; and b.column_name = &apos;flag&apos;) then alter table c_hsxm_yye2 add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_zdb&apos; and b.column_name = &apos;flag&apos;) then alter table c_hsxm_zdb add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek&apos; and b.column_name = &apos;flag&apos;) then alter table c_kmyek add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;flag&apos;) then alter table c_kmyek2 add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_hsxm_yye add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye2&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_hsxm_yye2 add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_zz&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_hsxm_zz add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_yye&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_yye add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_yye2&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_yye2 add flag char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_zz&apos; and b.column_name = &apos;flag&apos;) then alter table c_wb_zz add flag char(1) null end if;
delete from datatable_defcolinfo where t_id = &apos;C0001&apos; and col_cname = &apos;是否手工添加科目&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C0001&apos;,	&apos;是否手工添加科目&apos;,	&apos;flag&apos;,	NULL,	&apos;flag&apos;,	&apos;1&apos;,	2,	&apos;0909&apos;,	&apos;1&apos;,	&apos;0&apos;,	10820.00,	50.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	171,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C1001&apos; and col_cname = &apos;是否手工添加核算项目&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C1001&apos;,	&apos;是否手工添加核算项目&apos;,	&apos;flag&apos;,	NULL,	&apos;flag&apos;,	&apos;1&apos;,	2,	&apos;0820&apos;,	&apos;1&apos;,	&apos;0&apos;,	36485,	50,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	145,	&apos;char&apos;);
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs1&apos;) then alter table c_kmyek2 add qcs1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms1&apos;) then alter table c_kmyek2 add qms1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs2&apos;) then alter table c_kmyek2 add qcs2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms2&apos;) then alter table c_kmyek2 add qms2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs3&apos;) then alter table c_kmyek2 add qcs3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms3&apos;) then alter table c_kmyek2 add qms3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs4&apos;) then alter table c_kmyek2 add qcs4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms4&apos;) then alter table c_kmyek2 add qms4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs5&apos;) then alter table c_kmyek2 add qcs5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms5&apos;) then alter table c_kmyek2 add qms5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs6&apos;) then alter table c_kmyek2 add qcs6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms6&apos;) then alter table c_kmyek2 add qms6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs7&apos;) then alter table c_kmyek2 add qcs7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms7&apos;) then alter table c_kmyek2 add qms7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs8&apos;) then alter table c_kmyek2 add qcs8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms8&apos;) then alter table c_kmyek2 add qms8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs9&apos;) then alter table c_kmyek2 add qcs9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms9&apos;) then alter table c_kmyek2 add qms9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs10&apos;) then alter table c_kmyek2 add qcs10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms10&apos;) then alter table c_kmyek2 add qms10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs11&apos;) then alter table c_kmyek2 add qcs11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms11&apos;) then alter table c_kmyek2 add qms11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qcs12&apos;) then alter table c_kmyek2 add qcs12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_kmyek2&apos; and b.column_name = &apos;qms12&apos;) then alter table c_kmyek2 add qms12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs1&apos;) then alter table b_bbxm add qcs1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j1&apos;) then alter table b_bbxm add fse_j1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d1&apos;) then alter table b_bbxm add fse_d1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms1&apos;) then alter table b_bbxm add qms1 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs2&apos;) then alter table b_bbxm add qcs2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j2&apos;) then alter table b_bbxm add fse_j2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d2&apos;) then alter table b_bbxm add fse_d2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms2&apos;) then alter table b_bbxm add qms2 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs3&apos;) then alter table b_bbxm add qcs3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j3&apos;) then alter table b_bbxm add fse_j3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d3&apos;) then alter table b_bbxm add fse_d3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms3&apos;) then alter table b_bbxm add qms3 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs4&apos;) then alter table b_bbxm add qcs4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j4&apos;) then alter table b_bbxm add fse_j4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d4&apos;) then alter table b_bbxm add fse_d4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms4&apos;) then alter table b_bbxm add qms4 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs5&apos;) then alter table b_bbxm add qcs5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j5&apos;) then alter table b_bbxm add fse_j5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d5&apos;) then alter table b_bbxm add fse_d5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms5&apos;) then alter table b_bbxm add qms5 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs6&apos;) then alter table b_bbxm add qcs6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j6&apos;) then alter table b_bbxm add fse_j6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d6&apos;) then alter table b_bbxm add fse_d6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms6&apos;) then alter table b_bbxm add qms6 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs7&apos;) then alter table b_bbxm add qcs7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j7&apos;) then alter table b_bbxm add fse_j7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d7&apos;) then alter table b_bbxm add fse_d7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms7&apos;) then alter table b_bbxm add qms7 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs8&apos;) then alter table b_bbxm add qcs8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j8&apos;) then alter table b_bbxm add fse_j8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d8&apos;) then alter table b_bbxm add fse_d8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms8&apos;) then alter table b_bbxm add qms8 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs9&apos;) then alter table b_bbxm add qcs9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j9&apos;) then alter table b_bbxm add fse_j9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d9&apos;) then alter table b_bbxm add fse_d9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms9&apos;) then alter table b_bbxm add qms9 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs10&apos;) then alter table b_bbxm add qcs10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j10&apos;) then alter table b_bbxm add fse_j10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d10&apos;) then alter table b_bbxm add fse_d10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms10&apos;) then alter table b_bbxm add qms10 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs11&apos;) then alter table b_bbxm add qcs11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j11&apos;) then alter table b_bbxm add fse_j11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d11&apos;) then alter table b_bbxm add fse_d11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms11&apos;) then alter table b_bbxm add qms11 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qcs12&apos;) then alter table b_bbxm add qcs12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_j12&apos;) then alter table b_bbxm add fse_j12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;fse_d12&apos;) then alter table b_bbxm add fse_d12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_bbxm&apos; and b.column_name = &apos;qms12&apos;) then alter table b_bbxm add qms12 decimal(18,4) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;xtxtz&apos;) then alter table tzflb_zu add xtxtz char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;other3&apos;) then alter table tzflb_zu add other3 varchar(100) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;other4&apos;) then alter table tzflb_zu add other4 tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;other5&apos;) then alter table tzflb_zu add other5 varchar(500) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;other6&apos;) then alter table tzflb_zu add other6 char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;tzflb_zu&apos; and b.column_name = &apos;other7&apos;) then alter table tzflb_zu add other7 char(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;showobject&apos;) then alter table b_dgxm add showobject varchar(100) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;processcode&apos;) then alter table b_dgxm add processcode char(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;processcodegroup&apos;) then alter table b_dgxm add processcodegroup char(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;ifshow&apos;) then alter table b_dgxm add ifshow varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;ifdo&apos;) then alter table b_dgxm add ifdo varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;ifcontrol&apos;) then alter table b_dgxm add ifcontrol varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;ifcontrol_sm&apos;) then alter table b_dgxm add ifcontrol_sm varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfhty_js&apos;) then alter table b_dgxm add dgfhty_js varchar(150) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfhbh_js&apos;) then alter table b_dgxm add dgfhbh_js varchar(150) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgbzr_js&apos;) then alter table b_dgxm add dgbzr_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfhr_js&apos;) then alter table b_dgxm add dgfhr_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgzlfhr_js&apos;) then alter table b_dgxm add dgzlfhr_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr1_js&apos;) then alter table b_dgxm add fhr1_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr2_js&apos;) then alter table b_dgxm add fhr2_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr3_js&apos;) then alter table b_dgxm add fhr3_js char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgbzr_qmjs&apos;) then alter table b_dgxm add dgbzr_qmjs char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgfhr_qmjs&apos;) then alter table b_dgxm add dgfhr_qmjs char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;dgzlfhr_qmjs&apos;) then alter table b_dgxm add dgzlfhr_qmjs char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr1_qmjs&apos;) then alter table b_dgxm add fhr1_qmjs char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr2_qmjs&apos;) then alter table b_dgxm add fhr2_qmjs char(10) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;b_dgxm&apos; and b.column_name = &apos;fhr3_qmjs&apos;) then alter table b_dgxm add fhr3_qmjs char(10) null end if;
if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;datatable_definfo&apos; and b.column_name = &apos;tab_update&apos;) then alter table datatable_definfo alter tab_update char(50) null end if;
if exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;datatable_definfo&apos; and b.column_name = &apos;tab_update2&apos;) then alter table datatable_definfo alter tab_update2 char(50) null end if;</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>20</no><make_date>2012-08-21 11:16:30.046000</make_date><note>存储过程1-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_cyxm&apos;) then
   drop procedure pb_cyxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>30</no><make_date>2012-08-21 11:18:28.281000</make_date><note>存储过程1-创建</note><sql>create procedure pb_cyxm(@y_dwid integer,@y_ndid integer,@m_dwid integer,@m_ndid integer,@a_tables varchar(2000))//原单位id到目标单位id
as 
begin

select @a_tables= LOWER(@a_tables)

//报表项目    
if locate(@a_tables,&apos;,b_bbxm,&apos;)&gt;0
    begin
        delete from b_bbxm where dwid = @m_dwid and ndid = @m_ndid
        insert into b_bbxm(id,dwid,ndid,dlzt,zdlx,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx,bhkmmc)
	    select       id,@m_dwid,@m_ndid,dlzt,zdlx,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx,bhkmmc from b_bbxm where dwid = @y_dwid and ndid = @y_ndid    
    end

//报表项目期初数
if locate(@a_tables,&apos;,b_bbxm_qcs,&apos;)&gt;0
    begin
        update b_bbxm a set a.zm_qcs = b.zm_qms,a.yws_qcs = b.yws_qms,a.ws_qcs = b.ws_qms,a.sd_qcs = b.sd_qms from b_bbxm b 
        where a.id = b.id and a.zdlx = b.zdlx and a.dlzt = b.dlzt and a.dwid = @m_dwid and a.ndid = @m_ndid and b.dwid = @y_dwid and b.ndid = @y_ndid    
    end

//报表项目对应科目
if locate(@a_tables,&apos;,bbxmvskm,&apos;)&gt;0
    begin
        delete from bbxmvskm where dwid = @m_dwid and ndid = @m_ndid
    	insert into bbxmvskm(dwid,ndid,zdlx,bbxmid,kmbh,jdy,jszf,other1,other2)
    	select       @m_dwid,@m_ndid,zdlx,bbxmid,kmbh,jdy,jszf,other1,other2 from bbxmvskm where dwid = @y_dwid and ndid = @y_ndid    
    end
	
//底稿项目
if locate(@a_tables,&apos;,b_dgxm,&apos;)&gt;0
    begin
        delete from b_dgxm where dwid = @m_dwid and ndid = @m_ndid
    	insert into b_dgxm(dwid,ndid,nbbh,dgbh,dgmc,dgxsmc,jdfx,dgfile,gzdgsy,fzxmzbh,dlzt,dgjc,sfz,dglx,sfwc,syh,dycd,xsxh,dgcy,dgzy,xhfl,ischecked)
    	select       @m_dwid,@m_ndid,nbbh,dgbh,dgmc,dgxsmc,jdfx,dgfile,gzdgsy,fzxmzbh,dlzt,dgjc,sfz,dglx,sfwc,syh,dycd,xsxh,dgcy,dgzy,xhfl,ischecked from b_dgxm where dwid = @y_dwid and ndid = @y_ndid
    end

//底稿项目对应报表项目
if locate(@a_tables,&apos;,dgxmvsbbxm,&apos;)&gt;0
    begin
       delete from dgxmvsbbxm where dwid = @m_dwid and ndid = @m_ndid
       insert into dgxmvsbbxm(dwid,ndid,zdlx,dgbh,bbbh,other1,other2)
       select       @m_dwid,@m_ndid,zdlx,dgbh,bbbh,other1,other2 from dgxmvsbbxm where dwid = @y_dwid and ndid = @y_ndid
    end

//附注项目

//附注项目对应科目

//审计目标
if locate(@a_tables,&apos;,b_sjmb,&apos;)&gt;0
    begin
       delete from b_sjmb where dwid = @m_dwid and ndid = @m_ndid
       insert into b_sjmb(dwid,ndid,sjmbbh,dgbh,dysjcxl,xsxh,sjmbmc,sjmbnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxwcbj,zxqksm,other1,other2,other3,other4)
       select       @m_dwid,@m_ndid,sjmbbh,dgbh,dysjcxl,xsxh,sjmbmc,sjmbnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxwcbj,zxqksm,other1,other2,other3,other4 from b_sjmb where dwid = @y_dwid and ndid = @y_ndid
    end

//审计程序
if locate(@a_tables,&apos;,b_sjcx,&apos;)&gt;0
    begin
       delete from b_sjcx where dwid = @m_dwid and ndid = @m_ndid
       insert into b_sjcx(dwid,ndid,sjcxbh,dgbh,xsxh,sjcxmc,sjcxnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxr,zxwcbj,zxqksm,gzdgsy,mxdgbh,other1,other2,other3,other4)
       select       @m_dwid,@m_ndid,sjcxbh,dgbh,xsxh,sjcxmc,sjcxnr,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,ischecked,zxr,zxwcbj,zxqksm,gzdgsy,mxdgbh,other1,other2,other3,other4 from b_sjcx where dwid = @y_dwid and ndid = @y_ndid
    end

//内部控制程序
if locate(@a_tables,&apos;,b_nbkzcs,&apos;)&gt;0
    begin
       delete from b_nbkzcs where dwid = @m_dwid and ndid = @m_ndid
       insert into b_nbkzcs(dwid,ndid,xh,xhfl,zyywhd,kzmb,xgrd,cykzhd,bsjdwkzhd,sfkzyx,sfddzx,sfcsyx,sfyxyx,sfzcjl,kzcscx,zxkzpl,csxmsl,syh,other1,other2)
       select       @m_dwid,@m_ndid,xh,xhfl,zyywhd,kzmb,xgrd,cykzhd,bsjdwkzhd,sfkzyx,sfddzx,sfcsyx,sfyxyx,sfzcjl,kzcscx,zxkzpl,csxmsl,syh,other1,other2 from b_nbkzcs where dwid = @y_dwid and ndid = @y_ndid
    end

//抽样方案
if locate(@a_tables,&apos;,cyfa,&apos;)&gt;0
    begin
        delete from cyfa where dwid = @m_dwid and ndid = @m_ndid
    	insert into cyfa(dwid,ndid,cyid,t_id,cyname,sm,dygx,cygc,other1,other2,wym)
    	select       @m_dwid,@m_ndid,cyid,t_id,cyname,sm,dygx,cygc,other1,other2,wym from cyfa where dwid = @y_dwid and ndid = @y_ndid
    end

//财务制度
if locate(@a_tables,&apos;,cwzd_prj,&apos;)&gt;0
    begin
        delete from cwzd_prj where dwid = @m_dwid and ndid = @m_ndid
    	insert into cwzd_prj(dwid,ndid,xh,cwzd_prjmc,cwzd_prjsj,dqbdqk,txsm,cwzd_prjkxx,dxdx,other1,other2,bbbh,fjlx)
    	select       @m_dwid,@m_ndid,xh,cwzd_prjmc,cwzd_prjsj,dqbdqk,txsm,cwzd_prjkxx,dxdx,other1,other2,bbbh,fjlx from cwzd_prj where dwid = @y_dwid and ndid = @y_ndid
    end

//风险导向
if locate(@a_tables,&apos;,b_dgxm_fxdx,&apos;)&gt;0
    begin
        delete from b_dgxm_fxdx where dwid = @m_dwid and ndid = @m_ndid
    	insert into b_dgxm_fxdx(lsh, dwid,ndid,xh,dgbh,dgmc,xhfl,xhfl_sm,xsxh,xm,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,xgkzyqsfyx,ljkzsyh,ztfa,kzcs,kzcssyh,szxcx,szxcxsyh,other1,other2,other3,other4)
    	select       lsh,@m_dwid,@m_ndid,xh,dgbh,dgmc,xhfl,xhfl_sm,xsxh,xm,crbbrd1,crbbrd2,crbbrd3,crbbrd4,crbbrd5,crbbrd6,crbbrd7,crbbrd8,crbbrd9,crbbrd10,xgkzyqsfyx,ljkzsyh,ztfa,kzcs,kzcssyh,szxcx,szxcxsyh,other1,other2,other3,other4 from b_dgxm_fxdx where dwid = @y_dwid and ndid = @y_ndid
    end

//系统配置参数
delete from sys_parameter where dwid = @m_dwid and ndid = @m_ndid
	insert into sys_parameter(dwid,ndid,parid,parname,parvalue,parmeaning)
	select       @m_dwid,@m_ndid,parid,parname,parvalue,parmeaning from sys_parameter where dwid = @y_dwid and ndid = @y_ndid

//账龄划分    
delete from c_zlszb where dwid = @m_dwid and ndid = @m_ndid
	insert into c_zlszb(dwid,ndid,qjxh,qjmc,qjqs,qjzz,qjms,qybz)
	select       @m_dwid,@m_ndid,qjxh,qjmc,qjqs,qjzz,qjms,qybz from c_zlszb where dwid = @y_dwid and ndid = @y_ndid    

//底稿重用标记
update b_dgxm  set dgcy = &apos;1&apos; where dwid = @m_dwid and ndid = @m_ndid
//第1位为1或者空：实质性底稿自动更新 第2个字节为1会计报表自动更新 用于封存项目,第3个字节1为重用
update prj_info set  other1 =&apos;111&apos; where dwid = @m_dwid and ndid = @m_ndid

end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>40</no><make_date>2012-08-21 11:19:18.375000</make_date><note>存储过程2-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_yye&apos;) then
   drop procedure pt_km_yye
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>50</no><make_date>2012-08-21 11:19:50.203000</make_date><note>存储过程2-创建</note><sql>create   procedure pt_km_yye(@ai_dwid integer,@ai_ndid integer,@a_fgf char(2))
as
begin

    declare @kjmonth_min integer
    declare @kjmonth_max integer
    declare @kjmonth_temp integer
    declare @year   integer

    declare @sql    char(1000)
    declare @li_i   integer
    declare @li_jc  integer
    declare @li_pz  integer
    
    set @li_pz = isnull((select top 1 ndid from c_cwpz where dwid =@ai_dwid and ndid = @ai_ndid),0)
    if @li_pz &gt; 0 
        begin
            ////取得会计期间
            select @year = kjyear1,@kjmonth_min = kjmonth1,   @kjmonth_max =  kjmonth2 FROM sjnd WHERE ndid = @ai_ndid 
            if @kjmonth_min &gt; @kjmonth_max
            begin
                select @kjmonth_temp  = @kjmonth_max 
                select @kjmonth_max = @kjmonth_min
                select @kjmonth_min = @kjmonth_temp
            end
            ////取科目最大级次
            select max(kmjc) into @li_jc from c_cwkmk where dwid =@ai_dwid and ndid = @ai_ndid
            ////清除原有科目月余额数据[删除语句需要26秒]
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
            ////最早月份科目期初数 [2.5秒]
            insert into c_kmyek(dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                select dwid,ndid,@year,@kjmonth_min,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,isnull(ws_qcs,0),0,0,0,isnull(ws_qcs,0),isnull(ws_qcs_sl,0),0,0,0,isnull(ws_qcs_sl,0),0
                from c_cwkmk 
                where dwid = @ai_dwid and ndid = @ai_ndid
        
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12,
                                qcs1,qms1,qcs2,qms2,qcs3,qms3,qcs4,qms4,qcs5,qms5,qcs6,qms6,qcs7,qms7,qcs8,qms8,qcs9,qms9,qcs10,qms10,qcs11,qms11,qcs12,qms12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid    

            //汇总临时表
            CREATE TABLE #t_hz (kmbh char(200),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),jffse_sl decimal(18,4),dffse_sl decimal(18,4),
                                jz_jf decimal(18,4),jz_df decimal(18,4),jz_jf_sl decimal(18,4),jz_df_sl decimal(18,4),  primary key (kmbh))
            ////汇总下级用，注意发生额汇总需要注意借贷方向
            create table #t_sj(kmwm char(210),pzsl integer,jffse decimal(18,4),dffse decimal(18,4),fse decimal(18,4),
                                jffse_sl decimal(18,4),dffse_sl decimal(18,4), fse_sl decimal(18,4),primary key(kmwm))
            ////循环处理各月份数据
            set @kjmonth_temp = @kjmonth_min
            while @kjmonth_temp &lt;= @kjmonth_max
                begin
                    ////凭证发生额汇总－最早月份 [17.5秒]
                    insert into #t_hz select kmbh,count(1),sum(isnull(jffse,0)),sum(isnull(dffse,0)),sum(isnull(jfsl,0)),sum(isnull(dfsl,0)),0,0,0,0
                        from c_cwpz
                        where dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp
                        group by kmbh

                    ////将涉及利润科目的发生额去除掉，不考虑科目方向都是借减贷
                    update #t_hz a set a.jz_jf = tab.jffs,a.jz_df = tab.dffs, a.jz_jf_sl = tab.jfsl,a.jz_df_sl = tab.dfsl
                        from (select kmbh,sum(isnull(jffse,0)) as jffs, sum(isnull(dffse,0)) as dffs,sum(isnull(jfsl,0)) as jfsl , sum(isnull(dfsl,0))  as dfsl
                                                from c_cwpz
                                                where other2 = 1 and dwid=@ai_dwid and ndid= @ai_ndid and kjmonth = @kjmonth_temp 
                                                group by kmbh) tab
                        where a.kmbh = tab.kmbh
                    ////更新月发生额
                    update c_kmyek a 
                        set a.jffse = b.jffse,      a.dffse = b.dffse,      
                            fse = (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse - b.jz_jf) - (b.dffse - b.jz_df)),       
                            qms = qcs  + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (b.jffse - b.dffse),
                            a.jffse_sl = b.jffse_sl,a.dffse_sl = b.dffse_sl,
                            fse_sl=(case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*((b.jffse_sl - b.jz_jf_sl)- (b.dffse_sl - b.jz_df_sl)),
                            qms_sl = qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end)*(b.jffse_sl - b.dffse_sl),
                            a.pzsl = b.pzsl
                        from #t_hz b
                        where a.kmbh = b.kmbh and a.dwid=@ai_dwid and a.ndid= @ai_ndid and a.kjmonth = @kjmonth_temp
                    ////从末级科目向上计算，实现兼容中间级次的有发生额情况（这里不处理期初数，期初数不兼容中间级次有余额情况，需要计算后手工处理）
                    set @li_i = @li_jc
                    while @li_i &gt; 1
                        begin      
                            ////科目下级数据汇总，包括本级[4.7秒]
                            insert into #t_sj select left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1),sum(pzsl),
                                    sum(jffse),sum(dffse),sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse),
                                    sum(jffse_sl),sum(dffse_sl) ,sum((case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * fse_sl)
                                from c_kmyek 
                                where kjmonth &gt; 0 and dwid =@ai_dwid and ndid = @ai_ndid and kmjc = @li_i and kjmonth = @kjmonth_temp
                                group by left(kmwm, locate(kmwm,@a_fgf,-length(@a_fgf)) + length(@a_fgf) - 1)
                            ////更新科目库[2.6秒]
                            update c_kmyek A
                                set a.jffse = a.jffse + b.jffse,       a.dffse = a.dffse + b.dffse,         
                                    a.fse= a.fse + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse,            
                                    a.qms= a.qcs + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse + b.jffse - a.dffse - b.dffse),
                                    a.jffse_sl=a.jffse_sl + b.jffse_sl,  a.dffse_sl = a.dffse_sl + b.dffse_sl,   
                                    a.fse_sl=a.fse_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * b.fse_sl,
                                    a.qms_sl= a.qcs_sl + (case when LOCATE(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end) * (a.jffse_sl + b.jffse_sl - a.dffse_sl - b.dffse_sl),
                                    a.pzsl = b.pzsl
                                from #t_sj  B
                                where  a.kmwm = b.kmwm and A.dwid = @ai_dwid and A.ndid =@ai_ndid and a.kjmonth = @kjmonth_temp
                            ////清理临时表数据
                            delete from #t_sj       
                            ////准备下次循环        
                            set @li_i =  @li_i - 1
                        end
                    ////更新月余额列模式表
                    set @sql = &apos;update c_kmyek2 set fse_j&apos; + string(@kjmonth_temp) + &apos; = jffse,fse_d&apos; + string(@kjmonth_temp) + &apos; = dffse,fse_&apos; 
                            + string(@kjmonth_temp) + &apos; = fse,qcs&apos;+string(@kjmonth_temp)+&apos; = qcs,qms&apos;+string(@kjmonth_temp)+&apos; = qms from c_kmyek where c_kmyek2.dwid = c_kmyek.dwid and c_kmyek2.ndid=c_kmyek.ndid and c_kmyek2.kmbh=c_kmyek.kmbh and &apos;
                            + &apos; c_kmyek.dwid = &apos; + string(@ai_dwid) + &apos; and c_kmyek.ndid = &apos; + string(@ai_ndid) + &apos; and c_kmyek.kjmonth = &apos; + string(@kjmonth_temp)
                    EXECUTE (@sql)
                    ////下个月期初[55&quot;]
                    If @kjmonth_temp + 1 &lt;= @kjmonth_max
                        begin
                            insert into c_kmyek (dwid,ndid,kjyear,kjmonth,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qcs,jffse,dffse,fse,qms,qcs_sl,jffse_sl,dffse_sl,fse_sl,qms_sl,pzsl)
                                select dwid,ndid,@year,@kjmonth_temp + 1,kmbh,kmmc,kmjc,sfmx,jdfx,kmwm,sjkmmc,qms,0,0,0,qms,qms_sl,0,0,0,qms_sl,0
                                from c_kmyek 
                                where dwid = @ai_dwid and ndid = @ai_ndid and kjmonth = @kjmonth_temp
                        end

                    ////准备下一个循环
                    delete from #t_hz
                    set @kjmonth_temp = @kjmonth_temp + 1      
                end
            drop table #t_hz
            drop table #t_sj
        end
    else
        begin
            ////无凭证不计算月余额
            delete from c_kmyek where dwid = @ai_dwid and ndid = @ai_ndid  and kjmonth &gt; 0
            delete from c_kmyek2 where dwid = @ai_dwid and ndid = @ai_ndid
       
            insert into c_kmyek2(dwid,ndid,kjyear,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,fse_j1,fse_d1,fse_1,fse_j2,fse_d2,fse_2,fse_j3,fse_d3,fse_3,fse_j4,fse_d4,fse_4,fse_j5,fse_d5,fse_5,fse_j6,fse_d6,fse_6,fse_j7,fse_d7,fse_7,fse_j8,fse_d8,fse_8,fse_j9,fse_d9,fse_9,fse_j10,fse_d10,fse_10,fse_j11,fse_d11,fse_11,fse_j12,fse_d12,fse_12,
                                qcs1,qms1,qcs2,qms2,qcs3,qms3,qcs4,qms4,qcs5,qms5,qcs6,qms6,qcs7,qms7,qcs8,qms8,qcs9,qms9,qcs10,qms10,qcs11,qms11,qcs12,qms12)
                select dwid,ndid,@year,kmbh,kmmc,jdfx,sfmx,kmjc,kmwm,sjkmmc,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                from c_cwkmk
                where dwid = @ai_dwid and ndid = @ai_ndid
        end
end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>60</no><make_date>2012-08-21 11:20:58.218000</make_date><note>存储过程3-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_bbxm&apos;) then
   drop procedure pb_bbxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>70</no><make_date>2012-08-21 11:21:29.984000</make_date><note>存储过程3-创建</note><sql>Create Procedure pb_bbxm(@a_dwid Integer,@a_ndid Integer,@a_dlzt Integer)
as
Begin

    declare @bbtz char(1)   //// 报表调整启用标志
    declare @bbqs char(1)   //// 报表未审数来源
    declare @bbsnfse char(1)   ////报表未审上期发生额数据来源 1：手工输入 0：科目汇总
    DECLARE @s_dwid_all varchar(2000)
    DECLARE @s_dwid varchar(2000)
    declare @i_zfgs integer
    
    CREATE TABLE #tmp_bbxm(zdlx	char(1)	,////	制度类型
        bbbh	char(20)	,////	报表编号
        jdfx char(8),
        zm_sn_qcs	decimal(18,4)	,////	账面上年期初数
        zm_sn_fse_j	decimal(18,4)	,////	账面上年借方发生额
        zm_sn_fse_d	decimal(18,4)	,////	账面上年贷方发生额
        zm_sn_fse	decimal(18,4)	,////	账面上年发生额
        zm_qcs  	decimal(18,4)	,////	账面期初数
        zm_fse_j	decimal(18,4)	,////	账面借方发生额
        zm_fse_d	decimal(18,4)	,////	账面贷方发生额
        zm_fse  	decimal(18,4)	,////	账面发生额
        zm_qms	    decimal(18,4)	,////	账面期末数
        yqc_cfl_j	decimal(18,4)	,////	账表差异调整期初借方发生额
        yqc_cfl_d	decimal(18,4)	,////	账表差异调整期初贷方发生额
        yqm_cfl_j	decimal(18,4)	,////	账表差异调整期末借方发生额
        yqm_cfl_d	decimal(18,4)	,////	账表差异调整期末贷方发生额
        ysn_ws_fse_j	decimal(18,4)	,////	账表差异调整后上年借方发生额
        ysn_ws_fse_d	decimal(18,4)	,////	账表差异调整后上年贷方发生额
        ysn_ws_fse	decimal(18,4)	,////	账表差异调整后上年发生额
        yws_qcs 	decimal(18,4)	,////	账表差异调整后期初数
        yws_fse_j	decimal(18,4)	,////	账表差异调整后借方发生额
        yws_fse_d	decimal(18,4)	,////	账表差异调整后贷方发生额
        yws_fse 	decimal(18,4)	,////	账表差异调整后发生额
        yws_qms 	decimal(18,4)	,////	账表差异调整后期末数
        qc_cfl_j	decimal(18,4)	,////	期初重分类借方发生额
        qc_cfl_d	decimal(18,4)	,////	期初重分类贷方发生额
        qc_tz_j 	decimal(18,4)	,////	期初账项调整借方发生额
        qc_tz_d 	decimal(18,4)	,////	期初账项调整贷方发生额
        qm_cfl_j	decimal(18,4)	,////	期末重分类借方发生额
        qm_cfl_d	decimal(18,4)	,////	期末重分类贷方发生额
        qm_tz_j 	decimal(18,4)	,////	期末账项调整借方发生额
        qm_tz_d 	decimal(18,4)	,////	期末账项调整贷方发生额
        g_yqm_tz_j	decimal(18,4)	,////	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,////	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,////	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,////	调整分录滚调影响期末数贷方
        other5      decimal(18,4)	,////	期初未更正数
        other6      decimal(18,4)	,////	期末未更正数
        qcs1        decimal(18,4)   ,
        fse_j1      decimal(18,4)   ,
        fse_d1      decimal(18,4)   ,
        qms1        decimal(18,4)   ,
        qcs2        decimal(18,4)   ,
        fse_j2      decimal(18,4)   ,
        fse_d2      decimal(18,4)   ,
        qms2        decimal(18,4)   ,
        qcs3        decimal(18,4)   ,
        fse_j3      decimal(18,4)   ,
        fse_d3      decimal(18,4)   ,
        qms3        decimal(18,4)   ,
        qcs4        decimal(18,4)   ,
        fse_j4      decimal(18,4)   ,
        fse_d4      decimal(18,4)   ,
        qms4        decimal(18,4)   ,
        qcs5        decimal(18,4)   ,
        fse_j5      decimal(18,4)   ,
        fse_d5      decimal(18,4)   ,
        qms5        decimal(18,4)   ,
        qcs6        decimal(18,4)   ,
        fse_j6      decimal(18,4)   ,
        fse_d6      decimal(18,4)   ,
        qms6        decimal(18,4)   ,
        qcs7        decimal(18,4)   ,
        fse_j7      decimal(18,4)   ,
        fse_d7      decimal(18,4)   ,
        qms7        decimal(18,4)   ,
        qcs8        decimal(18,4)   ,
        fse_j8      decimal(18,4)   ,
        fse_d8      decimal(18,4)   ,
        qms8        decimal(18,4)   ,
        qcs9        decimal(18,4)   ,
        fse_j9      decimal(18,4)   ,
        fse_d9      decimal(18,4)   ,
        qms9        decimal(18,4)   ,
        qcs10       decimal(18,4)   ,
        fse_j10     decimal(18,4)   ,
        fse_d10     decimal(18,4)   ,
        qms10       decimal(18,4)   ,
        qcs11       decimal(18,4)   ,
        fse_j11     decimal(18,4)   ,
        fse_d11     decimal(18,4)   ,
        qms11       decimal(18,4)   ,
        qcs12        decimal(18,4)   ,
        fse_j12     decimal(18,4)   ,
        fse_d12     decimal(18,4)   ,
        qms12       decimal(18,4)   ,
	    PRIMARY KEY (zdlx,bbbh)
	)
    if @a_dlzt = 0
		BEGIN
            ////取项目参数
            SELECT @bbqs = bbqs,@bbtz = bbtz,@bbsnfse = bjw1 FROM prj_info WHERE @a_dwid = dwid AND @a_ndid = ndid
            If @bbtz = 0
                //// 不使用报表调整
                begin
                    INSERT INTO #tmp_bbxm
                		SELECT a.zdlx,A.bbbh,a.jdfx,
                            ////账面数汇总
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
                    		sum(isnull(B.sn_ws_fse_j,0)),
                    		sum(isnull(B.sn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
                    		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)),
                    		sum(isnull(B.ws_fse_j,0)),
                    		sum(isnull(B.ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)),
                            ////账表差异调整数汇总
                    		sum(isnull(B.yqc_cfl_j,0)),sum(isnull(B.yqc_cfl_d,0)),
                    		sum(isnull(B.yqm_cfl_j,0)),sum(isnull(B.yqm_cfl_d,0)),
                            ////账表差异调整后汇总
                            sum(isnull(b.ysn_ws_fse_j,0)),
                            sum(isnull(b.ysn_ws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.ysn_ws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qcs,0)),
                            sum(isnull(b.yws_fse_j,0)),
                            sum(isnull(b.yws_fse_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_fse,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.yws_qms,0)),
                            ////调整数汇总
                    		sum(isnull(B.qc_cfl_j,0)),sum(isnull(B.qc_cfl_d,0)),
                    		sum(isnull(B.qc_tz_j,0)),sum(isnull(B.qc_tz_d,0)),
                    		sum(isnull(B.qm_cfl_j,0)),sum(isnull(B.qm_cfl_d,0)),
                    		sum(isnull(B.qm_tz_j,0)),sum(isnull(B.qm_tz_d,0)),
                            ////影响发生额的调整数汇总
                    		sum(isnull(B.g_yqm_tz_j,0)),sum(isnull(B.g_yqm_tz_d,0)),
                    		sum(isnull(B.g_qm_tz_j,0)),sum(isnull(B.g_qm_tz_d,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)),
                            sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0)),
                            //1
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs1,0)),
                    		sum(isnull(D.fse_j1,0)),
                    		sum(isnull(D.fse_d1,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms1,0)),                                     
                            //2
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs2,0)),
                    		sum(isnull(D.fse_j2,0)),
                    		sum(isnull(D.fse_d2,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms2,0)),
                            //3
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs3,0)),
                    		sum(isnull(D.fse_j3,0)),
                    		sum(isnull(D.fse_d3,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms3,0)),
                            //4
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs4,0)),
                    		sum(isnull(D.fse_j4,0)),
                    		sum(isnull(D.fse_d4,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms4,0)),
                            //5
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs5,0)),
                    		sum(isnull(D.fse_j5,0)),
                    		sum(isnull(D.fse_d5,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms5,0)),
                            //6
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs6,0)),
                    		sum(isnull(D.fse_j6,0)),
                    		sum(isnull(D.fse_d6,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms6,0)),
                            //7
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs7,0)),
                    		sum(isnull(D.fse_j7,0)),
                    		sum(isnull(D.fse_d7,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms7,0)),
                            //8
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs8,0)),
                    		sum(isnull(D.fse_j8,0)),
                    		sum(isnull(D.fse_d8,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms8,0)),
                            //9
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs9,0)),
                    		sum(isnull(D.fse_j9,0)),
                    		sum(isnull(D.fse_d9,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms9,0)),
                            //10
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs10,0)),
                    		sum(isnull(D.fse_j10,0)),
                    		sum(isnull(D.fse_d10,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms10,0)),
                            //11
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs11,0)),
                    		sum(isnull(D.fse_j11,0)),
                    		sum(isnull(D.fse_d11,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms11,0)),
                            //12
                            sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs12,0)),
                    		sum(isnull(D.fse_j12,0)),
                    		sum(isnull(D.fse_d12,0)),
                    		sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms12,0))
                		FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B left outer join c_kmyek2 D
                        ON B.dwid = D.dwid and B.ndid = D.ndid and B.kmbh = D.kmbh 
                        WHERE a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                    		A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND
                            A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)  
                		GROUP BY a.zdlx,A.bbbh,a.jdfx
                end
            else
                ////使用报表调整分录
                begin
                    //// 首先将临时表中插入所有报表项目
                    INSERT INTO #tmp_bbxm
                        SELECT a.zdlx,A.bbbh,a.jdfx,
                            0,0,0,0,0,0,0,0,0,
                            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                            0,0
                        FROM b_bbxm as A
                        WHERE A.dlzt = 0 AND A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL)
                        GROUP BY a.zdlx,A.bbbh,a.jdfx
                    
                    ///再根据报表对应科目更新报表账面数
                    update #tmp_bbxm c 
                        set c.zm_sn_qcs = t.zm_sn_qcs,c.zm_sn_fse_j = t.zm_sn_fse_j,c.zm_sn_fse_d = t.zm_sn_fse_d,c.zm_sn_fse = t.zm_sn_fse,
                            c.zm_qcs = t.zm_qcs,c.zm_fse_j = t.zm_fse_j,c.zm_fse_d = t.zm_fse_d,c.zm_fse = t.zm_fse,c.zm_qms = t.zm_qms,
                            c.other5 = t.other5,c.other6 = t.other6
                        from(SELECT a.zdlx as zdlx,A.bbbh as bbbh,a.jdfx as jdfx,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)) as zm_sn_qcs,
                                sum(isnull(B.sn_ws_fse_j,0)) as zm_sn_fse_j,
                                sum(isnull(B.sn_ws_fse_d,0)) as zm_sn_fse_d,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)) as zm_sn_fse,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qcs,0)) as zm_qcs,
                                sum(isnull(B.ws_fse_j,0)) as zm_fse_j,
                                sum(isnull(B.ws_fse_d,0)) as zm_fse_d,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_fse,0)) as zm_fse,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.ws_qms,0)) as zm_qms,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other5,0)) as other5,
                                sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(b.other6,0)) as other6,
                                //1
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs1,0)),
                    		    sum(isnull(D.fse_j1,0)),
                    		    sum(isnull(D.fse_d1,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms1,0)),       
                                //2
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs2,0)),
                    		    sum(isnull(D.fse_j2,0)),
                    		    sum(isnull(D.fse_d2,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms2,0)),
                                //3
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs3,0)),
                    		    sum(isnull(D.fse_j3,0)),
                    		    sum(isnull(D.fse_d3,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms3,0)),
                                //4
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs4,0)),
                    		    sum(isnull(D.fse_j4,0)),
                    		    sum(isnull(D.fse_d4,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms4,0)),
                                //5
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs5,0)),
                    		    sum(isnull(D.fse_j5,0)),
                    		    sum(isnull(D.fse_d5,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms5,0)),
                                //6
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs6,0)),
                    		    sum(isnull(D.fse_j6,0)),
                    		    sum(isnull(D.fse_d6,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms6,0)),
                                //7
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs7,0)),
                    		    sum(isnull(D.fse_j7,0)),
                    		    sum(isnull(D.fse_d7,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms7,0)),
                                //8
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs8,0)),
                    		    sum(isnull(D.fse_j8,0)),
                    		    sum(isnull(D.fse_d8,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms8,0)),
                                //9
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs9,0)),
                    		    sum(isnull(D.fse_j9,0)),
                    		    sum(isnull(D.fse_d9,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms9,0)),
                                //10
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs10,0)),
                    		    sum(isnull(D.fse_j10,0)),
                    		    sum(isnull(D.fse_d10,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms10,0)),
                                //11
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs11,0)),
                    		    sum(isnull(D.fse_j11,0)),
                    		    sum(isnull(D.fse_d11,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms11,0)),
                                //12
                                sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qcs12,0)),
                    		    sum(isnull(D.fse_j12,0)),
                    		    sum(isnull(D.fse_d12,0)),
                    		    sum((case when trim(A.jdfx) = trim(D.jdfx) then 1 else -1 END)*isnull(D.qms12,0)) 
                            FROM b_bbxm as A,bbxmvskm as V,c_cwkmk as B left outer join c_kmyek2 D
                            ON B.dwid = D.dwid and B.ndid = D.ndid and B.kmbh = D.kmbh 
                            WHERE  a.zdlx = v.zdlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
                                A.ndid = V.ndid AND V.ndid = B.ndid AND A.id = V.bbxmid AND A.dlzt = 0 AND B.kmbh = V.kmbh AND 
                                A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.bbbh is NOT  NULL) 
                            GROUP BY a.zdlx,A.bbbh,a.jdfx) t
                        where c.zdlx = t.zdlx and c.bbbh = t.bbbh    
                                      
                    //// 取报表调整数
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (  select zdlx ,bbxm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                    
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and length(bbxm) &gt; 4
                                group by zdlx,bbxm) t
                        where a.zdlx = t.zdlx and a.bbbh = t.bbxm
                    ////        
                    update #tmp_bbxm a 
                        set a.yqc_cfl_j	= t.yqc_cfl_j,a.yqc_cfl_d = t.yqc_cfl_d,a.yqm_cfl_j	= t.yqm_cfl_j,a.yqm_cfl_d = t.yqm_cfl_d,
                            a.qc_cfl_j = t.qc_cfl_j,a.qc_cfl_d = t.qc_cfl_d,a.qc_tz_j = t.qc_tz_j,a.qc_tz_d = t.qc_tz_d,
                            a.qm_cfl_j = t.qm_cfl_j,a.qm_cfl_d = t.qm_cfl_d,a.qm_tz_j = t.qm_tz_j,a.qm_tz_d	= t.qm_tz_d,
                            a.g_yqm_tz_j = t.g_yqm_tz_j,a.g_yqm_tz_d = t.g_yqm_tz_d,a.g_qm_tz_j = t.g_qm_tz_j,a.g_qm_tz_d = t.g_qm_tz_d
                        from (select zdlx ,left(bbxm,4) as xm,
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqc_cfl_j,////账表差异调整期初借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqc_cfl_d,////账表差异调整期初贷方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as yqm_cfl_j,////账表差异调整期末借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as yqm_cfl_d,
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qc_cfl_j,////期初重分类借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qc_cfl_d,////期初重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qc_tz_j,////期初账项调整借方发生额
                                    sum(case when tzlx = &apos;期初调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qc_tz_d,////期初账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then jfje else 0 end) as qm_cfl_j,////期末重分类借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;重分类调整&apos; then dfje else 0 end) as qm_cfl_d,////期末重分类贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then jfje else 0 end) as qm_tz_j,////期末账项调整借方发生额
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账项调整&apos; then dfje else 0 end) as qm_tz_d,////期末账项调整贷方发生额
                                    
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then jfje else 0 end) as g_yqm_tz_j,////账表差异滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and lx = &apos;账表差异调整&apos; then dfje else 0 end) as g_yqm_tz_d,////账表差异滚调影响期末数贷方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then jfje else 0 end) as g_qm_tz_j,////调整分录滚调影响期末数借方
                                    sum(case when tzlx = &apos;期末调整&apos; and (lx = &apos;账项调整&apos; or lx = &apos;重分类调整&apos;) then dfje else 0 end) as g_qm_tz_d////调整分录滚调影响期末数贷方
                                from tzflb_bb 
                                where dwid = @a_dwid AND ndid = @a_ndid and bbxm is not null and bbxm &lt;&gt; &apos;&apos;
                                group by zdlx ,left(bbxm,4)) t
                            where a.zdlx = t.zdlx and a.bbbh = t.xm
                    ////计算账表差异调整后的数据，使用科目级次调整分录不需要计算
                    update #tmp_bbxm 
                        set ysn_ws_fse_j    = zm_sn_fse_j + yqc_cfl_j,
                            ysn_ws_fse_d    = zm_sn_fse_d + yqc_cfl_d,
                            ysn_ws_fse      = zm_sn_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_qcs         = zm_qcs + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqc_cfl_j - yqc_cfl_d),
                            yws_fse_j       = zm_fse_j + g_yqm_tz_j,
                            yws_fse_d       = zm_fse_d + g_yqm_tz_d,
                            yws_fse         = zm_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j - g_yqm_tz_d),
                            yws_qms         = zm_qms + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (yqm_cfl_j - yqm_cfl_d)
                end
            ////清除已有数据 同时计算报表发生额
            UPDATE b_bbxm
                set zm_sn_qcs	= 0 ,zm_sn_fse_j	= 0 ,zm_sn_fse_d	= 0 ,zm_sn_fse  = 0,
                    zm_qcs	= 0 ,zm_fse_j	= 0 ,zm_fse_d	= 0 ,zm_fse = 0 ,zm_qms	= 0 ,
                    yqc_cfl_j	= 0 ,yqc_cfl_d	= 0 ,yqc_cfl_tzs    = 0,
                    yqm_cfl_j	= 0 ,yqm_cfl_d	= 0 ,yqm_cfl_tzs    = 0,
                    ysn_ws_fse_j	= 0 ,ysn_ws_fse_d	= 0 ,ysn_ws_fse = 0,
                    yws_qcs	= 0 ,yws_fse_j	= 0 ,yws_fse_d	= 0 ,yws_fse = 0 ,yws_qms	= 0 ,
                    qc_cfl_j	= 0 ,qc_cfl_d	= 0 ,qc_cfl_tzs = 0,qc_tz_j	= 0 ,qc_tz_d	= 0 ,qc_tz_tzs = 0,qc_tzs   = 0,
                    qm_cfl_j	= 0 ,qm_cfl_d	= 0 ,qm_cfl_tzs = 0,qm_tz_j	= 0 ,qm_tz_d	= 0 ,qm_tz_tzs=0,qm_tzs = 0,
                    g_yqm_tz_j	= 0 ,g_yqm_tz_d	= 0 ,g_qm_tz_j	= 0 ,g_qm_tz_d	= 0 , other5 = 0 ,other6=0,
                    qcs1 = 0,fse_j1=0,fse_d1=0,qms1=0,  qcs2 = 0,fse_j2=0,fse_d2=0,qms2=0,  qcs3 = 0,fse_j3=0,fse_d3=0,qms3=0,
                    qcs4 = 0,fse_j4=0,fse_d4=0,qms4=0,qcs5 = 0,fse_j5=0,fse_d5=0,qms5=0,qcs6 = 0,fse_j6=0,fse_d6=0,qms6=0,
                    qcs7 = 0,fse_j7=0,fse_d7=0,qms7=0,qcs8 = 0,fse_j8=0,fse_d8=0,qms8=0,qcs9 = 0,fse_j9=0,fse_d9=0,qms9=0,
                    qcs10 = 0,fse_j10=0,fse_d10=0,qms10=0,qcs11 = 0,fse_j11=0,fse_d11=0,qms11=0,qcs12 = 0,fse_j12=0,fse_d12=0,qms12=0 
                WHERE dwid = @a_dwid AND ndid = @a_ndid AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            ////临时表数据更新到报表项目表

            UPDATE b_bbxm a
                set a.zm_sn_qcs	= b.zm_sn_qcs ,a.zm_sn_fse_j	= b.zm_sn_fse_j ,a.zm_sn_fse_d	= b.zm_sn_fse_d ,a.zm_sn_fse = b.zm_sn_fse,
                    a.zm_qcs	= b.zm_qcs ,a.zm_fse_j	= b.zm_fse_j ,a.zm_fse_d	= b.zm_fse_d ,a.zm_fse    = b.zm_fse,a.zm_qms	= b.zm_qms ,
                    a.yqc_cfl_j	= b.yqc_cfl_j ,a.yqc_cfl_d	= b.yqc_cfl_d ,
                    a.yqc_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqc_cfl_j - b.yqc_cfl_d),
                    a.yqm_cfl_j	= b.yqm_cfl_j ,a.yqm_cfl_d	= b.yqm_cfl_d ,
                    a.yqm_cfl_tzs=(case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.yqm_cfl_j - b.yqm_cfl_d),
                    a.ysn_ws_fse_j	= b.ysn_ws_fse_j ,a.ysn_ws_fse_d	= b.ysn_ws_fse_d ,a.ysn_ws_fse    = b.ysn_ws_fse,
                    a.yws_qcs	= b.yws_qcs ,a.yws_fse_j	= b.yws_fse_j ,a.yws_fse_d	= b.yws_fse_d ,a.yws_fse   = b.yws_fse,a.yws_qms	= b.yws_qms ,
                    a.qc_cfl_j	= b.qc_cfl_j ,a.qc_cfl_d	= b.qc_cfl_d ,
                    a.qc_cfl_tzs= (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d),
                    a.qc_tz_j	= b.qc_tz_j ,a.qc_tz_d	= b.qc_tz_d ,
                    a.qc_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_tz_j - b.qc_tz_d),
                    a.qc_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qc_cfl_j - b.qc_cfl_d + b.qc_tz_j - b.qc_tz_d),
                    a.qm_cfl_j	= b.qm_cfl_j ,a.qm_cfl_d	= b.qm_cfl_d ,
                    a.qm_cfl_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d),
                    a.qm_tz_j	= b.qm_tz_j ,a.qm_tz_d	= b.qm_tz_d ,
                    a.qm_tz_tzs = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_tz_j - b.qm_tz_d),
                    a.qm_tzs    = (case when locate(a.jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (b.qm_cfl_j - b.qm_cfl_d + b.qm_tz_j - b.qm_tz_d),
                    a.g_yqm_tz_j	= b.g_yqm_tz_j ,a.g_yqm_tz_d	= b.g_yqm_tz_d ,a.g_qm_tz_j	= b.g_qm_tz_j ,a.g_qm_tz_d	= b.g_qm_tz_d,
                    a.other5    = b.other5,a.other6 = b.other6,
                    a.qcs1 = b.qcs1, a.fse_j1 = b.fse_j1,a.fse_d1 = b.fse_d1,a.qms1 = b.qms1,
                    a.qcs2 = b.qcs2, a.fse_j2 = b.fse_j2,a.fse_d2 = b.fse_d2,a.qms2 = b.qms2,
                    a.qcs3 = b.qcs3, a.fse_j3 = b.fse_j3,a.fse_d3 = b.fse_d3,a.qms3 = b.qms3,
                    a.qcs4 = b.qcs4, a.fse_j4 = b.fse_j4,a.fse_d4 = b.fse_d4,a.qms4 = b.qms4,
                    a.qcs5 = b.qcs5, a.fse_j5 = b.fse_j5,a.fse_d5 = b.fse_d5,a.qms5 = b.qms5,
                    a.qcs6 = b.qcs6, a.fse_j6 = b.fse_j6,a.fse_d6 = b.fse_d6,a.qms6 = b.qms6,
                    a.qcs7 = b.qcs7, a.fse_j7 = b.fse_j7,a.fse_d7 = b.fse_d7,a.qms7 = b.qms7,
                    a.qcs8 = b.qcs8, a.fse_j8 = b.fse_j8,a.fse_d8 = b.fse_d8,a.qms8 = b.qms8,
                    a.qcs9 = b.qcs9, a.fse_j9 = b.fse_j9,a.fse_d9 = b.fse_d9,a.qms9 = b.qms9,
                    a.qcs10 = b.qcs10, a.fse_j10 = b.fse_j10,a.fse_d10 = b.fse_d10,a.qms10 = b.qms10,
                    a.qcs11 = b.qcs11, a.fse_j11 = b.fse_j11,a.fse_d11 = b.fse_d11,a.qms11 = b.qms11,
                    a.qcs12 = b.qcs12, a.fse_j12 = b.fse_j12,a.fse_d12 = b.fse_d12,a.qms12 = b.qms12
                from #tmp_bbxm b
                WHERE a.zdlx = b.zdlx and a.bbbh = b.bbbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;

            ////确定报表数据来源
            if @bbsnfse = 1 --手工输入报表上期数
                begin
                     if @bbqs = 3 --报表数
            			UPDATE b_bbxm 
                            SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                    			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                                ws_fse= bb_fse,
                    			ws_qms = bb_qms    			
                			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            		else if @bbqs = 2 --账面数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                    			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                                ws_fse = zm_fse,
                    			ws_qms = zm_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
            		else if @bbqs = 1 --账面预调整数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                    			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                                ws_fse = yws_fse,
                    			ws_qms = yws_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
                end
            else --科目汇总得来报表上期数
                begin
                    if @bbqs = 3 --报表数
            			UPDATE b_bbxm 
                            SET sn_qcs  = bb_sn_qcs,sn_ws_fse_j = bb_sn_fse_j,sn_ws_fse_d = bb_sn_fse_d,
                                sn_ws_fse = bb_sn_fse,
                    			ws_qcs = bb_qcs,ws_fse_j = bb_fse_j,ws_fse_d = bb_fse_d ,
                                ws_fse= bb_fse,
                    			ws_qms = bb_qms    			
                			WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
            		else if @bbqs = 2 --账面数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = zm_sn_fse_j,sn_ws_fse_d = zm_sn_fse_d,
                                sn_ws_fse = zm_sn_fse,
                    			ws_qcs = zm_qcs,ws_fse_j = zm_fse_j,ws_fse_d = zm_fse_d,
                                ws_fse = zm_fse,
                    			ws_qms = zm_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
    
            		else if @bbqs = 1 --账面预调整数
            			UPDATE b_bbxm 
                            SET sn_qcs = zm_sn_qcs,sn_ws_fse_j = ysn_ws_fse_j,sn_ws_fse_d = ysn_ws_fse_d,
                                sn_ws_fse = ysn_ws_fse,
                    			ws_qcs = yws_qcs,ws_fse_j = yws_fse_j,ws_fse_d = yws_fse_d,
                                ws_fse = yws_fse,
                    			ws_qms = yws_qms
                            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos;
                end    
            
                    
            ////审定数计算
            UPDATE b_bbxm 
                SET sn_sd_fse_j = adding(sn_ws_fse_j,adding(qc_tz_j,qc_cfl_j)),
            		sn_sd_fse_d = adding(sn_ws_fse_d,adding(qc_tz_d,qc_cfl_d)),
                    sn_sd_fse = sn_ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(qc_tz_j,qc_cfl_j),adding(qc_tz_d,qc_cfl_d)),
                    sd_qcs = adding(ws_qcs,qc_tzs),
            		sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
            		sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                    sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)),
            		sd_qms = adding(ws_qms,qm_tzs)
        		WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; AND xmlx &lt;&gt; &apos;2&apos;
            ////报表项目计算时间
            update sys_parameter set parvalue = convert(varchar(20),getdate(),20) where dwid = @a_dwid AND ndid = @a_ndid  and parid = &apos;SCAT0002&apos;    
        end
    else
        ////集团或者母公司登录 不改动原有算法 只调整相应改动
        begin            
            CREATE TABLE #tmp_bbxm_j(
            	bbbh		char(20)	NOT NULL,		/*报表编号*/
            	sn_qcs		decimal(18,4)	,			/*上年期初数*/
            	sn_ws_fse_j	decimal(18,4)	,			/*上年发生额借*/
            	sn_ws_fse_d	decimal(18,4)	,			/*上年发生额贷*/
                sn_ws_fse   decimal(18,4)	,			/*上年审定发生额*/  --ADD BY LXL 2012.02.16
            	ws_qcs		decimal(18,4)	,			/*未审期初数*/
            	ws_qms		decimal(18,4)	,			/*未审期末数*/
            	ws_fse_j	decimal(18,4)	,			/*未审借方发生额，可以由计算1到12月的fse_j得到,现由触发器得到*/
            	ws_fse_d	decimal(18,4)	,
                ws_fse      decimal(18,4)	,
                PRIMARY KEY (bbbh))

            CREATE TABLE #tmp_jt_dxflb_zu(
        		xh integer NOT NULL, ////主序号
        		dwid1 integer NOT NULL, ////审计单位ID1,记录抵消分录涉及到的两个公司
        		dwid2 integer NOT NULL, ////审计单位ID2
        		tzlx tinyint NULL,
        		primary key(xh),
        		)
    		SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,@a_dlzt,3)+&apos;,&apos;
    		INSERT INTO #tmp_jt_dxflb_zu
    		    SELECT xh,dwid1,dwid2,tzlx 
                    FROM jt_dxflb_zu 
        			WHERE ndid = @a_ndid AND sfxj = 1 AND khtzqk = &apos;1&apos; AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
    		--集团公司出汇总数，由getdwid来判断出应该包含的子分公司，
    		SELECT @s_dwid = &apos;&apos;
    		if @a_dlzt = 1
    			BEGIN
                    ////分公司不存在下级单位 将分公司数据处理成登录状态为2的报表数据 供集团或母公司登录使用
        			DECLARE cur11 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND
        			A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;0&apos;
        			OPEN cur11
        			FETCH next cur11 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur11 INTO @i_zfgs
        				END
        			CLOSE cur11
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,sn_ws_fse,ws_qcs,ws_qms,ws_fse_j,ws_fse_d,ws_fse)   /*LXL*/
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sn_sd_fse),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d),sum(sd_fse) 
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 0) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 1
    		if @a_dlzt = 2
    			BEGIN
        			EXECUTE pb_bbxm @a_dwid,@a_ndid,1
        			SELECT @s_dwid_all = &apos;,&apos;+getdwid(@a_dwid,@a_ndid,1,3)+&apos;,&apos;
        			DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
        			DECLARE cur2 DYNAMIC scroll CURSOR FOR SELECT A.zfgsid FROM gsgx as A,prj_info as B WHERE A.mgsid = @a_dwid AND A.ndid = @a_ndid AND B.ndid = @a_ndid AND A.zfgsid = B.dwid AND B.sfhz = &apos;1&apos; AND a.sfgs = &apos;1&apos;
        			OPEN cur2
        			FETCH next cur2 INTO @i_zfgs
        			while @@sqlstatus = 0
        				BEGIN
            				SELECT @s_dwid = @s_dwid+&apos;,&apos;+string(@i_zfgs)
            				EXECUTE pb_bbxm_rj @i_zfgs,@a_ndid
            				SELECT @s_dwid_all = &apos;,&apos;+getdwid(@i_zfgs,@a_ndid,2,3)+&apos;,&apos;
            				DELETE FROM #tmp_jt_dxflb_zu WHERE(@s_dwid_all LIKE &apos;%,&apos;+string(dwid1)+&apos;,%&apos;) AND(@s_dwid_all LIKE &apos;%,&apos;+string(dwid2)+&apos;,%&apos;)
            				FETCH next cur2 INTO @i_zfgs
        				END
        			CLOSE cur1
        			SELECT @s_dwid = @s_dwid+&apos;,&apos;
        			INSERT INTO #tmp_bbxm_j(bbbh,sn_qcs,sn_ws_fse_j,sn_ws_fse_d,sn_ws_fse,ws_qcs,ws_qms,ws_fse_j,ws_fse_d,ws_fse)    --ADD BY LXL 2012.02.16
            			SELECT bbbh,sum(sn_qcs),sum(sn_sd_fse_j),sum(sn_sd_fse_d),sum(sn_sd_fse),sum(sd_qcs),sum(sd_qms),sum(sd_fse_j),sum(sd_fse_d),sum(sd_fse)
                            FROM b_bbxm 
                            WHERE zdlx = &apos;0&apos; and ndid = @a_ndid AND((dwid = @a_dwid AND dlzt = 1) OR(@s_dwid LIKE &apos;%,&apos;+string(dwid)+&apos;,%&apos; AND dlzt = 2)) AND(bbbh is NOT NULL) AND xmlx &lt;&gt; &apos;2&apos;
            			    GROUP BY bbbh
    			END --if @a_dlzt = 2
            ////
    		DELETE FROM b_bbxm WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND bbbh NOT LIKE &apos;9%&apos; --new
    		INSERT INTO b_bbxm(id,dwid,ndid,zdlx,dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx)
        		SELECT id,dwid,ndid,0,@a_dlzt,bbbh,dgbh,xmlx,hh,xh,dg_bh,dg_bh_xh,xmmc,xsmc,jdfx 
                    FROM b_bbxm
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = 0 AND(bbbh is NOT NULL) AND bbbh NOT LIKE &apos;9%&apos; --new
    		UPDATE b_bbxm 
                SET sn_qcs = A.sn_qcs,
            		sn_ws_fse_j = A.sn_ws_fse_j,
            		sn_ws_fse_d = A.sn_ws_fse_d,
                    sn_ws_fse = A.sn_ws_fse, --ADD BY LXL 2012.02.16
            		ws_qcs = A.ws_qcs,
            		ws_qms = A.ws_qms,
            		ws_fse_j = A.ws_fse_j,
            		ws_fse_d = A.ws_fse_d,
                    ws_fse =  A.ws_fse
                FROM #tmp_bbxm_j as A 
                WHERE b_bbxm.zdlx = &apos;0&apos; and  b_bbxm.dwid = @a_dwid AND b_bbxm.ndid = @a_ndid AND A.bbbh = b_bbxm.bbbh AND b_bbxm.dlzt = @a_dlzt AND b_bbxm.bbbh NOT LIKE &apos;9%&apos; --new
    		if @s_dwid = &apos;,&apos; --当前项目下面没有
    			BEGIN
    			UPDATE b_bbxm 
                    SET sd_qcs = ws_qcs,sd_qms = ws_qms,sn_sd_fse_j = sn_ws_fse_j,sn_sd_fse_d = sn_ws_fse_d,sd_fse_j = ws_fse_j,sd_fse_d = ws_fse_d,
                    sn_sd_fse = sn_ws_fse + (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(qc_tz_j,0) - isnull(qc_tz_d,0)),  -- ADD BY LXL 2012.02.16
                    sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)) 
                    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; --new
    			END
    		else -- @s_dwid = &apos;,&apos;
    			BEGIN
    			SELECT @s_dwid = @s_dwid+string(@a_dwid)+&apos;,&apos;
    			CREATE TABLE #t_tzfl_j(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
    			CREATE TABLE #t_tzfl_d(
        			bbbh char(20) NOT NULL,
        			tzlx tinyint NOT NULL,
        		   	g_tz tinyint not null,//add by qy 2008.6.26
        			je decimal(18,4) NULL,
        			primary key(bbbh,tzlx,g_tz),
    			)
 
    			//归集期初抵消分录//add by qy 2008.6.26
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,0,0,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.jfbbbh,z.tzlx
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,0,0,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and z.tzlx =0 GROUP BY t.dfbbbh,z.tzlx
    			UPDATE b_bbxm as A SET qc_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qc_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND a.dlzt = @a_dlzt AND a.bbbh NOT LIKE &apos;9%&apos; --new
    
    		  	delete #t_tzfl_j 
    			delete #t_tzfl_d 
    			//归集期末抵消分录
    			INSERT INTO #t_tzfl_j SELECT t.jfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.jfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.jfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.jfbbbh,z.tzlx,g_tz
    			INSERT INTO #t_tzfl_d SELECT t.dfbbbh,z.tzlx,(case when t.other2 is null then 0 else t.other2 end) as g_tz,sum(t.dfje) FROM #tmp_jt_dxflb_zu as Z,jt_dxflb as T WHERE t.ndid = @a_ndid AND Z.xh = T.xh AND length(t.dfbbbh) &gt; 0 AND(t.jz &lt;&gt; 1 OR t.jz is NULL)  and ( (z.tzlx = 1) or (z.tzlx = 0 and t.other2 =1 ))  GROUP BY t.dfbbbh,z.tzlx,g_tz
    			//发生额	g_qm_tz_ = 影响发生额的调整 = 期末正常调整（不打钩） － 期初红字调整（打钩）
    			//余额	qm_tz_	 = 期末正常调整（不打钩） ＋ 期末不影响发生调整（打钩）
    			UPDATE b_bbxm as A SET qm_tz_j = je,g_qm_tz_j = je FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = je,g_qm_tz_d = je FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=0 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_j = adding(qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET qm_tz_d = adding(qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 1 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_j = sub(g_qm_tz_j,je) FROM #t_tzfl_j as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
    			UPDATE b_bbxm as A SET g_qm_tz_d = sub(g_qm_tz_d,je) FROM #t_tzfl_d as B WHERE a.zdlx = &apos;0&apos; and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.bbbh = b.bbbh AND b.tzlx = 0 AND a.dlzt = @a_dlzt and b.g_tz=1 AND a.bbbh NOT LIKE &apos;9%&apos; --new
        
    			--往上汇总
    			CREATE TABLE #t_tzflhz(
    				bbbh char(40) NOT NULL,
    				qc_tz_j decimal(18,4) NULL,
    				qc_tz_d decimal(18,4) NULL,
    				qm_tz_j decimal(18,4) NULL,
    				qm_tz_d decimal(18,4) NULL,
    				g_qm_tz_j decimal(18,4) NULL,
    				g_qm_tz_d decimal(18,4) NULL,
    			primary key(bbbh),
    			)
    			DECLARE cur1 DYNAMIC scroll CURSOR FOR SELECT distinct kmjc = length(bbbh) FROM #tmp_bbxm WHERE length(bbbh) &gt; 1 ORDER BY kmjc DESC
    			OPEN cur1
    			FETCH next cur1 INTO @i_maxjc
    			FETCH next cur1 INTO @i_maxjc1
    			while @@sqlstatus = 0
    				BEGIN
    				DELETE FROM #t_tzflhz
    				INSERT INTO #t_tzflhz
        				SELECT a.bbbh,sum(b.qc_tz_j),sum(b.qc_tz_d),sum(b.qm_tz_j),sum(b.qm_tz_d),sum(b.g_qm_tz_j),sum(b.g_qm_tz_d) 
                            FROM b_bbxm as A,b_bbxm as B 
        				    WHERE a.zdlx = &apos;0&apos; and  b.zdlx = &apos;0&apos; and  a.dwid = @a_dwid AND a.ndid = @a_ndid AND b.dwid = @a_dwid AND b.ndid = @a_ndid AND length(a.bbbh) = @i_maxjc1 AND b.bbbh LIKE a.bbbh+&apos;%&apos; AND(length(b.bbbh) = @i_maxjc OR length(b.bbbh) = @i_maxjc1) AND a.dlzt = @a_dlzt AND b.dlzt = @a_dlzt AND a.xmlx &lt;&gt; &apos;2&apos; AND b.xmlx &lt;&gt; &apos;2&apos; AND a.bbbh NOT LIKE &apos;9%&apos; --new
        				    GROUP BY a.bbbh
    
    				UPDATE b_bbxm as B 
                        SET qc_tz_j = A.qc_tz_j,qc_tz_d = A.qc_tz_d,
    					    qm_tz_j = A.qm_tz_j,	qm_tz_d = A.qm_tz_d,
    					    g_qm_tz_j = A.g_qm_tz_j,g_qm_tz_d = A.g_qm_tz_d
        				FROM #t_tzflhz as A 
                        WHERE b.zdlx = &apos;0&apos; and B.dwid = @a_dwid AND B.ndid = @a_ndid AND B.bbbh = A.bbbh AND b.dlzt = @a_dlzt
    
    				SELECT @i_maxjc = @i_maxjc1
    				FETCH next cur1 INTO @i_maxjc1
    				END
    			CLOSE cur1
    			--分录汇总
    			UPDATE b_bbxm 
                    SET qc_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qc_tz_j,qc_tz_d) else sub(qc_tz_d,qc_tz_j) END,
    				    qm_tz_tzs = case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then sub(qm_tz_j,qm_tz_d) else sub(qm_tz_d,qm_tz_j) END 
    			    WHERE zdlx = &apos;0&apos; and  dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;
    			--分两步是因为计算顺序的原因
    			UPDATE b_bbxm SET qc_tzs = qc_tz_tzs,qm_tzs = qm_tz_tzs WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos;

    			UPDATE b_bbxm 
                    SET //sn_ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(sn_ws_fse_j , sn_ws_fse_d),
                        //ws_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(ws_fse_j,ws_fse_d),
                        sn_sd_fse_j = adding(sn_ws_fse_j,qc_tz_j),
                        sn_sd_fse_d = adding(sn_ws_fse_d,qc_tz_d),
                        //sn_sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(sn_ws_fse_j,qc_tz_j),adding(sn_ws_fse_d,qc_tz_d)),
                        sn_sd_fse = sn_ws_fse + (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(qc_tz_j,0) - isnull(qc_tz_d,0)),
                        sd_qcs = adding(ws_qcs,qc_tzs),
                        sd_fse_j = adding(ws_fse_j,g_qm_tz_j),
                        sd_fse_d = adding(ws_fse_d,g_qm_tz_d),
                        //sd_fse = (case when LOCATE(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * sub(adding(ws_fse_j,g_qm_tz_j),adding(ws_fse_d,g_qm_tz_d)),
                        sd_fse = ws_fse + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (isnull(g_qm_tz_j,0) - isnull(g_qm_tz_d,0)),
        				sd_qms = adding(ws_qms,qm_tzs)        				
    			    WHERE zdlx = &apos;0&apos; and dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt AND xmlx &lt;&gt; &apos;2&apos; AND bbbh NOT LIKE &apos;9%&apos; 		

    		END
        end

END
</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>80</no><make_date>2012-08-21 11:22:34.140000</make_date><note>存储过程4-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pt_km_tz&apos;) then
   drop procedure pt_km_tz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>90</no><make_date>2012-08-21 11:22:59.500000</make_date><note>存储过程4-创建</note><sql>create procedure pt_km_tz(@a_dwid integer,@a_ndid integer) 
as 
begin 
	declare @li_jc  integer 
    declare @li_i   integer
    declare @jdz    integer
	declare @kmwm   char(210)
	
    ////清除已有调整数据，防止产生残留数据[8秒]
    update c_cwkmk 
        set yqc_cfl_j = 0,yqc_cfl_d = 0,yqm_cfl_j = 0,yqm_cfl_d = 0,
            qc_cfl_j = 0,qc_cfl_d = 0,qc_tz_j = 0,qc_tz_d = 0,
            qm_cfl_j = 0,qm_cfl_d = 0,qm_tz_j = 0,qm_tz_d = 0,
            g_yqm_tz_j = 0,g_yqm_tz_d = 0,g_qm_tz_j = 0,g_qm_tz_d = 0,
            other5=0,other6=0
        where dwid = @a_dwid and ndid = @a_ndid
    ////调整分录数据汇总临时表
    create table #t_tzfl(
        kmbh char(200),jdz integer,
        yqc_cfl_j	decimal(18,4)	,//	期初账表差异调整借方金额
        yqc_cfl_d	decimal(18,4)	,//	期初账表差异调整贷方金额
        yqm_cfl_j	decimal(18,4)	,//	期末账表差异调整借方金额
        yqm_cfl_d	decimal(18,4)	,//	期末账表差异调整贷方金额
        qc_cfl_j	decimal(18,4)	,//	期初重分类借方
        qc_cfl_d	decimal(18,4)	,//	期初重分类贷方
        qc_tz_j     decimal(18,4)	,//	期初账项调整借方
        qc_tz_d     decimal(18,4)	,//	期初账项调整贷方
        qm_cfl_j	decimal(18,4)	,//	期末重分类借方
        qm_cfl_d	decimal(18,4)	,//	期末重分类贷方
        qm_tz_j     decimal(18,4)	,//	期末账项调整借方
        qm_tz_d	    decimal(18,4)	,//	期末账项调整贷方
        g_yqm_tz_j	decimal(18,4)	,//	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,//	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,//	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,//	调整分录滚调影响期末数贷方
        other5  	decimal(18,2)	,//	期初未更正数
        other6	    decimal(18,2)	,//	期末未更正数
        kmwm        char(96)        ,// 科目伪码,汇总完调整分录后使用科目库将伪码更新过来，为了向上汇总，同时处理调整数
        yqc_cfl_tzs decimal(18,4)	,//	期初账表差异调整金额，汇总后计算
        yqm_cfl_tzs decimal(18,4)	,//	期末账表差异调整金额，汇总后计算
        qc_cfl_tzs  decimal(18,4)	,//	期初重分类调整数，汇总后计算
        qc_tz_tzs   decimal(18,4)	,//	期初账项调整数，汇总后计算
        qc_tzs      decimal(18,4)	,//	期初调整数，汇总后计算
        qm_cfl_tzs  decimal(18,4)	,//	期末重分类调整数，汇总后计算
        qm_tz_tzs   decimal(18,4)	,//	期末账项调整数，汇总后计算
        qm_tzs      decimal(18,4)	,//	期末调整数，汇总后计算
        primary key(kmbh))
        create index #t_tzfl_kmwm on #t_tzfl (kmwm)
    ////汇总调整分录
    insert into #t_tzfl
    select kmbh,1,
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqc_cfl_j,	//	期初账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqc_cfl_d,	//	期初账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqm_cfl_j,	//	期末账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqm_cfl_d,	//	期末账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qc_cfl_j,	//	期初重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qc_cfl_d,	//	期初重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qc_tz_j,	//	期初账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qc_tz_d,	//	期初账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qm_cfl_j,	//	期末重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qm_cfl_d,	//	期末重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qm_tz_j,	//	期末账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qm_tz_d,	//	期末账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	g_yqm_tz_j,//	账表差异滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	g_yqm_tz_d,//	账表差异滚调影响期末数贷方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	 g_qm_tz_j,//	调整分录滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	 g_qm_tz_d,//	调整分录滚调影响期末数贷方
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;0&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;1&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        &apos;&apos;,0,0,0,0,0,0,0,0
    	from tzflb_zu as Z,tzflb as T 
    	where z.dwid = @a_dwid and z.ndid = @a_ndid and z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and 
    		z.sfxj = 1 and (t.jz &lt;&gt; 1 or t.jz is null)
    	group by t.kmbh
    ////更新汇总数据中科目伪码和需要计算字段
    update #t_tzfl a
        set a.kmwm = b.kmwm,a.jdz=(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end ),
            a.yqc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqc_cfl_j -  a.yqc_cfl_d),
            a.yqm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqm_cfl_j - a.yqm_cfl_d),
            a.qc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_cfl_j - a.qc_cfl_d),
            a.qc_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_tz_j-a.qc_tz_d),
            a.qc_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qc_cfl_j - a.qc_cfl_d +  a.qc_tz_j-a.qc_tz_d),
            a.qm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_cfl_j - a.qm_cfl_d),
            a.qm_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_tz_j-a.qm_tz_d),
            a.qm_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qm_cfl_j - a.qm_cfl_d +  a.qm_tz_j-a.qm_tz_d),
            a.other5 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other5,
            a.other6 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other6
        from c_cwkmk b
        where a.kmbh = b.kmbh and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////调整分录数据逐级汇总临时表
    create table #t_hz(
        kmwm char(210),jdz integer,   // 借贷转换为数值 借 1 贷 -1
        yqc_cfl_j	decimal(18,4)	,//	期初账表差异调整借方金额
        yqc_cfl_d	decimal(18,4)	,//	期初账表差异调整贷方金额
        yqm_cfl_j	decimal(18,4)	,//	期末账表差异调整借方金额
        yqm_cfl_d	decimal(18,4)	,//	期末账表差异调整贷方金额
        qc_cfl_j	decimal(18,4)	,//	期初重分类借方
        qc_cfl_d	decimal(18,4)	,//	期初重分类贷方
        qc_tz_j     decimal(18,4)	,//	期初账项调整借方
        qc_tz_d     decimal(18,4)	,//	期初账项调整贷方
        qm_cfl_j	decimal(18,4)	,//	期末重分类借方
        qm_cfl_d	decimal(18,4)	,//	期末重分类贷方
        qm_tz_j     decimal(18,4)	,//	期末账项调整借方
        qm_tz_d	    decimal(18,4)	,//	期末账项调整贷方
        g_yqm_tz_j	decimal(18,4)	,//	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,//	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,//	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,//	调整分录滚调影响期末数贷方            
        yqc_cfl_tzs decimal(18,4)	,//	期初账表差异调整金额
        yqm_cfl_tzs decimal(18,4)	,//	期末账表差异调整金额
        qc_cfl_tzs  decimal(18,4)	,//	期初重分类调整数
        qc_tz_tzs   decimal(18,4)	,//	期初账项调整数
        qc_tzs      decimal(18,4)	,//	期初调整数
        qm_cfl_tzs  decimal(18,4)	,//	期末重分类调整数
        qm_tz_tzs   decimal(18,4)	,//	期末账项调整数
        qm_tzs      decimal(18,4)	,//	期末调整数
        other5      decimal(18,2)	,
        other6      decimal(18,2)   ,
        primary key(kmwm))
    ////按科目进行调整数汇总[34秒 大约每个科目一毫秒]
    ////取科目级次
    select max(kmjc) into @li_jc 	from c_cwkmk 	where dwid =@a_dwid and ndid = @a_ndid
    DECLARE jskm CURSOR FOR select kmwm,(case when locate(jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end ) as jdz from c_cwkmk where dwid =@a_dwid and ndid = @a_ndid and kmjc = @li_i
    ////从一级科目开始循环
    set @li_i =1 
    while @li_i &lt;= @li_jc
    begin
        open jskm
        FETCH NEXT jskm INTO @kmwm,@jdz
        while @@sqlstatus = 0 
            begin 
                insert into #t_hz
                    select @kmwm,@jdz,
                        sum(isnull(yqc_cfl_j,0)),sum(isnull(yqc_cfl_d,0)),sum(isnull(yqm_cfl_j,0)),sum(isnull(yqm_cfl_d,0)),
                        sum(isnull(qc_cfl_j,0)),sum(isnull(qc_cfl_d,0)),sum(isnull(qc_tz_j,0)),sum(isnull(qc_tz_d,0)),
                        sum(isnull(qm_cfl_j,0)),sum(isnull(qm_cfl_d,0)),sum(isnull(qm_tz_j,0)),sum(isnull(qm_tz_d,0)),
                        sum(isnull(g_yqm_tz_j,0)),sum(isnull(g_yqm_tz_d,0)),sum(isnull(g_qm_tz_j,0)),sum(isnull(g_qm_tz_d,0)),
                        @jdz*sum(jdz * isnull(yqc_cfl_tzs,0)),@jdz*sum(jdz * isnull(yqm_cfl_tzs ,0)),
                        @jdz*sum(jdz * isnull(qc_cfl_tzs,0)),@jdz*sum(jdz * isnull(qc_tz_tzs,0)),@jdz*sum(jdz * isnull(qc_tzs,0)),
                        @jdz*sum(jdz * isnull(qm_cfl_tzs,0)),@jdz*sum(jdz * isnull(qm_tz_tzs,0)),@jdz*sum(jdz * isnull(qm_tzs,0)),
                        @jdz*sum(jdz * isnull(other5,0)),@jdz*sum(jdz * isnull(other6,0))
                    from #t_tzfl b
                    where b.kmwm like @kmwm||&apos;%&apos;    
                    FETCH NEXT jskm INTO @kmwm,@jdz
            end
        close jskm
        ////准备下次循环
        set @li_i =  @li_i + 1
    end
    ////更新财务科目库[8秒]
    update c_cwkmk a
        set a.yqc_cfl_j = isnull(b.yqc_cfl_j ,0), a.yqc_cfl_d = isnull(b.yqc_cfl_d,0),  a.yqc_cfl_tzs = isnull(b.yqc_cfl_tzs,0),  a.yqm_cfl_j = isnull(b.yqm_cfl_j,0),  a.yqm_cfl_d = isnull(b.yqm_cfl_d,0),  a.yqm_cfl_tzs = isnull(b.yqm_cfl_tzs,0),
            a.qc_cfl_j = isnull(b.qc_cfl_j,0),    a.qc_cfl_d = isnull(b.qc_cfl_d,0),    a.qc_cfl_tzs = isnull(b.qc_cfl_tzs,0),    a.qc_tz_j = isnull(b.qc_tz_j,0),      a.qc_tz_d = isnull(b.qc_tz_d,0),      a.qc_tz_tzs  = isnull(b.qc_tz_tzs,0),     a.qc_tzs = isnull(b.qc_tzs,0),
            a.qm_cfl_j = isnull(b.qm_cfl_j,0),    a.qm_cfl_d = isnull(b.qm_cfl_d,0),    a.qm_cfl_tzs = isnull(b.qm_cfl_tzs,0),    a.qm_tz_j = isnull(b.qm_tz_j,0),      a.qm_tz_d = isnull(b.qm_tz_d,0),      a.qm_tz_tzs = isnull(b.qm_tz_tzs,0),      a.qm_tzs = isnull(b.qm_tzs,0),
            a.g_yqm_tz_j = isnull(b.g_yqm_tz_j,0),a.g_yqm_tz_d = isnull(b.g_yqm_tz_d,0),a.g_qm_tz_j = isnull(b.g_qm_tz_j,0),      a.g_qm_tz_d = isnull(b.g_qm_tz_d,0),  a.other5  = isnull(b.other5,0),       a.other6   = isnull(b.other6,0)
        from #t_hz b
        where a.kmwm = b.kmwm and a.dwid = @a_dwid and a.ndid = @a_ndid
    ////计算账表差异调整,全部[5秒]
    update c_cwkmk 
        set ysn_ws_fse_j = isnull(sn_ws_fse_j,0) + yqc_cfl_j,
            ysn_ws_fse_d = isnull(sn_ws_fse_d ,0) +  yqc_cfl_d,
            ysn_ws_fse  = isnull(sn_ws_fse ,0) +  yqc_cfl_tzs,
            yws_qcs = isnull(ws_qcs ,0) +  yqc_cfl_tzs,
            yws_fse_j = isnull(ws_fse_j ,0) +  g_yqm_tz_j,
            yws_fse_d = isnull(ws_fse_d ,0) +  g_yqm_tz_d,
            yws_fse   = isnull(ws_fse ,0) + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j - g_yqm_tz_d),
            yws_qms = isnull(ws_qms ,0) + yqm_cfl_tzs,
            sn_sd_fse_j = isnull(sn_ws_fse_j ,0) +  yqc_cfl_j + qc_tz_j + qc_cfl_j,
            sn_sd_fse_d = isnull(sn_ws_fse_d ,0) +  yqc_cfl_d + qc_tz_d + qc_cfl_d ,
            sn_sd_fse = isnull(sn_ws_fse ,0) + yqc_cfl_tzs + qc_tzs,
            sd_qcs = isnull(ws_qcs,0) + yqc_cfl_tzs + qc_tzs,
            sd_fse_j = isnull(ws_fse_j,0) + g_yqm_tz_j +g_qm_tz_j, 
            sd_fse_d = isnull(ws_fse_d,0) + g_yqm_tz_d + g_qm_tz_d,
            sd_fse = isnull(ws_fse,0) + (case when locate(jdfx,&apos;借&apos;) &gt; 0 then 1 else -1 end) * (g_yqm_tz_j + g_qm_tz_j - g_yqm_tz_d - g_qm_tz_d),
            sd_qms = isnull(ws_qms,0) + yqm_cfl_tzs + qm_tzs
    where dwid = @a_dwid and ndid = @a_ndid

    execute pb_bbxm @a_dwid,@a_ndid,0 

    //// 同步函证科目库
    update c_hzkmk 
        set ws_qcs = B.yws_qcs,sd_qcs =B.sd_qcs ,ws_qms =B.yws_qms,qm_tzs = B.qm_tzs,sd_qms =B.sd_qms,
            ws_qcs_sl = b.ws_qcs_sl,ws_qms_sl = b.ws_qms_sl,yws_qcs=b.yws_qcs,yws_qms=b.yws_qms
        from c_cwkmk B
        where c_hzkmk.kmbh =b.kmbh  and c_hzkmk.ndid =@a_ndid and c_hzkmk.dwid =@a_dwid and B.ndid =@a_ndid and B.dwid =@a_dwid 
    ////
    //计算核算项目调整数
    execute pt_hs_tz @a_dwid,@a_ndid
    //计算账龄调整数
    execute pt_zl_tz @a_dwid,@a_ndid
    //如果调整的不是明细科目，则在下一级插入DXN调整项目
    execute p_make_xjkm_tz @a_dwid,@a_ndid
end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>100</no><make_date>2012-08-21 11:24:30.593000</make_date><note>存储过程5-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;pb_fzxm&apos;) then
   drop procedure pb_fzxm
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>110</no><make_date>2012-08-21 11:29:20.187000</make_date><note>存储过程5-创建</note><sql>Create Procedure pb_fzxm(@a_dwid Integer,@a_ndid Integer,@a_dlzt Integer)
as
Begin

    CREATE TABLE #tmp_fzxm_km(zdlx	char(1)	,////	制度类型
    	fzlx	char(1),
        fzbh	char(40)	,////	报表编号
        jdfx	char(8),
        qcs		decimal(18,4), //期初数
		jffse	decimal(18,4), //借方发生额
		dffse	decimal(18,4),	//贷方发生额
		fse		decimal(18,4),	//发生额
		qms		decimal(18,4),	//期末数
		zj		decimal(18,4),	//本期增加
		js		decimal(18,4),	//本期增加
		sn_qcs		decimal(18,4), //上年期初数 	
		sn_jffse	decimal(18,4),	//上年借方发生额
		sn_dffse	decimal(18,4),	//上年贷方发生额
		sn_fse		decimal(18,4),	//上年发生额
		sn_zj		decimal(18,4),	//上年发生额
		sn_js		decimal(18,4),	//上年发生额
	PRIMARY KEY (zdlx,fzlx,fzbh)
	)
    
    CREATE TABLE #tmp_fzxm_hsxm(zdlx	char(1)	,////	制度类型
    	fzlx	char(1),
        fzbh	char(40)	,////	报表编号
        jdfx	char(8),
        qcs		decimal(18,4), //期初数
		jffse	decimal(18,4), //借方发生额
		dffse	decimal(18,4),	//贷方发生额
		fse		decimal(18,4),	//发生额
		qms		decimal(18,4),	//期末数
		zj		decimal(18,4),	//本期增加
		js		decimal(18,4),	//本期增加
		sn_qcs		decimal(18,4), //上年期初数 	
		sn_jffse	decimal(18,4),	//上年借方发生额
		sn_dffse	decimal(18,4),	//上年贷方发生额
		sn_fse		decimal(18,4),	//上年发生额
		sn_zj		decimal(18,4),	//上年发生额
		sn_js		decimal(18,4),	//上年发生额
	PRIMARY KEY (zdlx,fzlx,fzbh)
	)
	
    if @a_dlzt = 0
		BEGIN
            //根据科目汇总数据
            INSERT INTO #tmp_fzxm_km
    		SELECT A.zdlx,A.fzlx,A.hbcode,A.jdfx,
      			//汇总本期审定数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_qcs,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse_j,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse_d,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_qms,0)),
        		//本期增加数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sd_fse_d,0) else isnull(B.sd_fse_j,0) END)),
        		//本期减少数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sd_fse_j,0) else isnull(B.sd_fse_d,0) END)),
        		//或总上年数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse_j,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse_d,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
        		//上年增加数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sn_ws_fse_d,0) else isnull(B.sn_ws_fse_j,0) END)),
        		//上年减少数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sn_ws_fse_j,0) else isnull(B.sn_ws_fse_d,0) END))
    		FROM b_fzxm as A,fzxmvskm as V,c_cwkmk as B
            WHERE a.zdlx = v.zdlx and a.fzlx = v.fzlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
        		A.ndid = V.ndid AND V.ndid = B.ndid AND A.hbcode = V.fzbh AND A.dlzt = 0 AND B.kmbh = V.kmbh AND
                A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.hbcode is NOT  NULL)
    		GROUP BY a.zdlx,a.fzlx,A.hbcode,a.jdfx
            
            //根据核算项目汇总数据
            INSERT INTO #tmp_fzxm_km
    		SELECT A.zdlx,A.fzlx,A.hbcode,A.jdfx,
      			//汇总本期审定数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_qcs,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse_j,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse_d,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_fse,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sd_qms,0)),
        		//本期增加数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sd_fse_d,0) else isnull(B.sd_fse_j,0) END)),
        		//本期减少数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sd_fse_j,0) else isnull(B.sd_fse_d,0) END)),
        		//或总上年数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_qcs,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse_j,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse_d,0)),
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then 1 else -1 END)*isnull(B.sn_ws_fse,0)),
        		//上年增加数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sn_ws_fse_d,0) else isnull(B.sn_ws_fse_j,0) END)),
        		//上年减少数
        		sum((case when trim(A.jdfx) = trim(B.jdfx) then isnull(B.sn_ws_fse_j,0) else isnull(B.sn_ws_fse_d,0) END))
    		FROM b_fzxm as A,fzxmvskm as V,c_hsxm_zz as B
            WHERE a.zdlx = v.zdlx and a.fzlx = v.fzlx and A.dwid = V.dwid AND V.dwid = B.dwid AND
        		A.ndid = V.ndid AND V.ndid = B.ndid AND A.hbcode = V.fzbh AND A.dlzt = 0 AND B.kmbh = V.kmbh AND B.hsxmlxbh = V.hsxmlxbh AND B.hsxmbh = V.hsxmbh AND
                A.dwid = @a_dwid AND A.ndid = @a_ndid AND ( A.hbcode is NOT  NULL) AND (V.hsxmlxbh is not null) AND (V.hsxmbh is not null)
    		GROUP BY a.zdlx,a.fzlx,A.hbcode,a.jdfx
            
               
            ////清除已有数据
            UPDATE b_fzxm
            set qcs	= 0 ,jffse	= 0 ,dffse	= 0 ,fse  = 0,qms  = 0,zj  = 0,js  = 0,
            		sn_qcs	= 0 ,sn_jffse	= 0 ,sn_dffse	= 0 ,sn_fse  = 0,sn_zj  = 0,sn_js  = 0                          
            WHERE dwid = @a_dwid AND ndid = @a_ndid AND dlzt = @a_dlzt 
            
            /*
            UPDATE b_fzxm
            set qcs	= 0 ,jffse	= 0 ,dffse	= 0 ,fse  = 0,qms  = 0,zj  = 0,js  = 0,
            		sn_qcs	= 0 ,sn_jffse	= 0 ,sn_dffse	= 0 ,sn_fse  = 0,sn_zj  = 0,sn_js  = 0
            FROM fzxmvskm                            
            WHERE b_fzxm.dwid = @a_dwid AND b_fzxm.ndid = @a_ndid AND b_fzxm.dlzt = @a_dlzt 
			AND b_fzxm.dwid = fzxmvskm.dwid AND b_fzxm.ndid = fzxmvskm.ndid AND b_fzxm.hbcode = fzxmvskm.fzbh
            */
            
            
            ////首先用科目临时表数据更新到附注项目表
            UPDATE b_fzxm a
                set a.qcs	= b.qcs ,a.jffse	= b.jffse ,a.dffse	= b.dffse ,a.fse = b.fse,a.qms = b.qms,
                    a.zj	= b.zj ,a.js	= b.js,
                    a.sn_qcs	= b.sn_qcs ,a.sn_jffse	= b.sn_jffse ,a.sn_dffse	= b.sn_dffse ,a.sn_fse = b.sn_fse,
                    a.sn_zj	= b.sn_zj ,a.sn_js	= b.sn_js
                from #tmp_fzxm_km b
                WHERE a.zdlx = b.zdlx and a.fzlx = b.fzlx and a.hbcode = b.fzbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.dlzt = @a_dlzt
                
            ////再用核算项目临时表数据更新到附注项目表,如果有核算项目则覆盖科目的数据
            UPDATE b_fzxm a
                set a.qcs	= b.qcs ,a.jffse	= b.jffse ,a.dffse	= b.dffse ,a.fse = b.fse,a.qms = b.qms,
                    a.zj	= b.zj ,a.js	= b.js,
                    a.sn_qcs	= b.sn_qcs ,a.sn_jffse	= b.sn_jffse ,a.sn_dffse	= b.sn_dffse ,a.sn_fse = b.sn_fse,
                    a.sn_zj	= b.sn_zj ,a.sn_js	= b.sn_js
                from #tmp_fzxm_hsxm b
                WHERE a.zdlx = b.zdlx and a.fzlx = b.fzlx and a.hbcode = b.fzbh and a.dwid = @a_dwid AND a.ndid = @a_ndid AND a.dlzt = @a_dlzt     

       END 

END</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>120</no><make_date>2012-08-21 11:30:04.468000</make_date><note>存储过程6-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;getkmbh&apos;) then
   drop procedure getkmbh
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>130</no><make_date>2012-08-21 11:32:13.921000</make_date><note>存储过程6-创建</note><sql>create function getkmbh(@a_dwid integer,@a_ndid integer,@a_kmbh varchar(200),@a_jc integer,@a_bz integer)
returns  varchar(200)
begin
    declare @i_pos integer;
    declare @s_bj char(2);
    declare @s_flag char(1);
    declare @s_newkmbh char(200);
    declare @i_km integer;
    declare @i_row integer; 
    declare @count integer;
    declare @s_left char(200);
    declare @s_right char(200);
    declare @i_len integer;
    declare @i_xjlen integer;
    declare @s_format char(200);
    declare @s_xjkm char(200);


    if @a_bz = 0 then  ///同级科目
        begin
            if locate(@a_kmbh,&apos;.&apos;) &gt; 0 then  //首先判断科目编号中是否有特殊符号，因为别的存储过程调用此函数，符号不好当参数传递
                begin
        			set @i_pos = locate(@a_kmbh,&apos;.&apos;,-1);
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@a_kmbh,&apos;-&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@a_kmbh,&apos;-&apos;,-1);
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@a_kmbh,&apos;_&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@a_kmbh,&apos;_&apos;,-1);
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@a_kmbh,&apos;|&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@a_kmbh,&apos;|&apos;,-1);
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@a_kmbh,&apos;\\&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@a_kmbh,&apos;\\&apos;,-1);
        			set @s_flag = &apos;1&apos;;
                end
            else
                begin
        			set @s_newkmbh = @a_kmbh;
                    set @i_row = 1;
                    while @i_row &lt; 10000 loop
                        set @i_km = abs(cast(@s_newkmbh as integer)) + 1;  //同级科目转换成整形后加一
                        set @s_newkmbh = cast(@i_km as char(200));
                        select count(1) into @count from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @s_newkmbh;
                        If @count &lt;= 0 Then 
                            set @i_row = 10001;   //如果数据库没有找到相同科目编号的，则退出循环。
                        else           				
                            set @i_row = @i_row + 1;
                        end if;
                    end loop; 
                end
            end if;

            ///如果科目编号中存在特殊符号，那么需要解析一下
            if @s_flag = &apos;1&apos; then
                begin
                    set @s_left = left(@a_kmbh,@i_pos);
                    set @s_right = substring(@a_kmbh,@i_pos + 1);
                    set @i_len = length(@s_right);

                    set @i_row = 1;  //为了固定格式，签名需要以0进行补充。
                    while @i_row &lt;= @i_len loop
                        set @s_format = @s_format + &apos;0&apos;;
                        set @i_row = @i_row + 1;
                    end loop;

                    set @i_row = 1;
                    while @i_row &lt; 10000 loop
                        set @i_km = abs(cast(@s_right as integer)) + 1;  //同级科目符号后面的数字转换成整形后加一
                        set @s_right = right(@s_format + cast(@i_km as char(200)),@i_len);
                        set @s_newkmbh = @s_left + @s_right;
                        select count(1) into @count from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @s_newkmbh;
                        If @count &lt;= 0 Then 
                            set @i_row = 10001;   //如果数据库没有找到相同科目编号的，则退出循环。
                        else           				
                            set @i_row = @i_row + 1;
                        end if;
                    end loop; 
                end
            end if
        end
    else  ///下级科目
        begin
            Select First Length(kmbh),kmbh Into @i_xjlen,@s_xjkm From c_cwkmk Where dwid = @a_dwid And ndid = @a_ndid And kmjc = @a_jc +1 ;

            if locate(@s_xjkm,&apos;.&apos;) &gt; 0 then  //首先判断科目编号中是否有特殊符号，因为别的存储过程调用此函数，符号不好当参数传递
                begin
        			set @i_pos = locate(@s_xjkm,&apos;.&apos;,-1);
                    set @s_bj = &apos;.&apos;;
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@s_xjkm,&apos;-&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@s_xjkm,&apos;-&apos;,-1);
                    set @s_bj = &apos;-&apos;;
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@s_xjkm,&apos;_&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@s_xjkm,&apos;_&apos;,-1);
                    set @s_bj = &apos;_&apos;;
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@s_xjkm,&apos;|&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@s_xjkm,&apos;|&apos;,-1);
                    set @s_bj = &apos;|&apos;;
        			set @s_flag = &apos;1&apos;;
                end
            elseif locate(@s_xjkm,&apos;\\&apos;) &gt; 0 then
                begin
        			set @i_pos = locate(@s_xjkm,&apos;\\&apos;,-1);
                    set @s_bj = &apos;\\&apos;;
        			set @s_flag = &apos;1&apos;;
                end
            else
                set @s_bj = &apos;&apos;;
            end if;

            set @i_row = 1;  //为了固定格式，签名需要以0进行补充。
            set @i_len = length(@a_kmbh);
            while @i_row &lt;= (@i_xjlen - @i_len) loop
                set @s_format = @s_format + &apos;0&apos;;
                set @i_row = @i_row + 1;
            end loop;

            set @i_row = 1;
            set @i_km = 0;
            while @i_row &lt; 10000 loop
                set @i_km = @i_km + 1;    
                set @s_right = right(@s_format + cast(@i_km as char(200)),@i_xjlen - @i_len);
                set @s_newkmbh = @a_kmbh + @s_bj + @s_right;
                select count(1) into @count from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmbh = @s_newkmbh;
                If @count &lt;= 0 Then 
                    set @i_row = 10001;   //如果数据库没有找到相同科目编号的，则退出循环。
                else           				
                    set @i_row = @i_row + 1;
                end if;
            end loop; 
        end
    end if;

	return @s_newkmbh;
end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>140</no><make_date>2012-08-21 11:36:36.156000</make_date><note>存储过程7-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_xjkm_tz&apos;) then
   drop procedure p_make_xjkm_tz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>150</no><make_date>2012-08-21 11:37:33.046000</make_date><note>存储过程7-创建</note><sql>create procedure p_make_xjkm_tz(@a_dwid integer,@a_ndid integer) 
as 
begin 
	declare @li_jc  integer 
    declare @li_i   integer 
    declare @li_i_xj   integer
	declare @kmwm   char(210)
    declare @kmbh   char(200)
    declare @count   integer
    declare @newkmbh char(200)
	
    
    ////调整分录数据汇总临时表
    create table #t_tzfl(
        kmbh char(200),jdz integer,kmjc integer,    
        yqc_cfl_j	decimal(18,4)	,//	期初账表差异调整借方金额
        yqc_cfl_d	decimal(18,4)	,//	期初账表差异调整贷方金额
        yqm_cfl_j	decimal(18,4)	,//	期末账表差异调整借方金额
        yqm_cfl_d	decimal(18,4)	,//	期末账表差异调整贷方金额
        qc_cfl_j	decimal(18,4)	,//	期初重分类借方
        qc_cfl_d	decimal(18,4)	,//	期初重分类贷方
        qc_tz_j     decimal(18,4)	,//	期初账项调整借方
        qc_tz_d     decimal(18,4)	,//	期初账项调整贷方
        qm_cfl_j	decimal(18,4)	,//	期末重分类借方
        qm_cfl_d	decimal(18,4)	,//	期末重分类贷方
        qm_tz_j     decimal(18,4)	,//	期末账项调整借方
        qm_tz_d	    decimal(18,4)	,//	期末账项调整贷方
        g_yqm_tz_j	decimal(18,4)	,//	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,//	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,//	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,//	调整分录滚调影响期末数贷方
        other5  	decimal(18,2)	,//	期初未更正数
        other6	    decimal(18,2)	,//	期末未更正数
        kmwm        char(96)        ,// 科目伪码,汇总完调整分录后使用科目库将伪码更新过来，为了向上汇总，同时处理调整数
        yqc_cfl_tzs decimal(18,4)	,//	期初账表差异调整金额，汇总后计算
        yqm_cfl_tzs decimal(18,4)	,//	期末账表差异调整金额，汇总后计算
        qc_cfl_tzs  decimal(18,4)	,//	期初重分类调整数，汇总后计算
        qc_tz_tzs   decimal(18,4)	,//	期初账项调整数，汇总后计算
        qc_tzs      decimal(18,4)	,//	期初调整数，汇总后计算
        qm_cfl_tzs  decimal(18,4)	,//	期末重分类调整数，汇总后计算
        qm_tz_tzs   decimal(18,4)	,//	期末账项调整数，汇总后计算
        qm_tzs      decimal(18,4)	,//	期末调整数，汇总后计算
        primary key(kmbh))
        create index #t_tzfl_kmwm on #t_tzfl (kmwm)
    ////汇总调整分录
    insert into #t_tzfl
    select kmbh,1,1,
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqc_cfl_j,	//	期初账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqc_cfl_d,	//	期初账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqm_cfl_j,	//	期末账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqm_cfl_d,	//	期末账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qc_cfl_j,	//	期初重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qc_cfl_d,	//	期初重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qc_tz_j,	//	期初账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qc_tz_d,	//	期初账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qm_cfl_j,	//	期末重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qm_cfl_d,	//	期末重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qm_tz_j,	//	期末账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qm_tz_d,	//	期末账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	g_yqm_tz_j,//	账表差异滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	g_yqm_tz_d,//	账表差异滚调影响期末数贷方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	 g_qm_tz_j,//	调整分录滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	 g_qm_tz_d,//	调整分录滚调影响期末数贷方
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;0&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;1&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        &apos;&apos;,0,0,0,0,0,0,0,0
    	from tzflb_zu as Z,tzflb as T 
    	where z.dwid = @a_dwid and z.ndid = @a_ndid and z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and 
    		z.sfxj = 1 and (t.jz &lt;&gt; 1 or t.jz is null)
    	group by t.kmbh
        
    ///删除明细科目的调整数据   
    delete from #t_tzfl where exists(select 1 from c_cwkmk where #t_tzfl.kmbh = c_cwkmk.kmbh and c_cwkmk.sfmx = &apos;1&apos; and c_cwkmk.dwid = @a_dwid and c_cwkmk.ndid = @a_ndid)
            
    ////更新汇总数据中科目伪码和需要计算字段
    update #t_tzfl a
        set a.kmwm = b.kmwm,a.jdz=(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end ),a.kmjc = b.kmjc,
            a.yqc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqc_cfl_j -  a.yqc_cfl_d),
            a.yqm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqm_cfl_j - a.yqm_cfl_d),
            a.qc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_cfl_j - a.qc_cfl_d),
            a.qc_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_tz_j-a.qc_tz_d),
            a.qc_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qc_cfl_j - a.qc_cfl_d +  a.qc_tz_j-a.qc_tz_d),
            a.qm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_cfl_j - a.qm_cfl_d),
            a.qm_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_tz_j-a.qm_tz_d),
            a.qm_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qm_cfl_j - a.qm_cfl_d +  a.qm_tz_j-a.qm_tz_d),
            a.other5 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other5,
            a.other6 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other6
        from c_cwkmk b
        where a.kmbh = b.kmbh and b.dwid = @a_dwid and b.ndid = @a_ndid
     
        
    ////取最大科目级次
    select max(kmjc) into @li_jc from c_cwkmk 	where dwid =@a_dwid and ndid = @a_ndid
    DECLARE jskm CURSOR FOR select kmwm,kmbh from #t_tzfl where kmjc = @li_i
    ////从一级科目开始循环
    set @li_i =1 
    while @li_i &lt;= @li_jc
    begin
        //在当前级次的下一级插入新科目
        set @li_i_xj = @li_i + 1
        
        //打开游标，开始取数
        open jskm
        FETCH NEXT jskm INTO @kmwm,@kmbh
        while @@sqlstatus = 0 
            begin 
                set @newkmbh = @kmbh
                
                ///查询如果下一已经存在科目名称为“调整分录生成科目”的数据则不再重新插入，只更新调整数
                set @count = 0
                select @count = count(1) from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmwm like @kmwm || &apos;%&apos; and kmjc = @li_i_xj and kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
                if @count &lt;= 0 
                begin
                    //循环获取新的科目编号
                    set @newkmbh = getkmbh(@a_dwid,@a_ndid,@newkmbh,@li_i_xj - 1,1)
                    insert into c_cwkmk(dwid,ndid,kmbh,kmmc,kmjc,sfmx) values (@a_dwid,@a_ndid,@newkmbh,&apos;DXN调整项目&apos;,@li_i_xj,&apos;1&apos;)
                end
                    
               FETCH NEXT jskm INTO @kmwm,@kmbh
            end
        close jskm
        ////准备下次循环
        set @li_i =  @li_i + 1
    end
    
    //重新生成科目伪码
    execute p_make_km_sjkmmc @a_dwid,@a_ndid,&apos;~|&apos;
    
    //首先将调整分录插入的科目调整数清0
     update c_cwkmk
        set yqc_cfl_j = 0,yqc_cfl_d = 0,yqm_cfl_j = 0,yqm_cfl_d = 0,
            qc_cfl_j = 0,qc_cfl_d = 0,qc_tz_j = 0,qc_tz_d = 0,
            qm_cfl_j = 0,qm_cfl_d = 0,qm_tz_j = 0,qm_tz_d = 0,
            g_yqm_tz_j = 0,g_yqm_tz_d = 0,g_qm_tz_j = 0,g_qm_tz_d = 0,
            other5=0,other6=0,yqc_cfl_tzs = 0,yqm_cfl_tzs = 0,qc_cfl_tzs = 0,
            qc_tz_tzs = 0,qc_tzs = 0,qm_cfl_tzs = 0,qm_tz_tzs = 0,qm_tzs = 0
        where kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
    
    //将上级科目的调整数更新到下级新插入的科目中
     update c_cwkmk A
        set A.kmlb = B.kmlb,A.jdfx = B.jdfx,
            A.yqc_cfl_j = C.yqc_cfl_j,A.yqc_cfl_d = C.yqc_cfl_d,A.yqm_cfl_j = C.yqm_cfl_j,A.yqm_cfl_d = C.yqm_cfl_d,
            A.qc_cfl_j = C.qc_cfl_j,A.qc_cfl_d = C.qc_cfl_d,A.qc_tz_j = C.qc_tz_j,A.qc_tz_d = C.qc_tz_d,
            A.qm_cfl_j = C.qm_cfl_j,A.qm_cfl_d = C.qm_cfl_d,A.qm_tz_j = C.qm_tz_j,A.qm_tz_d = C.qm_tz_d,
            A.g_yqm_tz_j = C.g_yqm_tz_j,A.g_yqm_tz_d = C.g_yqm_tz_d,A.g_qm_tz_j = C.g_qm_tz_j,A.g_qm_tz_d = C.g_qm_tz_d,
            A.other5=C.other5,A.other6=C.other6,A.yqc_cfl_tzs = C.yqc_cfl_tzs,A.yqm_cfl_tzs = C.yqm_cfl_tzs,A.qc_cfl_tzs = C.qc_cfl_tzs,
            A.qc_tz_tzs = C.qc_tz_tzs,A.qc_tzs = C.qc_tzs,A.qm_cfl_tzs = C.qm_cfl_tzs,A.qm_tz_tzs = C.qm_tz_tzs,A.qm_tzs = C.qm_tzs
        from #t_tzfl C,c_cwkmk B            
        where A.dwid = @a_dwid and A.ndid = @a_ndid and A.dwid = B.dwid and A.ndid = B.ndid and B.kmbh = C.kmbh 
        and A.kmwm like C.kmwm || &apos;%&apos; and A.kmjc = B.kmjc + 1 and A.kmmc = &apos;DXN调整项目&apos; and isnull(A.flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
        
     //将科目&apos;DXN调整项目&apos;数据为0的删除
     //yqc_cfl_j = 0 and yqc_cfl_d = 0 and yqm_cfl_j = 0 and yqm_cfl_d = 0 
     //and qc_cfl_j = 0 and qc_cfl_d = 0 and qc_tz_j = 0 and qc_tz_d = 0 
     //and qm_cfl_j = 0 and qm_cfl_d = 0 and qm_tz_j = 0 and qm_tz_d = 0 
     //and g_yqm_tz_j = 0 and g_yqm_tz_d = 0 and g_qm_tz_j = 0 and g_qm_tz_d = 0 
     delete from c_cwkmk where 
                yqc_cfl_tzs = 0 and yqm_cfl_tzs = 0 and qc_cfl_tzs = 0 
            and qc_tz_tzs = 0 and qc_tzs = 0 and qm_cfl_tzs = 0 and qm_tz_tzs = 0 and qm_tzs = 0 
            and kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
        
end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>160</no><make_date>2012-08-21 11:39:18.234000</make_date><note>存储过程8-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_transition_data&apos;) then
   drop procedure p_transition_data
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>170</no><make_date>2012-08-21 11:40:19.281000</make_date><note>存储过程8-创建</note><sql>create procedure p_transition_data(@ai_dwid integer,@ai_ndid integer)
as
begin

//底稿项目b_dgxm**************************************************************
    //向底稿上传控制表中新插入新记录
    insert into t_upload_control
            (Lsh,Dwid,Ndid,DyTname,DyTnamePKName,DyTnamePKValue,IsUp)
        select newid(),@ai_dwid,@ai_ndid,&apos;b_dgxm&apos;,&apos;nbbh&apos;,nbbh,&apos;1&apos;
            from b_dgxm A
            where A.dwid = @ai_dwid and A.ndid = @ai_ndid and not exists(select 1 from t_upload_control B where B.dwid = @ai_dwid and B.ndid = @ai_ndid and B.DyTname = &apos;b_dgxm&apos; and B.DyTnamePKValue = A.nbbh)

    //根据上级内部编号更新上级流水号
    update t_upload_control C set C.C06 = (select A.Lsh from t_upload_control A,b_dgxm B where A.DyTname = &apos;b_dgxm&apos; and A.dwid = B.dwid and A.ndid = B.ndid and A.dwid = @ai_dwid and A.ndid = @ai_ndid and C.DyTnamePKValue = B.Nbbh and A.DyTnamePKValue = B.sjbh)
    where C.dwid = @ai_dwid and C.ndid = @ai_ndid and C.DyTname = &apos;b_dgxm&apos;

    //


//复核问题记录**************************************************************
    insert into t_upload_control
            (Lsh,Dwid,Ndid,DyTname,DyTnamePKName,DyTnamePKValue,IsUp)
        select newid(),@ai_dwid,@ai_ndid,&apos;t_review_record&apos;,&apos;lsh&apos;,lsh,&apos;1&apos;
            from t_review_record A where A.dwid = @ai_dwid and A.ndid = @ai_ndid 
            and not exists(select 1 from t_upload_control B where B.dwid = @ai_dwid and B.ndid = @ai_ndid and B.DyTname = &apos;t_review_record&apos; and  B.DyTnamePKValue = A.lsh)

    
end</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>180</no><make_date>2012-08-21 14:38:37.416000</make_date><note>创建表-附注项目</note><sql>if not isnull(object_id(&apos;b_fzxm&apos;),0) &gt;0 then
   create table b_fzxm 
(
   lsh                  char(60)                       not null compute (&apos;fz&apos;+zdlx+fzlx+string(dlzt)+&apos;-&apos;+hbcode),
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   zdlx                 char(1)                        not null,
   fzlx                 char(1)                        not null,
   dlzt                 tinyint                        not null,
   zh                   char(50),
   xsxh                 integer,
   pxh                  integer,
   bbbh                 char(20),
   fzbh                 char(60),
   fzmc                 varchar(160),
   fzxsmc               varchar(160),
   jdfx                 char(8),
   qcs                  decimal(18,4),
   jffse                decimal(18,4),
   dffse                decimal(18,4),
   fse                  decimal(18,4),
   qms                  decimal(18,4),
   zj                   decimal(18,4),
   js                   decimal(18,4),
   sn_qcs               decimal(18,4),
   sn_jffse             decimal(18,4),
   sn_dffse             decimal(18,4),
   sn_fse               decimal(18,4),
   sn_zj                decimal(18,4),
   sn_js                decimal(18,4),
   bhkmmc               varchar(2000),
   C1                   varchar(100),
   C2                   varchar(100),
   C3                   varchar(100),
   C4                   varchar(100),
   C5                   varchar(100),
   C6                   varchar(100),
   C7                   varchar(100),
   C8                   varchar(100),
   C9                   varchar(100),
   C10                  varchar(100),
   C11                  varchar(100),
   C12                  varchar(100),
   C13                  varchar(100),
   C14                  varchar(100),
   C15                  varchar(100),
   C16                  varchar(100),
   C17                  varchar(100),
   C18                  varchar(100),
   C19                  varchar(100),
   C20                  varchar(100),
   C21                  varchar(500),
   C22                  varchar(500),
   C23                  varchar(500),
   C24                  varchar(500),
   C25                  varchar(500),
   C26                  varchar(500),
   C27                  varchar(500),
   C28                  varchar(500),
   C29                  varchar(500),
   C30                  varchar(500),
   D1                   decimal(18,4),
   D2                   decimal(18,4),
   D3                   decimal(18,4),
   D4                   decimal(18,4),
   D5                   decimal(18,4),
   D6                   decimal(18,4),
   D7                   decimal(18,4),
   D8                   decimal(18,4),
   D9                   decimal(18,4),
   D10                  decimal(18,4),
   D11                  decimal(18,4),
   D12                  decimal(18,4),
   D13                  decimal(18,4),
   D14                  decimal(18,4),
   D15                  decimal(18,4),
   D16                  decimal(18,4),
   D17                  decimal(18,4),
   D18                  decimal(18,4),
   D19                  decimal(18,4),
   D20                  decimal(18,4),
   D21                  decimal(18,4),
   D22                  decimal(18,4),
   D23                  decimal(18,4),
   D24                  decimal(18,4),
   D25                  decimal(18,4),
   D26                  decimal(18,4),
   D27                  decimal(18,4),
   D28                  decimal(18,4),
   D29                  decimal(18,4),
   D30                  decimal(18,4),
   fzjc                 integer,
   sfz                  char(1),
   sfxs                 char(1),
   sjly                 char(1),
   expression           varchar(200),
   hbcode               char(40),
   ifzddy               char(1), 
   primary key (lsh, dwid, ndid)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>190</no><make_date>2012-08-21 14:39:06.072000</make_date><note>创建表-附注项目对应科目</note><sql>if not isnull(object_id(&apos;fzxmvskm&apos;),0) &gt;0 then
create table fzxmvskm 
(
   lsh                  char(40)                       not null,
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   zdlx                 char(1),
   fzlx                 char(1),
   fzbh                 char(40),
   kmbh                 varchar(200),
   hsxmlxbh             char(80),
   hsxmbh               varchar(200),
   other1               char(50),
   other2               tinyint,
   primary key (lsh, dwid, ndid)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>200</no><make_date>2012-08-21 14:41:00.962000</make_date><note>创建表-内部控制测试1</note><sql>if not isnull(object_id(&apos;b_nbkzcs_nk_qy&apos;),0) &gt;0 then
create table b_nbkzcs_nk_qy 
(
   lsh                  char(40)                       not null compute (&apos;Q&apos;+string(xh)),
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   xh                   integer                        not null,
   lx                   varchar(100),
   bh                   char(10),
   kzmc                 varchar(500),
   kzsm                 varchar(2000),
   fwbkz                char(10),
   nbkzxz               char(50),
   nbkzpl               varchar(100),
   nbkzrjz              varchar(2000),
   nbkzfx               char(50),
   sjcx                 varchar(2000),
   dgsyh                char(10),
   sjyxx                char(10),
   sjyxxpj              char(10),
   sssjcx               varchar(2000),
   ybl                  integer,
   yblsm                varchar(500),
   zxqtcx               char(10),
   qtcx                 varchar(500),
   qtcxybl              integer,
   qtcxdgsyh            char(10),
   yyyxx                char(10),
   c01                  char(20),
   c02                  char(20),
   c03                  char(20),
   c04                  char(50),
   c05                  char(50),
   c06                  char(50),
   c07                  varchar(100),
   c08                  varchar(100),
   c09                  varchar(100),
   c10                  varchar(100),
   c11                  varchar(100),
   c12                  varchar(100),
   c13                  varchar(100),
   c14                  varchar(100),
   c15                  varchar(200),
   c16                  varchar(200),
   c17                  varchar(200),
   c18                  varchar(200),
   c19                  varchar(200),
   c20                  varchar(200),
   c21                  varchar(500),
   c22                  varchar(500),
   c23                  varchar(500),
   c24                  varchar(1000),
   c25                  varchar(2000),
   other1               integer,
   other2               integer,
   other3               tinyint,
   other4               tinyint,
   primary key (lsh, dwid, ndid)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>210</no><make_date>2012-08-21 14:42:44.509000</make_date><note>创建表-内部控制测试2</note><sql>if not isnull(object_id(&apos;b_nbkzcs_nk_lc&apos;),0) &gt;0 then
create table b_nbkzcs_nk_lc 
(
   lsh                  char(40)                       not null compute (&apos;J&apos;+string(xh)),
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   xh                   integer                        not null,
   xhfl                 char(2),
   bh                   char(10),
   kzmc                 varchar(500),
   kzmb                 varchar(500),
   kzms                 varchar(2000),
   kzpl                 varchar(100),
   ifauto               char(50),
   ifcheck              char(20),
   account              char(50),
   kzfx                 char(10),
   crbbrd1              char(10),
   crbbrd2              char(10),
   crbbrd3              char(10),
   crbbrd4              char(10),
   crbbrd5              char(10),
   crbbrd6              char(10),
   crbbrd7              char(10),
   crbbrd8              char(10),
   crbbrd9              char(10),
   crbbrd10             char(10),
   gjkz                 char(10),
   gjkzsm               varchar(500),
   csxz                 char(50),
   cssj                 char(50),
   csfw                 char(10),
   other1               char(10),
   other2               varchar(200),
   other3               long binary,
   other4               tinyint,
   primary key (lsh, dwid, ndid)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>220</no><make_date>2012-08-21 14:44:00.572000</make_date><note>创建表-重大错报风险</note><sql>if not isnull(object_id(&apos;b_risk_collects&apos;),0) &gt;0 then
create table b_risk_collects 
(
   lsh                  char(36)                       not null,
   dwid                 integer,
   ndid                 integer,
   pxh                  integer,
   fxlx                 char(1),
   fxbh                 char(40),
   wjnbbh               char(20),
   wjsyh                char(20),
   wjsheet              varchar(200),
   txsj                 datetime,
   txr                  char(40),
   description          varchar(1000),
   fxlb                 char(40),
   cclb                 char(40),
   istbfx               char(10),
   isszxcs              char(10),
   cwbbxm               char(40),
   jylbye               varchar(100),
   lbrd                 char(40),
   ztydcs               varchar(1000),
   bsjdwbb              varchar(1000),
   tbfxxm               char(40),
   wbdgsyh              char(40),
   glcydcs              varchar(1000),
   sjcs                 varchar(1000),
   sm                   varchar(200),
   state                char(1),
   other1               varchar(50),
   other2               varchar(200),
   other3               tinyint,
   other4               char(1),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>230</no><make_date>2012-08-21 14:46:37.416000</make_date><note>创建表-错报舞弊</note><sql>if not isnull(object_id(&apos;b_misstatement_collects&apos;),0) &gt;0 then
create table b_misstatement_collects 
(
   lsh                  char(36)                       not null,
   dwid                 integer,
   ndid                 integer,
   dyfxbh               char(36),
   cbwbfl               char(10),
   pxh                  integer,
   wjnbbh               char(20),
   wjsyh                char(40),
   wjsheet              varchar(200),
   cbbh                 char(40),
   dzcbyy               varchar(1000),
   isnbkzqx             char(10),
   isgznbkzqx           char(10),
   qxsm                 varchar(1000),
   qxqzyx               varchar(1000),
   sm                   varchar(200),
   state                char(1),
   other1               varchar(50),
   other2               varchar(200),
   other3               tinyint,
   other4               char(1),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>240</no><make_date>2012-08-21 14:47:53.197000</make_date><note>创建表-上传下载控制</note><sql>if not isnull(object_id(&apos;t_upload_control&apos;),0) &gt;0 then
create table t_upload_control 
(
   Lsh                  char(40)                       not null,
   Dwid                 integer,
   Ndid                 integer,
   DyTname              char(50),
   DyTnamePKName        varchar(100),
   DyTnamePKValue       varchar(200),
   IsUp                 char(1),
   DataLastSyncTime     char(20),
   DataModify           char(1),
   FileLsatSyncTime     char(20),
   FileModify           char(1),
   DelFlag              char(1),
   OrderID              integer                        default autoincrement,
   C01                  char(10),
   C02                  char(10),
   C03                  char(10),
   C04                  char(10),
   C05                  char(10),
   C06                  varchar(100),
   C07                  varchar(100),
   C08                  varchar(100),
   C09                  varchar(100),
   C10                  varchar(100),
   primary key (Lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>250</no><make_date>2012-08-21 14:49:13.337000</make_date><note>创建表-上传下载配置</note><sql>if not isnull(object_id(&apos;t_upload_config&apos;),0) &gt;0 then
create table t_upload_config 
(
   ID                   char(10)                       not null,
   tName                char(50),
   ctName1              char(50),
   ctName2              char(50),
   cupCol1              varchar(500),
   cupCol2              varchar(500),
   cupRelation          varchar(200),
   cupRelaWhere         varchar(200),
   supName              char(50),
   supCol               varchar(500),
   cloadPrikey1         char(50),
   cloadPrikey2         char(50),
   cloadCol1            varchar(500),
   cloadCol2            varchar(500),
   sloadCol1            varchar(500),
   sloadCol2            varchar(500),
   sloadWhere1          varchar(200),
   sloadWhere2          varchar(200),
   csCompar             varchar(200),
   primary key (ID)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>260</no><make_date>2012-08-21 14:50:13.462000</make_date><note>创建表-上传下载字典表</note><sql>if not isnull(object_id(&apos;t_upload_dictionary&apos;),0) &gt;0 then
create table t_upload_dictionary 
(
   ID                   char(20)                       not null,
   Name                 char(30),
   Value                varchar(200),
   primary key (ID)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>270</no><make_date>2012-08-21 14:52:02.994000</make_date><note>创建表-上传下载项目信息</note><sql>if not isnull(object_id(&apos;t_upload_prj_info&apos;),0) &gt;0 then
create table t_upload_prj_info 
(
   Lsh                  char(40)                       not null,
   Dwid                 integer,
   Ndid                 integer,
   DyXmbh               varchar(100),
   primary key (Lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>280</no><make_date>2012-08-21 14:53:54.931000</make_date><note>创建表-抽取样本</note><sql>if not isnull(object_id(&apos;t_samples&apos;),0) &gt;0 then
create table t_samples 
(
   lsh                  char(40)                       not null,
   dwid                 integer,
   ndid                 integer,
   pch                  char(50),
   iskzxj               char(1),
   xh                   integer,
   ybdate               char(30),
   bh                   varchar(200),
   je                   decimal(18,4),
   isdev                char(2),
   devsm                varchar(500),
   devreason            varchar(500),
   ybsyh                char(30),
   ybfc                 char(20),
   c01                  char(50),
   c02                  char(50),
   c03                  char(50),
   c04                  char(50),
   c05                  char(50),
   c06                  varchar(200),
   c07                  varchar(200),
   c08                  varchar(200),
   c09                  varchar(500),
   c10                  varchar(500),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>290</no><make_date>2012-08-21 14:56:34.525000</make_date><note>创建表-抽样分层</note><sql>if not isnull(object_id(&apos;t_samples_layered&apos;),0) &gt;0 then
create table t_samples_layered 
(
   lsh                  char(40)                       not null,
   dwid                 integer,
   ndid                 integer,
   pch                  char(50),
   xh                   integer,
   xmflbh               char(4),
   xmflmc               char(40),
   qsje                 decimal(18,4),
   jzje                 decimal(18,4),
   ztje                 decimal(18,4),
   ztsl                 integer,
   ybje                 decimal(18,4),
   ybsl                 integer,
   cbje                 decimal(18,4),
   cbsl                 integer,
   flag                 char(1),
   other1               decimal(18,4),
   other2               varchar(100),
   other3               varchar(500),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>300</no><make_date>2012-08-21 14:58:20.478000</make_date><note>创建表-抽样轨迹</note><sql>if not isnull(object_id(&apos;t_samples_track&apos;),0) &gt;0 then
create table t_samples_track 
(
   lsh                  char(40)                       not null,
   dwid                 integer,
   ndid                 integer,
   pch                  char(50),
   iskzxj               char(1),
   ybztlylx             char(50),
   xjfc                 char(50),
   sjztgm               integer,
   ygztgm               integer,
   ybgm                 integer,
   xqway                char(50),
   xqdate               char(20),
   xtxqqj               integer,
   xtxqqd               integer,
   xjztje               decimal(18,4),
   xjrrcb               decimal(18,4),
   xjbzxs               decimal(18,4),
   other1               decimal(18,4),
   other2               varchar(100),
   other3               varchar(500),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>310</no><make_date>2012-08-21 14:59:27.775000</make_date><note>创建表-凭证附件</note><sql>if not isnull(object_id(&apos;t_pz_file&apos;),0) &gt;0 then
create table t_pz_file 
(
   lsh                  char(40)                       not null,
   dwid                 integer                        not null,
   ndid                 integer                        not null,
   hh                   integer,
   kjyear               integer,
   kjmonth              integer,
   pzbh                 char(80),
   pzzl                 char(60),
   bh                   char(60),
   filecode             varchar(100)                   not null,
   filename             varchar(200)                   not null,
   filejc               integer,
   filesjlsh            char(40),
   sfmx                 char(1),
   filelx               char(10),
   pxh                  integer,
   c01                  char(60),
   c02                  char(60),
   c03                  char(60),
   c04                  char(60),
   c05                  char(60),
   c06                  varchar(200),
   c07                  varchar(200),
   c08                  varchar(200),
   c09                  varchar(200),
   c10                  varchar(200),
   primary key (lsh)
)
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>320</no><make_date>2012-08-21 19:58:16.556000</make_date><note>设置数据列信息1</note><sql>delete from  datatable_definfo where t_id = &apos;B0009&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0009&apos;,	&apos;附注项目&apos;,	&apos;b_fzxm ,dgxmvsbbxm,b_bbxm&apos;,	&apos;b_fzxm.dwid = b_bbxm.dwid and b_fzxm.ndid = b_bbxm.ndid and dgxmvsbbxm.dwid = b_bbxm.dwid and dgxmvsbbxm.ndid = b_bbxm.ndid and b_fzxm.bbbh = b_bbxm.bbbh and dgxmvsbbxm.bbbh=b_bbxm.bbbh and b_fzxm.sfxs = &apos;&apos;1&apos;&apos;&apos;,	&apos;b_fzxm&apos;,	&apos;b_fzxm.lsh&apos;,	&apos;b_fzxm.dwid&apos;,	&apos;b_fzxm.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	38,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;B0010&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0010&apos;,	&apos;企业层面控制的了解和测试&apos;,	&apos;b_nbkzcs_nk_qy&apos;,	NULL,	&apos;b_nbkzcs_nk_qy&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	39,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;B0011&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0011&apos;,	&apos;业务流程、应用系统或交易层面内部控制测试&apos;,	&apos;b_nbkzcs_nk_lc&apos;,	NULL,	&apos;b_nbkzcs_nk_lc&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	40,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;Y1022&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;Y1022&apos;,	&apos;用户表&apos;,	&apos;sj_user_dwnd&apos;,	NULL,	&apos;sj_user_dwnd&apos;,	&apos;(&apos;&apos;D&apos;&apos; + string(dwid) + &apos;&apos;N&apos;&apos; + sting(ndid) + &apos;&apos;U&apos;&apos; + string(u_id))&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	&apos;2&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	60,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;B0012&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0012&apos;,	&apos;重大错报风险&apos;,	&apos;b_risk_collects&apos;,	NULL,	&apos;b_risk_collects&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	41,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;B0013&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0013&apos;,	&apos;错报及舞弊&apos;,	&apos;b_misstatement_collects left outer join b_risk_collects on b_misstatement_collects.dwid = b_risk_collects.dwid and b_misstatement_collects.ndid = b_risk_collects.ndid and b_misstatement_collects.dyfxbh = b_risk_collects.lsh&apos;,	NULL,	&apos;b_misstatement_collects&apos;,	&apos;b_misstatement_collects.lsh&apos;,	&apos;b_misstatement_collects.dwid&apos;,	&apos;b_misstatement_collects.ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	42,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;C5008&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;C5008&apos;,	&apos;凭证附件表&apos;,	&apos;t_pz_file&apos;,	NULL,	&apos;t_pz_file&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	18,	NULL,	NULL);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;制度类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;制度类型&apos;,	&apos;b_fzxm.zdlx&apos;,	NULL,	&apos;zdlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;附注类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;附注类型&apos;,	&apos;b_fzxm.fzlx&apos;,	NULL,	&apos;fzlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;登录状态&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;登录状态&apos;,	&apos;b_fzxm.dlzt&apos;,	NULL,	&apos;dlzt&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;组号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;组号&apos;,	&apos;b_fzxm.zh&apos;,	NULL,	&apos;zh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;显示序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;显示序号&apos;,	&apos;b_fzxm.xsxh&apos;,	NULL,	&apos;xsxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;排序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;排序号&apos;,	&apos;b_fzxm.pxh&apos;,	NULL,	&apos;pxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;对应报表项目&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;对应报表项目&apos;,	&apos;b_bbxm.xmmc&apos;,	NULL,	&apos;dybbmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;附注项目编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;附注项目编号&apos;,	&apos;b_fzxm.fzbh&apos;,	NULL,	&apos;fzbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2100.00,	400.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;附注项目名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;附注项目名称&apos;,	&apos;b_fzxm.fzmc&apos;,	NULL,	&apos;fzmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2500.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;附注项目显示名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;附注项目显示名称&apos;,	&apos;b_fzxm.fzxsmc&apos;,	NULL,	&apos;fzxsmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3500.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;借贷方向&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;借贷方向&apos;,	&apos;b_fzxm.jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4500.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;期初数&apos;,	&apos;b_fzxm.qcs&apos;,	NULL,	&apos;qcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;借方发生额&apos;,	&apos;b_fzxm.jffse&apos;,	NULL,	&apos;jffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;贷方发生额&apos;,	&apos;b_fzxm.dffse&apos;,	NULL,	&apos;dffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;发生额&apos;,	&apos;b_fzxm.fse&apos;,	NULL,	&apos;fse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;期末数&apos;,	&apos;b_fzxm.qms&apos;,	NULL,	&apos;qms&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;本期增加&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;本期增加&apos;,	&apos;b_fzxm.zj&apos;,	NULL,	&apos;zj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;本期减少&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;本期减少&apos;,	&apos;b_fzxm.js&apos;,	NULL,	&apos;js&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	18,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上年期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上年期初数&apos;,	&apos;b_fzxm.sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上期借方发生额&apos;,	&apos;b_fzxm.sn_jffse&apos;,	NULL,	&apos;sn_jffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上期贷方发生额&apos;,	&apos;b_fzxm.sn_dffse&apos;,	NULL,	&apos;sn_dffse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上期发生额&apos;,	&apos;b_fzxm.sn_fse&apos;,	NULL,	&apos;sn_fse&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	9700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上期增加&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上期增加&apos;,	&apos;b_fzxm.sn_zj&apos;,	NULL,	&apos;sn_zj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10200.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;上期减少&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;上期减少&apos;,	&apos;b_fzxm.sn_js&apos;,	NULL,	&apos;sn_js&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	10700.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;包含科目名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;包含科目名称&apos;,	&apos;b_fzxm.bhkmmc&apos;,	NULL,	&apos;bhkmmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	11200.00,	800.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符1&apos;,	&apos;C1&apos;,	NULL,	&apos;C1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符2&apos;,	&apos;C2&apos;,	NULL,	&apos;C2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	12500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符3&apos;,	&apos;C3&apos;,	NULL,	&apos;C3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符4&apos;,	&apos;C4&apos;,	NULL,	&apos;C4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	13500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符5&apos;,	&apos;C5&apos;,	NULL,	&apos;C5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符6&apos;,	&apos;C6&apos;,	NULL,	&apos;C6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	14500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符7&apos;,	&apos;C7&apos;,	NULL,	&apos;C7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符8&apos;,	&apos;C8&apos;,	NULL,	&apos;C8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	15500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符9&apos;,	&apos;C9&apos;,	NULL,	&apos;C9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符10&apos;,	&apos;C10&apos;,	NULL,	&apos;C10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	16500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符11&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符11&apos;,	&apos;C11&apos;,	NULL,	&apos;C11&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符12&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符12&apos;,	&apos;C12&apos;,	NULL,	&apos;C12&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	17500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符13&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符13&apos;,	&apos;C13&apos;,	NULL,	&apos;C13&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符14&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符14&apos;,	&apos;C14&apos;,	NULL,	&apos;C14&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	18500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符15&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符15&apos;,	&apos;C15&apos;,	NULL,	&apos;C15&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符16&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符16&apos;,	&apos;C16&apos;,	NULL,	&apos;C16&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	19500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符17&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符17&apos;,	&apos;C17&apos;,	NULL,	&apos;C17&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符18&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符18&apos;,	&apos;C18&apos;,	NULL,	&apos;C18&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	20500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符19&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符19&apos;,	&apos;C19&apos;,	NULL,	&apos;C19&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;短字符20&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;短字符20&apos;,	&apos;C20&apos;,	NULL,	&apos;C20&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	21500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符1&apos;,	&apos;C21&apos;,	NULL,	&apos;C21&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符2&apos;,	&apos;C22&apos;,	NULL,	&apos;C22&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	22500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	47,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符3&apos;,	&apos;C23&apos;,	NULL,	&apos;C23&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	48,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符4&apos;,	&apos;C24&apos;,	NULL,	&apos;C24&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	23500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	49,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符5&apos;,	&apos;C25&apos;,	NULL,	&apos;C25&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	50,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符6&apos;,	&apos;C26&apos;,	NULL,	&apos;C26&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	24500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	51,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符7&apos;,	&apos;C27&apos;,	NULL,	&apos;C27&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	52,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符8&apos;,	&apos;C28&apos;,	NULL,	&apos;C28&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	25500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符9&apos;,	&apos;C29&apos;,	NULL,	&apos;C29&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	26000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	54,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;长字符10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;长字符10&apos;,	&apos;C30&apos;,	NULL,	&apos;C30&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	26500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	55,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值1&apos;,	&apos;D1&apos;,	NULL,	&apos;D1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	27000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值2&apos;,	&apos;D2&apos;,	NULL,	&apos;D2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	27500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值3&apos;,	&apos;D3&apos;,	NULL,	&apos;D3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	28000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值4&apos;,	&apos;D4&apos;,	NULL,	&apos;D4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	28500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值5&apos;,	&apos;D5&apos;,	NULL,	&apos;D5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	29000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值6&apos;,	&apos;D6&apos;,	NULL,	&apos;D6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	29500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值7&apos;,	&apos;D7&apos;,	NULL,	&apos;D7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	30000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值8&apos;,	&apos;D8&apos;,	NULL,	&apos;D8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	30500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值9&apos;,	&apos;D9&apos;,	NULL,	&apos;D9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	31000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值10&apos;,	&apos;D10&apos;,	NULL,	&apos;D10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	31500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值11&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值11&apos;,	&apos;D11&apos;,	NULL,	&apos;D11&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	32000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值12&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值12&apos;,	&apos;D12&apos;,	NULL,	&apos;D12&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	32500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值13&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值13&apos;,	&apos;D13&apos;,	NULL,	&apos;D13&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	33000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值14&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值14&apos;,	&apos;D14&apos;,	NULL,	&apos;D14&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	33500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值15&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值15&apos;,	&apos;D15&apos;,	NULL,	&apos;D15&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	34000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值16&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值16&apos;,	&apos;D16&apos;,	NULL,	&apos;D16&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	34500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值17&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值17&apos;,	&apos;D17&apos;,	NULL,	&apos;D17&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	35000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	72,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值18&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值18&apos;,	&apos;D18&apos;,	NULL,	&apos;D18&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	35500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值19&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值19&apos;,	&apos;D19&apos;,	NULL,	&apos;D19&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	36000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值20&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值20&apos;,	&apos;D20&apos;,	NULL,	&apos;D20&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	36500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值21&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值21&apos;,	&apos;D21&apos;,	NULL,	&apos;D21&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	37000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值22&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值22&apos;,	&apos;D22&apos;,	NULL,	&apos;D22&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	37500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值23&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值23&apos;,	&apos;D23&apos;,	NULL,	&apos;D23&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	38000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值24&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值24&apos;,	&apos;D24&apos;,	NULL,	&apos;D24&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	38500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值25&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值25&apos;,	&apos;D25&apos;,	NULL,	&apos;D25&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	39000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值26&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值26&apos;,	&apos;D26&apos;,	NULL,	&apos;D26&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	39500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	81,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值27&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值27&apos;,	&apos;D27&apos;,	NULL,	&apos;D27&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	40000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	82,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值28&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值28&apos;,	&apos;D28&apos;,	NULL,	&apos;D28&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	40500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	83,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值29&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值29&apos;,	&apos;D29&apos;,	NULL,	&apos;D29&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	41000.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	84,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数值30&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数值30&apos;,	&apos;D30&apos;,	NULL,	&apos;D30&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	41500.00,	500.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	85,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;底稿编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;底稿编号&apos;,	&apos;dgxmvsbbxm.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	42000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;附注级次&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;附注级次&apos;,	&apos;fzjc&apos;,	NULL,	&apos;fzjc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	42500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	87,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;是否组&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;是否组&apos;,	&apos;sfz&apos;,	NULL,	&apos;sfz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	43000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	88,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;是否显示&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;是否显示&apos;,	&apos;sfxs&apos;,	NULL,	&apos;sfxs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	43500.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	89,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;数据来源&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;数据来源&apos;,	&apos;sjly&apos;,	NULL,	&apos;sjly&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	44000.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	90,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;计算表达式&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;计算表达式&apos;,	&apos;expression&apos;,	NULL,	&apos;expression&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	44500.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	91,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;合并唯一码&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;合并唯一码&apos;,	&apos;hbcode&apos;,	NULL,	&apos;hbcode&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	45500.00,	1000.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	92,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0009&apos; and col_cname = &apos;组是否自动对应&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0009&apos;,	&apos;组是否自动对应&apos;,	&apos;ifzddy&apos;,	NULL,	&apos;ifzddy&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	46500.00,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	93,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;分类&apos;,	&apos;lx&apos;,	NULL,	&apos;lx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;控制名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;控制名称&apos;,	&apos;kzmc&apos;,	NULL,	&apos;kzmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;控制描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;控制描述&apos;,	&apos;kzsm&apos;,	NULL,	&apos;kzsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;是否为反舞弊控制&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;是否为反舞弊控制&apos;,	&apos;fwbkz&apos;,	NULL,	&apos;fwbkz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;内部控制的性质&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;内部控制的性质&apos;,	&apos;nbkzxz&apos;,	NULL,	&apos;nbkzxz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;内部控制的频率&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;内部控制的频率&apos;,	&apos;nbkzpl&apos;,	NULL,	&apos;nbkzpl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;执行内部控制的人员的知识、经验和技能&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;执行内部控制的人员的知识、经验和技能&apos;,	&apos;nbkzrjz&apos;,	NULL,	&apos;nbkzrjz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;与控制相关的风险&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;与控制相关的风险&apos;,	&apos;nbkzfx&apos;,	NULL,	&apos;nbkzfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;审计程序&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;审计程序&apos;,	&apos;sjcx&apos;,	NULL,	&apos;sjcx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;工作底稿索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;工作底稿索引号&apos;,	&apos;dgsyh&apos;,	NULL,	&apos;dgsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;设计的有效性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;设计的有效性&apos;,	&apos;sjyxx&apos;,	NULL,	&apos;sjyxx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2200,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;评价控制设计过程中是否已运行有效性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;评价控制设计过程中是否已运行有效性&apos;,	&apos;sjyxxpj&apos;,	NULL,	&apos;sjyxxpj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2400,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;实施的审计程序&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;实施的审计程序&apos;,	&apos;sssjcx&apos;,	NULL,	&apos;sssjcx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2600,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;样本量&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;样本量&apos;,	&apos;ybl&apos;,	NULL,	&apos;ybl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;样本量相关说明（如适用）&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;样本量相关说明（如适用）&apos;,	&apos;yblsm&apos;,	NULL,	&apos;yblsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3000,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;是否执行前推程序&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;是否执行前推程序&apos;,	&apos;zxqtcx&apos;,	NULL,	&apos;zxqtcx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;前推程序&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;前推程序&apos;,	&apos;qtcx&apos;,	NULL,	&apos;qtcx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3300,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;前推程序样本量&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;前推程序样本量&apos;,	&apos;qtcxybl&apos;,	NULL,	&apos;qtcxybl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;前推程序工作底稿索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;前推程序工作底稿索引号&apos;,	&apos;qtcxdgsyh&apos;,	NULL,	&apos;qtcxdgsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3600,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;运行的有效性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;运行的有效性&apos;,	&apos;yyyxx&apos;,	NULL,	&apos;yyyxx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3800,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列01&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列01&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4000,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列02&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列02&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4200,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列03&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列03&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4400,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列04&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列04&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4600,	200.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列05&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列05&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列06&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列06&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列07&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列07&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	29,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列08&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列08&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	30,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列09&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列09&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	31,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	32,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列11&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列11&apos;,	&apos;c11&apos;,	NULL,	&apos;c11&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列12&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列12&apos;,	&apos;c12&apos;,	NULL,	&apos;c12&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	34,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列13&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列13&apos;,	&apos;c13&apos;,	NULL,	&apos;c13&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	35,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列14&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列14&apos;,	&apos;c14&apos;,	NULL,	&apos;c14&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	36,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列15&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列15&apos;,	&apos;c15&apos;,	NULL,	&apos;c15&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	37,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列16&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列16&apos;,	&apos;c16&apos;,	NULL,	&apos;c16&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	38,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列17&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列17&apos;,	&apos;c17&apos;,	NULL,	&apos;c17&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	39,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列18&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列18&apos;,	&apos;c18&apos;,	NULL,	&apos;c18&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	40,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列19&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列19&apos;,	&apos;c19&apos;,	NULL,	&apos;c19&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	41,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列20&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列20&apos;,	&apos;c20&apos;,	NULL,	&apos;c20&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	42,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列21&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列21&apos;,	&apos;c21&apos;,	NULL,	&apos;c21&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列22&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列22&apos;,	&apos;c22&apos;,	NULL,	&apos;c22&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	44,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列23&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列23&apos;,	&apos;c23&apos;,	NULL,	&apos;c23&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	45,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列24&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列24&apos;,	&apos;c24&apos;,	NULL,	&apos;c24&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	46,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0010&apos; and col_cname = &apos;字符列25&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0010&apos;,	&apos;字符列25&apos;,	&apos;c25&apos;,	NULL,	&apos;c25&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	47,	&apos;char&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>330</no><make_date>2012-08-21 19:59:24.556000</make_date><note>设置数据列信息2</note><sql>delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;循环分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;循环分类&apos;,	&apos;xhfl&apos;,	NULL,	&apos;xhfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;控制(测试)编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;控制(测试)编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;控制名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;控制名称&apos;,	&apos;kzmc&apos;,	NULL,	&apos;kzmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;控制目标&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;控制目标&apos;,	&apos;kzmb&apos;,	NULL,	&apos;kzmb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;控制描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;控制描述&apos;,	&apos;kzms&apos;,	NULL,	&apos;kzms&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;控制频率&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;控制频率&apos;,	&apos;kzpl&apos;,	NULL,	&apos;kzpl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;人工/自动&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;人工/自动&apos;,	&apos;ifauto&apos;,	NULL,	&apos;ifauto&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;预防性/检查性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;预防性/检查性&apos;,	&apos;ifcheck&apos;,	NULL,	&apos;ifcheck&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;账户&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;账户&apos;,	&apos;account&apos;,	NULL,	&apos;account&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;与控制相关的风险&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;与控制相关的风险&apos;,	&apos;kzfx&apos;,	NULL,	&apos;kzfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定1&apos;,	&apos;crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定2&apos;,	&apos;crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定3&apos;,	&apos;crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定4&apos;,	&apos;crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定5&apos;,	&apos;crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定6&apos;,	&apos;crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定7&apos;,	&apos;crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定8&apos;,	&apos;crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定9&apos;,	&apos;crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;财务报表认定10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;财务报表认定10&apos;,	&apos;crbbrd10&apos;,	NULL,	&apos;crbbrd10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;是否关键控制&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;是否关键控制&apos;,	&apos;gjkz&apos;,	NULL,	&apos;gjkz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;判断是否为关键控制的理由&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;判断是否为关键控制的理由&apos;,	&apos;gjkzsm&apos;,	NULL,	&apos;gjkzsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;测试性质&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;测试性质&apos;,	&apos;csxz&apos;,	NULL,	&apos;csxz&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;测试时间安排&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;测试时间安排&apos;,	&apos;cssj&apos;,	NULL,	&apos;cssj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0011&apos; and col_cname = &apos;测试范围&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0011&apos;,	&apos;测试范围&apos;,	&apos;csfw&apos;,	NULL,	&apos;csfw&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;排序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;排序号&apos;,	&apos;pxh&apos;,	NULL,	&apos;pxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;风险类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;风险类型&apos;,	&apos;case fxlx when &apos;&apos;0&apos;&apos; then &apos;&apos;重大错报风险&apos;&apos; when &apos;&apos;1&apos;&apos; then &apos;&apos;内控缺陷&apos;&apos; when &apos;&apos;2&apos;&apos; then &apos;&apos;重大事项&apos;&apos; else &apos;&apos;&apos;&apos; end&apos;,	NULL,	&apos;fxlx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;风险编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;风险编号&apos;,	&apos;fxbh&apos;,	NULL,	&apos;fxbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;文件内部编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;文件内部编号&apos;,	&apos;wjnbbh&apos;,	NULL,	&apos;wjnbbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;文件索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;文件索引号&apos;,	&apos;wjsyh&apos;,	NULL,	&apos;wjsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;填写时间&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;填写时间&apos;,	&apos;txsj&apos;,	NULL,	&apos;txsj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;填写人&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;填写人&apos;,	&apos;txr&apos;,	NULL,	&apos;txr&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;风险内容描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;风险内容描述&apos;,	&apos;description&apos;,	NULL,	&apos;description&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;类别&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;类别&apos;,	&apos;fxlb&apos;,	NULL,	&apos;fxlb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;层次分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;层次分类&apos;,	&apos;cclb&apos;,	NULL,	&apos;cclb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;是否属于特别风险&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;是否属于特别风险&apos;,	&apos;istbfx&apos;,	NULL,	&apos;istbfx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;是否仅通过实质性程序无法应对的风险&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;是否仅通过实质性程序无法应对的风险&apos;,	&apos;isszxcs&apos;,	NULL,	&apos;isszxcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;财务报表项目&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;财务报表项目&apos;,	&apos;cwbbxm&apos;,	NULL,	&apos;cwbbxm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;受影响的交易类别、账户余额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;受影响的交易类别、账户余额&apos;,	&apos;jylbye&apos;,	NULL,	&apos;jylbye&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;列报认定&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;列报认定&apos;,	&apos;lbrd&apos;,	NULL,	&apos;lbrd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;总体应对措施&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;总体应对措施&apos;,	&apos;ztydcs&apos;,	NULL,	&apos;ztydcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;向被审计单位报告的事项&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;向被审计单位报告的事项&apos;,	&apos;bsjdwbb&apos;,	NULL,	&apos;bsjdwbb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;特别风险项目&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;特别风险项目&apos;,	&apos;tbfxxm&apos;,	NULL,	&apos;tbfxxm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;是否由舞弊导致,底稿索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;是否由舞弊导致,底稿索引号&apos;,	&apos;wbdgsyh&apos;,	NULL,	&apos;wbdgsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;管理层应对或控制措施&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;管理层应对或控制措施&apos;,	&apos;glcydcs&apos;,	NULL,	&apos;glcydcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;审计措施&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;审计措施&apos;,	&apos;sjcs&apos;,	NULL,	&apos;sjcs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;备注&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;备注&apos;,	&apos;sm&apos;,	NULL,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	22,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;状态&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;状态&apos;,	&apos;state&apos;,	NULL,	&apos;state&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	23,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;other1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	24,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;other2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	25,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;other3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	26,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;other4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;other4&apos;,	&apos;other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	27,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0012&apos; and col_cname = &apos;文件表页名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0012&apos;,	&apos;文件表页名称&apos;,	&apos;wjsheet&apos;,	NULL,	&apos;wjsheet&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	28,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;排序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;排序号&apos;,	&apos;b_misstatement_collects.pxh&apos;,	NULL,	&apos;pxh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;对应风险编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;对应风险编号&apos;,	&apos;b_risk_collects.fxbh&apos;,	NULL,	&apos;fxbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;对应风险描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;对应风险描述&apos;,	&apos;b_risk_collects.description&apos;,	NULL,	&apos;description&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;文件内部编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;文件内部编号&apos;,	&apos;b_misstatement_collects.wjnbbh&apos;,	NULL,	&apos;wjnbbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;文件索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;文件索引号&apos;,	&apos;b_misstatement_collects.wjsyh&apos;,	NULL,	&apos;wjsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;错报编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;错报编号&apos;,	&apos;b_misstatement_collects.cbbh&apos;,	NULL,	&apos;cbbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;导致错报的具体原因&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;导致错报的具体原因&apos;,	&apos;b_misstatement_collects.dzcbyy&apos;,	NULL,	&apos;dzcbyy&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;是否为内部控制缺陷&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;是否为内部控制缺陷&apos;,	&apos;b_misstatement_collects.isnbkzqx&apos;,	NULL,	&apos;isnbkzqx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;是否为值得关注的内部控制缺陷&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;是否为值得关注的内部控制缺陷&apos;,	&apos;b_misstatement_collects.isgznbkzqx&apos;,	NULL,	&apos;isgznbkzqx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;对缺陷的描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;对缺陷的描述&apos;,	&apos;b_misstatement_collects.qxsm&apos;,	NULL,	&apos;qxsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;潜在影响&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;潜在影响&apos;,	&apos;b_misstatement_collects.qxqzyx&apos;,	NULL,	&apos;qxqzyx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;备注&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;备注&apos;,	&apos;b_misstatement_collects.sm&apos;,	NULL,	&apos;sm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;状态&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;状态&apos;,	&apos;b_misstatement_collects.state&apos;,	NULL,	&apos;state&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;other1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;other1&apos;,	&apos;b_misstatement_collects.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;other2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;other2&apos;,	&apos;b_misstatement_collects.other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;other3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;other3&apos;,	&apos;b_misstatement_collects.other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;other4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;other4&apos;,	&apos;b_misstatement_collects.other4&apos;,	NULL,	&apos;other4&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;文件表页名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;文件表页名称&apos;,	&apos;b_misstatement_collects.wjsheet&apos;,	NULL,	&apos;wjsheet&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0013&apos; and col_cname = &apos;错报舞弊分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0013&apos;,	&apos;错报舞弊分类&apos;,	&apos;b_misstatement_collects.cbwbfl&apos;,	NULL,	&apos;cbwbfl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1900,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;会计年&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;会计年&apos;,	&apos;kjyear&apos;,	NULL,	&apos;kjyear&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	1,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;会计月&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;会计月&apos;,	&apos;kjmonth&apos;,	NULL,	&apos;kjmonth&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;凭证编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;凭证编号&apos;,	&apos;pzbh&apos;,	NULL,	&apos;pzbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;凭证种类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;凭证种类&apos;,	&apos;pzzl&apos;,	NULL,	&apos;pzzl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;分录编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;分录编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	400.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;附件编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;附件编号&apos;,	&apos;filecode&apos;,	NULL,	&apos;filecode&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	6,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;附件名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;附件名称&apos;,	&apos;filename&apos;,	NULL,	&apos;filename&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2200.00,	800.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	7,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;附件级次&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;附件级次&apos;,	&apos;filejc&apos;,	NULL,	&apos;filejc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3000.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	8,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;是否明细&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;是否明细&apos;,	&apos;sfmx&apos;,	NULL,	&apos;sfmx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3200.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;附件类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;附件类型&apos;,	&apos;filelx&apos;,	NULL,	&apos;filelx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3400.00,	500.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;排序列&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;排序列&apos;,	&apos;pxh&apos;,	NULL,	&apos;pxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	3900.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	11,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性1&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4100.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性2&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	4700.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性3&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5300.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性4&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	5900.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性5&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	6500.00,	600.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性6&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7100.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性7&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7300.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性8&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7500.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性9&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7700.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	20,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;属性10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;属性10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	7900.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	21,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;C5008&apos; and col_cname = &apos;行号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;C5008&apos;,	&apos;行号&apos;,	&apos;hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	8100.00,	200.00,	&apos;[General]&apos;,	&apos;1&apos;,	NULL,	22,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;1月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;1月期初数&apos;,	&apos;qcs1&apos;,	NULL,	&apos;qcs1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	66600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;1月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;1月借方发生额&apos;,	&apos;fse_j1&apos;,	NULL,	&apos;fse_j1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	66800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;1月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;1月贷方发生额&apos;,	&apos;fse_d1&apos;,	NULL,	&apos;fse_d1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;1月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;1月期末数&apos;,	&apos;qms1&apos;,	NULL,	&apos;qms1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	107,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;2月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;2月期初数&apos;,	&apos;qcs2&apos;,	NULL,	&apos;qcs2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	108,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;2月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;2月借方发生额&apos;,	&apos;fse_j2&apos;,	NULL,	&apos;fse_j2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	109,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;2月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;2月贷方发生额&apos;,	&apos;fse_d2&apos;,	NULL,	&apos;fse_d2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	110,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;2月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;2月期末数&apos;,	&apos;qms2&apos;,	NULL,	&apos;qms2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	111,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;3月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;3月期初数&apos;,	&apos;qcs3&apos;,	NULL,	&apos;qcs3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	112,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;3月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;3月借方发生额&apos;,	&apos;fse_j3&apos;,	NULL,	&apos;fse_j3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	113,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;3月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;3月贷方发生额&apos;,	&apos;fse_d3&apos;,	NULL,	&apos;fse_d3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	114,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;3月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;3月期末数&apos;,	&apos;qms3&apos;,	NULL,	&apos;qms3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	115,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;4月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;4月期初数&apos;,	&apos;qcs4&apos;,	NULL,	&apos;qcs4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	116,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;4月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;4月借方发生额&apos;,	&apos;fse_j4&apos;,	NULL,	&apos;fse_j4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	117,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;4月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;4月贷方发生额&apos;,	&apos;fse_d4&apos;,	NULL,	&apos;fse_d4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	118,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;4月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;4月期末数&apos;,	&apos;qms4&apos;,	NULL,	&apos;qms4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	119,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;5月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;5月期初数&apos;,	&apos;qcs5&apos;,	NULL,	&apos;qcs5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	120,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;5月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;5月借方发生额&apos;,	&apos;fse_j5&apos;,	NULL,	&apos;fse_j5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	121,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;5月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;5月贷方发生额&apos;,	&apos;fse_d5&apos;,	NULL,	&apos;fse_d5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	122,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;5月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;5月期末数&apos;,	&apos;qms5&apos;,	NULL,	&apos;qms5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	123,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;6月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;6月期初数&apos;,	&apos;qcs6&apos;,	NULL,	&apos;qcs6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	124,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;6月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;6月借方发生额&apos;,	&apos;fse_j6&apos;,	NULL,	&apos;fse_j6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	125,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;6月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;6月贷方发生额&apos;,	&apos;fse_d6&apos;,	NULL,	&apos;fse_d6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	126,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;6月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;6月期末数&apos;,	&apos;qms6&apos;,	NULL,	&apos;qms6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	127,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;7月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;7月期初数&apos;,	&apos;qcs7&apos;,	NULL,	&apos;qcs7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	128,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;7月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;7月借方发生额&apos;,	&apos;fse_j7&apos;,	NULL,	&apos;fse_j7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	129,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;7月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;7月贷方发生额&apos;,	&apos;fse_d7&apos;,	NULL,	&apos;fse_d7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	130,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;7月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;7月期末数&apos;,	&apos;qms7&apos;,	NULL,	&apos;qms7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	72000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	131,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;8月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;8月期初数&apos;,	&apos;qcs8&apos;,	NULL,	&apos;qcs8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	72200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	132,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;8月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;8月借方发生额&apos;,	&apos;fse_j8&apos;,	NULL,	&apos;fse_j8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	72400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	133,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;8月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;8月贷方发生额&apos;,	&apos;fse_d8&apos;,	NULL,	&apos;fse_d8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	72600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	134,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;8月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;8月期末数&apos;,	&apos;qms8&apos;,	NULL,	&apos;qms8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	72800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	135,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;9月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;9月期初数&apos;,	&apos;qcs9&apos;,	NULL,	&apos;qcs9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	73000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	136,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;9月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;9月借方发生额&apos;,	&apos;fse_j9&apos;,	NULL,	&apos;fse_j9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	73200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	137,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;9月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;9月贷方发生额&apos;,	&apos;fse_d9&apos;,	NULL,	&apos;fse_d9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	73400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	138,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;9月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;9月期末数&apos;,	&apos;qms9&apos;,	NULL,	&apos;qms9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	73600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	139,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;10月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;10月期初数&apos;,	&apos;qcs10&apos;,	NULL,	&apos;qcs10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	73800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	140,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;10月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;10月借方发生额&apos;,	&apos;fse_j10&apos;,	NULL,	&apos;fse_j10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	74000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	141,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;10月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;10月贷方发生额&apos;,	&apos;fse_d10&apos;,	NULL,	&apos;fse_d10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	74200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	142,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;10月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;10月期末数&apos;,	&apos;qms10&apos;,	NULL,	&apos;qms10&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	74400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	143,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;11月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;11月期初数&apos;,	&apos;qcs11&apos;,	NULL,	&apos;qcs11&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	74600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	144,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;11月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;11月借方发生额&apos;,	&apos;fse_j11&apos;,	NULL,	&apos;fse_j11&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	74800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	145,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;11月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;11月贷方发生额&apos;,	&apos;fse_d11&apos;,	NULL,	&apos;fse_d11&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	75000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	146,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;11月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;11月期末数&apos;,	&apos;qms11&apos;,	NULL,	&apos;qms11&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	75200.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	147,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;12月期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;12月期初数&apos;,	&apos;qcs12&apos;,	NULL,	&apos;qcs12&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	75400.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	148,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;12月借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;12月借方发生额&apos;,	&apos;fse_j12&apos;,	NULL,	&apos;fse_j12&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	75600.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	149,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;12月贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;12月贷方发生额&apos;,	&apos;fse_d12&apos;,	NULL,	&apos;fse_d12&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	75800.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	150,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;B0001&apos; and col_cname = &apos;12月期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0001&apos;,	&apos;12月期末数&apos;,	&apos;qms12&apos;,	NULL,	&apos;qms12&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	76000.00,	200.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	151,	&apos;decimal&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>340</no><make_date>2012-08-21 20:00:51.509000</make_date><note>设置数据列信息3</note><sql>delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	&apos;fzjc&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	&apos;fzjc&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	&apos;fzjc&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	&apos;sfz&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;dgbh&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0009&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0009&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0010&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0010&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0011&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0011&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0012&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0012&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;B0013&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0013&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>360</no><make_date>2012-08-31 11:41:25.015000</make_date><note>设置数据列信息4</note><sql>delete from  datatable_definfo where t_id = &apos;Y1023&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;Y1023&apos;,	&apos;抽取样本表&apos;,	&apos;t_samples&apos;,	NULL,	&apos;t_samples&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	72,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;Y1024&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;Y1024&apos;,	&apos;细节抽样分层表&apos;,	&apos;t_samples_layered&apos;,	NULL,	&apos;t_samples_layered&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	73,	NULL,	NULL);
delete from  datatable_definfo where t_id = &apos;Y1025&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;Y1025&apos;,	&apos;抽样轨迹表&apos;,	&apos;t_samples_track&apos;,	NULL,	&apos;t_samples_track&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	74,	NULL,	NULL);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;批次号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;批次号&apos;,	&apos;pch&apos;,	NULL,	&apos;pch&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;区分控制细节&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;区分控制细节&apos;,	&apos;iskzxj&apos;,	NULL,	&apos;iskzxj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;样本日期&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;样本日期&apos;,	&apos;ybdate&apos;,	NULL,	&apos;ybdate&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;凭证或相关文件编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;凭证或相关文件编号&apos;,	&apos;bh&apos;,	NULL,	&apos;bh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;金额&apos;,	&apos;je&apos;,	NULL,	&apos;je&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;有无问题&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;有无问题&apos;,	&apos;isdev&apos;,	NULL,	&apos;isdev&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;问题描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;问题描述&apos;,	&apos;devsm&apos;,	NULL,	&apos;devsm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;产生原因&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;产生原因&apos;,	&apos;devreason&apos;,	NULL,	&apos;devreason&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;样本索引号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;样本索引号&apos;,	&apos;ybsyh&apos;,	NULL,	&apos;ybsyh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;细节样本分层&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;细节样本分层&apos;,	&apos;ybfc&apos;,	NULL,	&apos;ybfc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符1&apos;,	&apos;c01&apos;,	NULL,	&apos;c01&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符2&apos;,	&apos;c02&apos;,	NULL,	&apos;c02&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符3&apos;,	&apos;c03&apos;,	NULL,	&apos;c03&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	14,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符4&apos;,	&apos;c04&apos;,	NULL,	&apos;c04&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符5&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符5&apos;,	&apos;c05&apos;,	NULL,	&apos;c05&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符6&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符6&apos;,	&apos;c06&apos;,	NULL,	&apos;c06&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符7&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符7&apos;,	&apos;c07&apos;,	NULL,	&apos;c07&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符8&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符8&apos;,	&apos;c08&apos;,	NULL,	&apos;c08&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	19,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符9&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符9&apos;,	&apos;c09&apos;,	NULL,	&apos;c09&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	20,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1023&apos; and col_cname = &apos;字符10&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1023&apos;,	&apos;字符10&apos;,	&apos;c10&apos;,	NULL,	&apos;c10&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2000.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	21,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;批次号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;批次号&apos;,	&apos;pch&apos;,	NULL,	&apos;pch&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;序号&apos;,	&apos;xh&apos;,	NULL,	&apos;xh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;项目分类代码&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;项目分类代码&apos;,	&apos;xmflbh&apos;,	NULL,	&apos;xmflbh&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;项目分类描述&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;项目分类描述&apos;,	&apos;xmflmc&apos;,	NULL,	&apos;xmflmc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;起始金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;起始金额&apos;,	&apos;qsje&apos;,	NULL,	&apos;qsje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	5,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;截止金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;截止金额&apos;,	&apos;jzje&apos;,	NULL,	&apos;jzje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	6,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层总体金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层总体金额&apos;,	&apos;ztje&apos;,	NULL,	&apos;ztje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	7,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层总体数量&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层总体数量&apos;,	&apos;ztsl&apos;,	NULL,	&apos;ztsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层样本金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层样本金额&apos;,	&apos;ybje&apos;,	NULL,	&apos;ybje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层样本数量&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层样本数量&apos;,	&apos;ybsl&apos;,	NULL,	&apos;ybsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层样本错报金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层样本错报金额&apos;,	&apos;cbje&apos;,	NULL,	&apos;cbje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;层样本错报数量&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;层样本错报数量&apos;,	&apos;cbsl&apos;,	NULL,	&apos;cbsl&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	12,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;定义总体与抽样单元标记&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;定义总体与抽样单元标记&apos;,	&apos;flag&apos;,	NULL,	&apos;flag&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	13,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;other1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;other2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	15,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1024&apos; and col_cname = &apos;other3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1024&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;批次号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;批次号&apos;,	&apos;pch&apos;,	NULL,	&apos;pch&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;区分控制细节&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;区分控制细节&apos;,	&apos;iskzxj&apos;,	NULL,	&apos;iskzxj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	100.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;样本总体数据来源&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;样本总体数据来源&apos;,	&apos;ybztlylx&apos;,	NULL,	&apos;ybztlylx&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	200.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;细节测试分层&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;细节测试分层&apos;,	&apos;xjfc&apos;,	NULL,	&apos;xjfc&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	300.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;实际总体规模&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;实际总体规模&apos;,	&apos;sjztgm&apos;,	NULL,	&apos;sjztgm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	400.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;预估总体规模&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;预估总体规模&apos;,	&apos;ygztgm&apos;,	NULL,	&apos;ygztgm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;样本规模&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;样本规模&apos;,	&apos;ybgm&apos;,	NULL,	&apos;ybgm&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;选取方法&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;选取方法&apos;,	&apos;xqway&apos;,	NULL,	&apos;xqway&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	700.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;选取时间&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;选取时间&apos;,	&apos;xqdate&apos;,	NULL,	&apos;xqdate&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	800.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	9,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;系统抽样选样区间&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;系统抽样选样区间&apos;,	&apos;xtxqqj&apos;,	NULL,	&apos;xtxqqj&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	900.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	10,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;系统抽样随机起点值&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;系统抽样随机起点值&apos;,	&apos;xtxqqd&apos;,	NULL,	&apos;xtxqqd&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1000.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	11,	&apos;integer&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;细节抽样总体账面金额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;细节抽样总体账面金额&apos;,	&apos;xjztje&apos;,	NULL,	&apos;xjztje&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1100.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;细节抽样可容忍错报&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;细节抽样可容忍错报&apos;,	&apos;xjrrcb&apos;,	NULL,	&apos;xjrrcb&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1200.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;细节保证系数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;细节保证系数&apos;,	&apos;xjbzxs&apos;,	NULL,	&apos;xjbzxs&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1300.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;other1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;other1&apos;,	&apos;other1&apos;,	NULL,	&apos;other1&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1400.00,	100.00,	&apos;##,###,###,###,##0;-##,###,###,###,##0;0;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;other2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;other2&apos;,	&apos;other2&apos;,	NULL,	&apos;other2&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1500.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	16,	&apos;char&apos;);
delete from datatable_defcolinfo where t_id = &apos;Y1025&apos; and col_cname = &apos;other3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;Y1025&apos;,	&apos;other3&apos;,	&apos;other3&apos;,	NULL,	&apos;other3&apos;,	&apos;1&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1600.00,	100.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	17,	&apos;char&apos;);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1023&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1023&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1024&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1024&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
delete from datatable_fun where t_id = &apos;Y1025&apos; and fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;Y1025&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;5.0底稿只有一套 报表有多套&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>370</no><make_date>2012-09-07 11:14:05.609000</make_date><note>设置数据列信息5</note><sql>DELETE FROM datatable_definfo WHERE t_id = &apos;B0014&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;B0014&apos;,	&apos;报表底稿风险导向&apos;,	&apos;b_bbxm b left outer join dgxmvsbbxm v on b.dwid = v.dwid and b.ndid = v.ndid and b.bbbh = v.bbbh left outer join b_dgxm d on d.dwid = v.dwid and d.ndid = v.ndid and d.dgbh = v.dgbh left outer join b_dgxm_fxdx f on d.dwid = f.dwid and d.ndid = f.ndid and d.dgbh = f.dgbh&apos;,	&apos;&apos;,	&apos;-&apos;,	&apos;b.bbbh+f.xh&apos;,	&apos;b.dwid&apos;,	&apos;b.ndid&apos;,	&apos;&apos;,	NULL,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	45,	NULL,	NULL);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;项目id&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;项目id&apos;,	&apos;b.id&apos;,	NULL,	&apos;id&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	1,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;登录状态&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;登录状态&apos;,	&apos;b.dlzt&apos;,	NULL,	&apos;dlzt&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	2,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;行号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;行号&apos;,	&apos;b.hh&apos;,	NULL,	&apos;hh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	3,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;报表编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;报表编号&apos;,	&apos;b.bbbh&apos;,	NULL,	&apos;bbbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	174.00,	430.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	4,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;项目名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;项目名称&apos;,	&apos;b.xmmc&apos;,	NULL,	&apos;xmmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	613.00,	741.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	5,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;显示名称&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;显示名称&apos;,	&apos;b.xsmc&apos;,	NULL,	&apos;xsmc&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	1362.00,	773.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	6,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;借贷方向&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;借贷方向&apos;,	&apos;b.jdfx&apos;,	NULL,	&apos;jdfx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;1&apos;,	2144.00,	224.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	7,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面上期数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面上期数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;01&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	8,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面上期期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面上期期初数&apos;,	&apos;b.zm_sn_qcs&apos;,	NULL,	&apos;zm_sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0101&apos;,	&apos;1&apos;,	&apos;1&apos;,	2377.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	9,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面上期借方发生额&apos;,	&apos;b.zm_sn_fse_j&apos;,	NULL,	&apos;zm_sn_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0102&apos;,	&apos;1&apos;,	&apos;1&apos;,	2889.00,	686.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	10,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面上期贷方发生额&apos;,	&apos;b.zm_sn_fse_d&apos;,	NULL,	&apos;zm_sn_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0103&apos;,	&apos;1&apos;,	&apos;1&apos;,	3584.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	11,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面上期发生额&apos;,	&apos;b.zm_sn_fse&apos;,	NULL,	&apos;zm_sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0104&apos;,	&apos;1&apos;,	&apos;1&apos;,	4169.00,	494.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	12,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面期初数&apos;,	&apos;b.zm_qcs&apos;,	NULL,	&apos;zm_qcs&apos;,	&apos;0&apos;,	2,	&apos;0105&apos;,	&apos;1&apos;,	&apos;1&apos;,	4672.00,	475.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	13,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面借方发生额&apos;,	&apos;b.zm_fse_j&apos;,	NULL,	&apos;zm_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0106&apos;,	&apos;1&apos;,	&apos;1&apos;,	5157.00,	457.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	14,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面贷方发生额&apos;,	&apos;b.zm_fse_d&apos;,	NULL,	&apos;zm_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0107&apos;,	&apos;1&apos;,	&apos;1&apos;,	5623.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	15,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面发生额&apos;,	&apos;b.zm_fse&apos;,	NULL,	&apos;zm_fse&apos;,	&apos;0&apos;,	2,	&apos;0108&apos;,	&apos;1&apos;,	&apos;1&apos;,	6034.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	16,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账面期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账面期末数&apos;,	&apos;b.zm_qms&apos;,	NULL,	&apos;zm_qms&apos;,	&apos;0&apos;,	2,	&apos;0109&apos;,	&apos;1&apos;,	&apos;1&apos;,	6446.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	17,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;02&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	18,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期初调整借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期初调整借方&apos;,	&apos;b.yqc_cfl_j&apos;,	NULL,	&apos;yqc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0201&apos;,	&apos;1&apos;,	&apos;1&apos;,	6857.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	19,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期初调整贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期初调整贷方&apos;,	&apos;b.yqc_cfl_d&apos;,	NULL,	&apos;yqc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0202&apos;,	&apos;1&apos;,	&apos;1&apos;,	7488.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	20,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期初调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期初调整数&apos;,	&apos;b.yqc_cfl_tzs&apos;,	NULL,	&apos;yqc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0203&apos;,	&apos;1&apos;,	&apos;1&apos;,	8151.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	21,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期末调整借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期末调整借方&apos;,	&apos;b.yqm_cfl_j&apos;,	NULL,	&apos;yqm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0204&apos;,	&apos;1&apos;,	&apos;1&apos;,	8809.00,	631.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	22,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期末调整贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期末调整贷方&apos;,	&apos;b.yqm_cfl_d&apos;,	NULL,	&apos;yqm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0205&apos;,	&apos;1&apos;,	&apos;1&apos;,	9449.00,	681.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	23,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异期末调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异期末调整数&apos;,	&apos;b.yqm_cfl_tzs&apos;,	NULL,	&apos;yqm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0206&apos;,	&apos;1&apos;,	&apos;1&apos;,	10139.00,	544.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	24,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后上期借方发生额&apos;,	&apos;b.ysn_ws_fse_j&apos;,	NULL,	&apos;ysn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0207&apos;,	&apos;1&apos;,	&apos;1&apos;,	10693.00,	891.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	25,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后上期贷方发生额&apos;,	&apos;b.ysn_ws_fse_d&apos;,	NULL,	&apos;ysn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0208&apos;,	&apos;1&apos;,	&apos;1&apos;,	11593.00,	823.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	26,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后上期发生额&apos;,	&apos;b.ysn_ws_fse&apos;,	NULL,	&apos;ysn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0209&apos;,	&apos;1&apos;,	&apos;1&apos;,	12425.00,	773.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	27,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后期初数&apos;,	&apos;b.yws_qcs&apos;,	NULL,	&apos;yws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0210&apos;,	&apos;1&apos;,	&apos;1&apos;,	13207.00,	640.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	28,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后借方发生额&apos;,	&apos;b.yws_fse_j&apos;,	NULL,	&apos;yws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0211&apos;,	&apos;1&apos;,	&apos;1&apos;,	13856.00,	878.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	29,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后贷方发生额&apos;,	&apos;b.yws_fse_d&apos;,	NULL,	&apos;yws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0212&apos;,	&apos;1&apos;,	&apos;1&apos;,	14743.00,	750.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	30,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后发生额&apos;,	&apos;b.yws_fse&apos;,	NULL,	&apos;yws_fse&apos;,	&apos;0&apos;,	2,	&apos;0213&apos;,	&apos;1&apos;,	&apos;1&apos;,	15502.00,	658.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	31,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异调整后期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异调整后期末数&apos;,	&apos;b.yws_qms&apos;,	NULL,	&apos;yws_qms&apos;,	&apos;0&apos;,	2,	&apos;0214&apos;,	&apos;1&apos;,	&apos;1&apos;,	16169.00,	626.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	32,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;03&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	33,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表上期期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表上期期初数&apos;,	&apos;b.bb_sn_qcs&apos;,	NULL,	&apos;bb_sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0301&apos;,	&apos;1&apos;,	&apos;1&apos;,	16805.00,	654.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	34,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表上期借方发生额&apos;,	&apos;b.bb_sn_fse_j&apos;,	NULL,	&apos;bb_sn_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0302&apos;,	&apos;1&apos;,	&apos;1&apos;,	17467.00,	635.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	35,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表上期贷方发生额&apos;,	&apos;b.bb_sn_fse_d&apos;,	NULL,	&apos;bb_sn_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0303&apos;,	&apos;1&apos;,	&apos;1&apos;,	18112.00,	663.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	36,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表上期发生额&apos;,	&apos;b.bb_sn_fse&apos;,	NULL,	&apos;bb_sn_fse&apos;,	&apos;0&apos;,	2,	&apos;0304&apos;,	&apos;1&apos;,	&apos;1&apos;,	18784.00,	617.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	37,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表期初数&apos;,	&apos;b.bb_qcs&apos;,	NULL,	&apos;bb_qcs&apos;,	&apos;0&apos;,	2,	&apos;0305&apos;,	&apos;1&apos;,	&apos;1&apos;,	19410.00,	503.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	38,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表借方发生额&apos;,	&apos;b.bb_fse_j&apos;,	NULL,	&apos;bb_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0306&apos;,	&apos;1&apos;,	&apos;1&apos;,	19922.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	39,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表贷方发生额&apos;,	&apos;b.bb_fse_d&apos;,	NULL,	&apos;bb_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0307&apos;,	&apos;1&apos;,	&apos;1&apos;,	20494.00,	599.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	40,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表发生额&apos;,	&apos;b.bb_fse&apos;,	NULL,	&apos;bb_fse&apos;,	&apos;0&apos;,	2,	&apos;0308&apos;,	&apos;1&apos;,	&apos;1&apos;,	21102.00,	594.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	41,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;企业报表期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;企业报表期末数&apos;,	&apos;b.bb_qms&apos;,	NULL,	&apos;bb_qms&apos;,	&apos;0&apos;,	2,	&apos;0309&apos;,	&apos;1&apos;,	&apos;1&apos;,	21705.00,	530.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	42,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;04&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	43,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;上年期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;上年期初数&apos;,	&apos;b.sn_qcs&apos;,	NULL,	&apos;sn_qcs&apos;,	&apos;0&apos;,	2,	&apos;0401&apos;,	&apos;1&apos;,	&apos;1&apos;,	22245.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	44,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审上期借方发生额&apos;,	&apos;b.sn_ws_fse_j&apos;,	NULL,	&apos;sn_ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0402&apos;,	&apos;1&apos;,	&apos;1&apos;,	22656.00,	631.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	45,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审上期贷方发生额&apos;,	&apos;b.sn_ws_fse_d&apos;,	NULL,	&apos;sn_ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0403&apos;,	&apos;1&apos;,	&apos;1&apos;,	23296.00,	576.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	46,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审上期发生额&apos;,	&apos;b.sn_ws_fse&apos;,	NULL,	&apos;sn_ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0404&apos;,	&apos;1&apos;,	&apos;1&apos;,	23881.00,	549.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	47,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审期初数&apos;,	&apos;b.ws_qcs&apos;,	NULL,	&apos;ws_qcs&apos;,	&apos;0&apos;,	2,	&apos;0405&apos;,	&apos;1&apos;,	&apos;1&apos;,	24439.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	48,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审借方发生额&apos;,	&apos;b.ws_fse_j&apos;,	NULL,	&apos;ws_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0406&apos;,	&apos;1&apos;,	&apos;1&apos;,	25010.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	49,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审贷方发生额&apos;,	&apos;b.ws_fse_d&apos;,	NULL,	&apos;ws_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0407&apos;,	&apos;1&apos;,	&apos;1&apos;,	25669.00,	562.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	50,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审发生额&apos;,	&apos;b.ws_fse&apos;,	NULL,	&apos;ws_fse&apos;,	&apos;0&apos;,	2,	&apos;0408&apos;,	&apos;1&apos;,	&apos;1&apos;,	26240.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	51,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;未审期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;未审期末数&apos;,	&apos;b.ws_qms&apos;,	NULL,	&apos;ws_qms&apos;,	&apos;0&apos;,	2,	&apos;0409&apos;,	&apos;1&apos;,	&apos;1&apos;,	26651.00,	535.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	52,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;调整数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;05&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	53,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初重分类借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初重分类借方&apos;,	&apos;b.qc_cfl_j&apos;,	NULL,	&apos;qc_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0501&apos;,	&apos;1&apos;,	&apos;1&apos;,	27195.00,	526.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	54,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初重分类贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初重分类贷方&apos;,	&apos;b.qc_cfl_d&apos;,	NULL,	&apos;qc_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0502&apos;,	&apos;1&apos;,	&apos;1&apos;,	27730.00,	549.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	55,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初重分类调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初重分类调整数&apos;,	&apos;b.qc_cfl_tzs&apos;,	NULL,	&apos;qc_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0503&apos;,	&apos;1&apos;,	&apos;1&apos;,	28288.00,	649.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	56,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初调整借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初调整借方&apos;,	&apos;b.qc_tz_j&apos;,	NULL,	&apos;qc_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0504&apos;,	&apos;1&apos;,	&apos;1&apos;,	28946.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	57,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初调整贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初调整贷方&apos;,	&apos;b.qc_tz_d&apos;,	NULL,	&apos;qc_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0505&apos;,	&apos;1&apos;,	&apos;1&apos;,	29358.00,	498.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	58,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初调整调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初调整调整数&apos;,	&apos;b.qc_tz_tzs&apos;,	NULL,	&apos;qc_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0506&apos;,	&apos;1&apos;,	&apos;1&apos;,	29865.00,	475.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	59,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初调整数&apos;,	&apos;b.qc_tzs&apos;,	NULL,	&apos;qc_tzs&apos;,	&apos;0&apos;,	2,	&apos;0507&apos;,	&apos;1&apos;,	&apos;1&apos;,	30350.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	60,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末重分类借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末重分类借方&apos;,	&apos;b.qm_cfl_j&apos;,	NULL,	&apos;qm_cfl_j&apos;,	&apos;0&apos;,	2,	&apos;0508&apos;,	&apos;1&apos;,	&apos;1&apos;,	30761.00,	485.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	61,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末重分类贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末重分类贷方&apos;,	&apos;b.qm_cfl_d&apos;,	NULL,	&apos;qm_cfl_d&apos;,	&apos;0&apos;,	2,	&apos;0509&apos;,	&apos;1&apos;,	&apos;1&apos;,	31255.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	62,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末重分类调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末重分类调整数&apos;,	&apos;b.qm_cfl_tzs&apos;,	NULL,	&apos;qm_cfl_tzs&apos;,	&apos;0&apos;,	2,	&apos;0510&apos;,	&apos;1&apos;,	&apos;1&apos;,	31771.00,	571.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	63,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末调整借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末调整借方&apos;,	&apos;b.qm_tz_j&apos;,	NULL,	&apos;qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0511&apos;,	&apos;1&apos;,	&apos;1&apos;,	32352.00,	558.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	64,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末调整贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末调整贷方&apos;,	&apos;b.qm_tz_d&apos;,	NULL,	&apos;qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0512&apos;,	&apos;1&apos;,	&apos;1&apos;,	32919.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	65,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末调整调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末调整调整数&apos;,	&apos;b.qm_tz_tzs&apos;,	NULL,	&apos;qm_tz_tzs&apos;,	&apos;0&apos;,	2,	&apos;0513&apos;,	&apos;1&apos;,	&apos;1&apos;,	33330.00,	507.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	66,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末调整数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末调整数&apos;,	&apos;b.qm_tzs&apos;,	NULL,	&apos;qm_tzs&apos;,	&apos;0&apos;,	2,	&apos;0514&apos;,	&apos;1&apos;,	&apos;1&apos;,	33847.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	67,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异滚调影响期末数借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异滚调影响期末数借方&apos;,	&apos;b.g_yqm_tz_j&apos;,	NULL,	&apos;g_yqm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0515&apos;,	&apos;1&apos;,	&apos;1&apos;,	34258.00,	882.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	68,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;账表差异滚调影响期末数贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;账表差异滚调影响期末数贷方&apos;,	&apos;b.g_yqm_tz_d&apos;,	NULL,	&apos;g_yqm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0516&apos;,	&apos;1&apos;,	&apos;1&apos;,	35150.00,	887.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	69,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;调整分录滚调影响期末数借方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;调整分录滚调影响期末数借方&apos;,	&apos;b.g_qm_tz_j&apos;,	NULL,	&apos;g_qm_tz_j&apos;,	&apos;0&apos;,	2,	&apos;0517&apos;,	&apos;1&apos;,	&apos;1&apos;,	36046.00,	983.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	70,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;调整分录滚调影响期末数贷方&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;调整分录滚调影响期末数贷方&apos;,	&apos;b.g_qm_tz_d&apos;,	NULL,	&apos;g_qm_tz_d&apos;,	&apos;0&apos;,	2,	&apos;0518&apos;,	&apos;1&apos;,	&apos;1&apos;,	37038.00,	782.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	71,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定数&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;06&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	72,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定上期借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定上期借方发生额&apos;,	&apos;b.sn_sd_fse_j&apos;,	NULL,	&apos;sn_sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0601&apos;,	&apos;1&apos;,	&apos;1&apos;,	37829.00,	613.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	73,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定上期贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定上期贷方发生额&apos;,	&apos;b.sn_sd_fse_d&apos;,	NULL,	&apos;sn_sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0602&apos;,	&apos;1&apos;,	&apos;1&apos;,	38450.00,	622.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	74,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定上期发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定上期发生额&apos;,	&apos;b.sn_sd_fse&apos;,	NULL,	&apos;sn_sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0603&apos;,	&apos;1&apos;,	&apos;1&apos;,	39081.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	75,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定期初数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定期初数&apos;,	&apos;b.sd_qcs&apos;,	NULL,	&apos;sd_qcs&apos;,	&apos;0&apos;,	2,	&apos;0604&apos;,	&apos;1&apos;,	&apos;1&apos;,	39643.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	76,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定借方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定借方发生额&apos;,	&apos;b.sd_fse_j&apos;,	NULL,	&apos;sd_fse_j&apos;,	&apos;0&apos;,	2,	&apos;0605&apos;,	&apos;1&apos;,	&apos;1&apos;,	40055.00,	553.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	77,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定贷方发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定贷方发生额&apos;,	&apos;b.sd_fse_d&apos;,	NULL,	&apos;sd_fse_d&apos;,	&apos;0&apos;,	2,	&apos;0606&apos;,	&apos;1&apos;,	&apos;1&apos;,	40617.00,	539.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	78,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定发生额&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定发生额&apos;,	&apos;b.sd_fse&apos;,	NULL,	&apos;sd_fse&apos;,	&apos;0&apos;,	2,	&apos;0607&apos;,	&apos;1&apos;,	&apos;1&apos;,	41166.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	79,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;审定期末数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;审定期末数&apos;,	&apos;b.sd_qms&apos;,	NULL,	&apos;sd_qms&apos;,	&apos;0&apos;,	2,	&apos;0608&apos;,	&apos;1&apos;,	&apos;1&apos;,	41577.00,	400.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	80,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;其他&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;其他&apos;,	&apos;-&apos;,	NULL,	&apos;-&apos;,	&apos;0&apos;,	1,	&apos;07&apos;,	&apos;0&apos;,	&apos;0&apos;,	0,	0,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	81,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;重要性水平值&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;重要性水平值&apos;,	&apos;b.zyxspz&apos;,	NULL,	&apos;zyxspz&apos;,	&apos;0&apos;,	2,	&apos;0701&apos;,	&apos;1&apos;,	&apos;0&apos;,	41989.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	82,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;自定义&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;自定义&apos;,	&apos;b.zdy&apos;,	NULL,	&apos;zdy&apos;,	&apos;0&apos;,	2,	&apos;0702&apos;,	&apos;1&apos;,	&apos;0&apos;,	44123.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	83,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;比率&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;比率&apos;,	&apos;b.bl&apos;,	NULL,	&apos;bl&apos;,	&apos;0&apos;,	2,	&apos;0703&apos;,	&apos;1&apos;,	&apos;0&apos;,	46258.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	84,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期末未更正数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期末未更正数&apos;,	&apos;b.other6&apos;,	NULL,	&apos;other6&apos;,	&apos;0&apos;,	2,	&apos;0704&apos;,	&apos;1&apos;,	&apos;0&apos;,	48393.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	85,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;期初未更正数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;期初未更正数&apos;,	&apos;b.other5&apos;,	NULL,	&apos;other5&apos;,	&apos;0&apos;,	2,	&apos;0705&apos;,	&apos;1&apos;,	&apos;0&apos;,	50528.00,	2126.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	86,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;其他备用4&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;其他备用4&apos;,	&apos;b.other4&apos;,	NULL,	&apos;other4&apos;,	&apos;0&apos;,	2,	&apos;0706&apos;,	&apos;1&apos;,	&apos;0&apos;,	52690.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	87,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;其他备用3&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;其他备用3&apos;,	&apos;b.other3&apos;,	NULL,	&apos;other3&apos;,	&apos;0&apos;,	2,	&apos;0707&apos;,	&apos;1&apos;,	&apos;0&apos;,	53029.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	88,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;其他备用2&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;其他备用2&apos;,	&apos;b.other2&apos;,	NULL,	&apos;other2&apos;,	&apos;0&apos;,	2,	&apos;0708&apos;,	&apos;1&apos;,	&apos;0&apos;,	54437.00,	329.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	89,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;其他备用1&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;其他备用1&apos;,	&apos;b.other1&apos;,	NULL,	&apos;other1&apos;,	&apos;0&apos;,	2,	&apos;0709&apos;,	&apos;1&apos;,	&apos;0&apos;,	54775.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	90,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;字符列05&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;字符列05&apos;,	&apos;b.c05&apos;,	NULL,	&apos;c05&apos;,	&apos;0&apos;,	2,	&apos;0710&apos;,	&apos;1&apos;,	&apos;0&apos;,	56183.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	91,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;字符列04&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;字符列04&apos;,	&apos;b.c04&apos;,	NULL,	&apos;c04&apos;,	&apos;0&apos;,	2,	&apos;0711&apos;,	&apos;1&apos;,	&apos;0&apos;,	57591.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	92,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;字符列03&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;字符列03&apos;,	&apos;b.c03&apos;,	NULL,	&apos;c03&apos;,	&apos;0&apos;,	2,	&apos;0712&apos;,	&apos;1&apos;,	&apos;0&apos;,	58999.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	93,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;字符列02&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;字符列02&apos;,	&apos;b.c02&apos;,	NULL,	&apos;c02&apos;,	&apos;0&apos;,	2,	&apos;0713&apos;,	&apos;1&apos;,	&apos;0&apos;,	60407.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	94,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;字符列01&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;字符列01&apos;,	&apos;b.c01&apos;,	NULL,	&apos;c01&apos;,	&apos;0&apos;,	2,	&apos;0714&apos;,	&apos;1&apos;,	&apos;0&apos;,	61815.00,	1399.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	95,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;制度类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;制度类型&apos;,	&apos;b.zdlx&apos;,	NULL,	&apos;zdlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	52663.00,	18.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	96,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;dg_bh_xh&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;dg_bh_xh&apos;,	&apos;b.dg_bh_xh&apos;,	NULL,	&apos;dg_bh_xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	63223.00,	850.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	97,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;dg_bh&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;dg_bh&apos;,	&apos;b.dg_bh&apos;,	NULL,	&apos;dg_bh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	64082.00,	850.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	98,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;显示序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;显示序号&apos;,	&apos;b.xh&apos;,	NULL,	&apos;xh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	64942.00,	233.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	99,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;项目类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;项目类型&apos;,	&apos;b.xmlx&apos;,	NULL,	&apos;xmlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	65184.00,	288.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	100,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;报表项目类型&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;报表项目类型&apos;,	&apos;b.bbxmlx&apos;,	NULL,	&apos;bbxmlx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	65472.00,	288.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	101,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;报表正负方向&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;报表正负方向&apos;,	&apos;b.bbzffx&apos;,	NULL,	&apos;bbzffx&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	65760.00,	288.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	102,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;底稿编号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;底稿编号&apos;,	&apos;b.dgbh&apos;,	NULL,	&apos;dgbh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	66048.00,	576.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	103,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;资产负债损益数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;资产负债损益数&apos;,	&apos;case b.xmlx when &apos;&apos;0&apos;&apos; then ws_qms when &apos;&apos;1&apos;&apos; then ws_fse else &apos;&apos;&apos;&apos; end&apos;,	NULL,	&apos;zcfzsysj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	66640.00,	600.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	104,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;资产负债数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;资产负债数&apos;,	&apos;case b.xmlx when &apos;&apos;0&apos;&apos; then ws_qms else &apos;&apos;&apos;&apos; end&apos;,	NULL,	&apos;zcfzsj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67240.00,	600.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	105,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;损益数&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;损益数&apos;,	&apos;case b.xmlx when &apos;&apos;1&apos;&apos; then ws_fse else &apos;&apos;&apos;&apos; end&apos;,	NULL,	&apos;sysj&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	67840.00,	600.00,	&apos;##,###,###,###,##0.00;-##,###,###,###,##0.00;0.00;#&apos;,	&apos;0&apos;,	NULL,	106,	&apos;decimal&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;循环分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;循环分类&apos;,	&apos;d.xhfl&apos;,	NULL,	&apos;xhfl&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68440.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	107,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向序号&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向序号&apos;,	&apos;f.xh&apos;,	NULL,	&apos;fxdxxh&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	68940.00,	500.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	108,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向存在&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向存在&apos;,	&apos;f.crbbrd1&apos;,	NULL,	&apos;crbbrd1&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69440.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	109,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向完整性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向完整性&apos;,	&apos;f.crbbrd2&apos;,	NULL,	&apos;crbbrd2&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	69740.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	110,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向权利和义务&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向权利和义务&apos;,	&apos;f.crbbrd3&apos;,	NULL,	&apos;crbbrd3&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70040.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	111,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向计价和分摊&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向计价和分摊&apos;,	&apos;f.crbbrd4&apos;,	NULL,	&apos;crbbrd4&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70340.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	112,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向列报&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向列报&apos;,	&apos;f.crbbrd5&apos;,	NULL,	&apos;crbbrd5&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70640.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	113,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向发生&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向发生&apos;,	&apos;f.crbbrd6&apos;,	NULL,	&apos;crbbrd6&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	70940.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	114,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向截止&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向截止&apos;,	&apos;f.crbbrd7&apos;,	NULL,	&apos;crbbrd7&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71240.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	115,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向准确性&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向准确性&apos;,	&apos;f.crbbrd8&apos;,	NULL,	&apos;crbbrd8&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71540.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	116,	&apos;char&apos;);
DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0014&apos; AND col_cname = &apos;风险导向分类&apos;;
INSERT INTO datatable_defcolinfo VALUES (	&apos;B0014&apos;,	&apos;风险导向分类&apos;,	&apos;f.crbbrd9&apos;,	NULL,	&apos;crbbrd9&apos;,	&apos;0&apos;,	1,	NULL,	&apos;1&apos;,	&apos;0&apos;,	71840.00,	300.00,	&apos;[General]&apos;,	&apos;0&apos;,	NULL,	117,	&apos;char&apos;);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;01&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;b.ndid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;02&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;03&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;04&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;05&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;06&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;07&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;08&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;b.bbbh&apos;,	NULL,	&apos;5&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;09&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;10&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;11&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;12&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;13&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;b.dwid&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;89&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;89&apos;,	&apos;1&apos;,	&apos;登录状态&apos;,	&apos;b.dlzt&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
DELETE FROM datatable_fun WHERE t_id = &apos;B0014&apos; AND fun_id = &apos;90&apos;;
INSERT INTO datatable_fun VALUES (	&apos;B0014&apos;,	&apos;90&apos;,	&apos;1&apos;,	&apos;制度类型&apos;,	&apos;b.zdlx&apos;,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	&apos;0 主制度 1 从一制度 2从二制度&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>380</no><make_date>2012-10-29 16:14:04.390000</make_date><note>存储过程9-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_km_sjkmmc&apos;) then
   drop procedure p_make_km_sjkmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>37</p_id><no>390</no><make_date>2012-10-29 16:15:40.640000</make_date><note>存储过程9-创建</note><sql>create procedure p_make_km_sjkmmc (@a_dwid integer,@a_ndid integer,@a_fgf char(2))
as

begin
    declare	@i_max_jc	integer	
    declare	@loop_i		integer
    declare	@s_kmbh		varchar(200)
    declare	@s_kmwh		varchar(210)
    declare	@s_kmmc		varchar(500)
    declare @s_sfmx     char(1)

    --标识空不处理伪码
    if(@a_fgf is null or trim(@a_fgf) = &apos;&apos; ) return 
    --取最大科目级次
    SELECT  isnull(max(kmjc),0) into @i_max_jc FROM c_cwkmk where dwid = @a_dwid and ndid = @a_ndid
    --最后一级已经处理完成（上级处理下级的伪码）
    select @i_max_jc = @i_max_jc - 1
    select	@loop_i	=	1
    --临时科目代码表
    CREATE TABLE #t_cwkmk (kmbh char(200) null,kmwm char(210),kmmc char(500) null)
    --处理一级科目伪码
    update c_cwkmk set kmwm = kmbh || @a_fgf,sfmx = &apos;1&apos; where  dwid = @a_dwid and ndid = @a_ndid and kmjc = 1
    ////使用临时表数据声明游标 目的提高性能
    declare	cur_km cursor for 
    	select kmbh,kmwm,kmmc from #t_cwkmk order by kmbh
  ////按照级次顺序处理
    while @loop_i &lt;= @i_max_jc 
    begin
    	////取出当前级次的科目 用于下一步循环使用
    	insert #t_cwkmk 
    		select distinct trim(kmbh),kmwm,left(isnull(sjkmmc,&apos;&apos;) + &apos;\\&apos; + isnull(trim(kmmc),&apos;&apos;),80)  
    		from c_cwkmk 
    		where dwid = @a_dwid and ndid = @a_ndid and kmjc=@loop_i    	
        ////打开游标
    	open cur_km
        ////用时：1774 毫秒
    	FETCH NEXT cur_km INTO @s_kmbh,@s_kmwh,@s_kmmc
    	while @@sqlstatus = 0 
    	begin
            ////根据科目级次和末级标识生成伪码 注意处理同级科目有包含关系 用时：1844
    		update c_cwkmk A set a.kmwm = @s_kmwh||trim(substr(kmbh,length(@s_kmbh) + 1)) || @a_fgf ,a.sjkmmc =left(@s_kmmc,80),sfmx = &apos;1&apos;
    		where not exists(select 1 from(select kmbh from  #t_cwkmk where kmbh &lt;&gt; @s_kmbh and kmbh like @s_kmbh || &apos;%&apos;) tab 
    								where a.kmbh like tab.kmbh||&apos;%&apos;) and 
    			a.dwid = @a_dwid and a.ndid = @a_ndid and a.kmjc = @loop_i + 1 and a.kmbh like @s_kmbh||&apos;%&apos;
            ////判断科目是否是末级科目
            If @@rowcount &gt; 0 
                update c_cwkmk set sfmx = &apos;0&apos; where dwid = @a_dwid and ndid = @a_ndid and kmbh = @s_kmbh
    		
    		FETCH NEXT cur_km INTO @s_kmbh,@s_kmwh,@s_kmmc
    	end
    	////处理下次循环
    	close cur_km
    	delete from #t_cwkmk
    	select	@loop_i	=	@loop_i + 1
    end
    ////同步更新其他几个汇总库
    update c_wb_zz a 
        set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc ,a.kmjc=b.kmjc,a.sfmx=b.sfmx
        from c_cwkmk b 
        where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_kmyek a 
    --    set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_wb_yye a 
    --    set a.kmwm = b.kmwm,a.sjkmmc = b.sjkmmc  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////更新核算项目总账科目伪码、科目级次和科目名称  ////用时：26166 毫秒
    update c_hsxm_zz a  
        set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc,a.kmmc = b.kmmc,a.sfmx=b.sfmx
        from c_cwkmk b 
        where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////用时：16757
    update c_wb_hsxm_zz a 
        set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc,a.kmmc = b.kmmc,a.sfmx=b.sfmx
        from c_cwkmk b 
        where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    ////用时：126131（用索引没有明显改善）
    --update c_hsxm_yye a 
    --    set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh  and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
    --update c_wb_hsxm_yye a 
    --    set a.kmwm = b.kmwm  ,a.kmjc=b.kmjc
    --    from c_cwkmk b 
    --    where a.kmbh = b.kmbh and a.dwid = b.dwid and a.ndid = b.ndid and b.dwid = @a_dwid and b.ndid = @a_ndid
        
    ////生成核算项目与科目关系 2832用时：
    insert into c_kmvshsxm (dwid,ndid,kmbh,hsxmlxbh,xz)
        select distinct dwid,ndid,kmbh,hsxmlxbh,0
                from c_hsxm_zz
                where dwid = @a_dwid and ndid = @a_ndid and 
                    not exists(select 1 from c_kmvshsxm where c_hsxm_zz.dwid = c_kmvshsxm.dwid and c_hsxm_zz.ndid = c_kmvshsxm.ndid and c_hsxm_zz.kmbh=c_kmvshsxm.kmbh and c_hsxm_zz.hsxmlxbh =c_kmvshsxm.hsxmlxbh)
    update c_kmvshsxm a
        set a.hsxmlxmc = b.hsxmlxmc
        from c_hsxm_lx b
        where a.dwid = b.dwid and a.ndid= b.ndid and a.hsxmlxbh = b.hsxmlxbh and a.dwid =@a_dwid and a.ndid = @a_ndid 
    update c_kmvshsxm a
        set a.kmmc = b.kmmc,a.kmlb = b.kmlb,a.sfmx = b.sfmx,a.kmjc = b.kmjc,a.kmwm = b.kmwm
        from c_cwkmk b
        where a.dwid=b.dwid and a.ndid=b.ndid and a.kmbh=b.kmbh and a.dwid=@a_dwid and a.ndid=@a_ndid

end;
</sql></db_upgrade_row><db_upgrade_row><p_id>38</p_id><no>10</no><make_date>2012-11-28 09:15:03.234000</make_date><note>增加数据列</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;makeperson&apos;) then alter table c_cwpz add makeperson varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;makedate&apos;) then alter table c_cwpz add makedate varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;reviewperson&apos;) then alter table c_cwpz add reviewperson varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_cwpz&apos; and b.column_name = &apos;reviewdate&apos;) then alter table c_cwpz add reviewdate varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;t_hsmx&apos; and b.column_name = &apos;makeperson&apos;) then alter table t_hsmx add makeperson varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;t_hsmx&apos; and b.column_name = &apos;makedate&apos;) then alter table t_hsmx add makedate varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;t_hsmx&apos; and b.column_name = &apos;reviewperson&apos;) then alter table t_hsmx add reviewperson varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;t_hsmx&apos; and b.column_name = &apos;reviewdate&apos;) then alter table t_hsmx add reviewdate varchar(20) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_zz&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_hsxm_zz add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_zz&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_hsxm_zz add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_zz&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_hsxm_zz add sjhsxmmc varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_hsxm_yye add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_hsxm_yye add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_hsxm_yye add sjhsxmmc varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye2&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_hsxm_yye2 add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye2&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_hsxm_yye2 add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_hsxm_yye2&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_hsxm_yye2 add sjhsxmmc varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_zz&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_wb_hsxm_zz add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_zz&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_wb_hsxm_zz add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_zz&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_wb_hsxm_zz add sjhsxmmc varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_wb_hsxm_yye add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_wb_hsxm_yye add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_wb_hsxm_yye add sjhsxmmc varchar(200) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye2&apos; and b.column_name = &apos;hsxmjc&apos;) then alter table c_wb_hsxm_yye2 add hsxmjc tinyint null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye2&apos; and b.column_name = &apos;hsxmsfmx&apos;) then alter table c_wb_hsxm_yye2 add hsxmsfmx char(1) null end if;
if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;c_wb_hsxm_yye2&apos; and b.column_name = &apos;sjhsxmmc&apos;) then alter table c_wb_hsxm_yye2 add sjhsxmmc varchar(200) null end if;</sql></db_upgrade_row><db_upgrade_row><p_id>38</p_id><no>20</no><make_date>2012-11-28 09:15:19.296000</make_date><note>存储过程-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_drop_prj&apos;) then
   drop procedure p_drop_prj
end if</sql></db_upgrade_row><db_upgrade_row><p_id>38</p_id><no>30</no><make_date>2012-11-28 09:15:39.031000</make_date><note>存储过程-创建</note><sql>create procedure p_drop_prj (@ai_dwid integer,@ai_ndid integer)
as
begin 
    declare @c_str varchar(1000)        
    select @c_str = getdwid(@ai_dwid,@ai_ndid,2,3)                         
    select @c_str = &apos;,&apos;+ @c_str+&apos;,&apos;    
    delete from b_bbxm          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_bbyye         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_dgxm          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_dgxm_fxdx     where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_fhhxgjl       where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_fhryj         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_nbkzcs        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_sjcx          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_sjmb          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from bbxmvskm        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_cwch          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_cwkmk         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_cwpz          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_fhwt          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_gdzckp        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hsxm_lx       where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hsxm_yye      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hsxm_yye2     where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hsxm_zdb      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hsxm_zz       where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_hzkmk         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_kmyek         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_kmyek2        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_hsxm_yye   where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_hsxm_yye2  where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_hsxm_zz    where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_yye        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_yye2       where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_wb_zz         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_zlszb         where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from connect_info    where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from cwzd_prj        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from cyfa            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from cymxb           where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from dgxmvsbbxm      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from fhxm            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from gsgx            where @c_str like &apos;%,&apos;+string(mgsid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from gsgx            where @c_str like &apos;%,&apos;+string(zfgsid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_ctvsqy    where @c_str like &apos;%,&apos;+string(mgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_ctvsqy    where @c_str like &apos;%,&apos;+string(zgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_gjsp      where @c_str like &apos;%,&apos;+string(mgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_gjsp      where @c_str like &apos;%,&apos;+string(zgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_nbwl      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_tzsyvslrfp    where @c_str like &apos;%,&apos;+string(mgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dx_tzsyvslrfp    where @c_str like &apos;%,&apos;+string(zgs_dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete jt_dxflb from jt_dxflb_zu    where jt_dxflb.ndid = jt_dxflb_zu.ndid and jt_dxflb.xh = jt_dxflb_zu.xh and @c_str like &apos;%,&apos;+string(jt_dxflb_zu.dwid1)+&apos;,%&apos; and jt_dxflb_zu.ndid = @ai_ndid
    delete jt_dxflb from jt_dxflb_zu    where jt_dxflb.ndid = jt_dxflb_zu.ndid and jt_dxflb.xh = jt_dxflb_zu.xh and @c_str like &apos;%,&apos;+string(jt_dxflb_zu.dwid2)+&apos;,%&apos; and jt_dxflb_zu.ndid = @ai_ndid
    delete from jt_dxflb_zu     where @c_str like &apos;%,&apos;+string(dwid1)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_dxflb_zu     where @c_str like &apos;%,&apos;+string(dwid2)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_tzbl         where @c_str like &apos;%,&apos;+string(tzdwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from jt_tzbl         where @c_str like &apos;%,&apos;+string(btzdwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from kjbb            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from prj_info        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from qyns            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    if not exists(select 1 from prj_info where ndid =@ai_ndid) 
         delete from sjnd where ndid  =@ai_ndid    
    delete from sys_parameter   where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from t_explain       where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from t_hsmx          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from tzflb           where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from tzflb_bb        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from tzflb_hsmx      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from tzflb_zu        where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from z_qx            where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_xhfl          where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_dgxm_fxdx_xm  where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from c_kmvshsxm      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_fzxm      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from fzxmvskm      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from sj_user_dwnd      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_nbkzcs_nk_lc      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
    delete from b_nbkzcs_nk_qy      where @c_str like &apos;%,&apos;+string(dwid)+&apos;,%&apos; and ndid = @ai_ndid
end</sql></db_upgrade_row><db_upgrade_row><p_id>39</p_id><no>10</no><make_date>2012-12-12 13:53:28.859000</make_date><note>创建表-字典表</note><sql>if not isnull(object_id(&apos;datatable_insert_colinfo&apos;),0) &gt;0 then
create table datatable_insert_colinfo 
(
   tableId              varchar(50)                    not null,
   standColumn          varchar(50)                    not null,
   columnType           tinyint                        not null default 0,
   fillexpression       varchar(50),
   columnFormat         tinyint                        not null default 0,
   IsPrimaryKey         char                           default &apos;0&apos;,
   IsLshField           char                           default &apos;0&apos;,
   describe             varchar(200),
   primary key (tableId, standColumn)
);

INSERT INTO datatable_insert_colinfo(tableId, standColumn, columnType, fillexpression, ColumnFormat, isPrimaryKey, isLshField) VALUES (&apos;B0005&apos;, &apos;lsh&apos;, 2, &apos;&apos;,1, &apos;0&apos;, &apos;1&apos;);
INSERT INTO datatable_insert_colinfo(tableId, standColumn, columnType, fillexpression, ColumnFormat, isPrimaryKey, isLshField) VALUES (&apos;B0005&apos;, &apos;dwid&apos;, 0, &apos;&apos;, 0, &apos;1&apos;, &apos;0&apos;);
INSERT INTO datatable_insert_colinfo(tableId, standColumn, columnType, fillexpression, ColumnFormat, isPrimaryKey, isLshField) VALUES (&apos;B0005&apos;, &apos;ndid&apos;, 1, &apos;&apos;, 0, &apos;1&apos;, &apos;0&apos;);
INSERT INTO datatable_insert_colinfo(tableId, standColumn, columnType, fillexpression, ColumnFormat, isPrimaryKey, isLshField) VALUES (&apos;B0005&apos;, &apos;xh&apos;, 1, &apos;MAX(xh) + 1&apos;, 0, &apos;1&apos;, &apos;0&apos;);

end if</sql></db_upgrade_row><db_upgrade_row><p_id>39</p_id><no>20</no><make_date>2013-01-07 19:04:02.249000</make_date><note>修改字典表数据</note><sql>DELETE FROM sys_def_par WHERE parid = &apos;ywcjbcpjpzr&apos;;
INSERT INTO sys_def_par VALUES (&apos;ywcjbcpjpzr&apos;,&apos;业务承接保持评价批准人&apos;,&apos;&apos;,&apos;接受/不接受&apos;);
DELETE FROM sys_def_par WHERE parid = &apos;ywcjbcpjfxglfzr&apos;;
INSERT INTO sys_def_par VALUES (&apos;ywcjbcpjfxglfzr&apos;,&apos;业务承接保持评价风险管理负责人&apos;,&apos;&apos;,&apos;接受/不接受&apos;);
DELETE FROM sys_def_par WHERE parid = &apos;sfsccjyw&apos;;
INSERT INTO sys_def_par VALUES (&apos;sfsccjyw&apos;,&apos;是否首次承接业务&apos;,&apos;&apos;,&apos;是/否&apos;);
DELETE FROM sys_def_par WHERE parid = &apos;dgfgbzqxkz&apos;;
INSERT INTO sys_def_par VALUES (&apos;dgfgbzqxkz&apos;,&apos;全部人员都可以编制底稿还是按角色分工&apos;,&apos;1&apos;,&apos;0：全部人员 1：按角色分工&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>39</p_id><no>30</no><make_date>2013-01-07 19:07:26.577000</make_date><note>触发器1-删除</note><sql>if exists(select 1 from sys.systrigger where trigger_name = &apos;tr_sj_user_dwnd_ins&apos;) then
   drop trigger tr_sj_user_dwnd_ins
end if</sql></db_upgrade_row><db_upgrade_row><p_id>39</p_id><no>50</no><make_date>2013-01-07 19:12:07.702000</make_date><note>存储过程1-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_pz_dfkmmc&apos;) then
   drop procedure p_make_pz_dfkmmc
end if</sql></db_upgrade_row><db_upgrade_row><p_id>39</p_id><no>60</no><make_date>2013-01-07 19:13:18.218000</make_date><note>存储过程1-增加</note><sql>////////////////////////////////////////////////////////
////生成凭证对方科目一级名称
////测试环境：Pentium(R) Dual CPU E2160 @1.80GHz 1.80GHz ，2G内存， Windows2003
////测试量:科目34133,凭证974900  用时：1&apos;18&quot; （1&apos;25&quot;主键模式）
////09.7.15 Ben
////////////////////////////////////////////////////////
create procedure p_make_pz_dfkmmc (@a_dwid integer,@a_ndid integer,@a_fgf char(2))
as
begin

    CREATE TABLE #t_cwkmk (kmwm char(210) null,kmmc char(500) null,primary key (kmwm))
    insert #t_cwkmk select distinct kmwm,trim(kmmc) from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and kmjc=1
    ////用索引模式要比主键模式快一点（原理不明）
    --CREATE TABLE #t_cwpz_j (kjmonth integer,pzbh char(40),pzzl char(30),kmmclist char(200) null,primary key (kjmonth,pzbh,pzzl))
    --CREATE TABLE #t_cwpz_d (kjmonth integer,pzbh char(40),pzzl char(30),kmmclist char(200) null,primary key (kjmonth,pzbh,pzzl))
    CREATE TABLE #t_cwpz_j (kjmonth integer null,pzbh char(80) null,pzzl char(60) null,kmmclist char(600) null) 
    create index #in_t_cwpz_j on #t_cwpz_j(kjmonth,pzbh,pzzl)
    CREATE TABLE #t_cwpz_d (kjmonth integer null,pzbh char(80) null,pzzl char(60) null,kmmclist char(600) null) 
    create index #in_t_cwpz_d on #t_cwpz_d(kjmonth,pzbh,pzzl)

    insert #t_cwpz_j
        select a.kjmonth,a.pzbh,a.pzzl,BYTE_SUBSTR(list(distinct t.kmmc,&apos;;&apos;),1,200)
        from c_cwpz a,c_cwkmk, #t_cwkmk t
        where a.kmbh = c_cwkmk.kmbh and left(c_cwkmk.kmwm,locate(c_cwkmk.kmwm,@a_fgf) + length(@a_fgf) - 1)  = t.kmwm and a.kjmonth  IS NOT NULL and a.pzbh &lt;&gt; &apos;&apos; and (a.jffse &gt; 0 or a.dffse &lt; 0) and a.pzzl &lt;&gt; &apos;&apos;
            and a.dwid =@a_dwid and a.ndid = @a_ndid and c_cwkmk.dwid = @a_dwid and c_cwkmk.ndid = @a_ndid
        group by a.kjmonth,a.pzbh,a.pzzl
       

    insert #t_cwpz_d
        select a.kjmonth,a.pzbh,a.pzzl,BYTE_SUBSTR(list(distinct t.kmmc,&apos;;&apos;),1,200)
        from c_cwpz a,c_cwkmk, #t_cwkmk t
        where a.kmbh = c_cwkmk.kmbh and left(c_cwkmk.kmwm,locate(c_cwkmk.kmwm,@a_fgf) + length(@a_fgf) - 1)  = t.kmwm and a.kjmonth  IS NOT NULL and a.pzbh &lt;&gt; &apos;&apos; and (a.dffse &gt; 0 or a.jffse &lt; 0 ) and a.pzzl &lt;&gt; &apos;&apos;
            and a.dwid =@a_dwid and a.ndid = @a_ndid and c_cwkmk.dwid = @a_dwid and c_cwkmk.ndid = @a_ndid
        group by a.kjmonth,a.pzbh,a.pzzl
    
	update c_cwpz A set dfkmmc =  b.kmmclist
        from #t_cwpz_j b 
        where A.dwid = @a_dwid and A.ndid = @a_ndid and  (a.dffse &gt;0 or a.jffse &lt; 0 ) --and a.dffse &lt;&gt; 0
            and  a.kjmonth = b.kjmonth and a.pzbh=b.pzbh and  isnull(a.pzzl,&apos;&apos;)=isnull(b.pzzl,&apos;&apos;)


	update c_cwpz A set dfkmmc =  b.kmmclist
        from #t_cwpz_d b
        where A.dwid = @a_dwid and A.ndid = @a_ndid  and (a.jffse &gt;0 or a.dffse &lt; 0 )--and a.jffse &lt;&gt; 0
            and  a.kjmonth = b.kjmonth and a.pzbh=b.pzbh and isnull(a.pzzl,&apos;&apos;)=isnull(b.pzzl,&apos;&apos;)
            
    update t_hsmx A set dfkmmc =  b.kmmclist
        from #t_cwpz_j b 
        where A.dwid = @a_dwid and A.ndid = @a_ndid  and  (a.dffse &gt;0 or a.jffse &lt; 0 )--and a.dffse &lt;&gt; 0
            and  a.kjmonth = b.kjmonth and a.pzbh=b.pzbh and  isnull(a.pzzl,&apos;&apos;)=isnull(b.pzzl,&apos;&apos;)            
    update t_hsmx a set dfkmmc =  b.kmmclist
        from #t_cwpz_d b
        where A.dwid = @a_dwid and A.ndid = @a_ndid and (a.jffse &gt;0 or a.dffse &lt; 0 )--and a.jffse &lt;&gt; 0
            and  a.kjmonth = b.kjmonth and a.pzbh=b.pzbh and isnull(a.pzzl,&apos;&apos;)=isnull(b.pzzl,&apos;&apos;)

end ;
</sql></db_upgrade_row><db_upgrade_row><p_id>40</p_id><no>10</no><make_date>2013-09-29 09:48:40.062000</make_date><note>增加数据字典信息</note><sql>delete from datatable_definfo where t_id = &apos;C1023&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;C1023&apos;,	&apos;调整分录主表(基本表)&apos;,	&apos;tzflb_zu&apos;,	NULL,	&apos;tzflb_zu&apos;,	&apos;&apos;&apos;D&apos;&apos;+string(dwid)+&apos;&apos;N&apos;&apos;+string(ndid)+&apos;&apos;X&apos;&apos;+string(xh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	74,	NULL,	NULL);
delete from datatable_definfo where t_id = &apos;C1024&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;C1024&apos;,	&apos;调整分录明细表(基本表)&apos;,	&apos;tzflb&apos;,	NULL,	&apos;tzflb&apos;,	&apos;&apos;&apos;D&apos;&apos;+string(dwid)+&apos;&apos;N&apos;&apos;+string(ndid)+&apos;&apos;X&apos;&apos;+string(xh)+&apos;&apos;H&apos;&apos;+string(hh)&apos;,	&apos;dwid&apos;,	&apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	75,	NULL,	NULL);
delete from datatable_definfo where t_id = &apos;C1025&apos;;
INSERT INTO datatable_definfo VALUES (	&apos;C1025&apos;,	&apos;调整分录核算明细表(基本表)&apos;,	&apos;tzflb_hsmx&apos;,	NULL,	&apos;tzflb_hsmx&apos;,	&apos;lsh&apos;,	&apos;dwid&apos;, &apos;ndid&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;1&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	&apos;0&apos;,	76,	NULL,	NULL);
delete from datatable_defcolinfo where t_id = &apos;C1023&apos;;
delete from datatable_defcolinfo where t_id = &apos;C1024&apos;;
delete from datatable_defcolinfo where t_id = &apos;C1025&apos;;
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;主序号&apos;, &apos;xh&apos;, NULL,	&apos;xh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 0.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 1, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;显示序号&apos;, &apos;zb&apos;, NULL,	&apos;zb&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 2, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;说明&apos;, &apos;sm&apos;, NULL,	&apos;sm&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 3, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;调整分录类型&apos;, &apos;lx&apos;, NULL,	&apos;lx&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 4, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;客户调整情况&apos;, &apos;khtzqk&apos;, NULL,	&apos;khtzqk&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 5, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;客户调整或者不调整的原因&apos;, &apos;khsm&apos;, NULL,	&apos;khsm&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 6, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;是否现金流量表调整分录汇&apos;, &apos;sfxj&apos;, NULL,	&apos;sfxj&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 7, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;调整类型&apos;, &apos;tzlx&apos;, NULL,	&apos;tzlx&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 8, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;报表项目id&apos;, &apos;bbxmid&apos;, NULL,	&apos;bbxmid&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 9, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;底稿编号&apos;, &apos;dgbh&apos;, NULL,	&apos;dgbh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 10, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;所属底稿名称&apos;, &apos;ssdg&apos;, NULL,	&apos;ssdg&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 11, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;所属账期&apos;, &apos;sszq&apos;, NULL,	&apos;sszq&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 12, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;重要性&apos;, &apos;zyx&apos;, NULL,	&apos;zyx&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 13, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;纪录人&apos;, &apos;jlr&apos;, NULL,	&apos;jlr&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 14, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;未调整原因&apos;, &apos;wtzyy&apos;, NULL,	&apos;wtzyy&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 15, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;是否滚调&apos;, &apos;sfgt&apos;, NULL,	&apos;sfgt&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 16, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;是否显示核算项目信息&apos;, &apos;sfxshsxm&apos;, NULL,	&apos;sfxshsxm&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 17, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;其他1&apos;, &apos;other1&apos;, NULL,	&apos;other1&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 18, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;其他2&apos;, &apos;other2&apos;, NULL,	&apos;other2&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 19, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1023&apos;,	&apos;是否系统性调整&apos;, &apos;xtxtz&apos;, NULL,	&apos;xtxtz&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 20, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;主序号&apos;, &apos;xh&apos;, NULL,	&apos;xh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 0.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 1, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;行号&apos;, &apos;hh&apos;, NULL,	&apos;hh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 2, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;显示顺序&apos;, &apos;xsxh&apos;, NULL,	&apos;xsxh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;,400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 3, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;说明&apos;, &apos;sm&apos;, NULL,	&apos;sm&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 4, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;货币种类&apos;, &apos;hbzl&apos;, NULL,	&apos;hbzl&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 5, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;汇率&apos;, &apos;hl&apos;, NULL,	&apos;hl&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 6, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;科目编号&apos;, &apos;kmbh&apos;, NULL,	&apos;kmbh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 7, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;借方金额&apos;, &apos;jfje&apos;, NULL,	&apos;jfje&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 8, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;借方外币发生额&apos;, &apos;jffse_f&apos;, NULL,	&apos;jffse_f&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 9, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;贷方金额&apos;, &apos;dfje&apos;, NULL,	&apos;dfje&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 10, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;贷方外币发生额&apos;, &apos;dffse_f&apos;, NULL,	&apos;dffse_f&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 11, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;结转&apos;, &apos;jz&apos;, NULL,	&apos;jz&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 12, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;相关账龄&apos;, &apos;fzfl&apos;, NULL,	&apos;fzfl&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 13, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;其他1&apos;, &apos;other1&apos;, NULL,	&apos;other1&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 14, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;影响本期发生额&apos;, &apos;other2&apos;, NULL,	&apos;other2&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 15, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1024&apos;,	&apos;现金流量项目&apos;, &apos;xjllxm&apos;, NULL,	&apos;xjllxm&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 3000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 16, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;主序号&apos;, &apos;xh&apos;, NULL,	&apos;xh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 0.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 1, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;调整分录明细表行号&apos;, &apos;hh&apos;, NULL,	&apos;hh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 2, &apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;科目编号&apos;, &apos;kmbh&apos;, NULL,	&apos;kmbh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 3, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;核算项目类型编号&apos;, &apos;hsxmlxbh&apos;, NULL,	&apos;hsxmlxbh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;,600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 4, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;核算项目ID&apos;, &apos;hsxmbh&apos;, NULL,	&apos;hsxmbh&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 5, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;货币种类&apos;, &apos;hbzl&apos;, NULL,	&apos;hbzl&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 6, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;汇率&apos;, &apos;hl&apos;, NULL,	&apos;hl&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1400.00, 1200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 7, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;借方金额&apos;, &apos;jffse&apos;, NULL,	&apos;jffse&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 8, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;借方外币发生额&apos;, &apos;jffse_f&apos;, NULL,	&apos;jffse_f&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 1800.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 9, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;贷方金额&apos;, &apos;dffse&apos;, NULL,	&apos;dffse&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2000.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 10, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;贷方外币发生额&apos;, &apos;dffse_f&apos;, NULL,	&apos;dffse_f&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2200.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 11, &apos;decimal&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;其他1&apos;, &apos;other1&apos;, NULL,	&apos;other1&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2400.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 12, &apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;C1025&apos;,	&apos;其他2&apos;, &apos;other2&apos;, NULL,	&apos;other2&apos;, &apos;1&apos;, 1, NULL, &apos;1&apos;, &apos;1&apos;, 2600.00, 200.00, &apos;[General]&apos;, &apos;0&apos;, NULL, 13, &apos;integer&apos;);
delete from datatable_fun where t_id = &apos;C1023&apos;;
delete from datatable_fun where t_id = &apos;C1024&apos;;
delete from datatable_fun where t_id = &apos;C1025&apos;;
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1023&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1024&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;01&apos;,	&apos;0&apos;,	&apos;跨年度取数&apos;,	&apos;ndid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;02&apos;,	&apos;0&apos;,	&apos;按月份&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;03&apos;,	&apos;0&apos;,	&apos;按科目&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;04&apos;,	&apos;0&apos;,	&apos;按科目级次&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;05&apos;,	&apos;0&apos;,	&apos;只列示一级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;06&apos;,	&apos;0&apos;,	&apos;只列示二级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;07&apos;,	&apos;0&apos;,	&apos;只列示末级科目&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;08&apos;,	&apos;0&apos;,	&apos;按底稿取数&apos;,	&apos;kmbh&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;09&apos;,	&apos;0&apos;,	&apos;高级过滤&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;1&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;10&apos;,	&apos;0&apos;,	&apos;抽样方案&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;11&apos;,	&apos;0&apos;,	&apos;过滤掉全为零的行&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;12&apos;,	&apos;0&apos;,	&apos;科目核算项目路由选择功能&apos;,	NULL,	NULL,	&apos;0&apos;,	&apos;0&apos;,	&apos;&apos;,	&apos;&apos;,	&apos;0&apos;,	NULL);
INSERT INTO datatable_fun VALUES (	&apos;C1025&apos;,	&apos;13&apos;,	&apos;0&apos;,	&apos;跨单位取数&apos;,	&apos;dwid&apos;,	NULL,	&apos;0&apos;,	&apos;0&apos;,	NULL,	NULL,	&apos;0&apos;,	NULL);</sql></db_upgrade_row><db_upgrade_row><p_id>41</p_id><no>10</no><make_date>2014-07-24 15:45:33.328000</make_date><note>存储过程-删除</note><sql>if exists(select 1 from sys.sysprocedure where proc_name = &apos;p_make_xjkm_tz&apos;) then
   drop procedure p_make_xjkm_tz
end if</sql></db_upgrade_row><db_upgrade_row><p_id>41</p_id><no>20</no><make_date>2014-07-24 15:52:15.625000</make_date><note>存储过程-增加</note><sql>create PROCEDURE p_make_xjkm_tz(@a_dwid integer,@a_ndid integer) 
as 
begin 
	declare @li_jc  integer 
    declare @li_i   integer 
    declare @li_i_xj   integer
	declare @kmwm   char(210)
    declare @kmbh   char(200)
    declare @count   integer
    declare @newkmbh char(200)
	
    
    ////调整分录数据汇总临时表
    create table #t_tzfl(
        kmbh char(200),jdz integer,kmjc integer,    
        yqc_cfl_j	decimal(18,4)	,//	期初账表差异调整借方金额
        yqc_cfl_d	decimal(18,4)	,//	期初账表差异调整贷方金额
        yqm_cfl_j	decimal(18,4)	,//	期末账表差异调整借方金额
        yqm_cfl_d	decimal(18,4)	,//	期末账表差异调整贷方金额
        qc_cfl_j	decimal(18,4)	,//	期初重分类借方
        qc_cfl_d	decimal(18,4)	,//	期初重分类贷方
        qc_tz_j     decimal(18,4)	,//	期初账项调整借方
        qc_tz_d     decimal(18,4)	,//	期初账项调整贷方
        qm_cfl_j	decimal(18,4)	,//	期末重分类借方
        qm_cfl_d	decimal(18,4)	,//	期末重分类贷方
        qm_tz_j     decimal(18,4)	,//	期末账项调整借方
        qm_tz_d	    decimal(18,4)	,//	期末账项调整贷方
        g_yqm_tz_j	decimal(18,4)	,//	账表差异滚调影响期末数借方
        g_yqm_tz_d	decimal(18,4)	,//	账表差异滚调影响期末数贷方
        g_qm_tz_j	decimal(18,4)	,//	调整分录滚调影响期末数借方
        g_qm_tz_d	decimal(18,4)	,//	调整分录滚调影响期末数贷方
        other5  	decimal(18,2)	,//	期初未更正数
        other6	    decimal(18,2)	,//	期末未更正数
        kmwm        char(96)        ,// 科目伪码,汇总完调整分录后使用科目库将伪码更新过来，为了向上汇总，同时处理调整数
        yqc_cfl_tzs decimal(18,4)	,//	期初账表差异调整金额，汇总后计算
        yqm_cfl_tzs decimal(18,4)	,//	期末账表差异调整金额，汇总后计算
        qc_cfl_tzs  decimal(18,4)	,//	期初重分类调整数，汇总后计算
        qc_tz_tzs   decimal(18,4)	,//	期初账项调整数，汇总后计算
        qc_tzs      decimal(18,4)	,//	期初调整数，汇总后计算
        qm_cfl_tzs  decimal(18,4)	,//	期末重分类调整数，汇总后计算
        qm_tz_tzs   decimal(18,4)	,//	期末账项调整数，汇总后计算
        qm_tzs      decimal(18,4)	,//	期末调整数，汇总后计算
        primary key(kmbh))
        create index #t_tzfl_kmwm on #t_tzfl (kmwm)
    ////汇总调整分录
    insert into #t_tzfl
    select kmbh,1,1,
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqc_cfl_j,	//	期初账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqc_cfl_d,	//	期初账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.jfje,0) else 0 end) as yqm_cfl_j,	//	期末账表差异调整借方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;9&apos;  then isnull(t.dfje,0) else 0 end) as yqm_cfl_d,	//	期末账表差异调整贷方金额
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qc_cfl_j,	//	期初重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qc_cfl_d,	//	期初重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qc_tz_j,	//	期初账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 0 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qc_tz_d,	//	期初账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.jfje,0) else 0 end) as qm_cfl_j,	//	期末重分类借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;1&apos;  then isnull(t.dfje,0) else 0 end) as qm_cfl_d,	//	期末重分类贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.jfje,0) else 0 end) as qm_tz_j,	//	期末账项调整借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.tzlx = 1 and z.lx = &apos;2&apos;  then isnull(t.dfje,0) else 0 end) as qm_tz_d,	//	期末账项调整贷方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	g_yqm_tz_j,//	账表差异滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and z.lx = &apos;9&apos; and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	g_yqm_tz_d,//	账表差异滚调影响期末数贷方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.jfje,0) else 0 end)	as	 g_qm_tz_j,//	调整分录滚调影响期末数借方
    	sum(case when z.khtzqk = &apos;1&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;)  and ((z.tzlx = &apos;1&apos; and isnull(t.other2,0) &lt;&gt; 1 )  or (z.tzlx = &apos;0&apos; and isnull(t.other2,0) = 1 )) then (case when isnull(t.other2,0) = 1 then -1 else 1 end)*isnull(t.dfje,0) else 0 end)	as	 g_qm_tz_d,//	调整分录滚调影响期末数贷方
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;0&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        sum(case when z.khtzqk = &apos;0&apos; and (z.lx = &apos;1&apos; or z.lx = &apos;2&apos;) and z.tzlx = &apos;1&apos; then isnull(t.jfje,0) - isnull(t.dfje,0) else 0 end),
        &apos;&apos;,0,0,0,0,0,0,0,0
    	from tzflb_zu as Z,tzflb as T 
    	where z.dwid = @a_dwid and z.ndid = @a_ndid and z.dwid = t.dwid and z.ndid = t.ndid and Z.xh = T.xh and 
    		z.sfxj = 1 and (t.jz &lt;&gt; 1 or t.jz is null)
    	group by t.kmbh
        
    ///删除明细科目的调整数据   
    delete from #t_tzfl where exists(select 1 from c_cwkmk where #t_tzfl.kmbh = c_cwkmk.kmbh and c_cwkmk.sfmx = &apos;1&apos; and c_cwkmk.dwid = @a_dwid and c_cwkmk.ndid = @a_ndid)
            
    ////更新汇总数据中科目伪码和需要计算字段
    update #t_tzfl a
        set a.kmwm = b.kmwm,a.jdz=(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end ),a.kmjc = b.kmjc,
            a.yqc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqc_cfl_j -  a.yqc_cfl_d),
            a.yqm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.yqm_cfl_j - a.yqm_cfl_d),
            a.qc_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_cfl_j - a.qc_cfl_d),
            a.qc_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qc_tz_j-a.qc_tz_d),
            a.qc_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qc_cfl_j - a.qc_cfl_d +  a.qc_tz_j-a.qc_tz_d),
            a.qm_cfl_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_cfl_j - a.qm_cfl_d),
            a.qm_tz_tzs =(case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*(a.qm_tz_j-a.qm_tz_d),
            a.qm_tzs = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )*( a.qm_cfl_j - a.qm_cfl_d +  a.qm_tz_j-a.qm_tz_d),
            a.other5 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other5,
            a.other6 = (case when locate(b.jdfx,&apos;借&apos;)&gt;0 then 1 else -1 end )* a.other6
        from c_cwkmk b
        where a.kmbh = b.kmbh and b.dwid = @a_dwid and b.ndid = @a_ndid
     
        
    ////取最大科目级次
    select max(kmjc) into @li_jc from c_cwkmk 	where dwid =@a_dwid and ndid = @a_ndid
    DECLARE jskm CURSOR FOR select kmwm,kmbh from #t_tzfl where kmjc = @li_i
    ////从一级科目开始循环
    set @li_i =1 
    while @li_i &lt;= @li_jc
    begin
        //在当前级次的下一级插入新科目
        set @li_i_xj = @li_i + 1
        
        //打开游标，开始取数
        open jskm
        FETCH NEXT jskm INTO @kmwm,@kmbh
        while @@sqlstatus = 0 
            begin 
                set @newkmbh = @kmbh
                
                ///查询如果下一已经存在科目名称为“调整分录生成科目”的数据则不再重新插入，只更新调整数
                set @count = 0
                select @count = count(1) from c_cwkmk where dwid = @a_dwid and ndid = @a_ndid and (kmbh like @kmbh || &apos;%&apos; or kmbh is null) and kmjc = @li_i_xj and kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
                if @count &lt;= 0 
                begin
                    //循环获取新的科目编号
                    set @newkmbh = getkmbh(@a_dwid,@a_ndid,@newkmbh,@li_i_xj - 1,1)
                    insert into c_cwkmk(dwid,ndid,kmbh,kmmc,kmjc,sfmx) values (@a_dwid,@a_ndid,@newkmbh,&apos;DXN调整项目&apos;,@li_i_xj,&apos;1&apos;)
                end
                    
               FETCH NEXT jskm INTO @kmwm,@kmbh
            end
        close jskm
        ////准备下次循环
        set @li_i =  @li_i + 1
    end
    
    //重新生成科目伪码
    execute p_make_km_sjkmmc @a_dwid,@a_ndid,&apos;~|&apos;
    
    //首先将调整分录插入的科目调整数清0
     update c_cwkmk
        set yqc_cfl_j = 0,yqc_cfl_d = 0,yqm_cfl_j = 0,yqm_cfl_d = 0,
            qc_cfl_j = 0,qc_cfl_d = 0,qc_tz_j = 0,qc_tz_d = 0,
            qm_cfl_j = 0,qm_cfl_d = 0,qm_tz_j = 0,qm_tz_d = 0,
            g_yqm_tz_j = 0,g_yqm_tz_d = 0,g_qm_tz_j = 0,g_qm_tz_d = 0,
            other5=0,other6=0,yqc_cfl_tzs = 0,yqm_cfl_tzs = 0,qc_cfl_tzs = 0,
            qc_tz_tzs = 0,qc_tzs = 0,qm_cfl_tzs = 0,qm_tz_tzs = 0,qm_tzs = 0
        where kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
    
    //将上级科目的调整数更新到下级新插入的科目中
     update c_cwkmk A
        set A.kmlb = B.kmlb,A.jdfx = B.jdfx,
            A.yqc_cfl_j = C.yqc_cfl_j,A.yqc_cfl_d = C.yqc_cfl_d,A.yqm_cfl_j = C.yqm_cfl_j,A.yqm_cfl_d = C.yqm_cfl_d,
            A.qc_cfl_j = C.qc_cfl_j,A.qc_cfl_d = C.qc_cfl_d,A.qc_tz_j = C.qc_tz_j,A.qc_tz_d = C.qc_tz_d,
            A.qm_cfl_j = C.qm_cfl_j,A.qm_cfl_d = C.qm_cfl_d,A.qm_tz_j = C.qm_tz_j,A.qm_tz_d = C.qm_tz_d,
            A.g_yqm_tz_j = C.g_yqm_tz_j,A.g_yqm_tz_d = C.g_yqm_tz_d,A.g_qm_tz_j = C.g_qm_tz_j,A.g_qm_tz_d = C.g_qm_tz_d,
            A.other5=C.other5,A.other6=C.other6,A.yqc_cfl_tzs = C.yqc_cfl_tzs,A.yqm_cfl_tzs = C.yqm_cfl_tzs,A.qc_cfl_tzs = C.qc_cfl_tzs,
            A.qc_tz_tzs = C.qc_tz_tzs,A.qc_tzs = C.qc_tzs,A.qm_cfl_tzs = C.qm_cfl_tzs,A.qm_tz_tzs = C.qm_tz_tzs,A.qm_tzs = C.qm_tzs
        from #t_tzfl C,c_cwkmk B            
        where A.dwid = @a_dwid and A.ndid = @a_ndid and A.dwid = B.dwid and A.ndid = B.ndid and B.kmbh = C.kmbh 
        and A.kmwm like C.kmwm || &apos;%&apos; and A.kmjc = B.kmjc + 1 and A.kmmc = &apos;DXN调整项目&apos; and isnull(A.flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
        
     //将科目&apos;DXN调整项目&apos;数据为0的删除
     //yqc_cfl_j = 0 and yqc_cfl_d = 0 and yqm_cfl_j = 0 and yqm_cfl_d = 0 
     //and qc_cfl_j = 0 and qc_cfl_d = 0 and qc_tz_j = 0 and qc_tz_d = 0 
     //and qm_cfl_j = 0 and qm_cfl_d = 0 and qm_tz_j = 0 and qm_tz_d = 0 
     //and g_yqm_tz_j = 0 and g_yqm_tz_d = 0 and g_qm_tz_j = 0 and g_qm_tz_d = 0 
     delete from c_cwkmk where 
                yqc_cfl_tzs = 0 and yqm_cfl_tzs = 0 and qc_cfl_tzs = 0 
            and qc_tz_tzs = 0 and qc_tzs = 0 and qm_cfl_tzs = 0 and qm_tz_tzs = 0 and qm_tzs = 0 
            and kmmc = &apos;DXN调整项目&apos; and isnull(flag,&apos;&apos;) &lt;&gt; &apos;1&apos;
        
end;</sql></db_upgrade_row><db_upgrade_row><p_id>42</p_id><no>10</no><make_date>2014-07-30 13:52:35.140000</make_date><note>增加数据列</note><sql>if not exists(select 1 from sys.systab a,sys.systabcol b where a.table_id = b.table_id and a.table_name = &apos;prj_info&apos; and b.column_name = &apos;itemstyle&apos;) then alter table prj_info add itemstyle varchar(10) null end if;</sql></db_upgrade_row><db_upgrade_row><p_id>43</p_id><no>10</no><make_date>2014-11-05 11:49:20.932000</make_date><note>执行创建项目人员相关的权限的触发器</note><sql>if exists(select 1 from sys.systrigger where trigger_name = &apos;tr_b_dgxm_ins&apos;) then
   drop TRIGGER tr_b_dgxm_ins
end if;
Create TRIGGER tr_b_dgxm_ins on b_dgxm for insert as begin declare @dwid integer declare @ndid integer declare @dgbh char(20) declare cur dynamic scroll cursor for select dwid,ndid,dgbh from inserted
  open cur
  fetch next cur into @dwid,@ndid,@dgbh
  while @@sqlstatus = 0 begin if length(@dgbh) &gt; 1 begin delete from z_qx where dwid = @dwid and ndid = @ndid and dgbh = @dgbh
          insert into z_qx( dwid,ndid,usid,dgbh,S,D,M,fh1,fh2,fh3,fh4,O1,O2,O3,O4,O5) select @dwid,@ndid,u_id,@dgbh,1,case u_id when 0 then 1 else 0 end,1,0,0,0,0,0,0,0,0,0 from sj_user end
      fetch next cur into @dwid,@ndid,@dgbh end
  close cur end;

if exists(select 1 from sys.systrigger where trigger_name = &apos;tr_sj_user_del&apos;) then
  drop TRIGGER tr_sj_user_del
end if;

create TRIGGER tr_sj_user_del on sj_user for delete as begin declare @i_user integer declare cur dynamic scroll cursor for select u_id from deleted
  open cur
  fetch next cur into @i_user
  while @@sqlstatus = 0 begin delete from z_qx where usid = @i_user
      fetch next cur into @i_user end
  close cur end;

if exists(select 1 from sys.systrigger where trigger_name  = &apos;tr_sj_user_ins&apos;) then
  drop TRIGGER tr_sj_user_ins;
end if;

create TRIGGER tr_sj_user_ins on sj_user 
for insert 
as 
begin 
    declare @i_user integer 
    declare cur dynamic scroll cursor for select u_id from inserted
    open cur
    fetch next cur into @i_user
    while @@sqlstatus = 0 
        begin 
            delete from z_qx where usid = @i_user
            if @i_user = 0
                insert into z_qx( dwid,ndid,usid,dgbh,S,D,M,fh1,fh2,fh3,fh4,O1,O2,O3,O4,O5) 
                    select distinct dwid,ndid,@i_user,dgbh,1,1,1,1,1,1,1,1,1,1,1,1 from b_dgxm where length(dgbh) &gt; 0
            else 
                insert into z_qx( dwid,ndid,usid,dgbh,S,D,M,fh1,fh2,fh3,fh4,O1,O2,O3,O4,O5) 
                    select distinct dwid,ndid,@i_user,dgbh,1,0,1,0,0,0,0,0,0,0,0,0 from b_dgxm where length(dgbh) &gt; 0
            fetch next cur into @i_user
        end
    close cur 
end;
</sql></db_upgrade_row><db_upgrade_row><p_id>44</p_id><no>10</no><make_date>2014-12-13 15:43:26.906000</make_date><note>增加数据字典表</note><sql>DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0004&apos; and (col_cname = &apos;其他类型1&apos; or col_cname = &apos;其他类型3&apos; or col_cname = &apos;其他类型4&apos; );
INSERT INTO datatable_defcolinfo VALUES (&apos;B0004&apos;,&apos;其他类型1&apos;,&apos;other1&apos;,NULL,&apos;other1&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,9613.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,20,&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;B0004&apos;,&apos;其他类型3&apos;,&apos;other3&apos;,NULL,&apos;other3&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,9813.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,21,&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;B0004&apos;,&apos;其他类型4&apos;,&apos;other4&apos;,NULL,&apos;other4&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,9913.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,22,&apos;integer&apos;);

DELETE FROM datatable_defcolinfo WHERE t_id = &apos;B0003&apos; and (col_cname = &apos;其他类型1&apos; or col_cname = &apos;其他类型3&apos; or col_cname = &apos;其他类型4&apos;  or col_cname = &apos;其他类型2&apos;);

INSERT INTO datatable_defcolinfo VALUES (&apos;B0003&apos;,&apos;其他类型1&apos;,&apos;other1&apos;,NULL,&apos;other2&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,7423.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,15,&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;B0003&apos;,&apos;其他类型2&apos;,&apos;other2&apos;,NULL,&apos;other3&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,7523.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,16,&apos;integer&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;B0003&apos;,&apos;其他类型3&apos;,&apos;other3&apos;,NULL,&apos;other4&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,7623.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,17,&apos;char&apos;);
INSERT INTO datatable_defcolinfo VALUES (&apos;B0003&apos;,&apos;其他类型4&apos;,&apos;other4&apos;,NULL,&apos;other1&apos;,&apos;1&apos;,1,NULL,&apos;1&apos;,&apos;1&apos;,7723.00,100.00,&apos;[General]&apos;,&apos;0&apos;,NULL,18,&apos;integer&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>45</p_id><no>10</no><make_date>2014-12-30 16:50:21.984000</make_date><note>修改审计程序模板</note><sql>delete datatable_defcolinfo  where t_id =&apos;B0004&apos;  and  col_ename =&apos;other2&apos;;

insert datatable_defcolinfo(t_id,col_cname,col_ename,col_alias,col_update,col_level,col_group,is_visible,disp_x,col_width,col_disformat,group_sign,col_no,col_type) values(&apos;B0004&apos;,&apos;是否组信息&apos;,&apos;other2&apos;,&apos;other2&apos;,&apos;1&apos;,1,&apos;1&apos;,&apos;1&apos;,9713.00,100,&apos;[General]&apos;,&apos;0&apos;,21,&apos;char&apos;);</sql></db_upgrade_row><db_upgrade_row><p_id>45</p_id><no>20</no><make_date>2014-12-30 18:11:10.687000</make_date><note>修改审计程序模板2</note><sql>update  datatable_defcolinfo set col_type =&apos;char&apos; where t_id =&apos;B0004&apos;  and  col_ename =&apos;other3&apos;;</sql></db_upgrade_row><db_upgrade_row><p_id>45</p_id><no>30</no><make_date>2014-12-30 18:27:58.796000</make_date><note>修改风险认定</note><sql>DELETE FROM datatable_defcolinfo WHERE t_id =&apos;B0006&apos; AND  col_ename =&apos;other1&apos;;
INSERT datatable_defcolinfo(t_id,col_cname,col_ename,col_alias,col_update,col_level,col_group,is_visible,disp_x,col_width,col_disformat,group_sign,col_no,col_type)
VALUES(&apos;B0006&apos;,&apos;其它字符字段1&apos;,&apos;other1&apos;,&apos;other1&apos;,&apos;1&apos;,1,&apos;1&apos;,&apos;1&apos;,8909.00,400,&apos;[General]&apos;,&apos;0&apos;,61,&apos;char&apos;);

DELETE FROM datatable_defcolinfo WHERE t_id =&apos;B0006&apos; AND  col_ename =&apos;other2&apos;;
INSERT datatable_defcolinfo(t_id,col_cname,col_ename,col_alias,col_update,col_level,col_group,is_visible,disp_x,col_width,col_disformat,group_sign,col_no,col_type)
VALUES(&apos;B0006&apos;,&apos;其它数值字段2&apos;,&apos;other2&apos;,&apos;other2&apos;,&apos;1&apos;,1,&apos;1&apos;,&apos;1&apos;,9309.00,400,&apos;[General]&apos;,&apos;0&apos;,62,&apos;char&apos;);

DELETE FROM datatable_defcolinfo WHERE t_id =&apos;B0006&apos; AND  col_ename =&apos;other3&apos;;
INSERT datatable_defcolinfo(t_id,col_cname,col_ename,col_alias,col_update,col_level,col_group,is_visible,disp_x,col_width,col_disformat,group_sign,col_no,col_type)
VALUES(&apos;B0006&apos;,&apos;其它字符字段3&apos;,&apos;other3&apos;,&apos;other3&apos;,&apos;1&apos;,1,&apos;1&apos;,&apos;1&apos;,9709.00,400,&apos;[General]&apos;,&apos;0&apos;,63,&apos;char&apos;);

DELETE FROM datatable_defcolinfo WHERE t_id =&apos;B0006&apos; AND  col_ename =&apos;other4&apos;;
INSERT datatable_defcolinfo(t_id,col_cname,col_ename,col_alias,col_update,col_level,col_group,is_visible,disp_x,col_width,col_disformat,group_sign,col_no,col_type)
VALUES(&apos;B0006&apos;,&apos;其它数值字段4&apos;,&apos;other4&apos;,&apos;other4&apos;,&apos;1&apos;,1,&apos;1&apos;,&apos;1&apos;,10209.00,400,&apos;[General]&apos;,&apos;0&apos;,64,&apos;char&apos;);</sql></db_upgrade_row></db_upgrade>
