Commit 8afa41fa by huangshunlin

ref 关键字

parent c7d40774
......@@ -38,7 +38,7 @@
</resultMap>
<sql id="Base_Column_List">
inr,objtyp,objinr,rol,ptainr,ptyinr,extkey,adrblk,ref,nam,ownref,dftcur,dftdsp,dftact,dftfeecur,
inr,objtyp,objinr,rol,ptainr,ptyinr,extkey,adrblk,"REF",nam,ownref,dftcur,dftdsp,dftact,dftfeecur,
dftactptainr,dftsetrol,glggrpflg,extact,ver,ptcnam,ptcoe,issbaninf,bankno,jigomc,dizhii,youzbm,
dihdig,cnnam,cnadr,ennam,enadr
</sql>
......@@ -307,11 +307,8 @@
</select>
<select id="getPtsByObjInrTyp" resultMap="BaseResultMap">
select
INR ,OBJTYP,OBJINR,ROL,PTAINR,PTYINR,EXTKEY,ADRBLK,"REF",NAM,OWNREF,DFTCUR,DFTDSP,
DFTACT,DFTFEECUR,DFTACTPTAINR,GLGGRPFLG,EXTACT,VER,ISSBANINF,BANKNO,JIGOMC,DIZHII,
YOUZBM,DIHDIG,DFTSETROL,PTCNAM,PTCOE,CNNAM,CNADR,ENNAM,ENADR
from pts
select <include refid="Base_Column_List" />
from pts
where objinr = #{objinr,jdbcType=VARCHAR}
and objtyp = #{objtyp,jdbcType=VARCHAR}
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment