|
|
|
@ -2,141 +2,33 @@
|
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
<mapper namespace="com.hzya.frame.voucher.ae.comf.bd.dao.impl.AeConfBdAccsubjDaoImpl">
|
|
|
|
|
|
|
|
|
|
<resultMap id="get-AeConfBdAccsubjEntity-result"
|
|
|
|
|
type="com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity">
|
|
|
|
|
<result property="accremove" column="ACCREMOVE" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="balanflag" column="BALANFLAG" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="balanorient" column="BALANORIENT" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="beginperiod" column="BEGINPERIOD" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="beginyear" column="BEGINYEAR" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="bothorient" column="BOTHORIENT" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="cashbankflag" column="CASHBANKFLAG" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="checkdouble" column="CHECKDOUBLE" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="checktype" column="CHECKTYPE" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="createcorp" column="CREATECORP" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="createperiod" column="CREATEPERIOD" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="createyear" column="CREATEYEAR" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="ctlsystem" column="CTLSYSTEM" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="currency" column="CURRENCY" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="dispname" column="DISPNAME" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="dr" column="DR" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="endflag" column="ENDFLAG" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="endperiod" column="ENDPERIOD" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="endyear" column="ENDYEAR" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="engsubjname" column="ENGSUBJNAME" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free1" column="FREE1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free10" column="FREE10" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free11" column="FREE11" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free12" column="FREE12" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free13" column="FREE13" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free14" column="FREE14" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free15" column="FREE15" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free16" column="FREE16" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free17" column="FREE17" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free18" column="FREE18" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free19" column="FREE19" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free2" column="FREE2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free20" column="FREE20" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free3" column="FREE3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free4" column="FREE4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free5" column="FREE5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free6" column="FREE6" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free7" column="FREE7" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free8" column="FREE8" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="free9" column="FREE9" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="incurflag" column="INCURFLAG" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="innerinfonull" column="INNERINFONULL" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="innersubj" column="INNERSUBJ" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="outflag" column="OUTFLAG" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkAccsubj" column="PK_ACCSUBJ" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkCorp" column="PK_CORP" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkCreateGlorgbook" column="PK_CREATE_GLORGBOOK" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkGlorgbook" column="PK_GLORGBOOK" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkGrpaccsubj" column="PK_GRPACCSUBJ" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkSubjscheme" column="PK_SUBJSCHEME" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkSubjtype" column="PK_SUBJTYPE" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="property1" column="PROPERTY1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="property2" column="PROPERTY2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="property3" column="PROPERTY3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="property4" column="PROPERTY4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="property5" column="PROPERTY5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="remcode" column="REMCODE" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="sealflag" column="SEALFLAG" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="stoped" column="STOPED" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="subjcode" column="SUBJCODE" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="subjlev" column="SUBJLEV" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="subjname" column="SUBJNAME" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="sumprintLevel" column="SUMPRINT_LEVEL" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="ts" column="TS" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="unit" column="UNIT" jdbcType="VARCHAR"/>
|
|
|
|
|
<resultMap id="get-AeConfBdAccsubjEntity-result" type="com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity">
|
|
|
|
|
<result property="dispname" column="dispname" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="dr" column="dr" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="endflag" column="endflag" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkAccsubj" column="pk_accsubj" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkCorp" column="pk_corp" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="pkGlorgbook" column="pk_glorgbook" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="stoped" column="stoped" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="subjcode" column="subjcode" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="subjlev" column="subjlev" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="subjname" column="subjname" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="ts" column="ts" jdbcType="TIMESTAMP"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
<!-- 查询的字段-->
|
|
|
|
|
<sql id="AeConfBdAccsubjEntity_Base_Column_List">
|
|
|
|
|
ACCREMOVE
|
|
|
|
|
,BALANFLAG
|
|
|
|
|
,BALANORIENT
|
|
|
|
|
,BEGINPERIOD
|
|
|
|
|
,BEGINYEAR
|
|
|
|
|
,BOTHORIENT
|
|
|
|
|
,CASHBANKFLAG
|
|
|
|
|
,CHECKDOUBLE
|
|
|
|
|
,CHECKTYPE
|
|
|
|
|
,CREATECORP
|
|
|
|
|
,CREATEPERIOD
|
|
|
|
|
,CREATEYEAR
|
|
|
|
|
,CTLSYSTEM
|
|
|
|
|
,CURRENCY
|
|
|
|
|
,DISPNAME
|
|
|
|
|
,DR
|
|
|
|
|
,ENDFLAG
|
|
|
|
|
,ENDPERIOD
|
|
|
|
|
,ENDYEAR
|
|
|
|
|
,ENGSUBJNAME
|
|
|
|
|
,FREE1
|
|
|
|
|
,FREE10
|
|
|
|
|
,FREE11
|
|
|
|
|
,FREE12
|
|
|
|
|
,FREE13
|
|
|
|
|
,FREE14
|
|
|
|
|
,FREE15
|
|
|
|
|
,FREE16
|
|
|
|
|
,FREE17
|
|
|
|
|
,FREE18
|
|
|
|
|
,FREE19
|
|
|
|
|
,FREE2
|
|
|
|
|
,FREE20
|
|
|
|
|
,FREE3
|
|
|
|
|
,FREE4
|
|
|
|
|
,FREE5
|
|
|
|
|
,FREE6
|
|
|
|
|
,FREE7
|
|
|
|
|
,FREE8
|
|
|
|
|
,FREE9
|
|
|
|
|
,INCURFLAG
|
|
|
|
|
,INNERINFONULL
|
|
|
|
|
,INNERSUBJ
|
|
|
|
|
,OUTFLAG
|
|
|
|
|
,PK_ACCSUBJ
|
|
|
|
|
,PK_CORP
|
|
|
|
|
,PK_CREATE_GLORGBOOK
|
|
|
|
|
,PK_GLORGBOOK
|
|
|
|
|
,PK_GRPACCSUBJ
|
|
|
|
|
,PK_SUBJSCHEME
|
|
|
|
|
,PK_SUBJTYPE
|
|
|
|
|
,PROPERTY1
|
|
|
|
|
,PROPERTY2
|
|
|
|
|
,PROPERTY3
|
|
|
|
|
,PROPERTY4
|
|
|
|
|
,PROPERTY5
|
|
|
|
|
,REMCODE
|
|
|
|
|
,SEALFLAG
|
|
|
|
|
,STOPED
|
|
|
|
|
,SUBJCODE
|
|
|
|
|
,SUBJLEV
|
|
|
|
|
,SUBJNAME
|
|
|
|
|
,SUMPRINT_LEVEL
|
|
|
|
|
,TS
|
|
|
|
|
,UNIT
|
|
|
|
|
dispname
|
|
|
|
|
,dr
|
|
|
|
|
,endflag
|
|
|
|
|
,pk_accsubj
|
|
|
|
|
,pk_corp
|
|
|
|
|
,pk_glorgbook
|
|
|
|
|
,sealflag
|
|
|
|
|
,stoped
|
|
|
|
|
,subjcode
|
|
|
|
|
,subjlev
|
|
|
|
|
,subjname
|
|
|
|
|
,ts
|
|
|
|
|
</sql>
|
|
|
|
|
<!-- 查询 采用==查询 -->
|
|
|
|
|
<select id="entity_list_base" resultMap="get-AeConfBdAccsubjEntity-result"
|
|
|
|
@ -145,73 +37,18 @@
|
|
|
|
|
<include refid="AeConfBdAccsubjEntity_Base_Column_List"/>
|
|
|
|
|
from ae_conf_bd_accsubj
|
|
|
|
|
<trim prefix="where" prefixOverrides="and">
|
|
|
|
|
<if test="accremove != null and accremove != ''">and ACCREMOVE = #{accremove}</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">and BALANFLAG = #{balanflag}</if>
|
|
|
|
|
<if test="balanorient != null">and BALANORIENT = #{balanorient}</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">and BEGINPERIOD = #{beginperiod}</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">and BEGINYEAR = #{beginyear}</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">and BOTHORIENT = #{bothorient}</if>
|
|
|
|
|
<if test="cashbankflag != null">and CASHBANKFLAG = #{cashbankflag}</if>
|
|
|
|
|
<if test="checkdouble != null">and CHECKDOUBLE = #{checkdouble}</if>
|
|
|
|
|
<if test="checktype != null">and CHECKTYPE = #{checktype}</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">and CREATECORP = #{createcorp}</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">and CREATEPERIOD = #{createperiod}</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">and CREATEYEAR = #{createyear}</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">and CTLSYSTEM = #{ctlsystem}</if>
|
|
|
|
|
<if test="currency != null and currency != ''">and CURRENCY = #{currency}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and DISPNAME = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">and DR = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and ENDFLAG = #{endflag}</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">and ENDPERIOD = #{endperiod}</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">and ENDYEAR = #{endyear}</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">and ENGSUBJNAME = #{engsubjname}</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">and FREE1 = #{free1}</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">and FREE10 = #{free10}</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">and FREE11 = #{free11}</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">and FREE12 = #{free12}</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">and FREE13 = #{free13}</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">and FREE14 = #{free14}</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">and FREE15 = #{free15}</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">and FREE16 = #{free16}</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">and FREE17 = #{free17}</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">and FREE18 = #{free18}</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">and FREE19 = #{free19}</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">and FREE2 = #{free2}</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">and FREE20 = #{free20}</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">and FREE3 = #{free3}</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">and FREE4 = #{free4}</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">and FREE5 = #{free5}</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">and FREE6 = #{free6}</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">and FREE7 = #{free7}</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">and FREE8 = #{free8}</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">and FREE9 = #{free9}</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">and INCURFLAG = #{incurflag}</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">and INNERINFONULL = #{innerinfonull}</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">and INNERSUBJ = #{innersubj}</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">and OUTFLAG = #{outflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and PK_ACCSUBJ = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and PK_CORP = #{pkCorp}</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">and PK_CREATE_GLORGBOOK =
|
|
|
|
|
#{pkCreateGlorgbook}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and PK_GLORGBOOK = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">and PK_GRPACCSUBJ = #{pkGrpaccsubj}</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">and PK_SUBJSCHEME = #{pkSubjscheme}</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">and PK_SUBJTYPE = #{pkSubjtype}</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">and PROPERTY1 = #{property1}</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">and PROPERTY2 = #{property2}</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">and PROPERTY3 = #{property3}</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">and PROPERTY4 = #{property4}</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">and PROPERTY5 = #{property5}</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">and REMCODE = #{remcode}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and SEALFLAG = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and STOPED = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and SUBJCODE = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">and SUBJLEV = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and SUBJNAME = #{subjname}</if>
|
|
|
|
|
<if test="sumprintLevel != null">and SUMPRINT_LEVEL = #{sumprintLevel}</if>
|
|
|
|
|
<if test="ts != null">and TS = #{ts}</if>
|
|
|
|
|
<if test="unit != null and unit != ''">and UNIT = #{unit}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and dispname = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">and dr = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and endflag = #{endflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and pk_accsubj = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and pk_glorgbook = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and sealflag = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and stoped = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and subjcode = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">and subjlev = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and subjname = #{subjname}</if>
|
|
|
|
|
<if test="ts != null">and ts = #{ts}</if>
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY ae_conf_bd_accsubj.subjcode ASC
|
|
|
|
|
</select>
|
|
|
|
@ -221,73 +58,18 @@
|
|
|
|
|
parameterType="com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity">
|
|
|
|
|
select count(1) from ae_conf_bd_accsubj
|
|
|
|
|
<trim prefix="where" prefixOverrides="and">
|
|
|
|
|
<if test="accremove != null and accremove != ''">and ACCREMOVE = #{accremove}</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">and BALANFLAG = #{balanflag}</if>
|
|
|
|
|
<if test="balanorient != null">and BALANORIENT = #{balanorient}</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">and BEGINPERIOD = #{beginperiod}</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">and BEGINYEAR = #{beginyear}</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">and BOTHORIENT = #{bothorient}</if>
|
|
|
|
|
<if test="cashbankflag != null">and CASHBANKFLAG = #{cashbankflag}</if>
|
|
|
|
|
<if test="checkdouble != null">and CHECKDOUBLE = #{checkdouble}</if>
|
|
|
|
|
<if test="checktype != null">and CHECKTYPE = #{checktype}</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">and CREATECORP = #{createcorp}</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">and CREATEPERIOD = #{createperiod}</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">and CREATEYEAR = #{createyear}</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">and CTLSYSTEM = #{ctlsystem}</if>
|
|
|
|
|
<if test="currency != null and currency != ''">and CURRENCY = #{currency}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and DISPNAME = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">and DR = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and ENDFLAG = #{endflag}</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">and ENDPERIOD = #{endperiod}</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">and ENDYEAR = #{endyear}</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">and ENGSUBJNAME = #{engsubjname}</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">and FREE1 = #{free1}</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">and FREE10 = #{free10}</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">and FREE11 = #{free11}</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">and FREE12 = #{free12}</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">and FREE13 = #{free13}</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">and FREE14 = #{free14}</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">and FREE15 = #{free15}</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">and FREE16 = #{free16}</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">and FREE17 = #{free17}</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">and FREE18 = #{free18}</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">and FREE19 = #{free19}</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">and FREE2 = #{free2}</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">and FREE20 = #{free20}</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">and FREE3 = #{free3}</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">and FREE4 = #{free4}</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">and FREE5 = #{free5}</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">and FREE6 = #{free6}</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">and FREE7 = #{free7}</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">and FREE8 = #{free8}</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">and FREE9 = #{free9}</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">and INCURFLAG = #{incurflag}</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">and INNERINFONULL = #{innerinfonull}</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">and INNERSUBJ = #{innersubj}</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">and OUTFLAG = #{outflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and PK_ACCSUBJ = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and PK_CORP = #{pkCorp}</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">and PK_CREATE_GLORGBOOK =
|
|
|
|
|
#{pkCreateGlorgbook}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and PK_GLORGBOOK = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">and PK_GRPACCSUBJ = #{pkGrpaccsubj}</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">and PK_SUBJSCHEME = #{pkSubjscheme}</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">and PK_SUBJTYPE = #{pkSubjtype}</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">and PROPERTY1 = #{property1}</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">and PROPERTY2 = #{property2}</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">and PROPERTY3 = #{property3}</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">and PROPERTY4 = #{property4}</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">and PROPERTY5 = #{property5}</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">and REMCODE = #{remcode}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and SEALFLAG = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and STOPED = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and SUBJCODE = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">and SUBJLEV = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and SUBJNAME = #{subjname}</if>
|
|
|
|
|
<if test="sumprintLevel != null">and SUMPRINT_LEVEL = #{sumprintLevel}</if>
|
|
|
|
|
<if test="ts != null">and TS = #{ts}</if>
|
|
|
|
|
<if test="unit != null and unit != ''">and UNIT = #{unit}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and dispname = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">and dr = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and endflag = #{endflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and pk_accsubj = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and pk_glorgbook = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and sealflag = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and stoped = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and subjcode = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">and subjlev = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and subjname = #{subjname}</if>
|
|
|
|
|
<if test="ts != null">and ts = #{ts}</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@ -298,84 +80,18 @@
|
|
|
|
|
<include refid="AeConfBdAccsubjEntity_Base_Column_List"/>
|
|
|
|
|
from ae_conf_bd_accsubj
|
|
|
|
|
<trim prefix="where" prefixOverrides="and">
|
|
|
|
|
<if test="accremove != null and accremove != ''">and ACCREMOVE like concat('%',#{accremove},'%')</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">and BALANFLAG like concat('%',#{balanflag},'%')</if>
|
|
|
|
|
<if test="balanorient != null">and BALANORIENT like concat('%',#{balanorient},'%')</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">and BEGINPERIOD like concat('%',#{beginperiod},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">and BEGINYEAR like concat('%',#{beginyear},'%')</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">and BOTHORIENT like concat('%',#{bothorient},'%')</if>
|
|
|
|
|
<if test="cashbankflag != null">and CASHBANKFLAG like concat('%',#{cashbankflag},'%')</if>
|
|
|
|
|
<if test="checkdouble != null">and CHECKDOUBLE like concat('%',#{checkdouble},'%')</if>
|
|
|
|
|
<if test="checktype != null">and CHECKTYPE like concat('%',#{checktype},'%')</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">and CREATECORP like concat('%',#{createcorp},'%')</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">and CREATEPERIOD like
|
|
|
|
|
concat('%',#{createperiod},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">and CREATEYEAR like concat('%',#{createyear},'%')</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">and CTLSYSTEM like concat('%',#{ctlsystem},'%')</if>
|
|
|
|
|
<if test="currency != null and currency != ''">and CURRENCY like concat('%',#{currency},'%')</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and DISPNAME like concat('%',#{dispname},'%')</if>
|
|
|
|
|
<if test="dr != null">and DR like concat('%',#{dr},'%')</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and ENDFLAG like concat('%',#{endflag},'%')</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">and ENDPERIOD like concat('%',#{endperiod},'%')</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">and ENDYEAR like concat('%',#{endyear},'%')</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">and ENGSUBJNAME like concat('%',#{engsubjname},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">and FREE1 like concat('%',#{free1},'%')</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">and FREE10 like concat('%',#{free10},'%')</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">and FREE11 like concat('%',#{free11},'%')</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">and FREE12 like concat('%',#{free12},'%')</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">and FREE13 like concat('%',#{free13},'%')</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">and FREE14 like concat('%',#{free14},'%')</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">and FREE15 like concat('%',#{free15},'%')</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">and FREE16 like concat('%',#{free16},'%')</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">and FREE17 like concat('%',#{free17},'%')</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">and FREE18 like concat('%',#{free18},'%')</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">and FREE19 like concat('%',#{free19},'%')</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">and FREE2 like concat('%',#{free2},'%')</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">and FREE20 like concat('%',#{free20},'%')</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">and FREE3 like concat('%',#{free3},'%')</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">and FREE4 like concat('%',#{free4},'%')</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">and FREE5 like concat('%',#{free5},'%')</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">and FREE6 like concat('%',#{free6},'%')</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">and FREE7 like concat('%',#{free7},'%')</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">and FREE8 like concat('%',#{free8},'%')</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">and FREE9 like concat('%',#{free9},'%')</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">and INCURFLAG like concat('%',#{incurflag},'%')</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">and INNERINFONULL like
|
|
|
|
|
concat('%',#{innerinfonull},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">and INNERSUBJ like concat('%',#{innersubj},'%')</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">and OUTFLAG like concat('%',#{outflag},'%')</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and PK_ACCSUBJ like concat('%',#{pkAccsubj},'%')</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and PK_CORP like concat('%',#{pkCorp},'%')</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">and PK_CREATE_GLORGBOOK like
|
|
|
|
|
concat('%',#{pkCreateGlorgbook},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and PK_GLORGBOOK like concat('%',#{pkGlorgbook},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">and PK_GRPACCSUBJ like
|
|
|
|
|
concat('%',#{pkGrpaccsubj},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">and PK_SUBJSCHEME like
|
|
|
|
|
concat('%',#{pkSubjscheme},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">and PK_SUBJTYPE like concat('%',#{pkSubjtype},'%')</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">and PROPERTY1 like concat('%',#{property1},'%')</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">and PROPERTY2 like concat('%',#{property2},'%')</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">and PROPERTY3 like concat('%',#{property3},'%')</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">and PROPERTY4 like concat('%',#{property4},'%')</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">and PROPERTY5 like concat('%',#{property5},'%')</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">and REMCODE like concat('%',#{remcode},'%')</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and SEALFLAG like concat('%',#{sealflag},'%')</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and STOPED like concat('%',#{stoped},'%')</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and SUBJCODE like concat('%',#{subjcode},'%')</if>
|
|
|
|
|
<if test="subjlev != null">and SUBJLEV like concat('%',#{subjlev},'%')</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and SUBJNAME like concat('%',#{subjname},'%')</if>
|
|
|
|
|
<if test="sumprintLevel != null">and SUMPRINT_LEVEL like concat('%',#{sumprintLevel},'%')</if>
|
|
|
|
|
<if test="ts != null">and TS like concat('%',#{ts},'%')</if>
|
|
|
|
|
<if test="unit != null and unit != ''">and UNIT like concat('%',#{unit},'%')</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">and dispname like concat('%',#{dispname},'%')</if>
|
|
|
|
|
<if test="dr != null">and dr like concat('%',#{dr},'%')</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">and endflag like concat('%',#{endflag},'%')</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">and pk_accsubj like concat('%',#{pkAccsubj},'%')</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp like concat('%',#{pkCorp},'%')</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">and pk_glorgbook like concat('%',#{pkGlorgbook},'%')</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">and sealflag like concat('%',#{sealflag},'%')</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">and stoped like concat('%',#{stoped},'%')</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">and subjcode like concat('%',#{subjcode},'%')</if>
|
|
|
|
|
<if test="subjlev != null">and subjlev like concat('%',#{subjlev},'%')</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">and subjname like concat('%',#{subjname},'%')</if>
|
|
|
|
|
<if test="ts != null">and ts like concat('%',#{ts},'%')</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@ -386,218 +102,23 @@
|
|
|
|
|
<include refid="AeConfBdAccsubjEntity_Base_Column_List"/>
|
|
|
|
|
from ae_conf_bd_accsubj
|
|
|
|
|
<trim prefix="where" prefixOverrides="and">
|
|
|
|
|
<if test="accremove != null and accremove != ''">or ACCREMOVE = #{accremove}</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">or BALANFLAG = #{balanflag}</if>
|
|
|
|
|
<if test="balanorient != null">or BALANORIENT = #{balanorient}</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">or BEGINPERIOD = #{beginperiod}</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">or BEGINYEAR = #{beginyear}</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">or BOTHORIENT = #{bothorient}</if>
|
|
|
|
|
<if test="cashbankflag != null">or CASHBANKFLAG = #{cashbankflag}</if>
|
|
|
|
|
<if test="checkdouble != null">or CHECKDOUBLE = #{checkdouble}</if>
|
|
|
|
|
<if test="checktype != null">or CHECKTYPE = #{checktype}</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">or CREATECORP = #{createcorp}</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">or CREATEPERIOD = #{createperiod}</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">or CREATEYEAR = #{createyear}</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">or CTLSYSTEM = #{ctlsystem}</if>
|
|
|
|
|
<if test="currency != null and currency != ''">or CURRENCY = #{currency}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">or DISPNAME = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">or DR = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">or ENDFLAG = #{endflag}</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">or ENDPERIOD = #{endperiod}</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">or ENDYEAR = #{endyear}</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">or ENGSUBJNAME = #{engsubjname}</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">or FREE1 = #{free1}</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">or FREE10 = #{free10}</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">or FREE11 = #{free11}</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">or FREE12 = #{free12}</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">or FREE13 = #{free13}</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">or FREE14 = #{free14}</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">or FREE15 = #{free15}</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">or FREE16 = #{free16}</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">or FREE17 = #{free17}</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">or FREE18 = #{free18}</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">or FREE19 = #{free19}</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">or FREE2 = #{free2}</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">or FREE20 = #{free20}</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">or FREE3 = #{free3}</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">or FREE4 = #{free4}</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">or FREE5 = #{free5}</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">or FREE6 = #{free6}</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">or FREE7 = #{free7}</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">or FREE8 = #{free8}</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">or FREE9 = #{free9}</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">or INCURFLAG = #{incurflag}</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">or INNERINFONULL = #{innerinfonull}</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">or INNERSUBJ = #{innersubj}</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">or OUTFLAG = #{outflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">or PK_ACCSUBJ = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">or PK_CORP = #{pkCorp}</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">or PK_CREATE_GLORGBOOK =
|
|
|
|
|
#{pkCreateGlorgbook}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">or PK_GLORGBOOK = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">or PK_GRPACCSUBJ = #{pkGrpaccsubj}</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">or PK_SUBJSCHEME = #{pkSubjscheme}</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">or PK_SUBJTYPE = #{pkSubjtype}</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">or PROPERTY1 = #{property1}</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">or PROPERTY2 = #{property2}</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">or PROPERTY3 = #{property3}</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">or PROPERTY4 = #{property4}</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">or PROPERTY5 = #{property5}</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">or REMCODE = #{remcode}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">or SEALFLAG = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">or STOPED = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">or SUBJCODE = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">or SUBJLEV = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">or SUBJNAME = #{subjname}</if>
|
|
|
|
|
<if test="sumprintLevel != null">or SUMPRINT_LEVEL = #{sumprintLevel}</if>
|
|
|
|
|
<if test="ts != null">or TS = #{ts}</if>
|
|
|
|
|
<if test="unit != null and unit != ''">or UNIT = #{unit}</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">or dispname = #{dispname}</if>
|
|
|
|
|
<if test="dr != null">or dr = #{dr}</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">or endflag = #{endflag}</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">or pk_accsubj = #{pkAccsubj}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">or pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">or pk_glorgbook = #{pkGlorgbook}</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">or sealflag = #{sealflag}</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">or stoped = #{stoped}</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">or subjcode = #{subjcode}</if>
|
|
|
|
|
<if test="subjlev != null">or subjlev = #{subjlev}</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">or subjname = #{subjname}</if>
|
|
|
|
|
<if test="ts != null">or ts = #{ts}</if>
|
|
|
|
|
and sts='Y'
|
|
|
|
|
</trim>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<!--新增所有列-->
|
|
|
|
|
<insert id="entity_insert" parameterType="com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity"
|
|
|
|
|
keyProperty="" useGeneratedKeys="true">
|
|
|
|
|
insert into ae_conf_bd_accsubj(
|
|
|
|
|
<trim suffix="" suffixOverrides=",">
|
|
|
|
|
<if test="accremove != null and accremove != ''">ACCREMOVE ,</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">BALANFLAG ,</if>
|
|
|
|
|
<if test="balanorient != null">BALANORIENT ,</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">BEGINPERIOD ,</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">BEGINYEAR ,</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">BOTHORIENT ,</if>
|
|
|
|
|
<if test="cashbankflag != null">CASHBANKFLAG ,</if>
|
|
|
|
|
<if test="checkdouble != null">CHECKDOUBLE ,</if>
|
|
|
|
|
<if test="checktype != null">CHECKTYPE ,</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">CREATECORP ,</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">CREATEPERIOD ,</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">CREATEYEAR ,</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">CTLSYSTEM ,</if>
|
|
|
|
|
<if test="currency != null and currency != ''">CURRENCY ,</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">DISPNAME ,</if>
|
|
|
|
|
<if test="dr != null">DR ,</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">ENDFLAG ,</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">ENDPERIOD ,</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">ENDYEAR ,</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">ENGSUBJNAME ,</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">FREE1 ,</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">FREE10 ,</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">FREE11 ,</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">FREE12 ,</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">FREE13 ,</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">FREE14 ,</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">FREE15 ,</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">FREE16 ,</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">FREE17 ,</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">FREE18 ,</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">FREE19 ,</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">FREE2 ,</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">FREE20 ,</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">FREE3 ,</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">FREE4 ,</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">FREE5 ,</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">FREE6 ,</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">FREE7 ,</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">FREE8 ,</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">FREE9 ,</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">INCURFLAG ,</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">INNERINFONULL ,</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">INNERSUBJ ,</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">OUTFLAG ,</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">PK_ACCSUBJ ,</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">PK_CORP ,</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">PK_CREATE_GLORGBOOK ,</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">PK_GLORGBOOK ,</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">PK_GRPACCSUBJ ,</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">PK_SUBJSCHEME ,</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">PK_SUBJTYPE ,</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">PROPERTY1 ,</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">PROPERTY2 ,</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">PROPERTY3 ,</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">PROPERTY4 ,</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">PROPERTY5 ,</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">REMCODE ,</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">SEALFLAG ,</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">STOPED ,</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">SUBJCODE ,</if>
|
|
|
|
|
<if test="subjlev != null">SUBJLEV ,</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">SUBJNAME ,</if>
|
|
|
|
|
<if test="sumprintLevel != null">SUMPRINT_LEVEL ,</if>
|
|
|
|
|
<if test="ts != null">TS ,</if>
|
|
|
|
|
<if test="unit != null and unit != ''">UNIT ,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
)values(
|
|
|
|
|
<trim suffix="" suffixOverrides=",">
|
|
|
|
|
<if test="accremove != null and accremove != ''">#{accremove} ,</if>
|
|
|
|
|
<if test="balanflag != null and balanflag != ''">#{balanflag} ,</if>
|
|
|
|
|
<if test="balanorient != null">#{balanorient} ,</if>
|
|
|
|
|
<if test="beginperiod != null and beginperiod != ''">#{beginperiod} ,</if>
|
|
|
|
|
<if test="beginyear != null and beginyear != ''">#{beginyear} ,</if>
|
|
|
|
|
<if test="bothorient != null and bothorient != ''">#{bothorient} ,</if>
|
|
|
|
|
<if test="cashbankflag != null">#{cashbankflag} ,</if>
|
|
|
|
|
<if test="checkdouble != null">#{checkdouble} ,</if>
|
|
|
|
|
<if test="checktype != null">#{checktype} ,</if>
|
|
|
|
|
<if test="createcorp != null and createcorp != ''">#{createcorp} ,</if>
|
|
|
|
|
<if test="createperiod != null and createperiod != ''">#{createperiod} ,</if>
|
|
|
|
|
<if test="createyear != null and createyear != ''">#{createyear} ,</if>
|
|
|
|
|
<if test="ctlsystem != null and ctlsystem != ''">#{ctlsystem} ,</if>
|
|
|
|
|
<if test="currency != null and currency != ''">#{currency} ,</if>
|
|
|
|
|
<if test="dispname != null and dispname != ''">#{dispname} ,</if>
|
|
|
|
|
<if test="dr != null">#{dr} ,</if>
|
|
|
|
|
<if test="endflag != null and endflag != ''">#{endflag} ,</if>
|
|
|
|
|
<if test="endperiod != null and endperiod != ''">#{endperiod} ,</if>
|
|
|
|
|
<if test="endyear != null and endyear != ''">#{endyear} ,</if>
|
|
|
|
|
<if test="engsubjname != null and engsubjname != ''">#{engsubjname} ,</if>
|
|
|
|
|
<if test="free1 != null and free1 != ''">#{free1} ,</if>
|
|
|
|
|
<if test="free10 != null and free10 != ''">#{free10} ,</if>
|
|
|
|
|
<if test="free11 != null and free11 != ''">#{free11} ,</if>
|
|
|
|
|
<if test="free12 != null and free12 != ''">#{free12} ,</if>
|
|
|
|
|
<if test="free13 != null and free13 != ''">#{free13} ,</if>
|
|
|
|
|
<if test="free14 != null and free14 != ''">#{free14} ,</if>
|
|
|
|
|
<if test="free15 != null and free15 != ''">#{free15} ,</if>
|
|
|
|
|
<if test="free16 != null and free16 != ''">#{free16} ,</if>
|
|
|
|
|
<if test="free17 != null and free17 != ''">#{free17} ,</if>
|
|
|
|
|
<if test="free18 != null and free18 != ''">#{free18} ,</if>
|
|
|
|
|
<if test="free19 != null and free19 != ''">#{free19} ,</if>
|
|
|
|
|
<if test="free2 != null and free2 != ''">#{free2} ,</if>
|
|
|
|
|
<if test="free20 != null and free20 != ''">#{free20} ,</if>
|
|
|
|
|
<if test="free3 != null and free3 != ''">#{free3} ,</if>
|
|
|
|
|
<if test="free4 != null and free4 != ''">#{free4} ,</if>
|
|
|
|
|
<if test="free5 != null and free5 != ''">#{free5} ,</if>
|
|
|
|
|
<if test="free6 != null and free6 != ''">#{free6} ,</if>
|
|
|
|
|
<if test="free7 != null and free7 != ''">#{free7} ,</if>
|
|
|
|
|
<if test="free8 != null and free8 != ''">#{free8} ,</if>
|
|
|
|
|
<if test="free9 != null and free9 != ''">#{free9} ,</if>
|
|
|
|
|
<if test="incurflag != null and incurflag != ''">#{incurflag} ,</if>
|
|
|
|
|
<if test="innerinfonull != null and innerinfonull != ''">#{innerinfonull} ,</if>
|
|
|
|
|
<if test="innersubj != null and innersubj != ''">#{innersubj} ,</if>
|
|
|
|
|
<if test="outflag != null and outflag != ''">#{outflag} ,</if>
|
|
|
|
|
<if test="pkAccsubj != null and pkAccsubj != ''">#{pkAccsubj} ,</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">#{pkCorp} ,</if>
|
|
|
|
|
<if test="pkCreateGlorgbook != null and pkCreateGlorgbook != ''">#{pkCreateGlorgbook} ,</if>
|
|
|
|
|
<if test="pkGlorgbook != null and pkGlorgbook != ''">#{pkGlorgbook} ,</if>
|
|
|
|
|
<if test="pkGrpaccsubj != null and pkGrpaccsubj != ''">#{pkGrpaccsubj} ,</if>
|
|
|
|
|
<if test="pkSubjscheme != null and pkSubjscheme != ''">#{pkSubjscheme} ,</if>
|
|
|
|
|
<if test="pkSubjtype != null and pkSubjtype != ''">#{pkSubjtype} ,</if>
|
|
|
|
|
<if test="property1 != null and property1 != ''">#{property1} ,</if>
|
|
|
|
|
<if test="property2 != null and property2 != ''">#{property2} ,</if>
|
|
|
|
|
<if test="property3 != null and property3 != ''">#{property3} ,</if>
|
|
|
|
|
<if test="property4 != null and property4 != ''">#{property4} ,</if>
|
|
|
|
|
<if test="property5 != null and property5 != ''">#{property5} ,</if>
|
|
|
|
|
<if test="remcode != null and remcode != ''">#{remcode} ,</if>
|
|
|
|
|
<if test="sealflag != null and sealflag != ''">#{sealflag} ,</if>
|
|
|
|
|
<if test="stoped != null and stoped != ''">#{stoped} ,</if>
|
|
|
|
|
<if test="subjcode != null and subjcode != ''">#{subjcode} ,</if>
|
|
|
|
|
<if test="subjlev != null">#{subjlev} ,</if>
|
|
|
|
|
<if test="subjname != null and subjname != ''">#{subjname} ,</if>
|
|
|
|
|
<if test="sumprintLevel != null">#{sumprintLevel} ,</if>
|
|
|
|
|
<if test="ts != null">#{ts} ,</if>
|
|
|
|
|
<if test="unit != null and unit != ''">#{unit} ,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|
|
|
|
|
|