Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
ab4c7841
Commit
ab4c7841
authored
Jan 27, 2023
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交多数据源runtime切换初版
parent
553c1110
Hide whitespace changes
Inline
Side-by-side
Showing
72 changed files
with
10650 additions
and
9 deletions
+10650
-9
Platform.java
...iness/src/main/java/com/ceb/gjjs/mda/global/Platform.java
+12
-9
adumapper.xml
...usiness/src/main/resources/META-INF/orm/mda/adumapper.xml
+97
-0
bchmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/bchmapper.xml
+259
-0
bnsstamapper.xml
...ness/src/main/resources/META-INF/orm/mda/bnsstamapper.xml
+115
-0
cetcsnmapper.xml
...ness/src/main/resources/META-INF/orm/mda/cetcsnmapper.xml
+187
-0
chnmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/chnmapper.xml
+165
-0
cpmmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/cpmmapper.xml
+151
-0
cpsactmapper.xml
...ness/src/main/resources/META-INF/orm/mda/cpsactmapper.xml
+157
-0
cpstimmapper.xml
...ness/src/main/resources/META-INF/orm/mda/cpstimmapper.xml
+133
-0
cpymapper.xml
...usiness/src/main/resources/META-INF/orm/mda/cpymapper.xml
+139
-0
csnmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/csnmapper.xml
+151
-0
datmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/datmapper.xml
+133
-0
dotmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/dotmapper.xml
+373
-0
dtamapper.xml
...usiness/src/main/resources/META-INF/orm/mda/dtamapper.xml
+103
-0
dtrmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/dtrmapper.xml
+123
-0
efdmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/efdmapper.xml
+169
-0
elctimmapper.xml
...ness/src/main/resources/META-INF/orm/mda/elctimmapper.xml
+127
-0
etgmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/etgmapper.xml
+91
-0
etymapper.xml
...usiness/src/main/resources/META-INF/orm/mda/etymapper.xml
+133
-0
fipstamapper.xml
...ness/src/main/resources/META-INF/orm/mda/fipstamapper.xml
+109
-0
frmmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/frmmapper.xml
+139
-0
fxbankmapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxbankmapper.xml
+223
-0
fxdcommapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxdcommapper.xml
+187
-0
fxdmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/fxdmapper.xml
+109
-0
fxdpatmapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxdpatmapper.xml
+193
-0
fxdrelmapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxdrelmapper.xml
+115
-0
fxdrigmapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxdrigmapper.xml
+133
-0
fxebnkmapper.xml
...ness/src/main/resources/META-INF/orm/mda/fxebnkmapper.xml
+199
-0
gjsmsgmapper.xml
...ness/src/main/resources/META-INF/orm/mda/gjsmsgmapper.xml
+121
-0
gndlstmapper.xml
...ness/src/main/resources/META-INF/orm/mda/gndlstmapper.xml
+283
-0
gpemapper.xml
...usiness/src/main/resources/META-INF/orm/mda/gpemapper.xml
+253
-0
icrmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/icrmapper.xml
+139
-0
marmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/marmapper.xml
+127
-0
mcrmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/mcrmapper.xml
+139
-0
monmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/monmapper.xml
+103
-0
mpemapper.xml
...usiness/src/main/resources/META-INF/orm/mda/mpemapper.xml
+163
-0
mpimapper.xml
...usiness/src/main/resources/META-INF/orm/mda/mpimapper.xml
+373
-0
mpsmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/mpsmapper.xml
+241
-0
mtmmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/mtmmapper.xml
+145
-0
nozmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/nozmapper.xml
+91
-0
pngmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/pngmapper.xml
+145
-0
pthlstmapper.xml
...ness/src/main/resources/META-INF/orm/mda/pthlstmapper.xml
+85
-0
ptymapper.xml
...usiness/src/main/resources/META-INF/orm/mda/ptymapper.xml
+187
-0
ptyrefmapper.xml
...ness/src/main/resources/META-INF/orm/mda/ptyrefmapper.xml
+109
-0
qrdmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/qrdmapper.xml
+235
-0
qremapper.xml
...usiness/src/main/resources/META-INF/orm/mda/qremapper.xml
+121
-0
relmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/relmapper.xml
+277
-0
rofmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/rofmapper.xml
+193
-0
rolmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/rolmapper.xml
+115
-0
sedmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/sedmapper.xml
+271
-0
sermapper.xml
...usiness/src/main/resources/META-INF/orm/mda/sermapper.xml
+163
-0
smhmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/smhmapper.xml
+163
-0
sptmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/sptmapper.xml
+199
-0
stbmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/stbmapper.xml
+103
-0
sthmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/sthmapper.xml
+115
-0
sweptymapper.xml
...ness/src/main/resources/META-INF/orm/mda/sweptymapper.xml
+193
-0
tskctlmapper.xml
...ness/src/main/resources/META-INF/orm/mda/tskctlmapper.xml
+115
-0
txhmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/txhmapper.xml
+115
-0
txmmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/txmmapper.xml
+127
-0
txtmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/txtmapper.xml
+181
-0
urlmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/urlmapper.xml
+97
-0
usrlogmapper.xml
...ness/src/main/resources/META-INF/orm/mda/usrlogmapper.xml
+97
-0
usrmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/usrmapper.xml
+259
-0
usrtabmapper.xml
...ness/src/main/resources/META-INF/orm/mda/usrtabmapper.xml
+205
-0
wtdmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/wtdmapper.xml
+193
-0
yssmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/yssmapper.xml
+109
-0
gcy_en_US.ctl
gjjs-bd-business/src/main/resources/codeTable/gcy_en_US.ctl
+5
-0
gcy_zh_CN.ctl
gjjs-bd-business/src/main/resources/codeTable/gcy_zh_CN.ctl
+5
-0
gcyp_en_US.properties
...bd-business/src/main/resources/i18n/gcyp_en_US.properties
+12
-0
rcvp_zh_CN.properties
...bd-business/src/main/resources/i18n/rcvp_zh_CN.properties
+1
-0
sysmod_zh_CN.properties
...-business/src/main/resources/i18n/sysmod_zh_CN.properties
+1
-0
TestJunit.java
...s/src/test/java/com/ceb/gjjs/mda/junitTest/TestJunit.java
+51
-0
No files found.
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/global/Platform.java
View file @
ab4c7841
...
...
@@ -2794,7 +2794,7 @@ public class Platform
**上传文件全路径--
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsUpload"
,
fileName
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsUpload",fileName);
log
.
info
(
"{}"
,
"fileserver fsUpload status:"
+
flg
);
return
flg
;
}
...
...
@@ -2867,7 +2867,8 @@ public class Platform
**/
byte
[]
buffer
=
null
;
java
.
io
.
File
file
=
null
;
Object
object
=
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsDownload"
,
fileName
);
//Object object = MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsDownload",fileName);
Object
object
=
new
Object
();
if
(
MdaUtils
.
isEmpty
(
object
)||
object
==
null
)
{
log
.
info
(
"{}"
,
"fsDownload from fileserver is null."
);
...
...
@@ -2964,7 +2965,7 @@ public class Platform
**判断文件服务器中是否存在文件
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsExists"
,
fileName
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsExists",fileName);
log
.
info
(
"{}"
,
"fileserver fsExists status:"
+
flg
);
return
flg
;
}
...
...
@@ -2998,7 +2999,7 @@ public class Platform
**待完善
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsDelete"
,
fileName
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsDelete",fileName);
log
.
info
(
"{}"
,
"fileserver fsDelete status:"
+
flg
);
return
flg
;
}
...
...
@@ -3038,7 +3039,7 @@ public class Platform
**待完善
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsMove"
,
sourcefileNameOrPath
,
targetFileOrPathName
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsMove",sourcefileNameOrPath,targetFileOrPathName);
log
.
info
(
"{}"
,
"fileserver fsMove status:"
+
flg
);
return
flg
;
}
...
...
@@ -3073,7 +3074,7 @@ public class Platform
**待完善
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsCopy"
,
sourceFileName
,
targetFileName
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsCopy",sourceFileName,targetFileName);
log
.
info
(
"{}"
,
"fileserver fsCopy status:"
+
flg
);
return
flg
;
}
...
...
@@ -3107,7 +3108,7 @@ public class Platform
**在文件服务器中创建文件夹
**/
boolean
flg
=
false
;
flg
=
(
Boolean
)
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsMkdirs"
,
filePath
);
//
flg = (Boolean)MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsMkdirs",filePath);
log
.
info
(
"{}"
,
"fileserver mkdir status:"
+
flg
);
return
flg
;
}
...
...
@@ -3151,7 +3152,8 @@ public class Platform
**列出文件服务器中指定路径下,指定文件类型的文件列表
**/
List
<
String
>
lst
=
new
ArrayList
<
String
>();
Object
object
=
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsListFiles"
,
path
,
filtyp
);
//Object object = MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsListFiles",path,filtyp);
Object
object
=
new
Object
();
if
(
MdaUtils
.
isEmpty
(
object
)
||
object
==
null
)
{
log
.
info
(
"{}"
,
"get from fileserver listfiles null"
);
...
...
@@ -3196,7 +3198,8 @@ public class Platform
**列出文件服务器中指定路径文件夹列表
**/
List
<
String
>
lst
=
new
ArrayList
<
String
>();
Object
object
=
MdaUtils
.
invoke
(
"cn.com.brilliance.psbc.client.imp.FileImp"
,
"fsListDirs"
,
path
);
//Object object = MdaUtils.invoke("cn.com.brilliance.psbc.client.imp.FileImp","fsListDirs",path);
Object
object
=
new
Object
();
if
(
MdaUtils
.
isEmpty
(
object
)
||
object
==
null
)
{
log
.
info
(
"{}"
,
"get from fileserver listdirs null"
);
...
...
gjjs-bd-business/src/main/resources/META-INF/orm/mda/adumapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.AduMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Adu"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"adunam"
column=
"adunam"
jdbcType=
"VARCHAR"
/>
<result
property=
"isrellev"
column=
"isrellev"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"VARCHAR"
/>
<result
property=
"creusr"
column=
"creusr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,adunam,isrellev,credat,creusr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from adu
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from adu
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into adu (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{adunam,jdbcType=VARCHAR},
#{isrellev,jdbcType=VARCHAR},
#{credat,jdbcType=VARCHAR},
#{creusr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into adu
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"adunam != null"
>
adunam,
</if>
<if
test=
"isrellev != null"
>
isrellev,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"creusr != null"
>
creusr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"adunam != null"
>
#{adunam,jdbcType=VARCHAR},
</if>
<if
test=
"isrellev != null"
>
#{isrellev,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=VARCHAR},
</if>
<if
test=
"creusr != null"
>
#{creusr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update adu
<set>
<if
test=
"adunam != null"
>
adunam = #{adunam,jdbcType=VARCHAR},
</if>
<if
test=
"isrellev != null"
>
isrellev = #{isrellev,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=VARCHAR},
</if>
<if
test=
"creusr != null"
>
creusr = #{creusr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update adu
<set>
adunam = #{adunam,jdbcType=VARCHAR},
isrellev = #{isrellev,jdbcType=VARCHAR},
credat = #{credat,jdbcType=VARCHAR},
creusr = #{creusr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/bchmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.BchMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Bch"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchkey"
column=
"bchkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"lev"
column=
"lev"
jdbcType=
"VARCHAR"
/>
<result
property=
"pntbchinr"
column=
"pntbchinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"decnum"
column=
"decnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"tel"
column=
"tel"
jdbcType=
"VARCHAR"
/>
<result
property=
"fax"
column=
"fax"
jdbcType=
"VARCHAR"
/>
<result
property=
"poscod"
column=
"poscod"
jdbcType=
"VARCHAR"
/>
<result
property=
"cnadr1"
column=
"cnadr1"
jdbcType=
"VARCHAR"
/>
<result
property=
"cnadr2"
column=
"cnadr2"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyexkey"
column=
"etyexkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"branch"
column=
"branch"
jdbcType=
"VARCHAR"
/>
<result
property=
"namen"
column=
"namen"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchtyp"
column=
"bchtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchflg"
column=
"bchflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"swfcod"
column=
"swfcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"ver"
column=
"ver"
jdbcType=
"VARCHAR"
/>
<result
property=
"adren"
column=
"adren"
jdbcType=
"VARCHAR"
/>
<result
property=
"adren2"
column=
"adren2"
jdbcType=
"VARCHAR"
/>
<result
property=
"tid"
column=
"tid"
jdbcType=
"VARCHAR"
/>
<result
property=
"upbchkey"
column=
"upbchkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"accbch"
column=
"accbch"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchref"
column=
"bchref"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchusr"
column=
"bchusr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchlst"
column=
"bchlst"
jdbcType=
"VARCHAR"
/>
<result
property=
"rmbrpt"
column=
"rmbrpt"
jdbcType=
"VARCHAR"
/>
<result
property=
"cnapno"
column=
"cnapno"
jdbcType=
"VARCHAR"
/>
<result
property=
"ydjcod"
column=
"ydjcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,bchkey,nam,lev,pntbchinr,decnum,tel,fax,poscod,cnadr1,cnadr2,ptyinr,sta,etyexkey,branch,namen,bchtyp,bchflg,swfcod,ver,adren,adren2,tid,upbchkey,accbch,bchref,bchusr,bchlst,rmbrpt,cnapno,ydjcod,etyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from bch
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from bch
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into bch (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{bchkey,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{lev,jdbcType=VARCHAR},
#{pntbchinr,jdbcType=VARCHAR},
#{decnum,jdbcType=VARCHAR},
#{tel,jdbcType=VARCHAR},
#{fax,jdbcType=VARCHAR},
#{poscod,jdbcType=VARCHAR},
#{cnadr1,jdbcType=VARCHAR},
#{cnadr2,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etyexkey,jdbcType=VARCHAR},
#{branch,jdbcType=VARCHAR},
#{namen,jdbcType=VARCHAR},
#{bchtyp,jdbcType=VARCHAR},
#{bchflg,jdbcType=VARCHAR},
#{swfcod,jdbcType=VARCHAR},
#{ver,jdbcType=VARCHAR},
#{adren,jdbcType=VARCHAR},
#{adren2,jdbcType=VARCHAR},
#{tid,jdbcType=VARCHAR},
#{upbchkey,jdbcType=VARCHAR},
#{accbch,jdbcType=VARCHAR},
#{bchref,jdbcType=VARCHAR},
#{bchusr,jdbcType=VARCHAR},
#{bchlst,jdbcType=VARCHAR},
#{rmbrpt,jdbcType=VARCHAR},
#{cnapno,jdbcType=VARCHAR},
#{ydjcod,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into bch
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"bchkey != null"
>
bchkey,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"lev != null"
>
lev,
</if>
<if
test=
"pntbchinr != null"
>
pntbchinr,
</if>
<if
test=
"decnum != null"
>
decnum,
</if>
<if
test=
"tel != null"
>
tel,
</if>
<if
test=
"fax != null"
>
fax,
</if>
<if
test=
"poscod != null"
>
poscod,
</if>
<if
test=
"cnadr1 != null"
>
cnadr1,
</if>
<if
test=
"cnadr2 != null"
>
cnadr2,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etyexkey != null"
>
etyexkey,
</if>
<if
test=
"branch != null"
>
branch,
</if>
<if
test=
"namen != null"
>
namen,
</if>
<if
test=
"bchtyp != null"
>
bchtyp,
</if>
<if
test=
"bchflg != null"
>
bchflg,
</if>
<if
test=
"swfcod != null"
>
swfcod,
</if>
<if
test=
"ver != null"
>
ver,
</if>
<if
test=
"adren != null"
>
adren,
</if>
<if
test=
"adren2 != null"
>
adren2,
</if>
<if
test=
"tid != null"
>
tid,
</if>
<if
test=
"upbchkey != null"
>
upbchkey,
</if>
<if
test=
"accbch != null"
>
accbch,
</if>
<if
test=
"bchref != null"
>
bchref,
</if>
<if
test=
"bchusr != null"
>
bchusr,
</if>
<if
test=
"bchlst != null"
>
bchlst,
</if>
<if
test=
"rmbrpt != null"
>
rmbrpt,
</if>
<if
test=
"cnapno != null"
>
cnapno,
</if>
<if
test=
"ydjcod != null"
>
ydjcod,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"bchkey != null"
>
#{bchkey,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"lev != null"
>
#{lev,jdbcType=VARCHAR},
</if>
<if
test=
"pntbchinr != null"
>
#{pntbchinr,jdbcType=VARCHAR},
</if>
<if
test=
"decnum != null"
>
#{decnum,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
#{tel,jdbcType=VARCHAR},
</if>
<if
test=
"fax != null"
>
#{fax,jdbcType=VARCHAR},
</if>
<if
test=
"poscod != null"
>
#{poscod,jdbcType=VARCHAR},
</if>
<if
test=
"cnadr1 != null"
>
#{cnadr1,jdbcType=VARCHAR},
</if>
<if
test=
"cnadr2 != null"
>
#{cnadr2,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyexkey != null"
>
#{etyexkey,jdbcType=VARCHAR},
</if>
<if
test=
"branch != null"
>
#{branch,jdbcType=VARCHAR},
</if>
<if
test=
"namen != null"
>
#{namen,jdbcType=VARCHAR},
</if>
<if
test=
"bchtyp != null"
>
#{bchtyp,jdbcType=VARCHAR},
</if>
<if
test=
"bchflg != null"
>
#{bchflg,jdbcType=VARCHAR},
</if>
<if
test=
"swfcod != null"
>
#{swfcod,jdbcType=VARCHAR},
</if>
<if
test=
"ver != null"
>
#{ver,jdbcType=VARCHAR},
</if>
<if
test=
"adren != null"
>
#{adren,jdbcType=VARCHAR},
</if>
<if
test=
"adren2 != null"
>
#{adren2,jdbcType=VARCHAR},
</if>
<if
test=
"tid != null"
>
#{tid,jdbcType=VARCHAR},
</if>
<if
test=
"upbchkey != null"
>
#{upbchkey,jdbcType=VARCHAR},
</if>
<if
test=
"accbch != null"
>
#{accbch,jdbcType=VARCHAR},
</if>
<if
test=
"bchref != null"
>
#{bchref,jdbcType=VARCHAR},
</if>
<if
test=
"bchusr != null"
>
#{bchusr,jdbcType=VARCHAR},
</if>
<if
test=
"bchlst != null"
>
#{bchlst,jdbcType=VARCHAR},
</if>
<if
test=
"rmbrpt != null"
>
#{rmbrpt,jdbcType=VARCHAR},
</if>
<if
test=
"cnapno != null"
>
#{cnapno,jdbcType=VARCHAR},
</if>
<if
test=
"ydjcod != null"
>
#{ydjcod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update bch
<set>
<if
test=
"bchkey != null"
>
bchkey = #{bchkey,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"lev != null"
>
lev = #{lev,jdbcType=VARCHAR},
</if>
<if
test=
"pntbchinr != null"
>
pntbchinr = #{pntbchinr,jdbcType=VARCHAR},
</if>
<if
test=
"decnum != null"
>
decnum = #{decnum,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
tel = #{tel,jdbcType=VARCHAR},
</if>
<if
test=
"fax != null"
>
fax = #{fax,jdbcType=VARCHAR},
</if>
<if
test=
"poscod != null"
>
poscod = #{poscod,jdbcType=VARCHAR},
</if>
<if
test=
"cnadr1 != null"
>
cnadr1 = #{cnadr1,jdbcType=VARCHAR},
</if>
<if
test=
"cnadr2 != null"
>
cnadr2 = #{cnadr2,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyexkey != null"
>
etyexkey = #{etyexkey,jdbcType=VARCHAR},
</if>
<if
test=
"branch != null"
>
branch = #{branch,jdbcType=VARCHAR},
</if>
<if
test=
"namen != null"
>
namen = #{namen,jdbcType=VARCHAR},
</if>
<if
test=
"bchtyp != null"
>
bchtyp = #{bchtyp,jdbcType=VARCHAR},
</if>
<if
test=
"bchflg != null"
>
bchflg = #{bchflg,jdbcType=VARCHAR},
</if>
<if
test=
"swfcod != null"
>
swfcod = #{swfcod,jdbcType=VARCHAR},
</if>
<if
test=
"ver != null"
>
ver = #{ver,jdbcType=VARCHAR},
</if>
<if
test=
"adren != null"
>
adren = #{adren,jdbcType=VARCHAR},
</if>
<if
test=
"adren2 != null"
>
adren2 = #{adren2,jdbcType=VARCHAR},
</if>
<if
test=
"tid != null"
>
tid = #{tid,jdbcType=VARCHAR},
</if>
<if
test=
"upbchkey != null"
>
upbchkey = #{upbchkey,jdbcType=VARCHAR},
</if>
<if
test=
"accbch != null"
>
accbch = #{accbch,jdbcType=VARCHAR},
</if>
<if
test=
"bchref != null"
>
bchref = #{bchref,jdbcType=VARCHAR},
</if>
<if
test=
"bchusr != null"
>
bchusr = #{bchusr,jdbcType=VARCHAR},
</if>
<if
test=
"bchlst != null"
>
bchlst = #{bchlst,jdbcType=VARCHAR},
</if>
<if
test=
"rmbrpt != null"
>
rmbrpt = #{rmbrpt,jdbcType=VARCHAR},
</if>
<if
test=
"cnapno != null"
>
cnapno = #{cnapno,jdbcType=VARCHAR},
</if>
<if
test=
"ydjcod != null"
>
ydjcod = #{ydjcod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update bch
<set>
bchkey = #{bchkey,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
lev = #{lev,jdbcType=VARCHAR},
pntbchinr = #{pntbchinr,jdbcType=VARCHAR},
decnum = #{decnum,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
fax = #{fax,jdbcType=VARCHAR},
poscod = #{poscod,jdbcType=VARCHAR},
cnadr1 = #{cnadr1,jdbcType=VARCHAR},
cnadr2 = #{cnadr2,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etyexkey = #{etyexkey,jdbcType=VARCHAR},
branch = #{branch,jdbcType=VARCHAR},
namen = #{namen,jdbcType=VARCHAR},
bchtyp = #{bchtyp,jdbcType=VARCHAR},
bchflg = #{bchflg,jdbcType=VARCHAR},
swfcod = #{swfcod,jdbcType=VARCHAR},
ver = #{ver,jdbcType=VARCHAR},
adren = #{adren,jdbcType=VARCHAR},
adren2 = #{adren2,jdbcType=VARCHAR},
tid = #{tid,jdbcType=VARCHAR},
upbchkey = #{upbchkey,jdbcType=VARCHAR},
accbch = #{accbch,jdbcType=VARCHAR},
bchref = #{bchref,jdbcType=VARCHAR},
bchusr = #{bchusr,jdbcType=VARCHAR},
bchlst = #{bchlst,jdbcType=VARCHAR},
rmbrpt = #{rmbrpt,jdbcType=VARCHAR},
cnapno = #{cnapno,jdbcType=VARCHAR},
ydjcod = #{ydjcod,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/bnsstamapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.BnsstaMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Bnssta"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"hstnam"
column=
"hstnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"upddat"
column=
"upddat"
jdbcType=
"DATE"
/>
<result
property=
"middle"
column=
"middle"
jdbcType=
"VARCHAR"
/>
<result
property=
"status"
column=
"status"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"busnam"
column=
"busnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"bustyp"
column=
"bustyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,hstnam,upddat,middle,status,flg,busnam,bustyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from bnssta
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from bnssta
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into bnssta (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{hstnam,jdbcType=VARCHAR},
#{upddat,jdbcType=DATE},
#{middle,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{busnam,jdbcType=VARCHAR},
#{bustyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into bnssta
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"hstnam != null"
>
hstnam,
</if>
<if
test=
"upddat != null"
>
upddat,
</if>
<if
test=
"middle != null"
>
middle,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"busnam != null"
>
busnam,
</if>
<if
test=
"bustyp != null"
>
bustyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"hstnam != null"
>
#{hstnam,jdbcType=VARCHAR},
</if>
<if
test=
"upddat != null"
>
#{upddat,jdbcType=DATE},
</if>
<if
test=
"middle != null"
>
#{middle,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"busnam != null"
>
#{busnam,jdbcType=VARCHAR},
</if>
<if
test=
"bustyp != null"
>
#{bustyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update bnssta
<set>
<if
test=
"hstnam != null"
>
hstnam = #{hstnam,jdbcType=VARCHAR},
</if>
<if
test=
"upddat != null"
>
upddat = #{upddat,jdbcType=DATE},
</if>
<if
test=
"middle != null"
>
middle = #{middle,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"busnam != null"
>
busnam = #{busnam,jdbcType=VARCHAR},
</if>
<if
test=
"bustyp != null"
>
bustyp = #{bustyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update bnssta
<set>
hstnam = #{hstnam,jdbcType=VARCHAR},
upddat = #{upddat,jdbcType=DATE},
middle = #{middle,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
busnam = #{busnam,jdbcType=VARCHAR},
bustyp = #{bustyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/cetcsnmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CetcsnMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Cetcsn"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnkcod"
column=
"bnkcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"certdn"
column=
"certdn"
jdbcType=
"VARCHAR"
/>
<result
property=
"certsn"
column=
"certsn"
jdbcType=
"VARCHAR"
/>
<result
property=
"certefdat"
column=
"certefdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"certindat"
column=
"certindat"
jdbcType=
"VARCHAR"
/>
<result
property=
"cerbdy"
column=
"cerbdy"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndpty"
column=
"sndpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"snddirpty"
column=
"snddirpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvdirpty"
column=
"rcvdirpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvpty"
column=
"rcvpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"relinr"
column=
"relinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"gendat"
column=
"gendat"
jdbcType=
"DATE"
/>
<result
property=
"rem"
column=
"rem"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"csntyp"
column=
"csntyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"syscd"
column=
"syscd"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,bnkcod,certdn,certsn,certefdat,certindat,cerbdy,fxdinr,sta,sndpty,snddirpty,rcvdirpty,rcvpty,relinr,gendat,rem,subtyp,csntyp,syscd,flg
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from cetcsn
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from cetcsn
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into cetcsn (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{bnkcod,jdbcType=VARCHAR},
#{certdn,jdbcType=VARCHAR},
#{certsn,jdbcType=VARCHAR},
#{certefdat,jdbcType=VARCHAR},
#{certindat,jdbcType=VARCHAR},
#{cerbdy,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{sndpty,jdbcType=VARCHAR},
#{snddirpty,jdbcType=VARCHAR},
#{rcvdirpty,jdbcType=VARCHAR},
#{rcvpty,jdbcType=VARCHAR},
#{relinr,jdbcType=VARCHAR},
#{gendat,jdbcType=DATE},
#{rem,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{csntyp,jdbcType=VARCHAR},
#{syscd,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into cetcsn
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"bnkcod != null"
>
bnkcod,
</if>
<if
test=
"certdn != null"
>
certdn,
</if>
<if
test=
"certsn != null"
>
certsn,
</if>
<if
test=
"certefdat != null"
>
certefdat,
</if>
<if
test=
"certindat != null"
>
certindat,
</if>
<if
test=
"cerbdy != null"
>
cerbdy,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"sndpty != null"
>
sndpty,
</if>
<if
test=
"snddirpty != null"
>
snddirpty,
</if>
<if
test=
"rcvdirpty != null"
>
rcvdirpty,
</if>
<if
test=
"rcvpty != null"
>
rcvpty,
</if>
<if
test=
"relinr != null"
>
relinr,
</if>
<if
test=
"gendat != null"
>
gendat,
</if>
<if
test=
"rem != null"
>
rem,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"csntyp != null"
>
csntyp,
</if>
<if
test=
"syscd != null"
>
syscd,
</if>
<if
test=
"flg != null"
>
flg,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"bnkcod != null"
>
#{bnkcod,jdbcType=VARCHAR},
</if>
<if
test=
"certdn != null"
>
#{certdn,jdbcType=VARCHAR},
</if>
<if
test=
"certsn != null"
>
#{certsn,jdbcType=VARCHAR},
</if>
<if
test=
"certefdat != null"
>
#{certefdat,jdbcType=VARCHAR},
</if>
<if
test=
"certindat != null"
>
#{certindat,jdbcType=VARCHAR},
</if>
<if
test=
"cerbdy != null"
>
#{cerbdy,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndpty != null"
>
#{sndpty,jdbcType=VARCHAR},
</if>
<if
test=
"snddirpty != null"
>
#{snddirpty,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdirpty != null"
>
#{rcvdirpty,jdbcType=VARCHAR},
</if>
<if
test=
"rcvpty != null"
>
#{rcvpty,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
#{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
#{gendat,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
#{rem,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"csntyp != null"
>
#{csntyp,jdbcType=VARCHAR},
</if>
<if
test=
"syscd != null"
>
#{syscd,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update cetcsn
<set>
<if
test=
"bnkcod != null"
>
bnkcod = #{bnkcod,jdbcType=VARCHAR},
</if>
<if
test=
"certdn != null"
>
certdn = #{certdn,jdbcType=VARCHAR},
</if>
<if
test=
"certsn != null"
>
certsn = #{certsn,jdbcType=VARCHAR},
</if>
<if
test=
"certefdat != null"
>
certefdat = #{certefdat,jdbcType=VARCHAR},
</if>
<if
test=
"certindat != null"
>
certindat = #{certindat,jdbcType=VARCHAR},
</if>
<if
test=
"cerbdy != null"
>
cerbdy = #{cerbdy,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndpty != null"
>
sndpty = #{sndpty,jdbcType=VARCHAR},
</if>
<if
test=
"snddirpty != null"
>
snddirpty = #{snddirpty,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdirpty != null"
>
rcvdirpty = #{rcvdirpty,jdbcType=VARCHAR},
</if>
<if
test=
"rcvpty != null"
>
rcvpty = #{rcvpty,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
relinr = #{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
gendat = #{gendat,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
rem = #{rem,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"csntyp != null"
>
csntyp = #{csntyp,jdbcType=VARCHAR},
</if>
<if
test=
"syscd != null"
>
syscd = #{syscd,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update cetcsn
<set>
bnkcod = #{bnkcod,jdbcType=VARCHAR},
certdn = #{certdn,jdbcType=VARCHAR},
certsn = #{certsn,jdbcType=VARCHAR},
certefdat = #{certefdat,jdbcType=VARCHAR},
certindat = #{certindat,jdbcType=VARCHAR},
cerbdy = #{cerbdy,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
sndpty = #{sndpty,jdbcType=VARCHAR},
snddirpty = #{snddirpty,jdbcType=VARCHAR},
rcvdirpty = #{rcvdirpty,jdbcType=VARCHAR},
rcvpty = #{rcvpty,jdbcType=VARCHAR},
relinr = #{relinr,jdbcType=VARCHAR},
gendat = #{gendat,jdbcType=DATE},
rem = #{rem,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
csntyp = #{csntyp,jdbcType=VARCHAR},
syscd = #{syscd,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/chnmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.ChnMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Chn"
>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"ctlsta"
column=
"ctlsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"fmt"
column=
"fmt"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstrcvdattim"
column=
"lstrcvdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"lstsnddattim"
column=
"lstsnddattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"dlytim"
column=
"dlytim"
jdbcType=
"INTEGER"
/>
<result
property=
"mpssta"
column=
"mpssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndcnt"
column=
"sndcnt"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvcnt"
column=
"rcvcnt"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprsta"
column=
"oprsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"chncod"
column=
"chncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprtyp"
column=
"oprtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
cod,nam,ctlsta,sta,typ,fmt,lstrcvdattim,lstsnddattim,dlytim,mpssta,txt,sndcnt,rcvcnt,oprsta,chncod,oprtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from chn
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from chn
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into chn (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{cod,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{ctlsta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{fmt,jdbcType=VARCHAR},
#{lstrcvdattim,jdbcType=TIMESTAMP},
#{lstsnddattim,jdbcType=TIMESTAMP},
#{dlytim,jdbcType=INTEGER},
#{mpssta,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{sndcnt,jdbcType=VARCHAR},
#{rcvcnt,jdbcType=VARCHAR},
#{oprsta,jdbcType=VARCHAR},
#{chncod,jdbcType=VARCHAR},
#{oprtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into chn
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"ctlsta != null"
>
ctlsta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"fmt != null"
>
fmt,
</if>
<if
test=
"lstrcvdattim != null"
>
lstrcvdattim,
</if>
<if
test=
"lstsnddattim != null"
>
lstsnddattim,
</if>
<if
test=
"dlytim != null"
>
dlytim,
</if>
<if
test=
"mpssta != null"
>
mpssta,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"sndcnt != null"
>
sndcnt,
</if>
<if
test=
"rcvcnt != null"
>
rcvcnt,
</if>
<if
test=
"oprsta != null"
>
oprsta,
</if>
<if
test=
"chncod != null"
>
chncod,
</if>
<if
test=
"oprtyp != null"
>
oprtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"ctlsta != null"
>
#{ctlsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"fmt != null"
>
#{fmt,jdbcType=VARCHAR},
</if>
<if
test=
"lstrcvdattim != null"
>
#{lstrcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstsnddattim != null"
>
#{lstsnddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"dlytim != null"
>
#{dlytim,jdbcType=INTEGER},
</if>
<if
test=
"mpssta != null"
>
#{mpssta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"sndcnt != null"
>
#{sndcnt,jdbcType=VARCHAR},
</if>
<if
test=
"rcvcnt != null"
>
#{rcvcnt,jdbcType=VARCHAR},
</if>
<if
test=
"oprsta != null"
>
#{oprsta,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
#{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"oprtyp != null"
>
#{oprtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update chn
<set>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"ctlsta != null"
>
ctlsta = #{ctlsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"fmt != null"
>
fmt = #{fmt,jdbcType=VARCHAR},
</if>
<if
test=
"lstrcvdattim != null"
>
lstrcvdattim = #{lstrcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstsnddattim != null"
>
lstsnddattim = #{lstsnddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"dlytim != null"
>
dlytim = #{dlytim,jdbcType=INTEGER},
</if>
<if
test=
"mpssta != null"
>
mpssta = #{mpssta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"sndcnt != null"
>
sndcnt = #{sndcnt,jdbcType=VARCHAR},
</if>
<if
test=
"rcvcnt != null"
>
rcvcnt = #{rcvcnt,jdbcType=VARCHAR},
</if>
<if
test=
"oprsta != null"
>
oprsta = #{oprsta,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
chncod = #{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"oprtyp != null"
>
oprtyp = #{oprtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update chn
<set>
cod = #{cod,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
ctlsta = #{ctlsta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
fmt = #{fmt,jdbcType=VARCHAR},
lstrcvdattim = #{lstrcvdattim,jdbcType=TIMESTAMP},
lstsnddattim = #{lstsnddattim,jdbcType=TIMESTAMP},
dlytim = #{dlytim,jdbcType=INTEGER},
mpssta = #{mpssta,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
sndcnt = #{sndcnt,jdbcType=VARCHAR},
rcvcnt = #{rcvcnt,jdbcType=VARCHAR},
oprsta = #{oprsta,jdbcType=VARCHAR},
chncod = #{chncod,jdbcType=VARCHAR},
oprtyp = #{oprtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/cpmmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CpmMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Cpm"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpiinr"
column=
"mpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"dc"
column=
"dc"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"DECIMAL"
/>
<result
property=
"cpyinr"
column=
"cpyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkdat"
column=
"chkdat"
jdbcType=
"DATE"
/>
<result
property=
"chkbic"
column=
"chkbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"biztyp"
column=
"biztyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mpiinr,ownref,amt,dc,sta,sndbic,cod,cpyinr,subtyp,chkdat,chkbic,flg,biztyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from cpm
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from cpm
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into cpm (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{dc,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{sndbic,jdbcType=VARCHAR},
#{cod,jdbcType=DECIMAL},
#{cpyinr,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{chkdat,jdbcType=DATE},
#{chkbic,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{biztyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into cpm
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mpiinr != null"
>
mpiinr,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"dc != null"
>
dc,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"cpyinr != null"
>
cpyinr,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"chkdat != null"
>
chkdat,
</if>
<if
test=
"chkbic != null"
>
chkbic,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"biztyp != null"
>
biztyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
#{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"dc != null"
>
#{dc,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=DECIMAL},
</if>
<if
test=
"cpyinr != null"
>
#{cpyinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
#{chkdat,jdbcType=DATE},
</if>
<if
test=
"chkbic != null"
>
#{chkbic,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"biztyp != null"
>
#{biztyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update cpm
<set>
<if
test=
"mpiinr != null"
>
mpiinr = #{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"dc != null"
>
dc = #{dc,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=DECIMAL},
</if>
<if
test=
"cpyinr != null"
>
cpyinr = #{cpyinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
chkdat = #{chkdat,jdbcType=DATE},
</if>
<if
test=
"chkbic != null"
>
chkbic = #{chkbic,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"biztyp != null"
>
biztyp = #{biztyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update cpm
<set>
mpiinr = #{mpiinr,jdbcType=VARCHAR},
ownref = #{ownref,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
dc = #{dc,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
sndbic = #{sndbic,jdbcType=VARCHAR},
cod = #{cod,jdbcType=DECIMAL},
cpyinr = #{cpyinr,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
chkdat = #{chkdat,jdbcType=DATE},
chkbic = #{chkbic,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
biztyp = #{biztyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/cpsactmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CpsactMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Cpsact"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dirbic"
column=
"dirbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"acttyp"
column=
"acttyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"injectminamt"
column=
"injectminamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"injecttyp"
column=
"injecttyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"waramt"
column=
"waramt"
jdbcType=
"DECIMAL"
/>
<result
property=
"begamt"
column=
"begamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"deballamt"
column=
"deballamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"crdallamt"
column=
"crdallamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"lowamt"
column=
"lowamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"credattim"
column=
"credattim"
jdbcType=
"DATE"
/>
<result
property=
"tepamt"
column=
"tepamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"balamt"
column=
"balamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"preamt"
column=
"preamt"
jdbcType=
"DECIMAL"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,dirbic,acttyp,injectminamt,amt,injecttyp,waramt,begamt,deballamt,crdallamt,lowamt,credattim,tepamt,balamt,preamt
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from cpsact
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from cpsact
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into cpsact (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{dirbic,jdbcType=VARCHAR},
#{acttyp,jdbcType=VARCHAR},
#{injectminamt,jdbcType=DECIMAL},
#{amt,jdbcType=DECIMAL},
#{injecttyp,jdbcType=VARCHAR},
#{waramt,jdbcType=DECIMAL},
#{begamt,jdbcType=DECIMAL},
#{deballamt,jdbcType=DECIMAL},
#{crdallamt,jdbcType=DECIMAL},
#{lowamt,jdbcType=DECIMAL},
#{credattim,jdbcType=DATE},
#{tepamt,jdbcType=DECIMAL},
#{balamt,jdbcType=DECIMAL},
#{preamt,jdbcType=DECIMAL},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into cpsact
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"dirbic != null"
>
dirbic,
</if>
<if
test=
"acttyp != null"
>
acttyp,
</if>
<if
test=
"injectminamt != null"
>
injectminamt,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"injecttyp != null"
>
injecttyp,
</if>
<if
test=
"waramt != null"
>
waramt,
</if>
<if
test=
"begamt != null"
>
begamt,
</if>
<if
test=
"deballamt != null"
>
deballamt,
</if>
<if
test=
"crdallamt != null"
>
crdallamt,
</if>
<if
test=
"lowamt != null"
>
lowamt,
</if>
<if
test=
"credattim != null"
>
credattim,
</if>
<if
test=
"tepamt != null"
>
tepamt,
</if>
<if
test=
"balamt != null"
>
balamt,
</if>
<if
test=
"preamt != null"
>
preamt,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"dirbic != null"
>
#{dirbic,jdbcType=VARCHAR},
</if>
<if
test=
"acttyp != null"
>
#{acttyp,jdbcType=VARCHAR},
</if>
<if
test=
"injectminamt != null"
>
#{injectminamt,jdbcType=DECIMAL},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"injecttyp != null"
>
#{injecttyp,jdbcType=VARCHAR},
</if>
<if
test=
"waramt != null"
>
#{waramt,jdbcType=DECIMAL},
</if>
<if
test=
"begamt != null"
>
#{begamt,jdbcType=DECIMAL},
</if>
<if
test=
"deballamt != null"
>
#{deballamt,jdbcType=DECIMAL},
</if>
<if
test=
"crdallamt != null"
>
#{crdallamt,jdbcType=DECIMAL},
</if>
<if
test=
"lowamt != null"
>
#{lowamt,jdbcType=DECIMAL},
</if>
<if
test=
"credattim != null"
>
#{credattim,jdbcType=DATE},
</if>
<if
test=
"tepamt != null"
>
#{tepamt,jdbcType=DECIMAL},
</if>
<if
test=
"balamt != null"
>
#{balamt,jdbcType=DECIMAL},
</if>
<if
test=
"preamt != null"
>
#{preamt,jdbcType=DECIMAL},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update cpsact
<set>
<if
test=
"dirbic != null"
>
dirbic = #{dirbic,jdbcType=VARCHAR},
</if>
<if
test=
"acttyp != null"
>
acttyp = #{acttyp,jdbcType=VARCHAR},
</if>
<if
test=
"injectminamt != null"
>
injectminamt = #{injectminamt,jdbcType=DECIMAL},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"injecttyp != null"
>
injecttyp = #{injecttyp,jdbcType=VARCHAR},
</if>
<if
test=
"waramt != null"
>
waramt = #{waramt,jdbcType=DECIMAL},
</if>
<if
test=
"begamt != null"
>
begamt = #{begamt,jdbcType=DECIMAL},
</if>
<if
test=
"deballamt != null"
>
deballamt = #{deballamt,jdbcType=DECIMAL},
</if>
<if
test=
"crdallamt != null"
>
crdallamt = #{crdallamt,jdbcType=DECIMAL},
</if>
<if
test=
"lowamt != null"
>
lowamt = #{lowamt,jdbcType=DECIMAL},
</if>
<if
test=
"credattim != null"
>
credattim = #{credattim,jdbcType=DATE},
</if>
<if
test=
"tepamt != null"
>
tepamt = #{tepamt,jdbcType=DECIMAL},
</if>
<if
test=
"balamt != null"
>
balamt = #{balamt,jdbcType=DECIMAL},
</if>
<if
test=
"preamt != null"
>
preamt = #{preamt,jdbcType=DECIMAL},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update cpsact
<set>
dirbic = #{dirbic,jdbcType=VARCHAR},
acttyp = #{acttyp,jdbcType=VARCHAR},
injectminamt = #{injectminamt,jdbcType=DECIMAL},
amt = #{amt,jdbcType=DECIMAL},
injecttyp = #{injecttyp,jdbcType=VARCHAR},
waramt = #{waramt,jdbcType=DECIMAL},
begamt = #{begamt,jdbcType=DECIMAL},
deballamt = #{deballamt,jdbcType=DECIMAL},
crdallamt = #{crdallamt,jdbcType=DECIMAL},
lowamt = #{lowamt,jdbcType=DECIMAL},
credattim = #{credattim,jdbcType=DATE},
tepamt = #{tepamt,jdbcType=DECIMAL},
balamt = #{balamt,jdbcType=DECIMAL},
preamt = #{preamt,jdbcType=DECIMAL},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/cpstimmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CpstimMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Cpstim"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"orgsystm"
column=
"orgsystm"
jdbcType=
"DATE"
/>
<result
property=
"orgsysdt"
column=
"orgsysdt"
jdbcType=
"DATE"
/>
<result
property=
"orgsyssta"
column=
"orgsyssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sysdt"
column=
"sysdt"
jdbcType=
"DATE"
/>
<result
property=
"syssta"
column=
"syssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtsysdt"
column=
"nxtsysdt"
jdbcType=
"DATE"
/>
<result
property=
"mmbchnnb"
column=
"mmbchnnb"
jdbcType=
"VARCHAR"
/>
<result
property=
"parchnnb"
column=
"parchnnb"
jdbcType=
"VARCHAR"
/>
<result
property=
"drcmmbchnnb"
column=
"drcmmbchnnb"
jdbcType=
"VARCHAR"
/>
<result
property=
"ustrd"
column=
"ustrd"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,orgsystm,orgsysdt,orgsyssta,sysdt,syssta,nxtsysdt,mmbchnnb,parchnnb,drcmmbchnnb,ustrd
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from cpstim
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from cpstim
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into cpstim (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{orgsystm,jdbcType=DATE},
#{orgsysdt,jdbcType=DATE},
#{orgsyssta,jdbcType=VARCHAR},
#{sysdt,jdbcType=DATE},
#{syssta,jdbcType=VARCHAR},
#{nxtsysdt,jdbcType=DATE},
#{mmbchnnb,jdbcType=VARCHAR},
#{parchnnb,jdbcType=VARCHAR},
#{drcmmbchnnb,jdbcType=VARCHAR},
#{ustrd,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into cpstim
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"orgsystm != null"
>
orgsystm,
</if>
<if
test=
"orgsysdt != null"
>
orgsysdt,
</if>
<if
test=
"orgsyssta != null"
>
orgsyssta,
</if>
<if
test=
"sysdt != null"
>
sysdt,
</if>
<if
test=
"syssta != null"
>
syssta,
</if>
<if
test=
"nxtsysdt != null"
>
nxtsysdt,
</if>
<if
test=
"mmbchnnb != null"
>
mmbchnnb,
</if>
<if
test=
"parchnnb != null"
>
parchnnb,
</if>
<if
test=
"drcmmbchnnb != null"
>
drcmmbchnnb,
</if>
<if
test=
"ustrd != null"
>
ustrd,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"orgsystm != null"
>
#{orgsystm,jdbcType=DATE},
</if>
<if
test=
"orgsysdt != null"
>
#{orgsysdt,jdbcType=DATE},
</if>
<if
test=
"orgsyssta != null"
>
#{orgsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"sysdt != null"
>
#{sysdt,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
#{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsysdt != null"
>
#{nxtsysdt,jdbcType=DATE},
</if>
<if
test=
"mmbchnnb != null"
>
#{mmbchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"parchnnb != null"
>
#{parchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"drcmmbchnnb != null"
>
#{drcmmbchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"ustrd != null"
>
#{ustrd,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update cpstim
<set>
<if
test=
"orgsystm != null"
>
orgsystm = #{orgsystm,jdbcType=DATE},
</if>
<if
test=
"orgsysdt != null"
>
orgsysdt = #{orgsysdt,jdbcType=DATE},
</if>
<if
test=
"orgsyssta != null"
>
orgsyssta = #{orgsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"sysdt != null"
>
sysdt = #{sysdt,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
syssta = #{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsysdt != null"
>
nxtsysdt = #{nxtsysdt,jdbcType=DATE},
</if>
<if
test=
"mmbchnnb != null"
>
mmbchnnb = #{mmbchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"parchnnb != null"
>
parchnnb = #{parchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"drcmmbchnnb != null"
>
drcmmbchnnb = #{drcmmbchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"ustrd != null"
>
ustrd = #{ustrd,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update cpstim
<set>
orgsystm = #{orgsystm,jdbcType=DATE},
orgsysdt = #{orgsysdt,jdbcType=DATE},
orgsyssta = #{orgsyssta,jdbcType=VARCHAR},
sysdt = #{sysdt,jdbcType=DATE},
syssta = #{syssta,jdbcType=VARCHAR},
nxtsysdt = #{nxtsysdt,jdbcType=DATE},
mmbchnnb = #{mmbchnnb,jdbcType=VARCHAR},
parchnnb = #{parchnnb,jdbcType=VARCHAR},
drcmmbchnnb = #{drcmmbchnnb,jdbcType=VARCHAR},
ustrd = #{ustrd,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/cpymapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CpyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Cpy"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"snddattim"
column=
"snddattim"
jdbcType=
"DATE"
/>
<result
property=
"pagnum"
column=
"pagnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpiinr"
column=
"mpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oriref"
column=
"oriref"
jdbcType=
"VARCHAR"
/>
<result
property=
"filtyp"
column=
"filtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"filpth"
column=
"filpth"
jdbcType=
"VARCHAR"
/>
<result
property=
"filnam"
column=
"filnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkdat"
column=
"chkdat"
jdbcType=
"DATE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,ownref,snddattim,pagnum,flg,mpiinr,oriref,filtyp,filpth,filnam,sta,chkdat
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from cpy
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from cpy
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into cpy (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{snddattim,jdbcType=DATE},
#{pagnum,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
#{oriref,jdbcType=VARCHAR},
#{filtyp,jdbcType=VARCHAR},
#{filpth,jdbcType=VARCHAR},
#{filnam,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{chkdat,jdbcType=DATE},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into cpy
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"snddattim != null"
>
snddattim,
</if>
<if
test=
"pagnum != null"
>
pagnum,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"mpiinr != null"
>
mpiinr,
</if>
<if
test=
"oriref != null"
>
oriref,
</if>
<if
test=
"filtyp != null"
>
filtyp,
</if>
<if
test=
"filpth != null"
>
filpth,
</if>
<if
test=
"filnam != null"
>
filnam,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"chkdat != null"
>
chkdat,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"snddattim != null"
>
#{snddattim,jdbcType=DATE},
</if>
<if
test=
"pagnum != null"
>
#{pagnum,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
#{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"oriref != null"
>
#{oriref,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
#{filtyp,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
#{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
#{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
#{chkdat,jdbcType=DATE},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update cpy
<set>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"snddattim != null"
>
snddattim = #{snddattim,jdbcType=DATE},
</if>
<if
test=
"pagnum != null"
>
pagnum = #{pagnum,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
mpiinr = #{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"oriref != null"
>
oriref = #{oriref,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
filtyp = #{filtyp,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
filpth = #{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
filnam = #{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
chkdat = #{chkdat,jdbcType=DATE},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update cpy
<set>
ownref = #{ownref,jdbcType=VARCHAR},
snddattim = #{snddattim,jdbcType=DATE},
pagnum = #{pagnum,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
mpiinr = #{mpiinr,jdbcType=VARCHAR},
oriref = #{oriref,jdbcType=VARCHAR},
filtyp = #{filtyp,jdbcType=VARCHAR},
filpth = #{filpth,jdbcType=VARCHAR},
filnam = #{filnam,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
chkdat = #{chkdat,jdbcType=DATE},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/csnmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.CsnMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Csn"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnkbic"
column=
"bnkbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"cn"
column=
"cn"
jdbcType=
"VARCHAR"
/>
<result
property=
"sn"
column=
"sn"
jdbcType=
"VARCHAR"
/>
<result
property=
"csntyp"
column=
"csntyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"relinr"
column=
"relinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"gendat"
column=
"gendat"
jdbcType=
"DATE"
/>
<result
property=
"rem"
column=
"rem"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"chgbic"
column=
"chgbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnknam"
column=
"bnknam"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstdat"
column=
"lstdat"
jdbcType=
"DATE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,bnkbic,cn,sn,csntyp,sta,relinr,subtyp,gendat,rem,typ,chgbic,bnknam,lstdat
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from csn
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from csn
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into csn (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{bnkbic,jdbcType=VARCHAR},
#{cn,jdbcType=VARCHAR},
#{sn,jdbcType=VARCHAR},
#{csntyp,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{relinr,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{gendat,jdbcType=DATE},
#{rem,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{chgbic,jdbcType=VARCHAR},
#{bnknam,jdbcType=VARCHAR},
#{lstdat,jdbcType=DATE},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into csn
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"bnkbic != null"
>
bnkbic,
</if>
<if
test=
"cn != null"
>
cn,
</if>
<if
test=
"sn != null"
>
sn,
</if>
<if
test=
"csntyp != null"
>
csntyp,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"relinr != null"
>
relinr,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"gendat != null"
>
gendat,
</if>
<if
test=
"rem != null"
>
rem,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"chgbic != null"
>
chgbic,
</if>
<if
test=
"bnknam != null"
>
bnknam,
</if>
<if
test=
"lstdat != null"
>
lstdat,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"bnkbic != null"
>
#{bnkbic,jdbcType=VARCHAR},
</if>
<if
test=
"cn != null"
>
#{cn,jdbcType=VARCHAR},
</if>
<if
test=
"sn != null"
>
#{sn,jdbcType=VARCHAR},
</if>
<if
test=
"csntyp != null"
>
#{csntyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
#{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
#{gendat,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
#{rem,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"chgbic != null"
>
#{chgbic,jdbcType=VARCHAR},
</if>
<if
test=
"bnknam != null"
>
#{bnknam,jdbcType=VARCHAR},
</if>
<if
test=
"lstdat != null"
>
#{lstdat,jdbcType=DATE},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update csn
<set>
<if
test=
"bnkbic != null"
>
bnkbic = #{bnkbic,jdbcType=VARCHAR},
</if>
<if
test=
"cn != null"
>
cn = #{cn,jdbcType=VARCHAR},
</if>
<if
test=
"sn != null"
>
sn = #{sn,jdbcType=VARCHAR},
</if>
<if
test=
"csntyp != null"
>
csntyp = #{csntyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
relinr = #{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
gendat = #{gendat,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
rem = #{rem,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"chgbic != null"
>
chgbic = #{chgbic,jdbcType=VARCHAR},
</if>
<if
test=
"bnknam != null"
>
bnknam = #{bnknam,jdbcType=VARCHAR},
</if>
<if
test=
"lstdat != null"
>
lstdat = #{lstdat,jdbcType=DATE},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update csn
<set>
bnkbic = #{bnkbic,jdbcType=VARCHAR},
cn = #{cn,jdbcType=VARCHAR},
sn = #{sn,jdbcType=VARCHAR},
csntyp = #{csntyp,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
relinr = #{relinr,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
gendat = #{gendat,jdbcType=DATE},
rem = #{rem,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
chgbic = #{chgbic,jdbcType=VARCHAR},
bnknam = #{bnknam,jdbcType=VARCHAR},
lstdat = #{lstdat,jdbcType=DATE},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/datmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.DatMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Dat"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"befdat"
column=
"befdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"hbs"
column=
"hbs"
jdbcType=
"VARCHAR"
/>
<result
property=
"pjs"
column=
"pjs"
jdbcType=
"VARCHAR"
/>
<result
property=
"pdz"
column=
"pdz"
jdbcType=
"VARCHAR"
/>
<result
property=
"chgdattim"
column=
"chgdattim"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtbefdat"
column=
"nxtbefdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtaccdat"
column=
"nxtaccdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdattok"
column=
"accdattok"
jdbcType=
"VARCHAR"
/>
<result
property=
"costar"
column=
"costar"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,accdat,befdat,hbs,pjs,pdz,chgdattim,nxtbefdat,nxtaccdat,accdattok,costar
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from dat
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from dat
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into dat (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{befdat,jdbcType=VARCHAR},
#{hbs,jdbcType=VARCHAR},
#{pjs,jdbcType=VARCHAR},
#{pdz,jdbcType=VARCHAR},
#{chgdattim,jdbcType=VARCHAR},
#{nxtbefdat,jdbcType=VARCHAR},
#{nxtaccdat,jdbcType=VARCHAR},
#{accdattok,jdbcType=VARCHAR},
#{costar,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into dat
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"befdat != null"
>
befdat,
</if>
<if
test=
"hbs != null"
>
hbs,
</if>
<if
test=
"pjs != null"
>
pjs,
</if>
<if
test=
"pdz != null"
>
pdz,
</if>
<if
test=
"chgdattim != null"
>
chgdattim,
</if>
<if
test=
"nxtbefdat != null"
>
nxtbefdat,
</if>
<if
test=
"nxtaccdat != null"
>
nxtaccdat,
</if>
<if
test=
"accdattok != null"
>
accdattok,
</if>
<if
test=
"costar != null"
>
costar,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"befdat != null"
>
#{befdat,jdbcType=VARCHAR},
</if>
<if
test=
"hbs != null"
>
#{hbs,jdbcType=VARCHAR},
</if>
<if
test=
"pjs != null"
>
#{pjs,jdbcType=VARCHAR},
</if>
<if
test=
"pdz != null"
>
#{pdz,jdbcType=VARCHAR},
</if>
<if
test=
"chgdattim != null"
>
#{chgdattim,jdbcType=VARCHAR},
</if>
<if
test=
"nxtbefdat != null"
>
#{nxtbefdat,jdbcType=VARCHAR},
</if>
<if
test=
"nxtaccdat != null"
>
#{nxtaccdat,jdbcType=VARCHAR},
</if>
<if
test=
"accdattok != null"
>
#{accdattok,jdbcType=VARCHAR},
</if>
<if
test=
"costar != null"
>
#{costar,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update dat
<set>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"befdat != null"
>
befdat = #{befdat,jdbcType=VARCHAR},
</if>
<if
test=
"hbs != null"
>
hbs = #{hbs,jdbcType=VARCHAR},
</if>
<if
test=
"pjs != null"
>
pjs = #{pjs,jdbcType=VARCHAR},
</if>
<if
test=
"pdz != null"
>
pdz = #{pdz,jdbcType=VARCHAR},
</if>
<if
test=
"chgdattim != null"
>
chgdattim = #{chgdattim,jdbcType=VARCHAR},
</if>
<if
test=
"nxtbefdat != null"
>
nxtbefdat = #{nxtbefdat,jdbcType=VARCHAR},
</if>
<if
test=
"nxtaccdat != null"
>
nxtaccdat = #{nxtaccdat,jdbcType=VARCHAR},
</if>
<if
test=
"accdattok != null"
>
accdattok = #{accdattok,jdbcType=VARCHAR},
</if>
<if
test=
"costar != null"
>
costar = #{costar,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update dat
<set>
accdat = #{accdat,jdbcType=VARCHAR},
befdat = #{befdat,jdbcType=VARCHAR},
hbs = #{hbs,jdbcType=VARCHAR},
pjs = #{pjs,jdbcType=VARCHAR},
pdz = #{pdz,jdbcType=VARCHAR},
chgdattim = #{chgdattim,jdbcType=VARCHAR},
nxtbefdat = #{nxtbefdat,jdbcType=VARCHAR},
nxtaccdat = #{nxtaccdat,jdbcType=VARCHAR},
accdattok = #{accdattok,jdbcType=VARCHAR},
costar = #{costar,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/dotmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.DotMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Dot"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"offinr"
column=
"offinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"objinr"
column=
"objinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"objtyp"
column=
"objtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"accpty"
column=
"accpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"acc"
column=
"acc"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"valdat"
column=
"valdat"
jdbcType=
"DATE"
/>
<result
property=
"dcflg"
column=
"dcflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"rsptim"
column=
"rsptim"
jdbcType=
"DATE"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"busflg"
column=
"busflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"inf"
column=
"inf"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"offsta"
column=
"offsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"DATE"
/>
<result
property=
"selflg"
column=
"selflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbic"
column=
"actbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"staref"
column=
"staref"
jdbcType=
"VARCHAR"
/>
<result
property=
"entdat"
column=
"entdat"
jdbcType=
"DATE"
/>
<result
property=
"tratic"
column=
"tratic"
jdbcType=
"VARCHAR"
/>
<result
property=
"supdlt"
column=
"supdlt"
jdbcType=
"VARCHAR"
/>
<result
property=
"fdc"
column=
"fdc"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbak"
column=
"revbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"sedbak"
column=
"sedbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"stanum"
column=
"stanum"
jdbcType=
"VARCHAR"
/>
<result
property=
"seqnum"
column=
"seqnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"relinr"
column=
"relinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mty"
column=
"mty"
jdbcType=
"VARCHAR"
/>
<result
property=
"oppbic"
column=
"oppbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"tradat"
column=
"tradat"
jdbcType=
"DATE"
/>
<result
property=
"wflsta"
column=
"wflsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndnum"
column=
"sndnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"multimsg"
column=
"multimsg"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
<result
property=
"offinf"
column=
"offinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"kpainf"
column=
"kpainf"
jdbcType=
"VARCHAR"
/>
<result
property=
"kpatyp"
column=
"kpatyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"area"
column=
"area"
jdbcType=
"VARCHAR"
/>
<result
property=
"opsta"
column=
"opsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"recsta"
column=
"recsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstdat"
column=
"lstdat"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"isdone"
column=
"isdone"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,offinr,objinr,objtyp,accpty,acc,cur,amt,valdat,dcflg,rsptim,ownref,othref,busflg,inf,sta,typ,offsta,credat,selflg,actbic,staref,entdat,tratic,supdlt,fdc,revbak,sedbak,stanum,seqnum,relinr,mty,oppbic,tradat,wflsta,sndnum,multimsg,chk,offinf,kpainf,kpatyp,area,opsta,recsta,lstdat,isdone,dir,msgtyp,etyinr,ptyinr,sweflg
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from dot
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from dot
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into dot (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{offinr,jdbcType=VARCHAR},
#{objinr,jdbcType=VARCHAR},
#{objtyp,jdbcType=VARCHAR},
#{accpty,jdbcType=VARCHAR},
#{acc,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{valdat,jdbcType=DATE},
#{dcflg,jdbcType=VARCHAR},
#{rsptim,jdbcType=DATE},
#{ownref,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{busflg,jdbcType=VARCHAR},
#{inf,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{offsta,jdbcType=VARCHAR},
#{credat,jdbcType=DATE},
#{selflg,jdbcType=VARCHAR},
#{actbic,jdbcType=VARCHAR},
#{staref,jdbcType=VARCHAR},
#{entdat,jdbcType=DATE},
#{tratic,jdbcType=VARCHAR},
#{supdlt,jdbcType=VARCHAR},
#{fdc,jdbcType=VARCHAR},
#{revbak,jdbcType=VARCHAR},
#{sedbak,jdbcType=VARCHAR},
#{stanum,jdbcType=VARCHAR},
#{seqnum,jdbcType=VARCHAR},
#{relinr,jdbcType=VARCHAR},
#{mty,jdbcType=VARCHAR},
#{oppbic,jdbcType=VARCHAR},
#{tradat,jdbcType=DATE},
#{wflsta,jdbcType=VARCHAR},
#{sndnum,jdbcType=VARCHAR},
#{multimsg,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
#{offinf,jdbcType=VARCHAR},
#{kpainf,jdbcType=VARCHAR},
#{kpatyp,jdbcType=VARCHAR},
#{area,jdbcType=VARCHAR},
#{opsta,jdbcType=VARCHAR},
#{recsta,jdbcType=VARCHAR},
#{lstdat,jdbcType=TIMESTAMP},
#{isdone,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into dot
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"offinr != null"
>
offinr,
</if>
<if
test=
"objinr != null"
>
objinr,
</if>
<if
test=
"objtyp != null"
>
objtyp,
</if>
<if
test=
"accpty != null"
>
accpty,
</if>
<if
test=
"acc != null"
>
acc,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"valdat != null"
>
valdat,
</if>
<if
test=
"dcflg != null"
>
dcflg,
</if>
<if
test=
"rsptim != null"
>
rsptim,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"busflg != null"
>
busflg,
</if>
<if
test=
"inf != null"
>
inf,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"offsta != null"
>
offsta,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"selflg != null"
>
selflg,
</if>
<if
test=
"actbic != null"
>
actbic,
</if>
<if
test=
"staref != null"
>
staref,
</if>
<if
test=
"entdat != null"
>
entdat,
</if>
<if
test=
"tratic != null"
>
tratic,
</if>
<if
test=
"supdlt != null"
>
supdlt,
</if>
<if
test=
"fdc != null"
>
fdc,
</if>
<if
test=
"revbak != null"
>
revbak,
</if>
<if
test=
"sedbak != null"
>
sedbak,
</if>
<if
test=
"stanum != null"
>
stanum,
</if>
<if
test=
"seqnum != null"
>
seqnum,
</if>
<if
test=
"relinr != null"
>
relinr,
</if>
<if
test=
"mty != null"
>
mty,
</if>
<if
test=
"oppbic != null"
>
oppbic,
</if>
<if
test=
"tradat != null"
>
tradat,
</if>
<if
test=
"wflsta != null"
>
wflsta,
</if>
<if
test=
"sndnum != null"
>
sndnum,
</if>
<if
test=
"multimsg != null"
>
multimsg,
</if>
<if
test=
"chk != null"
>
chk,
</if>
<if
test=
"offinf != null"
>
offinf,
</if>
<if
test=
"kpainf != null"
>
kpainf,
</if>
<if
test=
"kpatyp != null"
>
kpatyp,
</if>
<if
test=
"area != null"
>
area,
</if>
<if
test=
"opsta != null"
>
opsta,
</if>
<if
test=
"recsta != null"
>
recsta,
</if>
<if
test=
"lstdat != null"
>
lstdat,
</if>
<if
test=
"isdone != null"
>
isdone,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"offinr != null"
>
#{offinr,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
#{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
#{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"accpty != null"
>
#{accpty,jdbcType=VARCHAR},
</if>
<if
test=
"acc != null"
>
#{acc,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"valdat != null"
>
#{valdat,jdbcType=DATE},
</if>
<if
test=
"dcflg != null"
>
#{dcflg,jdbcType=VARCHAR},
</if>
<if
test=
"rsptim != null"
>
#{rsptim,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"busflg != null"
>
#{busflg,jdbcType=VARCHAR},
</if>
<if
test=
"inf != null"
>
#{inf,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"offsta != null"
>
#{offsta,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=DATE},
</if>
<if
test=
"selflg != null"
>
#{selflg,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
#{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"staref != null"
>
#{staref,jdbcType=VARCHAR},
</if>
<if
test=
"entdat != null"
>
#{entdat,jdbcType=DATE},
</if>
<if
test=
"tratic != null"
>
#{tratic,jdbcType=VARCHAR},
</if>
<if
test=
"supdlt != null"
>
#{supdlt,jdbcType=VARCHAR},
</if>
<if
test=
"fdc != null"
>
#{fdc,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
#{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
#{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"stanum != null"
>
#{stanum,jdbcType=VARCHAR},
</if>
<if
test=
"seqnum != null"
>
#{seqnum,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
#{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"mty != null"
>
#{mty,jdbcType=VARCHAR},
</if>
<if
test=
"oppbic != null"
>
#{oppbic,jdbcType=VARCHAR},
</if>
<if
test=
"tradat != null"
>
#{tradat,jdbcType=DATE},
</if>
<if
test=
"wflsta != null"
>
#{wflsta,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
#{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"multimsg != null"
>
#{multimsg,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
<if
test=
"offinf != null"
>
#{offinf,jdbcType=VARCHAR},
</if>
<if
test=
"kpainf != null"
>
#{kpainf,jdbcType=VARCHAR},
</if>
<if
test=
"kpatyp != null"
>
#{kpatyp,jdbcType=VARCHAR},
</if>
<if
test=
"area != null"
>
#{area,jdbcType=VARCHAR},
</if>
<if
test=
"opsta != null"
>
#{opsta,jdbcType=VARCHAR},
</if>
<if
test=
"recsta != null"
>
#{recsta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdat != null"
>
#{lstdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"isdone != null"
>
#{isdone,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update dot
<set>
<if
test=
"offinr != null"
>
offinr = #{offinr,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
objinr = #{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
objtyp = #{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"accpty != null"
>
accpty = #{accpty,jdbcType=VARCHAR},
</if>
<if
test=
"acc != null"
>
acc = #{acc,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"valdat != null"
>
valdat = #{valdat,jdbcType=DATE},
</if>
<if
test=
"dcflg != null"
>
dcflg = #{dcflg,jdbcType=VARCHAR},
</if>
<if
test=
"rsptim != null"
>
rsptim = #{rsptim,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"busflg != null"
>
busflg = #{busflg,jdbcType=VARCHAR},
</if>
<if
test=
"inf != null"
>
inf = #{inf,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"offsta != null"
>
offsta = #{offsta,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=DATE},
</if>
<if
test=
"selflg != null"
>
selflg = #{selflg,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
actbic = #{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"staref != null"
>
staref = #{staref,jdbcType=VARCHAR},
</if>
<if
test=
"entdat != null"
>
entdat = #{entdat,jdbcType=DATE},
</if>
<if
test=
"tratic != null"
>
tratic = #{tratic,jdbcType=VARCHAR},
</if>
<if
test=
"supdlt != null"
>
supdlt = #{supdlt,jdbcType=VARCHAR},
</if>
<if
test=
"fdc != null"
>
fdc = #{fdc,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
revbak = #{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
sedbak = #{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"stanum != null"
>
stanum = #{stanum,jdbcType=VARCHAR},
</if>
<if
test=
"seqnum != null"
>
seqnum = #{seqnum,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
relinr = #{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"mty != null"
>
mty = #{mty,jdbcType=VARCHAR},
</if>
<if
test=
"oppbic != null"
>
oppbic = #{oppbic,jdbcType=VARCHAR},
</if>
<if
test=
"tradat != null"
>
tradat = #{tradat,jdbcType=DATE},
</if>
<if
test=
"wflsta != null"
>
wflsta = #{wflsta,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
sndnum = #{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"multimsg != null"
>
multimsg = #{multimsg,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
<if
test=
"offinf != null"
>
offinf = #{offinf,jdbcType=VARCHAR},
</if>
<if
test=
"kpainf != null"
>
kpainf = #{kpainf,jdbcType=VARCHAR},
</if>
<if
test=
"kpatyp != null"
>
kpatyp = #{kpatyp,jdbcType=VARCHAR},
</if>
<if
test=
"area != null"
>
area = #{area,jdbcType=VARCHAR},
</if>
<if
test=
"opsta != null"
>
opsta = #{opsta,jdbcType=VARCHAR},
</if>
<if
test=
"recsta != null"
>
recsta = #{recsta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdat != null"
>
lstdat = #{lstdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"isdone != null"
>
isdone = #{isdone,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update dot
<set>
offinr = #{offinr,jdbcType=VARCHAR},
objinr = #{objinr,jdbcType=VARCHAR},
objtyp = #{objtyp,jdbcType=VARCHAR},
accpty = #{accpty,jdbcType=VARCHAR},
acc = #{acc,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
valdat = #{valdat,jdbcType=DATE},
dcflg = #{dcflg,jdbcType=VARCHAR},
rsptim = #{rsptim,jdbcType=DATE},
ownref = #{ownref,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
busflg = #{busflg,jdbcType=VARCHAR},
inf = #{inf,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
offsta = #{offsta,jdbcType=VARCHAR},
credat = #{credat,jdbcType=DATE},
selflg = #{selflg,jdbcType=VARCHAR},
actbic = #{actbic,jdbcType=VARCHAR},
staref = #{staref,jdbcType=VARCHAR},
entdat = #{entdat,jdbcType=DATE},
tratic = #{tratic,jdbcType=VARCHAR},
supdlt = #{supdlt,jdbcType=VARCHAR},
fdc = #{fdc,jdbcType=VARCHAR},
revbak = #{revbak,jdbcType=VARCHAR},
sedbak = #{sedbak,jdbcType=VARCHAR},
stanum = #{stanum,jdbcType=VARCHAR},
seqnum = #{seqnum,jdbcType=VARCHAR},
relinr = #{relinr,jdbcType=VARCHAR},
mty = #{mty,jdbcType=VARCHAR},
oppbic = #{oppbic,jdbcType=VARCHAR},
tradat = #{tradat,jdbcType=DATE},
wflsta = #{wflsta,jdbcType=VARCHAR},
sndnum = #{sndnum,jdbcType=VARCHAR},
multimsg = #{multimsg,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
offinf = #{offinf,jdbcType=VARCHAR},
kpainf = #{kpainf,jdbcType=VARCHAR},
kpatyp = #{kpatyp,jdbcType=VARCHAR},
area = #{area,jdbcType=VARCHAR},
opsta = #{opsta,jdbcType=VARCHAR},
recsta = #{recsta,jdbcType=VARCHAR},
lstdat = #{lstdat,jdbcType=TIMESTAMP},
isdone = #{isdone,jdbcType=VARCHAR},
dir = #{dir,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/dtamapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.DtaMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Dta"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"act"
column=
"act"
jdbcType=
"VARCHAR"
/>
<result
property=
"addinf"
column=
"addinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,act,addinf,etyinr,ptyinr,nam
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from dta
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from dta
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into dta (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{act,jdbcType=VARCHAR},
#{addinf,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into dta
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"act != null"
>
act,
</if>
<if
test=
"addinf != null"
>
addinf,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"act != null"
>
#{act,jdbcType=VARCHAR},
</if>
<if
test=
"addinf != null"
>
#{addinf,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update dta
<set>
<if
test=
"act != null"
>
act = #{act,jdbcType=VARCHAR},
</if>
<if
test=
"addinf != null"
>
addinf = #{addinf,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update dta
<set>
act = #{act,jdbcType=VARCHAR},
addinf = #{addinf,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/dtrmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.DtrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Dtr"
>
<result
property=
"rulnam"
column=
"rulnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"lvl"
column=
"lvl"
jdbcType=
"VARCHAR"
/>
<result
property=
"chnstr"
column=
"chnstr"
jdbcType=
"VARCHAR"
/>
<result
property=
"typstr"
column=
"typstr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tagstr"
column=
"tagstr"
jdbcType=
"VARCHAR"
/>
<result
property=
"smpstp"
column=
"smpstp"
jdbcType=
"VARCHAR"
/>
<result
property=
"begdat"
column=
"begdat"
jdbcType=
"DATE"
/>
<result
property=
"enddat"
column=
"enddat"
jdbcType=
"DATE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
rulnam,msgtyp,lvl,chnstr,typstr,tagstr,smpstp,begdat,enddat
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from dtr
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from dtr
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into dtr (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{rulnam,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{lvl,jdbcType=VARCHAR},
#{chnstr,jdbcType=VARCHAR},
#{typstr,jdbcType=VARCHAR},
#{tagstr,jdbcType=VARCHAR},
#{smpstp,jdbcType=VARCHAR},
#{begdat,jdbcType=DATE},
#{enddat,jdbcType=DATE},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into dtr
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"rulnam != null"
>
rulnam,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"lvl != null"
>
lvl,
</if>
<if
test=
"chnstr != null"
>
chnstr,
</if>
<if
test=
"typstr != null"
>
typstr,
</if>
<if
test=
"tagstr != null"
>
tagstr,
</if>
<if
test=
"smpstp != null"
>
smpstp,
</if>
<if
test=
"begdat != null"
>
begdat,
</if>
<if
test=
"enddat != null"
>
enddat,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"rulnam != null"
>
#{rulnam,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
#{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"chnstr != null"
>
#{chnstr,jdbcType=VARCHAR},
</if>
<if
test=
"typstr != null"
>
#{typstr,jdbcType=VARCHAR},
</if>
<if
test=
"tagstr != null"
>
#{tagstr,jdbcType=VARCHAR},
</if>
<if
test=
"smpstp != null"
>
#{smpstp,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
#{begdat,jdbcType=DATE},
</if>
<if
test=
"enddat != null"
>
#{enddat,jdbcType=DATE},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update dtr
<set>
<if
test=
"rulnam != null"
>
rulnam = #{rulnam,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
lvl = #{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"chnstr != null"
>
chnstr = #{chnstr,jdbcType=VARCHAR},
</if>
<if
test=
"typstr != null"
>
typstr = #{typstr,jdbcType=VARCHAR},
</if>
<if
test=
"tagstr != null"
>
tagstr = #{tagstr,jdbcType=VARCHAR},
</if>
<if
test=
"smpstp != null"
>
smpstp = #{smpstp,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
begdat = #{begdat,jdbcType=DATE},
</if>
<if
test=
"enddat != null"
>
enddat = #{enddat,jdbcType=DATE},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update dtr
<set>
rulnam = #{rulnam,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
lvl = #{lvl,jdbcType=VARCHAR},
chnstr = #{chnstr,jdbcType=VARCHAR},
typstr = #{typstr,jdbcType=VARCHAR},
tagstr = #{tagstr,jdbcType=VARCHAR},
smpstp = #{smpstp,jdbcType=VARCHAR},
begdat = #{begdat,jdbcType=DATE},
enddat = #{enddat,jdbcType=DATE},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/efdmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.EfdMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Efd"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tskid"
column=
"tskid"
jdbcType=
"VARCHAR"
/>
<result
property=
"tsknam"
column=
"tsknam"
jdbcType=
"VARCHAR"
/>
<result
property=
"filnam"
column=
"filnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"filpth"
column=
"filpth"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"credattim"
column=
"credattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"cnt"
column=
"cnt"
jdbcType=
"VARCHAR"
/>
<result
property=
"syscode"
column=
"syscode"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkdat"
column=
"chkdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"befdat"
column=
"befdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowdat"
column=
"nowdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"yetdat"
column=
"yetdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndtyp"
column=
"sndtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,tskid,tsknam,filnam,filpth,sta,lstdattim,credattim,typ,cnt,syscode,chkdat,befdat,accdat,nowdat,yetdat,sndtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from efd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from efd
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into efd (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{tskid,jdbcType=VARCHAR},
#{tsknam,jdbcType=VARCHAR},
#{filnam,jdbcType=VARCHAR},
#{filpth,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{lstdattim,jdbcType=TIMESTAMP},
#{credattim,jdbcType=TIMESTAMP},
#{typ,jdbcType=VARCHAR},
#{cnt,jdbcType=VARCHAR},
#{syscode,jdbcType=VARCHAR},
#{chkdat,jdbcType=VARCHAR},
#{befdat,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{nowdat,jdbcType=VARCHAR},
#{yetdat,jdbcType=VARCHAR},
#{sndtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into efd
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"tskid != null"
>
tskid,
</if>
<if
test=
"tsknam != null"
>
tsknam,
</if>
<if
test=
"filnam != null"
>
filnam,
</if>
<if
test=
"filpth != null"
>
filpth,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"credattim != null"
>
credattim,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"cnt != null"
>
cnt,
</if>
<if
test=
"syscode != null"
>
syscode,
</if>
<if
test=
"chkdat != null"
>
chkdat,
</if>
<if
test=
"befdat != null"
>
befdat,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"nowdat != null"
>
nowdat,
</if>
<if
test=
"yetdat != null"
>
yetdat,
</if>
<if
test=
"sndtyp != null"
>
sndtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"tskid != null"
>
#{tskid,jdbcType=VARCHAR},
</if>
<if
test=
"tsknam != null"
>
#{tsknam,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
#{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
#{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"credattim != null"
>
#{credattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"cnt != null"
>
#{cnt,jdbcType=VARCHAR},
</if>
<if
test=
"syscode != null"
>
#{syscode,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
#{chkdat,jdbcType=VARCHAR},
</if>
<if
test=
"befdat != null"
>
#{befdat,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"nowdat != null"
>
#{nowdat,jdbcType=VARCHAR},
</if>
<if
test=
"yetdat != null"
>
#{yetdat,jdbcType=VARCHAR},
</if>
<if
test=
"sndtyp != null"
>
#{sndtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update efd
<set>
<if
test=
"tskid != null"
>
tskid = #{tskid,jdbcType=VARCHAR},
</if>
<if
test=
"tsknam != null"
>
tsknam = #{tsknam,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
filnam = #{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
filpth = #{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"credattim != null"
>
credattim = #{credattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"cnt != null"
>
cnt = #{cnt,jdbcType=VARCHAR},
</if>
<if
test=
"syscode != null"
>
syscode = #{syscode,jdbcType=VARCHAR},
</if>
<if
test=
"chkdat != null"
>
chkdat = #{chkdat,jdbcType=VARCHAR},
</if>
<if
test=
"befdat != null"
>
befdat = #{befdat,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"nowdat != null"
>
nowdat = #{nowdat,jdbcType=VARCHAR},
</if>
<if
test=
"yetdat != null"
>
yetdat = #{yetdat,jdbcType=VARCHAR},
</if>
<if
test=
"sndtyp != null"
>
sndtyp = #{sndtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update efd
<set>
tskid = #{tskid,jdbcType=VARCHAR},
tsknam = #{tsknam,jdbcType=VARCHAR},
filnam = #{filnam,jdbcType=VARCHAR},
filpth = #{filpth,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
credattim = #{credattim,jdbcType=TIMESTAMP},
typ = #{typ,jdbcType=VARCHAR},
cnt = #{cnt,jdbcType=VARCHAR},
syscode = #{syscode,jdbcType=VARCHAR},
chkdat = #{chkdat,jdbcType=VARCHAR},
befdat = #{befdat,jdbcType=VARCHAR},
accdat = #{accdat,jdbcType=VARCHAR},
nowdat = #{nowdat,jdbcType=VARCHAR},
yetdat = #{yetdat,jdbcType=VARCHAR},
sndtyp = #{sndtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/elctimmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.ElctimMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Elctim"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rmk"
column=
"rmk"
jdbcType=
"VARCHAR"
/>
<result
property=
"orgsystm"
column=
"orgsystm"
jdbcType=
"DATE"
/>
<result
property=
"orgsysdt"
column=
"orgsysdt"
jdbcType=
"DATE"
/>
<result
property=
"orgsyssta"
column=
"orgsyssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sysdt"
column=
"sysdt"
jdbcType=
"DATE"
/>
<result
property=
"syssta"
column=
"syssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"onlnsta"
column=
"onlnsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"bkchnnb"
column=
"bkchnnb"
jdbcType=
"VARCHAR"
/>
<result
property=
"parchnnb"
column=
"parchnnb"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,rmk,orgsystm,orgsysdt,orgsyssta,sysdt,syssta,onlnsta,bkchnnb,parchnnb
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from elctim
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from elctim
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into elctim (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{rmk,jdbcType=VARCHAR},
#{orgsystm,jdbcType=DATE},
#{orgsysdt,jdbcType=DATE},
#{orgsyssta,jdbcType=VARCHAR},
#{sysdt,jdbcType=DATE},
#{syssta,jdbcType=VARCHAR},
#{onlnsta,jdbcType=VARCHAR},
#{bkchnnb,jdbcType=VARCHAR},
#{parchnnb,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into elctim
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"rmk != null"
>
rmk,
</if>
<if
test=
"orgsystm != null"
>
orgsystm,
</if>
<if
test=
"orgsysdt != null"
>
orgsysdt,
</if>
<if
test=
"orgsyssta != null"
>
orgsyssta,
</if>
<if
test=
"sysdt != null"
>
sysdt,
</if>
<if
test=
"syssta != null"
>
syssta,
</if>
<if
test=
"onlnsta != null"
>
onlnsta,
</if>
<if
test=
"bkchnnb != null"
>
bkchnnb,
</if>
<if
test=
"parchnnb != null"
>
parchnnb,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"rmk != null"
>
#{rmk,jdbcType=VARCHAR},
</if>
<if
test=
"orgsystm != null"
>
#{orgsystm,jdbcType=DATE},
</if>
<if
test=
"orgsysdt != null"
>
#{orgsysdt,jdbcType=DATE},
</if>
<if
test=
"orgsyssta != null"
>
#{orgsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"sysdt != null"
>
#{sysdt,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
#{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"onlnsta != null"
>
#{onlnsta,jdbcType=VARCHAR},
</if>
<if
test=
"bkchnnb != null"
>
#{bkchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"parchnnb != null"
>
#{parchnnb,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update elctim
<set>
<if
test=
"rmk != null"
>
rmk = #{rmk,jdbcType=VARCHAR},
</if>
<if
test=
"orgsystm != null"
>
orgsystm = #{orgsystm,jdbcType=DATE},
</if>
<if
test=
"orgsysdt != null"
>
orgsysdt = #{orgsysdt,jdbcType=DATE},
</if>
<if
test=
"orgsyssta != null"
>
orgsyssta = #{orgsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"sysdt != null"
>
sysdt = #{sysdt,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
syssta = #{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"onlnsta != null"
>
onlnsta = #{onlnsta,jdbcType=VARCHAR},
</if>
<if
test=
"bkchnnb != null"
>
bkchnnb = #{bkchnnb,jdbcType=VARCHAR},
</if>
<if
test=
"parchnnb != null"
>
parchnnb = #{parchnnb,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update elctim
<set>
rmk = #{rmk,jdbcType=VARCHAR},
orgsystm = #{orgsystm,jdbcType=DATE},
orgsysdt = #{orgsysdt,jdbcType=DATE},
orgsyssta = #{orgsyssta,jdbcType=VARCHAR},
sysdt = #{sysdt,jdbcType=DATE},
syssta = #{syssta,jdbcType=VARCHAR},
onlnsta = #{onlnsta,jdbcType=VARCHAR},
bkchnnb = #{bkchnnb,jdbcType=VARCHAR},
parchnnb = #{parchnnb,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/etgmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.EtgMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Etg"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"des"
column=
"des"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,des,sta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from etg
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from etg
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into etg (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{des,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into etg
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"des != null"
>
des,
</if>
<if
test=
"sta != null"
>
sta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
#{des,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update etg
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
des = #{des,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update etg
<set>
nam = #{nam,jdbcType=VARCHAR},
des = #{des,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/etymapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.EtyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Ety"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"etynam"
column=
"etynam"
jdbcType=
"VARCHAR"
/>
<result
property=
"etginr"
column=
"etginr"
jdbcType=
"VARCHAR"
/>
<result
property=
"des"
column=
"des"
jdbcType=
"VARCHAR"
/>
<result
property=
"ref"
column=
"ref"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyeng"
column=
"etyeng"
jdbcType=
"VARCHAR"
/>
<result
property=
"sealrl"
column=
"sealrl"
jdbcType=
"VARCHAR"
/>
<result
property=
"covurl"
column=
"covurl"
jdbcType=
"VARCHAR"
/>
<result
property=
"lgnurl"
column=
"lgnurl"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etgnam"
column=
"etgnam"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,etynam,etginr,des,ref,etyeng,sealrl,covurl,lgnurl,sta,etgnam
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from ety
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from ety
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into ety (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{etynam,jdbcType=VARCHAR},
#{etginr,jdbcType=VARCHAR},
#{des,jdbcType=VARCHAR},
#{ref,jdbcType=VARCHAR},
#{etyeng,jdbcType=VARCHAR},
#{sealrl,jdbcType=VARCHAR},
#{covurl,jdbcType=VARCHAR},
#{lgnurl,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etgnam,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into ety
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"etynam != null"
>
etynam,
</if>
<if
test=
"etginr != null"
>
etginr,
</if>
<if
test=
"des != null"
>
des,
</if>
<if
test=
"ref != null"
>
ref,
</if>
<if
test=
"etyeng != null"
>
etyeng,
</if>
<if
test=
"sealrl != null"
>
sealrl,
</if>
<if
test=
"covurl != null"
>
covurl,
</if>
<if
test=
"lgnurl != null"
>
lgnurl,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etgnam != null"
>
etgnam,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"etynam != null"
>
#{etynam,jdbcType=VARCHAR},
</if>
<if
test=
"etginr != null"
>
#{etginr,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
#{des,jdbcType=VARCHAR},
</if>
<if
test=
"ref != null"
>
#{ref,jdbcType=VARCHAR},
</if>
<if
test=
"etyeng != null"
>
#{etyeng,jdbcType=VARCHAR},
</if>
<if
test=
"sealrl != null"
>
#{sealrl,jdbcType=VARCHAR},
</if>
<if
test=
"covurl != null"
>
#{covurl,jdbcType=VARCHAR},
</if>
<if
test=
"lgnurl != null"
>
#{lgnurl,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etgnam != null"
>
#{etgnam,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update ety
<set>
<if
test=
"etynam != null"
>
etynam = #{etynam,jdbcType=VARCHAR},
</if>
<if
test=
"etginr != null"
>
etginr = #{etginr,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
des = #{des,jdbcType=VARCHAR},
</if>
<if
test=
"ref != null"
>
ref = #{ref,jdbcType=VARCHAR},
</if>
<if
test=
"etyeng != null"
>
etyeng = #{etyeng,jdbcType=VARCHAR},
</if>
<if
test=
"sealrl != null"
>
sealrl = #{sealrl,jdbcType=VARCHAR},
</if>
<if
test=
"covurl != null"
>
covurl = #{covurl,jdbcType=VARCHAR},
</if>
<if
test=
"lgnurl != null"
>
lgnurl = #{lgnurl,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etgnam != null"
>
etgnam = #{etgnam,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update ety
<set>
etynam = #{etynam,jdbcType=VARCHAR},
etginr = #{etginr,jdbcType=VARCHAR},
des = #{des,jdbcType=VARCHAR},
ref = #{ref,jdbcType=VARCHAR},
etyeng = #{etyeng,jdbcType=VARCHAR},
sealrl = #{sealrl,jdbcType=VARCHAR},
covurl = #{covurl,jdbcType=VARCHAR},
lgnurl = #{lgnurl,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etgnam = #{etgnam,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fipstamapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FipstaMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fipsta"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ip"
column=
"ip"
jdbcType=
"VARCHAR"
/>
<result
property=
"status"
column=
"status"
jdbcType=
"VARCHAR"
/>
<result
property=
"chncod"
column=
"chncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"manaip"
column=
"manaip"
jdbcType=
"VARCHAR"
/>
<result
property=
"chgdat"
column=
"chgdat"
jdbcType=
"DATE"
/>
<result
property=
"fir"
column=
"fir"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,ip,status,chncod,manaip,chgdat,fir
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fipsta
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fipsta
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fipsta (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{ip,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
#{chncod,jdbcType=VARCHAR},
#{manaip,jdbcType=VARCHAR},
#{chgdat,jdbcType=DATE},
#{fir,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fipsta
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"ip != null"
>
ip,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"chncod != null"
>
chncod,
</if>
<if
test=
"manaip != null"
>
manaip,
</if>
<if
test=
"chgdat != null"
>
chgdat,
</if>
<if
test=
"fir != null"
>
fir,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"ip != null"
>
#{ip,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
#{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"manaip != null"
>
#{manaip,jdbcType=VARCHAR},
</if>
<if
test=
"chgdat != null"
>
#{chgdat,jdbcType=DATE},
</if>
<if
test=
"fir != null"
>
#{fir,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fipsta
<set>
<if
test=
"ip != null"
>
ip = #{ip,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
chncod = #{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"manaip != null"
>
manaip = #{manaip,jdbcType=VARCHAR},
</if>
<if
test=
"chgdat != null"
>
chgdat = #{chgdat,jdbcType=DATE},
</if>
<if
test=
"fir != null"
>
fir = #{fir,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fipsta
<set>
ip = #{ip,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
chncod = #{chncod,jdbcType=VARCHAR},
manaip = #{manaip,jdbcType=VARCHAR},
chgdat = #{chgdat,jdbcType=DATE},
fir = #{fir,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/frmmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FrmMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Frm"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"pntinr"
column=
"pntinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"frm"
column=
"frm"
jdbcType=
"VARCHAR"
/>
<result
property=
"dsp"
column=
"dsp"
jdbcType=
"VARCHAR"
/>
<result
property=
"frmtyp"
column=
"frmtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkflg"
column=
"chkflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkflg1"
column=
"chkflg1"
jdbcType=
"VARCHAR"
/>
<result
property=
"lvl"
column=
"lvl"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,pntinr,frm,dsp,frmtyp,typ,flg,chkflg,chkflg1,lvl,chk,subtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from frm
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from frm
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into frm (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{pntinr,jdbcType=VARCHAR},
#{frm,jdbcType=VARCHAR},
#{dsp,jdbcType=VARCHAR},
#{frmtyp,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{chkflg,jdbcType=VARCHAR},
#{chkflg1,jdbcType=VARCHAR},
#{lvl,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into frm
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"pntinr != null"
>
pntinr,
</if>
<if
test=
"frm != null"
>
frm,
</if>
<if
test=
"dsp != null"
>
dsp,
</if>
<if
test=
"frmtyp != null"
>
frmtyp,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"chkflg != null"
>
chkflg,
</if>
<if
test=
"chkflg1 != null"
>
chkflg1,
</if>
<if
test=
"lvl != null"
>
lvl,
</if>
<if
test=
"chk != null"
>
chk,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"pntinr != null"
>
#{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"frm != null"
>
#{frm,jdbcType=VARCHAR},
</if>
<if
test=
"dsp != null"
>
#{dsp,jdbcType=VARCHAR},
</if>
<if
test=
"frmtyp != null"
>
#{frmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"chkflg != null"
>
#{chkflg,jdbcType=VARCHAR},
</if>
<if
test=
"chkflg1 != null"
>
#{chkflg1,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
#{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update frm
<set>
<if
test=
"pntinr != null"
>
pntinr = #{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"frm != null"
>
frm = #{frm,jdbcType=VARCHAR},
</if>
<if
test=
"dsp != null"
>
dsp = #{dsp,jdbcType=VARCHAR},
</if>
<if
test=
"frmtyp != null"
>
frmtyp = #{frmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"chkflg != null"
>
chkflg = #{chkflg,jdbcType=VARCHAR},
</if>
<if
test=
"chkflg1 != null"
>
chkflg1 = #{chkflg1,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
lvl = #{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update frm
<set>
pntinr = #{pntinr,jdbcType=VARCHAR},
frm = #{frm,jdbcType=VARCHAR},
dsp = #{dsp,jdbcType=VARCHAR},
frmtyp = #{frmtyp,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
chkflg = #{chkflg,jdbcType=VARCHAR},
chkflg1 = #{chkflg1,jdbcType=VARCHAR},
lvl = #{lvl,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxbankmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxbankMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxbank"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bic"
column=
"bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnktyp"
column=
"bnktyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"hbcod"
column=
"hbcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"contyp"
column=
"contyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"fntcod"
column=
"fntcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"directbic"
column=
"directbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"provcod"
column=
"provcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"citycod"
column=
"citycod"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnkcod"
column=
"bnkcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"fulnam"
column=
"fulnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"hafnam"
column=
"hafnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"address"
column=
"address"
jdbcType=
"VARCHAR"
/>
<result
property=
"poscod"
column=
"poscod"
jdbcType=
"VARCHAR"
/>
<result
property=
"phone"
column=
"phone"
jdbcType=
"VARCHAR"
/>
<result
property=
"email"
column=
"email"
jdbcType=
"VARCHAR"
/>
<result
property=
"lnkman"
column=
"lnkman"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"begdat"
column=
"begdat"
jdbcType=
"DATE"
/>
<result
property=
"losdat"
column=
"losdat"
jdbcType=
"DATE"
/>
<result
property=
"lstupdate"
column=
"lstupdate"
jdbcType=
"VARCHAR"
/>
<result
property=
"changeterm"
column=
"changeterm"
jdbcType=
"VARCHAR"
/>
<result
property=
"time"
column=
"time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"postscript"
column=
"postscript"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"relinr"
column=
"relinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,bic,bnktyp,hbcod,contyp,fntcod,directbic,provcod,citycod,bnkcod,fulnam,hafnam,address,poscod,phone,email,lnkman,sta,begdat,losdat,lstupdate,changeterm,time,postscript,fxdinr,relinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxbank
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxbank
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxbank (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{bic,jdbcType=VARCHAR},
#{bnktyp,jdbcType=VARCHAR},
#{hbcod,jdbcType=VARCHAR},
#{contyp,jdbcType=VARCHAR},
#{fntcod,jdbcType=VARCHAR},
#{directbic,jdbcType=VARCHAR},
#{provcod,jdbcType=VARCHAR},
#{citycod,jdbcType=VARCHAR},
#{bnkcod,jdbcType=VARCHAR},
#{fulnam,jdbcType=VARCHAR},
#{hafnam,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{poscod,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},
#{lnkman,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{begdat,jdbcType=DATE},
#{losdat,jdbcType=DATE},
#{lstupdate,jdbcType=VARCHAR},
#{changeterm,jdbcType=VARCHAR},
#{time,jdbcType=TIMESTAMP},
#{postscript,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
#{relinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxbank
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"bic != null"
>
bic,
</if>
<if
test=
"bnktyp != null"
>
bnktyp,
</if>
<if
test=
"hbcod != null"
>
hbcod,
</if>
<if
test=
"contyp != null"
>
contyp,
</if>
<if
test=
"fntcod != null"
>
fntcod,
</if>
<if
test=
"directbic != null"
>
directbic,
</if>
<if
test=
"provcod != null"
>
provcod,
</if>
<if
test=
"citycod != null"
>
citycod,
</if>
<if
test=
"bnkcod != null"
>
bnkcod,
</if>
<if
test=
"fulnam != null"
>
fulnam,
</if>
<if
test=
"hafnam != null"
>
hafnam,
</if>
<if
test=
"address != null"
>
address,
</if>
<if
test=
"poscod != null"
>
poscod,
</if>
<if
test=
"phone != null"
>
phone,
</if>
<if
test=
"email != null"
>
email,
</if>
<if
test=
"lnkman != null"
>
lnkman,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"begdat != null"
>
begdat,
</if>
<if
test=
"losdat != null"
>
losdat,
</if>
<if
test=
"lstupdate != null"
>
lstupdate,
</if>
<if
test=
"changeterm != null"
>
changeterm,
</if>
<if
test=
"time != null"
>
time,
</if>
<if
test=
"postscript != null"
>
postscript,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"relinr != null"
>
relinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"bic != null"
>
#{bic,jdbcType=VARCHAR},
</if>
<if
test=
"bnktyp != null"
>
#{bnktyp,jdbcType=VARCHAR},
</if>
<if
test=
"hbcod != null"
>
#{hbcod,jdbcType=VARCHAR},
</if>
<if
test=
"contyp != null"
>
#{contyp,jdbcType=VARCHAR},
</if>
<if
test=
"fntcod != null"
>
#{fntcod,jdbcType=VARCHAR},
</if>
<if
test=
"directbic != null"
>
#{directbic,jdbcType=VARCHAR},
</if>
<if
test=
"provcod != null"
>
#{provcod,jdbcType=VARCHAR},
</if>
<if
test=
"citycod != null"
>
#{citycod,jdbcType=VARCHAR},
</if>
<if
test=
"bnkcod != null"
>
#{bnkcod,jdbcType=VARCHAR},
</if>
<if
test=
"fulnam != null"
>
#{fulnam,jdbcType=VARCHAR},
</if>
<if
test=
"hafnam != null"
>
#{hafnam,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
#{address,jdbcType=VARCHAR},
</if>
<if
test=
"poscod != null"
>
#{poscod,jdbcType=VARCHAR},
</if>
<if
test=
"phone != null"
>
#{phone,jdbcType=VARCHAR},
</if>
<if
test=
"email != null"
>
#{email,jdbcType=VARCHAR},
</if>
<if
test=
"lnkman != null"
>
#{lnkman,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
#{begdat,jdbcType=DATE},
</if>
<if
test=
"losdat != null"
>
#{losdat,jdbcType=DATE},
</if>
<if
test=
"lstupdate != null"
>
#{lstupdate,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
#{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"time != null"
>
#{time,jdbcType=TIMESTAMP},
</if>
<if
test=
"postscript != null"
>
#{postscript,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
#{relinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxbank
<set>
<if
test=
"bic != null"
>
bic = #{bic,jdbcType=VARCHAR},
</if>
<if
test=
"bnktyp != null"
>
bnktyp = #{bnktyp,jdbcType=VARCHAR},
</if>
<if
test=
"hbcod != null"
>
hbcod = #{hbcod,jdbcType=VARCHAR},
</if>
<if
test=
"contyp != null"
>
contyp = #{contyp,jdbcType=VARCHAR},
</if>
<if
test=
"fntcod != null"
>
fntcod = #{fntcod,jdbcType=VARCHAR},
</if>
<if
test=
"directbic != null"
>
directbic = #{directbic,jdbcType=VARCHAR},
</if>
<if
test=
"provcod != null"
>
provcod = #{provcod,jdbcType=VARCHAR},
</if>
<if
test=
"citycod != null"
>
citycod = #{citycod,jdbcType=VARCHAR},
</if>
<if
test=
"bnkcod != null"
>
bnkcod = #{bnkcod,jdbcType=VARCHAR},
</if>
<if
test=
"fulnam != null"
>
fulnam = #{fulnam,jdbcType=VARCHAR},
</if>
<if
test=
"hafnam != null"
>
hafnam = #{hafnam,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
address = #{address,jdbcType=VARCHAR},
</if>
<if
test=
"poscod != null"
>
poscod = #{poscod,jdbcType=VARCHAR},
</if>
<if
test=
"phone != null"
>
phone = #{phone,jdbcType=VARCHAR},
</if>
<if
test=
"email != null"
>
email = #{email,jdbcType=VARCHAR},
</if>
<if
test=
"lnkman != null"
>
lnkman = #{lnkman,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
begdat = #{begdat,jdbcType=DATE},
</if>
<if
test=
"losdat != null"
>
losdat = #{losdat,jdbcType=DATE},
</if>
<if
test=
"lstupdate != null"
>
lstupdate = #{lstupdate,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
changeterm = #{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"time != null"
>
time = #{time,jdbcType=TIMESTAMP},
</if>
<if
test=
"postscript != null"
>
postscript = #{postscript,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"relinr != null"
>
relinr = #{relinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxbank
<set>
bic = #{bic,jdbcType=VARCHAR},
bnktyp = #{bnktyp,jdbcType=VARCHAR},
hbcod = #{hbcod,jdbcType=VARCHAR},
contyp = #{contyp,jdbcType=VARCHAR},
fntcod = #{fntcod,jdbcType=VARCHAR},
directbic = #{directbic,jdbcType=VARCHAR},
provcod = #{provcod,jdbcType=VARCHAR},
citycod = #{citycod,jdbcType=VARCHAR},
bnkcod = #{bnkcod,jdbcType=VARCHAR},
fulnam = #{fulnam,jdbcType=VARCHAR},
hafnam = #{hafnam,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
poscod = #{poscod,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
lnkman = #{lnkman,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
begdat = #{begdat,jdbcType=DATE},
losdat = #{losdat,jdbcType=DATE},
lstupdate = #{lstupdate,jdbcType=VARCHAR},
changeterm = #{changeterm,jdbcType=VARCHAR},
time = #{time,jdbcType=TIMESTAMP},
postscript = #{postscript,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
relinr = #{relinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxdcommapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxdcomMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxdcom"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"comcod"
column=
"comcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"comnam"
column=
"comnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"val"
column=
"val"
jdbcType=
"VARCHAR"
/>
<result
property=
"updval"
column=
"updval"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"effdat"
column=
"effdat"
jdbcType=
"DATE"
/>
<result
property=
"upddat"
column=
"upddat"
jdbcType=
"DATE"
/>
<result
property=
"updtim"
column=
"updtim"
jdbcType=
"DATE"
/>
<result
property=
"remark"
column=
"remark"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"changeterm"
column=
"changeterm"
jdbcType=
"VARCHAR"
/>
<result
property=
"num"
column=
"num"
jdbcType=
"VARCHAR"
/>
<result
property=
"chgtyp"
column=
"chgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"comtyp"
column=
"comtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"comengnam"
column=
"comengnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"type"
column=
"type"
jdbcType=
"VARCHAR"
/>
<result
property=
"filtyp"
column=
"filtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,comcod,cur,comnam,val,updval,typ,effdat,upddat,updtim,remark,fxdinr,sta,changeterm,num,chgtyp,comtyp,comengnam,type,filtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxdcom
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxdcom
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxdcom (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{comcod,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{comnam,jdbcType=VARCHAR},
#{val,jdbcType=VARCHAR},
#{updval,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{effdat,jdbcType=DATE},
#{upddat,jdbcType=DATE},
#{updtim,jdbcType=DATE},
#{remark,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{changeterm,jdbcType=VARCHAR},
#{num,jdbcType=VARCHAR},
#{chgtyp,jdbcType=VARCHAR},
#{comtyp,jdbcType=VARCHAR},
#{comengnam,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{filtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxdcom
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"comcod != null"
>
comcod,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"comnam != null"
>
comnam,
</if>
<if
test=
"val != null"
>
val,
</if>
<if
test=
"updval != null"
>
updval,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"effdat != null"
>
effdat,
</if>
<if
test=
"upddat != null"
>
upddat,
</if>
<if
test=
"updtim != null"
>
updtim,
</if>
<if
test=
"remark != null"
>
remark,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"changeterm != null"
>
changeterm,
</if>
<if
test=
"num != null"
>
num,
</if>
<if
test=
"chgtyp != null"
>
chgtyp,
</if>
<if
test=
"comtyp != null"
>
comtyp,
</if>
<if
test=
"comengnam != null"
>
comengnam,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"filtyp != null"
>
filtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"comcod != null"
>
#{comcod,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"comnam != null"
>
#{comnam,jdbcType=VARCHAR},
</if>
<if
test=
"val != null"
>
#{val,jdbcType=VARCHAR},
</if>
<if
test=
"updval != null"
>
#{updval,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
#{effdat,jdbcType=DATE},
</if>
<if
test=
"upddat != null"
>
#{upddat,jdbcType=DATE},
</if>
<if
test=
"updtim != null"
>
#{updtim,jdbcType=DATE},
</if>
<if
test=
"remark != null"
>
#{remark,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
#{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
#{num,jdbcType=VARCHAR},
</if>
<if
test=
"chgtyp != null"
>
#{chgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"comtyp != null"
>
#{comtyp,jdbcType=VARCHAR},
</if>
<if
test=
"comengnam != null"
>
#{comengnam,jdbcType=VARCHAR},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
#{filtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxdcom
<set>
<if
test=
"comcod != null"
>
comcod = #{comcod,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"comnam != null"
>
comnam = #{comnam,jdbcType=VARCHAR},
</if>
<if
test=
"val != null"
>
val = #{val,jdbcType=VARCHAR},
</if>
<if
test=
"updval != null"
>
updval = #{updval,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
effdat = #{effdat,jdbcType=DATE},
</if>
<if
test=
"upddat != null"
>
upddat = #{upddat,jdbcType=DATE},
</if>
<if
test=
"updtim != null"
>
updtim = #{updtim,jdbcType=DATE},
</if>
<if
test=
"remark != null"
>
remark = #{remark,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
changeterm = #{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
num = #{num,jdbcType=VARCHAR},
</if>
<if
test=
"chgtyp != null"
>
chgtyp = #{chgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"comtyp != null"
>
comtyp = #{comtyp,jdbcType=VARCHAR},
</if>
<if
test=
"comengnam != null"
>
comengnam = #{comengnam,jdbcType=VARCHAR},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
filtyp = #{filtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxdcom
<set>
comcod = #{comcod,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
comnam = #{comnam,jdbcType=VARCHAR},
val = #{val,jdbcType=VARCHAR},
updval = #{updval,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
effdat = #{effdat,jdbcType=DATE},
upddat = #{upddat,jdbcType=DATE},
updtim = #{updtim,jdbcType=DATE},
remark = #{remark,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
changeterm = #{changeterm,jdbcType=VARCHAR},
num = #{num,jdbcType=VARCHAR},
chgtyp = #{chgtyp,jdbcType=VARCHAR},
comtyp = #{comtyp,jdbcType=VARCHAR},
comengnam = #{comengnam,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
filtyp = #{filtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxdmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxdMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxd"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"DATE"
/>
<result
property=
"filtyp"
column=
"filtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"filnam"
column=
"filnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"filpth"
column=
"filpth"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,credat,filtyp,filnam,filpth,sta,typ
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxd
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxd (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{credat,jdbcType=DATE},
#{filtyp,jdbcType=VARCHAR},
#{filnam,jdbcType=VARCHAR},
#{filpth,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxd
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"filtyp != null"
>
filtyp,
</if>
<if
test=
"filnam != null"
>
filnam,
</if>
<if
test=
"filpth != null"
>
filpth,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=DATE},
</if>
<if
test=
"filtyp != null"
>
#{filtyp,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
#{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
#{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxd
<set>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=DATE},
</if>
<if
test=
"filtyp != null"
>
filtyp = #{filtyp,jdbcType=VARCHAR},
</if>
<if
test=
"filnam != null"
>
filnam = #{filnam,jdbcType=VARCHAR},
</if>
<if
test=
"filpth != null"
>
filpth = #{filpth,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxd
<set>
credat = #{credat,jdbcType=DATE},
filtyp = #{filtyp,jdbcType=VARCHAR},
filnam = #{filnam,jdbcType=VARCHAR},
filpth = #{filpth,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxdpatmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxdpatMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxdpat"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"chnnam"
column=
"chnnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"engnam"
column=
"engnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"cty"
column=
"cty"
jdbcType=
"VARCHAR"
/>
<result
property=
"cbtype"
column=
"cbtype"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakcat"
column=
"bakcat"
jdbcType=
"VARCHAR"
/>
<result
property=
"ctdbak"
column=
"ctdbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"lei"
column=
"lei"
jdbcType=
"VARCHAR"
/>
<result
property=
"valflg"
column=
"valflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"effdat"
column=
"effdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tel"
column=
"tel"
jdbcType=
"VARCHAR"
/>
<result
property=
"mal"
column=
"mal"
jdbcType=
"VARCHAR"
/>
<result
property=
"address"
column=
"address"
jdbcType=
"VARCHAR"
/>
<result
property=
"zipcod"
column=
"zipcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"presta"
column=
"presta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"issueno"
column=
"issueno"
jdbcType=
"VARCHAR"
/>
<result
property=
"bizsta"
column=
"bizsta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,cod,chnnam,engnam,cty,cbtype,bakcat,ctdbak,lei,valflg,effdat,nam,fxdinr,tel,mal,address,zipcod,presta,sta,issueno,bizsta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxdpat
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxdpat
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxdpat (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{cod,jdbcType=VARCHAR},
#{chnnam,jdbcType=VARCHAR},
#{engnam,jdbcType=VARCHAR},
#{cty,jdbcType=VARCHAR},
#{cbtype,jdbcType=VARCHAR},
#{bakcat,jdbcType=VARCHAR},
#{ctdbak,jdbcType=VARCHAR},
#{lei,jdbcType=VARCHAR},
#{valflg,jdbcType=VARCHAR},
#{effdat,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
#{tel,jdbcType=VARCHAR},
#{mal,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{zipcod,jdbcType=VARCHAR},
#{presta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{issueno,jdbcType=VARCHAR},
#{bizsta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxdpat
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"chnnam != null"
>
chnnam,
</if>
<if
test=
"engnam != null"
>
engnam,
</if>
<if
test=
"cty != null"
>
cty,
</if>
<if
test=
"cbtype != null"
>
cbtype,
</if>
<if
test=
"bakcat != null"
>
bakcat,
</if>
<if
test=
"ctdbak != null"
>
ctdbak,
</if>
<if
test=
"lei != null"
>
lei,
</if>
<if
test=
"valflg != null"
>
valflg,
</if>
<if
test=
"effdat != null"
>
effdat,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"tel != null"
>
tel,
</if>
<if
test=
"mal != null"
>
mal,
</if>
<if
test=
"address != null"
>
address,
</if>
<if
test=
"zipcod != null"
>
zipcod,
</if>
<if
test=
"presta != null"
>
presta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"issueno != null"
>
issueno,
</if>
<if
test=
"bizsta != null"
>
bizsta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
#{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
#{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"cty != null"
>
#{cty,jdbcType=VARCHAR},
</if>
<if
test=
"cbtype != null"
>
#{cbtype,jdbcType=VARCHAR},
</if>
<if
test=
"bakcat != null"
>
#{bakcat,jdbcType=VARCHAR},
</if>
<if
test=
"ctdbak != null"
>
#{ctdbak,jdbcType=VARCHAR},
</if>
<if
test=
"lei != null"
>
#{lei,jdbcType=VARCHAR},
</if>
<if
test=
"valflg != null"
>
#{valflg,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
#{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
#{tel,jdbcType=VARCHAR},
</if>
<if
test=
"mal != null"
>
#{mal,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
#{address,jdbcType=VARCHAR},
</if>
<if
test=
"zipcod != null"
>
#{zipcod,jdbcType=VARCHAR},
</if>
<if
test=
"presta != null"
>
#{presta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
#{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"bizsta != null"
>
#{bizsta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxdpat
<set>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
chnnam = #{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
engnam = #{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"cty != null"
>
cty = #{cty,jdbcType=VARCHAR},
</if>
<if
test=
"cbtype != null"
>
cbtype = #{cbtype,jdbcType=VARCHAR},
</if>
<if
test=
"bakcat != null"
>
bakcat = #{bakcat,jdbcType=VARCHAR},
</if>
<if
test=
"ctdbak != null"
>
ctdbak = #{ctdbak,jdbcType=VARCHAR},
</if>
<if
test=
"lei != null"
>
lei = #{lei,jdbcType=VARCHAR},
</if>
<if
test=
"valflg != null"
>
valflg = #{valflg,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
effdat = #{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
tel = #{tel,jdbcType=VARCHAR},
</if>
<if
test=
"mal != null"
>
mal = #{mal,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
address = #{address,jdbcType=VARCHAR},
</if>
<if
test=
"zipcod != null"
>
zipcod = #{zipcod,jdbcType=VARCHAR},
</if>
<if
test=
"presta != null"
>
presta = #{presta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
issueno = #{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"bizsta != null"
>
bizsta = #{bizsta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxdpat
<set>
cod = #{cod,jdbcType=VARCHAR},
chnnam = #{chnnam,jdbcType=VARCHAR},
engnam = #{engnam,jdbcType=VARCHAR},
cty = #{cty,jdbcType=VARCHAR},
cbtype = #{cbtype,jdbcType=VARCHAR},
bakcat = #{bakcat,jdbcType=VARCHAR},
ctdbak = #{ctdbak,jdbcType=VARCHAR},
lei = #{lei,jdbcType=VARCHAR},
valflg = #{valflg,jdbcType=VARCHAR},
effdat = #{effdat,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
mal = #{mal,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
zipcod = #{zipcod,jdbcType=VARCHAR},
presta = #{presta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
issueno = #{issueno,jdbcType=VARCHAR},
bizsta = #{bizsta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxdrelmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxdrelMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxdrel"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"drbankcod"
column=
"drbankcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"effdat"
column=
"effdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"preupdtyp"
column=
"preupdtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"issueno"
column=
"issueno"
jdbcType=
"VARCHAR"
/>
<result
property=
"updtyp"
column=
"updtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,cod,drbankcod,effdat,preupdtyp,issueno,updtyp,fxdinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxdrel
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxdrel
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxdrel (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{cod,jdbcType=VARCHAR},
#{drbankcod,jdbcType=VARCHAR},
#{effdat,jdbcType=VARCHAR},
#{preupdtyp,jdbcType=VARCHAR},
#{issueno,jdbcType=VARCHAR},
#{updtyp,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxdrel
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"drbankcod != null"
>
drbankcod,
</if>
<if
test=
"effdat != null"
>
effdat,
</if>
<if
test=
"preupdtyp != null"
>
preupdtyp,
</if>
<if
test=
"issueno != null"
>
issueno,
</if>
<if
test=
"updtyp != null"
>
updtyp,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"drbankcod != null"
>
#{drbankcod,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
#{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"preupdtyp != null"
>
#{preupdtyp,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
#{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"updtyp != null"
>
#{updtyp,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxdrel
<set>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"drbankcod != null"
>
drbankcod = #{drbankcod,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
effdat = #{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"preupdtyp != null"
>
preupdtyp = #{preupdtyp,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
issueno = #{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"updtyp != null"
>
updtyp = #{updtyp,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxdrel
<set>
cod = #{cod,jdbcType=VARCHAR},
drbankcod = #{drbankcod,jdbcType=VARCHAR},
effdat = #{effdat,jdbcType=VARCHAR},
preupdtyp = #{preupdtyp,jdbcType=VARCHAR},
issueno = #{issueno,jdbcType=VARCHAR},
updtyp = #{updtyp,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxdrigmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxdrigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxdrig"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bic"
column=
"bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndtyp"
column=
"sndtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvtyp"
column=
"rcvtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"upddat"
column=
"upddat"
jdbcType=
"DATE"
/>
<result
property=
"updtim"
column=
"updtim"
jdbcType=
"DATE"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"atytyp"
column=
"atytyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,bic,sndtyp,rcvtyp,upddat,updtim,fxdinr,sta,typ,atytyp,msgtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxdrig
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxdrig
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxdrig (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{bic,jdbcType=VARCHAR},
#{sndtyp,jdbcType=VARCHAR},
#{rcvtyp,jdbcType=VARCHAR},
#{upddat,jdbcType=DATE},
#{updtim,jdbcType=DATE},
#{fxdinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{atytyp,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxdrig
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"bic != null"
>
bic,
</if>
<if
test=
"sndtyp != null"
>
sndtyp,
</if>
<if
test=
"rcvtyp != null"
>
rcvtyp,
</if>
<if
test=
"upddat != null"
>
upddat,
</if>
<if
test=
"updtim != null"
>
updtim,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"atytyp != null"
>
atytyp,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"bic != null"
>
#{bic,jdbcType=VARCHAR},
</if>
<if
test=
"sndtyp != null"
>
#{sndtyp,jdbcType=VARCHAR},
</if>
<if
test=
"rcvtyp != null"
>
#{rcvtyp,jdbcType=VARCHAR},
</if>
<if
test=
"upddat != null"
>
#{upddat,jdbcType=DATE},
</if>
<if
test=
"updtim != null"
>
#{updtim,jdbcType=DATE},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"atytyp != null"
>
#{atytyp,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxdrig
<set>
<if
test=
"bic != null"
>
bic = #{bic,jdbcType=VARCHAR},
</if>
<if
test=
"sndtyp != null"
>
sndtyp = #{sndtyp,jdbcType=VARCHAR},
</if>
<if
test=
"rcvtyp != null"
>
rcvtyp = #{rcvtyp,jdbcType=VARCHAR},
</if>
<if
test=
"upddat != null"
>
upddat = #{upddat,jdbcType=DATE},
</if>
<if
test=
"updtim != null"
>
updtim = #{updtim,jdbcType=DATE},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"atytyp != null"
>
atytyp = #{atytyp,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxdrig
<set>
bic = #{bic,jdbcType=VARCHAR},
sndtyp = #{sndtyp,jdbcType=VARCHAR},
rcvtyp = #{rcvtyp,jdbcType=VARCHAR},
upddat = #{upddat,jdbcType=DATE},
updtim = #{updtim,jdbcType=DATE},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
atytyp = #{atytyp,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/fxebnkmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.FxebnkMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Fxebnk"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"chngtp"
column=
"chngtp"
jdbcType=
"VARCHAR"
/>
<result
property=
"fctvtp"
column=
"fctvtp"
jdbcType=
"VARCHAR"
/>
<result
property=
"begdat"
column=
"begdat"
jdbcType=
"DATE"
/>
<result
property=
"losdat"
column=
"losdat"
jdbcType=
"DATE"
/>
<result
property=
"bic"
column=
"bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnktyp"
column=
"bnktyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"hbcod"
column=
"hbcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"directbic"
column=
"directbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"lglpsn"
column=
"lglpsn"
jdbcType=
"VARCHAR"
/>
<result
property=
"hghcd"
column=
"hghcd"
jdbcType=
"VARCHAR"
/>
<result
property=
"brbkcd"
column=
"brbkcd"
jdbcType=
"VARCHAR"
/>
<result
property=
"chrcd"
column=
"chrcd"
jdbcType=
"VARCHAR"
/>
<result
property=
"ndcd"
column=
"ndcd"
jdbcType=
"VARCHAR"
/>
<result
property=
"citycod"
column=
"citycod"
jdbcType=
"VARCHAR"
/>
<result
property=
"fulnam"
column=
"fulnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"sgn"
column=
"sgn"
jdbcType=
"VARCHAR"
/>
<result
property=
"changeterm"
column=
"changeterm"
jdbcType=
"VARCHAR"
/>
<result
property=
"tel"
column=
"tel"
jdbcType=
"VARCHAR"
/>
<result
property=
"fxdinr"
column=
"fxdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"filtyp"
column=
"filtyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,chngtp,fctvtp,begdat,losdat,bic,bnktyp,hbcod,directbic,lglpsn,hghcd,brbkcd,chrcd,ndcd,citycod,fulnam,sgn,changeterm,tel,fxdinr,sta,filtyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from fxebnk
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from fxebnk
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into fxebnk (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{chngtp,jdbcType=VARCHAR},
#{fctvtp,jdbcType=VARCHAR},
#{begdat,jdbcType=DATE},
#{losdat,jdbcType=DATE},
#{bic,jdbcType=VARCHAR},
#{bnktyp,jdbcType=VARCHAR},
#{hbcod,jdbcType=VARCHAR},
#{directbic,jdbcType=VARCHAR},
#{lglpsn,jdbcType=VARCHAR},
#{hghcd,jdbcType=VARCHAR},
#{brbkcd,jdbcType=VARCHAR},
#{chrcd,jdbcType=VARCHAR},
#{ndcd,jdbcType=VARCHAR},
#{citycod,jdbcType=VARCHAR},
#{fulnam,jdbcType=VARCHAR},
#{sgn,jdbcType=VARCHAR},
#{changeterm,jdbcType=VARCHAR},
#{tel,jdbcType=VARCHAR},
#{fxdinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{filtyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into fxebnk
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"chngtp != null"
>
chngtp,
</if>
<if
test=
"fctvtp != null"
>
fctvtp,
</if>
<if
test=
"begdat != null"
>
begdat,
</if>
<if
test=
"losdat != null"
>
losdat,
</if>
<if
test=
"bic != null"
>
bic,
</if>
<if
test=
"bnktyp != null"
>
bnktyp,
</if>
<if
test=
"hbcod != null"
>
hbcod,
</if>
<if
test=
"directbic != null"
>
directbic,
</if>
<if
test=
"lglpsn != null"
>
lglpsn,
</if>
<if
test=
"hghcd != null"
>
hghcd,
</if>
<if
test=
"brbkcd != null"
>
brbkcd,
</if>
<if
test=
"chrcd != null"
>
chrcd,
</if>
<if
test=
"ndcd != null"
>
ndcd,
</if>
<if
test=
"citycod != null"
>
citycod,
</if>
<if
test=
"fulnam != null"
>
fulnam,
</if>
<if
test=
"sgn != null"
>
sgn,
</if>
<if
test=
"changeterm != null"
>
changeterm,
</if>
<if
test=
"tel != null"
>
tel,
</if>
<if
test=
"fxdinr != null"
>
fxdinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"filtyp != null"
>
filtyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"chngtp != null"
>
#{chngtp,jdbcType=VARCHAR},
</if>
<if
test=
"fctvtp != null"
>
#{fctvtp,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
#{begdat,jdbcType=DATE},
</if>
<if
test=
"losdat != null"
>
#{losdat,jdbcType=DATE},
</if>
<if
test=
"bic != null"
>
#{bic,jdbcType=VARCHAR},
</if>
<if
test=
"bnktyp != null"
>
#{bnktyp,jdbcType=VARCHAR},
</if>
<if
test=
"hbcod != null"
>
#{hbcod,jdbcType=VARCHAR},
</if>
<if
test=
"directbic != null"
>
#{directbic,jdbcType=VARCHAR},
</if>
<if
test=
"lglpsn != null"
>
#{lglpsn,jdbcType=VARCHAR},
</if>
<if
test=
"hghcd != null"
>
#{hghcd,jdbcType=VARCHAR},
</if>
<if
test=
"brbkcd != null"
>
#{brbkcd,jdbcType=VARCHAR},
</if>
<if
test=
"chrcd != null"
>
#{chrcd,jdbcType=VARCHAR},
</if>
<if
test=
"ndcd != null"
>
#{ndcd,jdbcType=VARCHAR},
</if>
<if
test=
"citycod != null"
>
#{citycod,jdbcType=VARCHAR},
</if>
<if
test=
"fulnam != null"
>
#{fulnam,jdbcType=VARCHAR},
</if>
<if
test=
"sgn != null"
>
#{sgn,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
#{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
#{tel,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
#{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
#{filtyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update fxebnk
<set>
<if
test=
"chngtp != null"
>
chngtp = #{chngtp,jdbcType=VARCHAR},
</if>
<if
test=
"fctvtp != null"
>
fctvtp = #{fctvtp,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
begdat = #{begdat,jdbcType=DATE},
</if>
<if
test=
"losdat != null"
>
losdat = #{losdat,jdbcType=DATE},
</if>
<if
test=
"bic != null"
>
bic = #{bic,jdbcType=VARCHAR},
</if>
<if
test=
"bnktyp != null"
>
bnktyp = #{bnktyp,jdbcType=VARCHAR},
</if>
<if
test=
"hbcod != null"
>
hbcod = #{hbcod,jdbcType=VARCHAR},
</if>
<if
test=
"directbic != null"
>
directbic = #{directbic,jdbcType=VARCHAR},
</if>
<if
test=
"lglpsn != null"
>
lglpsn = #{lglpsn,jdbcType=VARCHAR},
</if>
<if
test=
"hghcd != null"
>
hghcd = #{hghcd,jdbcType=VARCHAR},
</if>
<if
test=
"brbkcd != null"
>
brbkcd = #{brbkcd,jdbcType=VARCHAR},
</if>
<if
test=
"chrcd != null"
>
chrcd = #{chrcd,jdbcType=VARCHAR},
</if>
<if
test=
"ndcd != null"
>
ndcd = #{ndcd,jdbcType=VARCHAR},
</if>
<if
test=
"citycod != null"
>
citycod = #{citycod,jdbcType=VARCHAR},
</if>
<if
test=
"fulnam != null"
>
fulnam = #{fulnam,jdbcType=VARCHAR},
</if>
<if
test=
"sgn != null"
>
sgn = #{sgn,jdbcType=VARCHAR},
</if>
<if
test=
"changeterm != null"
>
changeterm = #{changeterm,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
tel = #{tel,jdbcType=VARCHAR},
</if>
<if
test=
"fxdinr != null"
>
fxdinr = #{fxdinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"filtyp != null"
>
filtyp = #{filtyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update fxebnk
<set>
chngtp = #{chngtp,jdbcType=VARCHAR},
fctvtp = #{fctvtp,jdbcType=VARCHAR},
begdat = #{begdat,jdbcType=DATE},
losdat = #{losdat,jdbcType=DATE},
bic = #{bic,jdbcType=VARCHAR},
bnktyp = #{bnktyp,jdbcType=VARCHAR},
hbcod = #{hbcod,jdbcType=VARCHAR},
directbic = #{directbic,jdbcType=VARCHAR},
lglpsn = #{lglpsn,jdbcType=VARCHAR},
hghcd = #{hghcd,jdbcType=VARCHAR},
brbkcd = #{brbkcd,jdbcType=VARCHAR},
chrcd = #{chrcd,jdbcType=VARCHAR},
ndcd = #{ndcd,jdbcType=VARCHAR},
citycod = #{citycod,jdbcType=VARCHAR},
fulnam = #{fulnam,jdbcType=VARCHAR},
sgn = #{sgn,jdbcType=VARCHAR},
changeterm = #{changeterm,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
fxdinr = #{fxdinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
filtyp = #{filtyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/gjsmsgmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.GjsmsgMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Gjsmsg"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakdat"
column=
"bakdat"
jdbcType=
"DATE"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"snddat"
column=
"snddat"
jdbcType=
"DATE"
/>
<result
property=
"rmk"
column=
"rmk"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,cod,bakdat,subtyp,othref,ownref,sndbic,snddat,rmk
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from gjsmsg
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from gjsmsg
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into gjsmsg (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{cod,jdbcType=VARCHAR},
#{bakdat,jdbcType=DATE},
#{subtyp,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{sndbic,jdbcType=VARCHAR},
#{snddat,jdbcType=DATE},
#{rmk,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into gjsmsg
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"bakdat != null"
>
bakdat,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"snddat != null"
>
snddat,
</if>
<if
test=
"rmk != null"
>
rmk,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"bakdat != null"
>
#{bakdat,jdbcType=DATE},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"snddat != null"
>
#{snddat,jdbcType=DATE},
</if>
<if
test=
"rmk != null"
>
#{rmk,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update gjsmsg
<set>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"bakdat != null"
>
bakdat = #{bakdat,jdbcType=DATE},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"snddat != null"
>
snddat = #{snddat,jdbcType=DATE},
</if>
<if
test=
"rmk != null"
>
rmk = #{rmk,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update gjsmsg
<set>
cod = #{cod,jdbcType=VARCHAR},
bakdat = #{bakdat,jdbcType=DATE},
subtyp = #{subtyp,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
ownref = #{ownref,jdbcType=VARCHAR},
sndbic = #{sndbic,jdbcType=VARCHAR},
snddat = #{snddat,jdbcType=DATE},
rmk = #{rmk,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/gndlstmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.GndlstMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Gndlst"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"valdat"
column=
"valdat"
jdbcType=
"DATE"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"uetr"
column=
"uetr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"srcchncod"
column=
"srcchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"firbic"
column=
"firbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"firrspsta"
column=
"firrspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"firrspcod"
column=
"firrspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"firdat"
column=
"firdat"
jdbcType=
"DATE"
/>
<result
property=
"firdeuamt"
column=
"firdeuamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"firdeucur"
column=
"firdeucur"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowbic"
column=
"nowbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowrspsta"
column=
"nowrspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowrspcod"
column=
"nowrspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowdat"
column=
"nowdat"
jdbcType=
"DATE"
/>
<result
property=
"nowdeuamt"
column=
"nowdeuamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"nowdeucur"
column=
"nowdeucur"
jdbcType=
"VARCHAR"
/>
<result
property=
"num"
column=
"num"
jdbcType=
"NUMERIC"
/>
<result
property=
"rcvdattim"
column=
"rcvdattim"
jdbcType=
"DATE"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"snddattim"
column=
"snddattim"
jdbcType=
"DATE"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvbic"
column=
"rcvbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspcod"
column=
"rspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"baksubtyp"
column=
"baksubtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"chncod"
column=
"chncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtchncod"
column=
"nxtchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"tgtchncod"
column=
"tgtchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"firutc"
column=
"firutc"
jdbcType=
"VARCHAR"
/>
<result
property=
"nowutc"
column=
"nowutc"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,valdat,ownref,othref,uetr,cur,amt,srcchncod,firbic,firrspsta,firrspcod,firdat,firdeuamt,firdeucur,nowbic,nowrspsta,nowrspcod,nowdat,nowdeuamt,nowdeucur,num,rcvdattim,subtyp,snddattim,rspsta,sta,sndbic,rcvbic,rspcod,baksubtyp,chncod,nxtchncod,tgtchncod,firutc,nowutc,sweflg
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from gndlst
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from gndlst
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into gndlst (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{valdat,jdbcType=DATE},
#{ownref,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{uetr,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{srcchncod,jdbcType=VARCHAR},
#{firbic,jdbcType=VARCHAR},
#{firrspsta,jdbcType=VARCHAR},
#{firrspcod,jdbcType=VARCHAR},
#{firdat,jdbcType=DATE},
#{firdeuamt,jdbcType=DECIMAL},
#{firdeucur,jdbcType=VARCHAR},
#{nowbic,jdbcType=VARCHAR},
#{nowrspsta,jdbcType=VARCHAR},
#{nowrspcod,jdbcType=VARCHAR},
#{nowdat,jdbcType=DATE},
#{nowdeuamt,jdbcType=DECIMAL},
#{nowdeucur,jdbcType=VARCHAR},
#{num,jdbcType=NUMERIC},
#{rcvdattim,jdbcType=DATE},
#{subtyp,jdbcType=VARCHAR},
#{snddattim,jdbcType=DATE},
#{rspsta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{sndbic,jdbcType=VARCHAR},
#{rcvbic,jdbcType=VARCHAR},
#{rspcod,jdbcType=VARCHAR},
#{baksubtyp,jdbcType=VARCHAR},
#{chncod,jdbcType=VARCHAR},
#{nxtchncod,jdbcType=VARCHAR},
#{tgtchncod,jdbcType=VARCHAR},
#{firutc,jdbcType=VARCHAR},
#{nowutc,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into gndlst
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"valdat != null"
>
valdat,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"uetr != null"
>
uetr,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"srcchncod != null"
>
srcchncod,
</if>
<if
test=
"firbic != null"
>
firbic,
</if>
<if
test=
"firrspsta != null"
>
firrspsta,
</if>
<if
test=
"firrspcod != null"
>
firrspcod,
</if>
<if
test=
"firdat != null"
>
firdat,
</if>
<if
test=
"firdeuamt != null"
>
firdeuamt,
</if>
<if
test=
"firdeucur != null"
>
firdeucur,
</if>
<if
test=
"nowbic != null"
>
nowbic,
</if>
<if
test=
"nowrspsta != null"
>
nowrspsta,
</if>
<if
test=
"nowrspcod != null"
>
nowrspcod,
</if>
<if
test=
"nowdat != null"
>
nowdat,
</if>
<if
test=
"nowdeuamt != null"
>
nowdeuamt,
</if>
<if
test=
"nowdeucur != null"
>
nowdeucur,
</if>
<if
test=
"num != null"
>
num,
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"snddattim != null"
>
snddattim,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"rcvbic != null"
>
rcvbic,
</if>
<if
test=
"rspcod != null"
>
rspcod,
</if>
<if
test=
"baksubtyp != null"
>
baksubtyp,
</if>
<if
test=
"chncod != null"
>
chncod,
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod,
</if>
<if
test=
"tgtchncod != null"
>
tgtchncod,
</if>
<if
test=
"firutc != null"
>
firutc,
</if>
<if
test=
"nowutc != null"
>
nowutc,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"valdat != null"
>
#{valdat,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
#{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"srcchncod != null"
>
#{srcchncod,jdbcType=VARCHAR},
</if>
<if
test=
"firbic != null"
>
#{firbic,jdbcType=VARCHAR},
</if>
<if
test=
"firrspsta != null"
>
#{firrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"firrspcod != null"
>
#{firrspcod,jdbcType=VARCHAR},
</if>
<if
test=
"firdat != null"
>
#{firdat,jdbcType=DATE},
</if>
<if
test=
"firdeuamt != null"
>
#{firdeuamt,jdbcType=DECIMAL},
</if>
<if
test=
"firdeucur != null"
>
#{firdeucur,jdbcType=VARCHAR},
</if>
<if
test=
"nowbic != null"
>
#{nowbic,jdbcType=VARCHAR},
</if>
<if
test=
"nowrspsta != null"
>
#{nowrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"nowrspcod != null"
>
#{nowrspcod,jdbcType=VARCHAR},
</if>
<if
test=
"nowdat != null"
>
#{nowdat,jdbcType=DATE},
</if>
<if
test=
"nowdeuamt != null"
>
#{nowdeuamt,jdbcType=DECIMAL},
</if>
<if
test=
"nowdeucur != null"
>
#{nowdeucur,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
#{num,jdbcType=NUMERIC},
</if>
<if
test=
"rcvdattim != null"
>
#{rcvdattim,jdbcType=DATE},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"snddattim != null"
>
#{snddattim,jdbcType=DATE},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
#{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
#{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"baksubtyp != null"
>
#{baksubtyp,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
#{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
#{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"tgtchncod != null"
>
#{tgtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"firutc != null"
>
#{firutc,jdbcType=VARCHAR},
</if>
<if
test=
"nowutc != null"
>
#{nowutc,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update gndlst
<set>
<if
test=
"valdat != null"
>
valdat = #{valdat,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
uetr = #{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"srcchncod != null"
>
srcchncod = #{srcchncod,jdbcType=VARCHAR},
</if>
<if
test=
"firbic != null"
>
firbic = #{firbic,jdbcType=VARCHAR},
</if>
<if
test=
"firrspsta != null"
>
firrspsta = #{firrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"firrspcod != null"
>
firrspcod = #{firrspcod,jdbcType=VARCHAR},
</if>
<if
test=
"firdat != null"
>
firdat = #{firdat,jdbcType=DATE},
</if>
<if
test=
"firdeuamt != null"
>
firdeuamt = #{firdeuamt,jdbcType=DECIMAL},
</if>
<if
test=
"firdeucur != null"
>
firdeucur = #{firdeucur,jdbcType=VARCHAR},
</if>
<if
test=
"nowbic != null"
>
nowbic = #{nowbic,jdbcType=VARCHAR},
</if>
<if
test=
"nowrspsta != null"
>
nowrspsta = #{nowrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"nowrspcod != null"
>
nowrspcod = #{nowrspcod,jdbcType=VARCHAR},
</if>
<if
test=
"nowdat != null"
>
nowdat = #{nowdat,jdbcType=DATE},
</if>
<if
test=
"nowdeuamt != null"
>
nowdeuamt = #{nowdeuamt,jdbcType=DECIMAL},
</if>
<if
test=
"nowdeucur != null"
>
nowdeucur = #{nowdeucur,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
num = #{num,jdbcType=NUMERIC},
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim = #{rcvdattim,jdbcType=DATE},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"snddattim != null"
>
snddattim = #{snddattim,jdbcType=DATE},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
rcvbic = #{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
rspcod = #{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"baksubtyp != null"
>
baksubtyp = #{baksubtyp,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
chncod = #{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"tgtchncod != null"
>
tgtchncod = #{tgtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"firutc != null"
>
firutc = #{firutc,jdbcType=VARCHAR},
</if>
<if
test=
"nowutc != null"
>
nowutc = #{nowutc,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update gndlst
<set>
valdat = #{valdat,jdbcType=DATE},
ownref = #{ownref,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
uetr = #{uetr,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
srcchncod = #{srcchncod,jdbcType=VARCHAR},
firbic = #{firbic,jdbcType=VARCHAR},
firrspsta = #{firrspsta,jdbcType=VARCHAR},
firrspcod = #{firrspcod,jdbcType=VARCHAR},
firdat = #{firdat,jdbcType=DATE},
firdeuamt = #{firdeuamt,jdbcType=DECIMAL},
firdeucur = #{firdeucur,jdbcType=VARCHAR},
nowbic = #{nowbic,jdbcType=VARCHAR},
nowrspsta = #{nowrspsta,jdbcType=VARCHAR},
nowrspcod = #{nowrspcod,jdbcType=VARCHAR},
nowdat = #{nowdat,jdbcType=DATE},
nowdeuamt = #{nowdeuamt,jdbcType=DECIMAL},
nowdeucur = #{nowdeucur,jdbcType=VARCHAR},
num = #{num,jdbcType=NUMERIC},
rcvdattim = #{rcvdattim,jdbcType=DATE},
subtyp = #{subtyp,jdbcType=VARCHAR},
snddattim = #{snddattim,jdbcType=DATE},
rspsta = #{rspsta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
sndbic = #{sndbic,jdbcType=VARCHAR},
rcvbic = #{rcvbic,jdbcType=VARCHAR},
rspcod = #{rspcod,jdbcType=VARCHAR},
baksubtyp = #{baksubtyp,jdbcType=VARCHAR},
chncod = #{chncod,jdbcType=VARCHAR},
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
tgtchncod = #{tgtchncod,jdbcType=VARCHAR},
firutc = #{firutc,jdbcType=VARCHAR},
nowutc = #{nowutc,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/gpemapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.GpeMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Gpe"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"orimpsinr"
column=
"orimpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oriljdinr"
column=
"oriljdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ljdinr"
column=
"ljdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"orgbic"
column=
"orgbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"fwdbic"
column=
"fwdbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspcod"
column=
"rspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"stasndtim"
column=
"stasndtim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"oricur"
column=
"oricur"
jdbcType=
"VARCHAR"
/>
<result
property=
"exgcur"
column=
"exgcur"
jdbcType=
"VARCHAR"
/>
<result
property=
"exgrat"
column=
"exgrat"
jdbcType=
"DECIMAL"
/>
<result
property=
"deucur"
column=
"deucur"
jdbcType=
"VARCHAR"
/>
<result
property=
"deuamt"
column=
"deuamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"credattim"
column=
"credattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"upddattim"
column=
"upddattim"
jdbcType=
"DATE"
/>
<result
property=
"relinr"
column=
"relinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvbic"
column=
"rcvbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"usrnam"
column=
"usrnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"uetr"
column=
"uetr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpstim"
column=
"mpstim"
jdbcType=
"DATE"
/>
<result
property=
"utc"
column=
"utc"
jdbcType=
"VARCHAR"
/>
<result
property=
"setmth"
column=
"setmth"
jdbcType=
"VARCHAR"
/>
<result
property=
"clrsys"
column=
"clrsys"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,orimpsinr,mpsinr,oriljdinr,ljdinr,orgbic,fwdbic,rspsta,rspcod,stasndtim,cur,amt,oricur,exgcur,exgrat,deucur,deuamt,credattim,txt,upddattim,relinr,subtyp,dir,sndbic,rcvbic,usrnam,uetr,mpstim,utc,setmth,clrsys
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from gpe
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from gpe
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into gpe (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{orimpsinr,jdbcType=VARCHAR},
#{mpsinr,jdbcType=VARCHAR},
#{oriljdinr,jdbcType=VARCHAR},
#{ljdinr,jdbcType=VARCHAR},
#{orgbic,jdbcType=VARCHAR},
#{fwdbic,jdbcType=VARCHAR},
#{rspsta,jdbcType=VARCHAR},
#{rspcod,jdbcType=VARCHAR},
#{stasndtim,jdbcType=TIMESTAMP},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{oricur,jdbcType=VARCHAR},
#{exgcur,jdbcType=VARCHAR},
#{exgrat,jdbcType=DECIMAL},
#{deucur,jdbcType=VARCHAR},
#{deuamt,jdbcType=DECIMAL},
#{credattim,jdbcType=TIMESTAMP},
#{txt,jdbcType=VARCHAR},
#{upddattim,jdbcType=DATE},
#{relinr,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{sndbic,jdbcType=VARCHAR},
#{rcvbic,jdbcType=VARCHAR},
#{usrnam,jdbcType=VARCHAR},
#{uetr,jdbcType=VARCHAR},
#{mpstim,jdbcType=DATE},
#{utc,jdbcType=VARCHAR},
#{setmth,jdbcType=VARCHAR},
#{clrsys,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into gpe
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"orimpsinr != null"
>
orimpsinr,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"oriljdinr != null"
>
oriljdinr,
</if>
<if
test=
"ljdinr != null"
>
ljdinr,
</if>
<if
test=
"orgbic != null"
>
orgbic,
</if>
<if
test=
"fwdbic != null"
>
fwdbic,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"rspcod != null"
>
rspcod,
</if>
<if
test=
"stasndtim != null"
>
stasndtim,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"oricur != null"
>
oricur,
</if>
<if
test=
"exgcur != null"
>
exgcur,
</if>
<if
test=
"exgrat != null"
>
exgrat,
</if>
<if
test=
"deucur != null"
>
deucur,
</if>
<if
test=
"deuamt != null"
>
deuamt,
</if>
<if
test=
"credattim != null"
>
credattim,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"upddattim != null"
>
upddattim,
</if>
<if
test=
"relinr != null"
>
relinr,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"rcvbic != null"
>
rcvbic,
</if>
<if
test=
"usrnam != null"
>
usrnam,
</if>
<if
test=
"uetr != null"
>
uetr,
</if>
<if
test=
"mpstim != null"
>
mpstim,
</if>
<if
test=
"utc != null"
>
utc,
</if>
<if
test=
"setmth != null"
>
setmth,
</if>
<if
test=
"clrsys != null"
>
clrsys,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"orimpsinr != null"
>
#{orimpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"oriljdinr != null"
>
#{oriljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
#{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"orgbic != null"
>
#{orgbic,jdbcType=VARCHAR},
</if>
<if
test=
"fwdbic != null"
>
#{fwdbic,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
#{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"stasndtim != null"
>
#{stasndtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"oricur != null"
>
#{oricur,jdbcType=VARCHAR},
</if>
<if
test=
"exgcur != null"
>
#{exgcur,jdbcType=VARCHAR},
</if>
<if
test=
"exgrat != null"
>
#{exgrat,jdbcType=DECIMAL},
</if>
<if
test=
"deucur != null"
>
#{deucur,jdbcType=VARCHAR},
</if>
<if
test=
"deuamt != null"
>
#{deuamt,jdbcType=DECIMAL},
</if>
<if
test=
"credattim != null"
>
#{credattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"upddattim != null"
>
#{upddattim,jdbcType=DATE},
</if>
<if
test=
"relinr != null"
>
#{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
#{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
#{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
#{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"mpstim != null"
>
#{mpstim,jdbcType=DATE},
</if>
<if
test=
"utc != null"
>
#{utc,jdbcType=VARCHAR},
</if>
<if
test=
"setmth != null"
>
#{setmth,jdbcType=VARCHAR},
</if>
<if
test=
"clrsys != null"
>
#{clrsys,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update gpe
<set>
<if
test=
"orimpsinr != null"
>
orimpsinr = #{orimpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"oriljdinr != null"
>
oriljdinr = #{oriljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
ljdinr = #{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"orgbic != null"
>
orgbic = #{orgbic,jdbcType=VARCHAR},
</if>
<if
test=
"fwdbic != null"
>
fwdbic = #{fwdbic,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
rspcod = #{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"stasndtim != null"
>
stasndtim = #{stasndtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"oricur != null"
>
oricur = #{oricur,jdbcType=VARCHAR},
</if>
<if
test=
"exgcur != null"
>
exgcur = #{exgcur,jdbcType=VARCHAR},
</if>
<if
test=
"exgrat != null"
>
exgrat = #{exgrat,jdbcType=DECIMAL},
</if>
<if
test=
"deucur != null"
>
deucur = #{deucur,jdbcType=VARCHAR},
</if>
<if
test=
"deuamt != null"
>
deuamt = #{deuamt,jdbcType=DECIMAL},
</if>
<if
test=
"credattim != null"
>
credattim = #{credattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"upddattim != null"
>
upddattim = #{upddattim,jdbcType=DATE},
</if>
<if
test=
"relinr != null"
>
relinr = #{relinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
rcvbic = #{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
usrnam = #{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
uetr = #{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"mpstim != null"
>
mpstim = #{mpstim,jdbcType=DATE},
</if>
<if
test=
"utc != null"
>
utc = #{utc,jdbcType=VARCHAR},
</if>
<if
test=
"setmth != null"
>
setmth = #{setmth,jdbcType=VARCHAR},
</if>
<if
test=
"clrsys != null"
>
clrsys = #{clrsys,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update gpe
<set>
orimpsinr = #{orimpsinr,jdbcType=VARCHAR},
mpsinr = #{mpsinr,jdbcType=VARCHAR},
oriljdinr = #{oriljdinr,jdbcType=VARCHAR},
ljdinr = #{ljdinr,jdbcType=VARCHAR},
orgbic = #{orgbic,jdbcType=VARCHAR},
fwdbic = #{fwdbic,jdbcType=VARCHAR},
rspsta = #{rspsta,jdbcType=VARCHAR},
rspcod = #{rspcod,jdbcType=VARCHAR},
stasndtim = #{stasndtim,jdbcType=TIMESTAMP},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
oricur = #{oricur,jdbcType=VARCHAR},
exgcur = #{exgcur,jdbcType=VARCHAR},
exgrat = #{exgrat,jdbcType=DECIMAL},
deucur = #{deucur,jdbcType=VARCHAR},
deuamt = #{deuamt,jdbcType=DECIMAL},
credattim = #{credattim,jdbcType=TIMESTAMP},
txt = #{txt,jdbcType=VARCHAR},
upddattim = #{upddattim,jdbcType=DATE},
relinr = #{relinr,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
dir = #{dir,jdbcType=VARCHAR},
sndbic = #{sndbic,jdbcType=VARCHAR},
rcvbic = #{rcvbic,jdbcType=VARCHAR},
usrnam = #{usrnam,jdbcType=VARCHAR},
uetr = #{uetr,jdbcType=VARCHAR},
mpstim = #{mpstim,jdbcType=DATE},
utc = #{utc,jdbcType=VARCHAR},
setmth = #{setmth,jdbcType=VARCHAR},
clrsys = #{clrsys,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/icrmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.IcrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Icr"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mcrinr"
column=
"mcrinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"seqnum"
column=
"seqnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"refnum"
column=
"refnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"bilnum"
column=
"bilnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"reddir"
column=
"reddir"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"chkinf"
column=
"chkinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"chksta"
column=
"chksta"
jdbcType=
"VARCHAR"
/>
<result
property=
"recamt"
column=
"recamt"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"reccur"
column=
"reccur"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mcrinr,seqnum,refnum,bilnum,reddir,accdat,chkinf,chksta,recamt,lstdattim,reccur
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from icr
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from icr
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into icr (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mcrinr,jdbcType=VARCHAR},
#{seqnum,jdbcType=VARCHAR},
#{refnum,jdbcType=VARCHAR},
#{bilnum,jdbcType=VARCHAR},
#{reddir,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{chkinf,jdbcType=VARCHAR},
#{chksta,jdbcType=VARCHAR},
#{recamt,jdbcType=VARCHAR},
#{lstdattim,jdbcType=TIMESTAMP},
#{reccur,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into icr
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mcrinr != null"
>
mcrinr,
</if>
<if
test=
"seqnum != null"
>
seqnum,
</if>
<if
test=
"refnum != null"
>
refnum,
</if>
<if
test=
"bilnum != null"
>
bilnum,
</if>
<if
test=
"reddir != null"
>
reddir,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"chkinf != null"
>
chkinf,
</if>
<if
test=
"chksta != null"
>
chksta,
</if>
<if
test=
"recamt != null"
>
recamt,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"reccur != null"
>
reccur,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mcrinr != null"
>
#{mcrinr,jdbcType=VARCHAR},
</if>
<if
test=
"seqnum != null"
>
#{seqnum,jdbcType=VARCHAR},
</if>
<if
test=
"refnum != null"
>
#{refnum,jdbcType=VARCHAR},
</if>
<if
test=
"bilnum != null"
>
#{bilnum,jdbcType=VARCHAR},
</if>
<if
test=
"reddir != null"
>
#{reddir,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"chkinf != null"
>
#{chkinf,jdbcType=VARCHAR},
</if>
<if
test=
"chksta != null"
>
#{chksta,jdbcType=VARCHAR},
</if>
<if
test=
"recamt != null"
>
#{recamt,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"reccur != null"
>
#{reccur,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update icr
<set>
<if
test=
"mcrinr != null"
>
mcrinr = #{mcrinr,jdbcType=VARCHAR},
</if>
<if
test=
"seqnum != null"
>
seqnum = #{seqnum,jdbcType=VARCHAR},
</if>
<if
test=
"refnum != null"
>
refnum = #{refnum,jdbcType=VARCHAR},
</if>
<if
test=
"bilnum != null"
>
bilnum = #{bilnum,jdbcType=VARCHAR},
</if>
<if
test=
"reddir != null"
>
reddir = #{reddir,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"chkinf != null"
>
chkinf = #{chkinf,jdbcType=VARCHAR},
</if>
<if
test=
"chksta != null"
>
chksta = #{chksta,jdbcType=VARCHAR},
</if>
<if
test=
"recamt != null"
>
recamt = #{recamt,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"reccur != null"
>
reccur = #{reccur,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update icr
<set>
mcrinr = #{mcrinr,jdbcType=VARCHAR},
seqnum = #{seqnum,jdbcType=VARCHAR},
refnum = #{refnum,jdbcType=VARCHAR},
bilnum = #{bilnum,jdbcType=VARCHAR},
reddir = #{reddir,jdbcType=VARCHAR},
accdat = #{accdat,jdbcType=VARCHAR},
chkinf = #{chkinf,jdbcType=VARCHAR},
chksta = #{chksta,jdbcType=VARCHAR},
recamt = #{recamt,jdbcType=VARCHAR},
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
reccur = #{reccur,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/marmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MarMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mar"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"inbic"
column=
"inbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"outbic"
column=
"outbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"inmpiinr"
column=
"inmpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"outmpiinr"
column=
"outmpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"no"
column=
"no"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,inbic,outbic,sta,typ,inmpiinr,outmpiinr,dir,no,chk
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mar
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mar
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mar (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{inbic,jdbcType=VARCHAR},
#{outbic,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{inmpiinr,jdbcType=VARCHAR},
#{outmpiinr,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{no,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mar
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"inbic != null"
>
inbic,
</if>
<if
test=
"outbic != null"
>
outbic,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"inmpiinr != null"
>
inmpiinr,
</if>
<if
test=
"outmpiinr != null"
>
outmpiinr,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"no != null"
>
no,
</if>
<if
test=
"chk != null"
>
chk,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"inbic != null"
>
#{inbic,jdbcType=VARCHAR},
</if>
<if
test=
"outbic != null"
>
#{outbic,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"inmpiinr != null"
>
#{inmpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"outmpiinr != null"
>
#{outmpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"no != null"
>
#{no,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mar
<set>
<if
test=
"inbic != null"
>
inbic = #{inbic,jdbcType=VARCHAR},
</if>
<if
test=
"outbic != null"
>
outbic = #{outbic,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"inmpiinr != null"
>
inmpiinr = #{inmpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"outmpiinr != null"
>
outmpiinr = #{outmpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"no != null"
>
no = #{no,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mar
<set>
inbic = #{inbic,jdbcType=VARCHAR},
outbic = #{outbic,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
inmpiinr = #{inmpiinr,jdbcType=VARCHAR},
outmpiinr = #{outmpiinr,jdbcType=VARCHAR},
dir = #{dir,jdbcType=VARCHAR},
no = #{no,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/mcrmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.McrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mcr"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndsys"
column=
"sndsys"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndfin"
column=
"sndfin"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvsys"
column=
"rcvsys"
jdbcType=
"VARCHAR"
/>
<result
property=
"rstfin"
column=
"rstfin"
jdbcType=
"VARCHAR"
/>
<result
property=
"lcadat"
column=
"lcadat"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"talnum"
column=
"talnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"sucnum"
column=
"sucnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"fainum"
column=
"fainum"
jdbcType=
"VARCHAR"
/>
<result
property=
"rsdnum"
column=
"rsdnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"reddir"
column=
"reddir"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,sndsys,sndfin,rcvsys,rstfin,lcadat,accdat,talnum,sucnum,fainum,rsdnum,reddir
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mcr
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mcr
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mcr (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{sndsys,jdbcType=VARCHAR},
#{sndfin,jdbcType=VARCHAR},
#{rcvsys,jdbcType=VARCHAR},
#{rstfin,jdbcType=VARCHAR},
#{lcadat,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{talnum,jdbcType=VARCHAR},
#{sucnum,jdbcType=VARCHAR},
#{fainum,jdbcType=VARCHAR},
#{rsdnum,jdbcType=VARCHAR},
#{reddir,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mcr
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"sndsys != null"
>
sndsys,
</if>
<if
test=
"sndfin != null"
>
sndfin,
</if>
<if
test=
"rcvsys != null"
>
rcvsys,
</if>
<if
test=
"rstfin != null"
>
rstfin,
</if>
<if
test=
"lcadat != null"
>
lcadat,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"talnum != null"
>
talnum,
</if>
<if
test=
"sucnum != null"
>
sucnum,
</if>
<if
test=
"fainum != null"
>
fainum,
</if>
<if
test=
"rsdnum != null"
>
rsdnum,
</if>
<if
test=
"reddir != null"
>
reddir,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"sndsys != null"
>
#{sndsys,jdbcType=VARCHAR},
</if>
<if
test=
"sndfin != null"
>
#{sndfin,jdbcType=VARCHAR},
</if>
<if
test=
"rcvsys != null"
>
#{rcvsys,jdbcType=VARCHAR},
</if>
<if
test=
"rstfin != null"
>
#{rstfin,jdbcType=VARCHAR},
</if>
<if
test=
"lcadat != null"
>
#{lcadat,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"talnum != null"
>
#{talnum,jdbcType=VARCHAR},
</if>
<if
test=
"sucnum != null"
>
#{sucnum,jdbcType=VARCHAR},
</if>
<if
test=
"fainum != null"
>
#{fainum,jdbcType=VARCHAR},
</if>
<if
test=
"rsdnum != null"
>
#{rsdnum,jdbcType=VARCHAR},
</if>
<if
test=
"reddir != null"
>
#{reddir,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mcr
<set>
<if
test=
"sndsys != null"
>
sndsys = #{sndsys,jdbcType=VARCHAR},
</if>
<if
test=
"sndfin != null"
>
sndfin = #{sndfin,jdbcType=VARCHAR},
</if>
<if
test=
"rcvsys != null"
>
rcvsys = #{rcvsys,jdbcType=VARCHAR},
</if>
<if
test=
"rstfin != null"
>
rstfin = #{rstfin,jdbcType=VARCHAR},
</if>
<if
test=
"lcadat != null"
>
lcadat = #{lcadat,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"talnum != null"
>
talnum = #{talnum,jdbcType=VARCHAR},
</if>
<if
test=
"sucnum != null"
>
sucnum = #{sucnum,jdbcType=VARCHAR},
</if>
<if
test=
"fainum != null"
>
fainum = #{fainum,jdbcType=VARCHAR},
</if>
<if
test=
"rsdnum != null"
>
rsdnum = #{rsdnum,jdbcType=VARCHAR},
</if>
<if
test=
"reddir != null"
>
reddir = #{reddir,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mcr
<set>
sndsys = #{sndsys,jdbcType=VARCHAR},
sndfin = #{sndfin,jdbcType=VARCHAR},
rcvsys = #{rcvsys,jdbcType=VARCHAR},
rstfin = #{rstfin,jdbcType=VARCHAR},
lcadat = #{lcadat,jdbcType=VARCHAR},
accdat = #{accdat,jdbcType=VARCHAR},
talnum = #{talnum,jdbcType=VARCHAR},
sucnum = #{sucnum,jdbcType=VARCHAR},
fainum = #{fainum,jdbcType=VARCHAR},
rsdnum = #{rsdnum,jdbcType=VARCHAR},
reddir = #{reddir,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/monmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MonMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mon"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"begtim"
column=
"begtim"
jdbcType=
"VARCHAR"
/>
<result
property=
"endtim"
column=
"endtim"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvpho"
column=
"rcvpho"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndmsg"
column=
"sndmsg"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,begtim,endtim,rcvpho,sndmsg,typ
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mon
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mon
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mon (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{begtim,jdbcType=VARCHAR},
#{endtim,jdbcType=VARCHAR},
#{rcvpho,jdbcType=VARCHAR},
#{sndmsg,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mon
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"begtim != null"
>
begtim,
</if>
<if
test=
"endtim != null"
>
endtim,
</if>
<if
test=
"rcvpho != null"
>
rcvpho,
</if>
<if
test=
"sndmsg != null"
>
sndmsg,
</if>
<if
test=
"typ != null"
>
typ,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"begtim != null"
>
#{begtim,jdbcType=VARCHAR},
</if>
<if
test=
"endtim != null"
>
#{endtim,jdbcType=VARCHAR},
</if>
<if
test=
"rcvpho != null"
>
#{rcvpho,jdbcType=VARCHAR},
</if>
<if
test=
"sndmsg != null"
>
#{sndmsg,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mon
<set>
<if
test=
"begtim != null"
>
begtim = #{begtim,jdbcType=VARCHAR},
</if>
<if
test=
"endtim != null"
>
endtim = #{endtim,jdbcType=VARCHAR},
</if>
<if
test=
"rcvpho != null"
>
rcvpho = #{rcvpho,jdbcType=VARCHAR},
</if>
<if
test=
"sndmsg != null"
>
sndmsg = #{sndmsg,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mon
<set>
begtim = #{begtim,jdbcType=VARCHAR},
endtim = #{endtim,jdbcType=VARCHAR},
rcvpho = #{rcvpho,jdbcType=VARCHAR},
sndmsg = #{sndmsg,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/mpemapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MpeMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mpe"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"chncod"
column=
"chncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtchncod"
column=
"nxtchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"smhinr"
column=
"smhinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtsmhinr"
column=
"nxtsmhinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dattim"
column=
"dattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"usr"
column=
"usr"
jdbcType=
"VARCHAR"
/>
<result
property=
"frmnam"
column=
"frmnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"prvsta"
column=
"prvsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"prvrspsta"
column=
"prvrspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mpsinr,chncod,nxtchncod,smhinr,nxtsmhinr,dattim,usr,frmnam,prvsta,sta,txt,rspsta,prvrspsta,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mpe
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mpe
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mpe (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mpsinr,jdbcType=VARCHAR},
#{chncod,jdbcType=VARCHAR},
#{nxtchncod,jdbcType=VARCHAR},
#{smhinr,jdbcType=VARCHAR},
#{nxtsmhinr,jdbcType=VARCHAR},
#{dattim,jdbcType=TIMESTAMP},
#{usr,jdbcType=VARCHAR},
#{frmnam,jdbcType=VARCHAR},
#{prvsta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{rspsta,jdbcType=VARCHAR},
#{prvrspsta,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mpe
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"chncod != null"
>
chncod,
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod,
</if>
<if
test=
"smhinr != null"
>
smhinr,
</if>
<if
test=
"nxtsmhinr != null"
>
nxtsmhinr,
</if>
<if
test=
"dattim != null"
>
dattim,
</if>
<if
test=
"usr != null"
>
usr,
</if>
<if
test=
"frmnam != null"
>
frmnam,
</if>
<if
test=
"prvsta != null"
>
prvsta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"prvrspsta != null"
>
prvrspsta,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
#{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
#{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
#{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsmhinr != null"
>
#{nxtsmhinr,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
#{dattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"usr != null"
>
#{usr,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
#{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"prvsta != null"
>
#{prvsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"prvrspsta != null"
>
#{prvrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mpe
<set>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
chncod = #{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
smhinr = #{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsmhinr != null"
>
nxtsmhinr = #{nxtsmhinr,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
dattim = #{dattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"usr != null"
>
usr = #{usr,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
frmnam = #{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"prvsta != null"
>
prvsta = #{prvsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"prvrspsta != null"
>
prvrspsta = #{prvrspsta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mpe
<set>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
chncod = #{chncod,jdbcType=VARCHAR},
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
smhinr = #{smhinr,jdbcType=VARCHAR},
nxtsmhinr = #{nxtsmhinr,jdbcType=VARCHAR},
dattim = #{dattim,jdbcType=TIMESTAMP},
usr = #{usr,jdbcType=VARCHAR},
frmnam = #{frmnam,jdbcType=VARCHAR},
prvsta = #{prvsta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
rspsta = #{rspsta,jdbcType=VARCHAR},
prvrspsta = #{prvrspsta,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/mpimapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MpiMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mpi"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndnum"
column=
"sndnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvbic"
column=
"rcvbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"t53bic"
column=
"t53bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbic"
column=
"actbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"act"
column=
"act"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"valdat"
column=
"valdat"
jdbcType=
"DATE"
/>
<result
property=
"n20sha"
column=
"n20sha"
jdbcType=
"VARCHAR"
/>
<result
property=
"tagsha"
column=
"tagsha"
jdbcType=
"VARCHAR"
/>
<result
property=
"taglst"
column=
"taglst"
jdbcType=
"VARCHAR"
/>
<result
property=
"gendat"
column=
"gendat"
jdbcType=
"DATE"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"excmsg"
column=
"excmsg"
jdbcType=
"VARCHAR"
/>
<result
property=
"rpscod"
column=
"rpscod"
jdbcType=
"VARCHAR"
/>
<result
property=
"ckflg"
column=
"ckflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"srcnum"
column=
"srcnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"usrnam"
column=
"usrnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"dtlchg"
column=
"dtlchg"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"actsta"
column=
"actsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"fwdref"
column=
"fwdref"
jdbcType=
"VARCHAR"
/>
<result
property=
"fwdref2"
column=
"fwdref2"
jdbcType=
"VARCHAR"
/>
<result
property=
"branch"
column=
"branch"
jdbcType=
"VARCHAR"
/>
<result
property=
"cjzsta"
column=
"cjzsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"gpi"
column=
"gpi"
jdbcType=
"VARCHAR"
/>
<result
property=
"uetr"
column=
"uetr"
jdbcType=
"VARCHAR"
/>
<result
property=
"systrackn"
column=
"systrackn"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"gpival"
column=
"gpival"
jdbcType=
"VARCHAR"
/>
<result
property=
"selamt"
column=
"selamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"selcur"
column=
"selcur"
jdbcType=
"VARCHAR"
/>
<result
property=
"msg71f"
column=
"msg71f"
jdbcType=
"VARCHAR"
/>
<result
property=
"lcnb"
column=
"lcnb"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgid"
column=
"msgid"
jdbcType=
"VARCHAR"
/>
<result
property=
"biztyp"
column=
"biztyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndflg"
column=
"sndflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"expsetdat"
column=
"expsetdat"
jdbcType=
"DATE"
/>
<result
property=
"rcvindbic"
column=
"rcvindbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndindbic"
column=
"sndindbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"paybic"
column=
"paybic"
jdbcType=
"VARCHAR"
/>
<result
property=
"recbic"
column=
"recbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"xdzsta"
column=
"xdzsta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,dir,ownref,othref,sndnum,sndbic,rcvbic,t53bic,actbic,act,cur,amt,valdat,n20sha,tagsha,taglst,gendat,msgtyp,subtyp,excmsg,rpscod,ckflg,srcnum,usrnam,dtlchg,flg,actsta,etyinr,ptyinr,fwdref,fwdref2,branch,cjzsta,gpi,uetr,systrackn,accdat,gpival,selamt,selcur,msg71f,lcnb,msgid,biztyp,sndflg,expsetdat,rcvindbic,sndindbic,paybic,recbic,xdzsta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mpi
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mpi
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mpi (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{sndnum,jdbcType=VARCHAR},
#{sndbic,jdbcType=VARCHAR},
#{rcvbic,jdbcType=VARCHAR},
#{t53bic,jdbcType=VARCHAR},
#{actbic,jdbcType=VARCHAR},
#{act,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{valdat,jdbcType=DATE},
#{n20sha,jdbcType=VARCHAR},
#{tagsha,jdbcType=VARCHAR},
#{taglst,jdbcType=VARCHAR},
#{gendat,jdbcType=DATE},
#{msgtyp,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{excmsg,jdbcType=VARCHAR},
#{rpscod,jdbcType=VARCHAR},
#{ckflg,jdbcType=VARCHAR},
#{srcnum,jdbcType=VARCHAR},
#{usrnam,jdbcType=VARCHAR},
#{dtlchg,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{actsta,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{fwdref,jdbcType=VARCHAR},
#{fwdref2,jdbcType=VARCHAR},
#{branch,jdbcType=VARCHAR},
#{cjzsta,jdbcType=VARCHAR},
#{gpi,jdbcType=VARCHAR},
#{uetr,jdbcType=VARCHAR},
#{systrackn,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{gpival,jdbcType=VARCHAR},
#{selamt,jdbcType=DECIMAL},
#{selcur,jdbcType=VARCHAR},
#{msg71f,jdbcType=VARCHAR},
#{lcnb,jdbcType=VARCHAR},
#{msgid,jdbcType=VARCHAR},
#{biztyp,jdbcType=VARCHAR},
#{sndflg,jdbcType=VARCHAR},
#{expsetdat,jdbcType=DATE},
#{rcvindbic,jdbcType=VARCHAR},
#{sndindbic,jdbcType=VARCHAR},
#{paybic,jdbcType=VARCHAR},
#{recbic,jdbcType=VARCHAR},
#{xdzsta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mpi
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"sndnum != null"
>
sndnum,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"rcvbic != null"
>
rcvbic,
</if>
<if
test=
"t53bic != null"
>
t53bic,
</if>
<if
test=
"actbic != null"
>
actbic,
</if>
<if
test=
"act != null"
>
act,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"valdat != null"
>
valdat,
</if>
<if
test=
"n20sha != null"
>
n20sha,
</if>
<if
test=
"tagsha != null"
>
tagsha,
</if>
<if
test=
"taglst != null"
>
taglst,
</if>
<if
test=
"gendat != null"
>
gendat,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"excmsg != null"
>
excmsg,
</if>
<if
test=
"rpscod != null"
>
rpscod,
</if>
<if
test=
"ckflg != null"
>
ckflg,
</if>
<if
test=
"srcnum != null"
>
srcnum,
</if>
<if
test=
"usrnam != null"
>
usrnam,
</if>
<if
test=
"dtlchg != null"
>
dtlchg,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"actsta != null"
>
actsta,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"fwdref != null"
>
fwdref,
</if>
<if
test=
"fwdref2 != null"
>
fwdref2,
</if>
<if
test=
"branch != null"
>
branch,
</if>
<if
test=
"cjzsta != null"
>
cjzsta,
</if>
<if
test=
"gpi != null"
>
gpi,
</if>
<if
test=
"uetr != null"
>
uetr,
</if>
<if
test=
"systrackn != null"
>
systrackn,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"gpival != null"
>
gpival,
</if>
<if
test=
"selamt != null"
>
selamt,
</if>
<if
test=
"selcur != null"
>
selcur,
</if>
<if
test=
"msg71f != null"
>
msg71f,
</if>
<if
test=
"lcnb != null"
>
lcnb,
</if>
<if
test=
"msgid != null"
>
msgid,
</if>
<if
test=
"biztyp != null"
>
biztyp,
</if>
<if
test=
"sndflg != null"
>
sndflg,
</if>
<if
test=
"expsetdat != null"
>
expsetdat,
</if>
<if
test=
"rcvindbic != null"
>
rcvindbic,
</if>
<if
test=
"sndindbic != null"
>
sndindbic,
</if>
<if
test=
"paybic != null"
>
paybic,
</if>
<if
test=
"recbic != null"
>
recbic,
</if>
<if
test=
"xdzsta != null"
>
xdzsta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
#{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
#{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"t53bic != null"
>
#{t53bic,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
#{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"act != null"
>
#{act,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"valdat != null"
>
#{valdat,jdbcType=DATE},
</if>
<if
test=
"n20sha != null"
>
#{n20sha,jdbcType=VARCHAR},
</if>
<if
test=
"tagsha != null"
>
#{tagsha,jdbcType=VARCHAR},
</if>
<if
test=
"taglst != null"
>
#{taglst,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
#{gendat,jdbcType=DATE},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"excmsg != null"
>
#{excmsg,jdbcType=VARCHAR},
</if>
<if
test=
"rpscod != null"
>
#{rpscod,jdbcType=VARCHAR},
</if>
<if
test=
"ckflg != null"
>
#{ckflg,jdbcType=VARCHAR},
</if>
<if
test=
"srcnum != null"
>
#{srcnum,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
#{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"dtlchg != null"
>
#{dtlchg,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"actsta != null"
>
#{actsta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref != null"
>
#{fwdref,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref2 != null"
>
#{fwdref2,jdbcType=VARCHAR},
</if>
<if
test=
"branch != null"
>
#{branch,jdbcType=VARCHAR},
</if>
<if
test=
"cjzsta != null"
>
#{cjzsta,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
#{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
#{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"systrackn != null"
>
#{systrackn,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"gpival != null"
>
#{gpival,jdbcType=VARCHAR},
</if>
<if
test=
"selamt != null"
>
#{selamt,jdbcType=DECIMAL},
</if>
<if
test=
"selcur != null"
>
#{selcur,jdbcType=VARCHAR},
</if>
<if
test=
"msg71f != null"
>
#{msg71f,jdbcType=VARCHAR},
</if>
<if
test=
"lcnb != null"
>
#{lcnb,jdbcType=VARCHAR},
</if>
<if
test=
"msgid != null"
>
#{msgid,jdbcType=VARCHAR},
</if>
<if
test=
"biztyp != null"
>
#{biztyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndflg != null"
>
#{sndflg,jdbcType=VARCHAR},
</if>
<if
test=
"expsetdat != null"
>
#{expsetdat,jdbcType=DATE},
</if>
<if
test=
"rcvindbic != null"
>
#{rcvindbic,jdbcType=VARCHAR},
</if>
<if
test=
"sndindbic != null"
>
#{sndindbic,jdbcType=VARCHAR},
</if>
<if
test=
"paybic != null"
>
#{paybic,jdbcType=VARCHAR},
</if>
<if
test=
"recbic != null"
>
#{recbic,jdbcType=VARCHAR},
</if>
<if
test=
"xdzsta != null"
>
#{xdzsta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mpi
<set>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
sndnum = #{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
rcvbic = #{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"t53bic != null"
>
t53bic = #{t53bic,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
actbic = #{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"act != null"
>
act = #{act,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"valdat != null"
>
valdat = #{valdat,jdbcType=DATE},
</if>
<if
test=
"n20sha != null"
>
n20sha = #{n20sha,jdbcType=VARCHAR},
</if>
<if
test=
"tagsha != null"
>
tagsha = #{tagsha,jdbcType=VARCHAR},
</if>
<if
test=
"taglst != null"
>
taglst = #{taglst,jdbcType=VARCHAR},
</if>
<if
test=
"gendat != null"
>
gendat = #{gendat,jdbcType=DATE},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"excmsg != null"
>
excmsg = #{excmsg,jdbcType=VARCHAR},
</if>
<if
test=
"rpscod != null"
>
rpscod = #{rpscod,jdbcType=VARCHAR},
</if>
<if
test=
"ckflg != null"
>
ckflg = #{ckflg,jdbcType=VARCHAR},
</if>
<if
test=
"srcnum != null"
>
srcnum = #{srcnum,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
usrnam = #{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"dtlchg != null"
>
dtlchg = #{dtlchg,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"actsta != null"
>
actsta = #{actsta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref != null"
>
fwdref = #{fwdref,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref2 != null"
>
fwdref2 = #{fwdref2,jdbcType=VARCHAR},
</if>
<if
test=
"branch != null"
>
branch = #{branch,jdbcType=VARCHAR},
</if>
<if
test=
"cjzsta != null"
>
cjzsta = #{cjzsta,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
gpi = #{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
uetr = #{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"systrackn != null"
>
systrackn = #{systrackn,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"gpival != null"
>
gpival = #{gpival,jdbcType=VARCHAR},
</if>
<if
test=
"selamt != null"
>
selamt = #{selamt,jdbcType=DECIMAL},
</if>
<if
test=
"selcur != null"
>
selcur = #{selcur,jdbcType=VARCHAR},
</if>
<if
test=
"msg71f != null"
>
msg71f = #{msg71f,jdbcType=VARCHAR},
</if>
<if
test=
"lcnb != null"
>
lcnb = #{lcnb,jdbcType=VARCHAR},
</if>
<if
test=
"msgid != null"
>
msgid = #{msgid,jdbcType=VARCHAR},
</if>
<if
test=
"biztyp != null"
>
biztyp = #{biztyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndflg != null"
>
sndflg = #{sndflg,jdbcType=VARCHAR},
</if>
<if
test=
"expsetdat != null"
>
expsetdat = #{expsetdat,jdbcType=DATE},
</if>
<if
test=
"rcvindbic != null"
>
rcvindbic = #{rcvindbic,jdbcType=VARCHAR},
</if>
<if
test=
"sndindbic != null"
>
sndindbic = #{sndindbic,jdbcType=VARCHAR},
</if>
<if
test=
"paybic != null"
>
paybic = #{paybic,jdbcType=VARCHAR},
</if>
<if
test=
"recbic != null"
>
recbic = #{recbic,jdbcType=VARCHAR},
</if>
<if
test=
"xdzsta != null"
>
xdzsta = #{xdzsta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mpi
<set>
dir = #{dir,jdbcType=VARCHAR},
ownref = #{ownref,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
sndnum = #{sndnum,jdbcType=VARCHAR},
sndbic = #{sndbic,jdbcType=VARCHAR},
rcvbic = #{rcvbic,jdbcType=VARCHAR},
t53bic = #{t53bic,jdbcType=VARCHAR},
actbic = #{actbic,jdbcType=VARCHAR},
act = #{act,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
valdat = #{valdat,jdbcType=DATE},
n20sha = #{n20sha,jdbcType=VARCHAR},
tagsha = #{tagsha,jdbcType=VARCHAR},
taglst = #{taglst,jdbcType=VARCHAR},
gendat = #{gendat,jdbcType=DATE},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
excmsg = #{excmsg,jdbcType=VARCHAR},
rpscod = #{rpscod,jdbcType=VARCHAR},
ckflg = #{ckflg,jdbcType=VARCHAR},
srcnum = #{srcnum,jdbcType=VARCHAR},
usrnam = #{usrnam,jdbcType=VARCHAR},
dtlchg = #{dtlchg,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
actsta = #{actsta,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
fwdref = #{fwdref,jdbcType=VARCHAR},
fwdref2 = #{fwdref2,jdbcType=VARCHAR},
branch = #{branch,jdbcType=VARCHAR},
cjzsta = #{cjzsta,jdbcType=VARCHAR},
gpi = #{gpi,jdbcType=VARCHAR},
uetr = #{uetr,jdbcType=VARCHAR},
systrackn = #{systrackn,jdbcType=VARCHAR},
accdat = #{accdat,jdbcType=VARCHAR},
gpival = #{gpival,jdbcType=VARCHAR},
selamt = #{selamt,jdbcType=DECIMAL},
selcur = #{selcur,jdbcType=VARCHAR},
msg71f = #{msg71f,jdbcType=VARCHAR},
lcnb = #{lcnb,jdbcType=VARCHAR},
msgid = #{msgid,jdbcType=VARCHAR},
biztyp = #{biztyp,jdbcType=VARCHAR},
sndflg = #{sndflg,jdbcType=VARCHAR},
expsetdat = #{expsetdat,jdbcType=DATE},
rcvindbic = #{rcvindbic,jdbcType=VARCHAR},
sndindbic = #{sndindbic,jdbcType=VARCHAR},
paybic = #{paybic,jdbcType=VARCHAR},
recbic = #{recbic,jdbcType=VARCHAR},
xdzsta = #{xdzsta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/mpsmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MpsMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mps"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"pntinr"
column=
"pntinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"srcchncod"
column=
"srcchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"chncod"
column=
"chncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtchncod"
column=
"nxtchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"tgtchncod"
column=
"tgtchncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"smhinr"
column=
"smhinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"nxtsta"
column=
"nxtsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvdattim"
column=
"rcvdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"sttdattim"
column=
"sttdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"tgtdattime"
column=
"tgtdattime"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"snddattim"
column=
"snddattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"rspdattim"
column=
"rspdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"stp"
column=
"stp"
jdbcType=
"VARCHAR"
/>
<result
property=
"isman"
column=
"isman"
jdbcType=
"VARCHAR"
/>
<result
property=
"isblk"
column=
"isblk"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspcod"
column=
"rspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"reptrksta"
column=
"reptrksta"
jdbcType=
"VARCHAR"
/>
<result
property=
"swetyp"
column=
"swetyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweack"
column=
"sweack"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"rptsta"
column=
"rptsta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,pntinr,dir,srcchncod,chncod,nxtchncod,tgtchncod,smhinr,sta,nxtsta,rspsta,rcvdattim,lstdattim,sttdattim,tgtdattime,snddattim,rspdattim,stp,isman,isblk,flg,etyinr,ptyinr,rspcod,reptrksta,swetyp,sweack,sweflg,rptsta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mps
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mps
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mps (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{pntinr,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{srcchncod,jdbcType=VARCHAR},
#{chncod,jdbcType=VARCHAR},
#{nxtchncod,jdbcType=VARCHAR},
#{tgtchncod,jdbcType=VARCHAR},
#{smhinr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{nxtsta,jdbcType=VARCHAR},
#{rspsta,jdbcType=VARCHAR},
#{rcvdattim,jdbcType=TIMESTAMP},
#{lstdattim,jdbcType=TIMESTAMP},
#{sttdattim,jdbcType=TIMESTAMP},
#{tgtdattime,jdbcType=TIMESTAMP},
#{snddattim,jdbcType=TIMESTAMP},
#{rspdattim,jdbcType=TIMESTAMP},
#{stp,jdbcType=VARCHAR},
#{isman,jdbcType=VARCHAR},
#{isblk,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{rspcod,jdbcType=VARCHAR},
#{reptrksta,jdbcType=VARCHAR},
#{swetyp,jdbcType=VARCHAR},
#{sweack,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
#{rptsta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mps
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"pntinr != null"
>
pntinr,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"srcchncod != null"
>
srcchncod,
</if>
<if
test=
"chncod != null"
>
chncod,
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod,
</if>
<if
test=
"tgtchncod != null"
>
tgtchncod,
</if>
<if
test=
"smhinr != null"
>
smhinr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"nxtsta != null"
>
nxtsta,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"sttdattim != null"
>
sttdattim,
</if>
<if
test=
"tgtdattime != null"
>
tgtdattime,
</if>
<if
test=
"snddattim != null"
>
snddattim,
</if>
<if
test=
"rspdattim != null"
>
rspdattim,
</if>
<if
test=
"stp != null"
>
stp,
</if>
<if
test=
"isman != null"
>
isman,
</if>
<if
test=
"isblk != null"
>
isblk,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"rspcod != null"
>
rspcod,
</if>
<if
test=
"reptrksta != null"
>
reptrksta,
</if>
<if
test=
"swetyp != null"
>
swetyp,
</if>
<if
test=
"sweack != null"
>
sweack,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
<if
test=
"rptsta != null"
>
rptsta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"pntinr != null"
>
#{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"srcchncod != null"
>
#{srcchncod,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
#{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
#{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"tgtchncod != null"
>
#{tgtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
#{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsta != null"
>
#{nxtsta,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
#{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"sttdattim != null"
>
#{sttdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"tgtdattime != null"
>
#{tgtdattime,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
#{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
#{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"stp != null"
>
#{stp,jdbcType=VARCHAR},
</if>
<if
test=
"isman != null"
>
#{isman,jdbcType=VARCHAR},
</if>
<if
test=
"isblk != null"
>
#{isblk,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
#{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"reptrksta != null"
>
#{reptrksta,jdbcType=VARCHAR},
</if>
<if
test=
"swetyp != null"
>
#{swetyp,jdbcType=VARCHAR},
</if>
<if
test=
"sweack != null"
>
#{sweack,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
<if
test=
"rptsta != null"
>
#{rptsta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mps
<set>
<if
test=
"pntinr != null"
>
pntinr = #{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"srcchncod != null"
>
srcchncod = #{srcchncod,jdbcType=VARCHAR},
</if>
<if
test=
"chncod != null"
>
chncod = #{chncod,jdbcType=VARCHAR},
</if>
<if
test=
"nxtchncod != null"
>
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"tgtchncod != null"
>
tgtchncod = #{tgtchncod,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
smhinr = #{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"nxtsta != null"
>
nxtsta = #{nxtsta,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"sttdattim != null"
>
sttdattim = #{sttdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"tgtdattime != null"
>
tgtdattime = #{tgtdattime,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
snddattim = #{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"stp != null"
>
stp = #{stp,jdbcType=VARCHAR},
</if>
<if
test=
"isman != null"
>
isman = #{isman,jdbcType=VARCHAR},
</if>
<if
test=
"isblk != null"
>
isblk = #{isblk,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
rspcod = #{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"reptrksta != null"
>
reptrksta = #{reptrksta,jdbcType=VARCHAR},
</if>
<if
test=
"swetyp != null"
>
swetyp = #{swetyp,jdbcType=VARCHAR},
</if>
<if
test=
"sweack != null"
>
sweack = #{sweack,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
<if
test=
"rptsta != null"
>
rptsta = #{rptsta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mps
<set>
pntinr = #{pntinr,jdbcType=VARCHAR},
dir = #{dir,jdbcType=VARCHAR},
srcchncod = #{srcchncod,jdbcType=VARCHAR},
chncod = #{chncod,jdbcType=VARCHAR},
nxtchncod = #{nxtchncod,jdbcType=VARCHAR},
tgtchncod = #{tgtchncod,jdbcType=VARCHAR},
smhinr = #{smhinr,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
nxtsta = #{nxtsta,jdbcType=VARCHAR},
rspsta = #{rspsta,jdbcType=VARCHAR},
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
sttdattim = #{sttdattim,jdbcType=TIMESTAMP},
tgtdattime = #{tgtdattime,jdbcType=TIMESTAMP},
snddattim = #{snddattim,jdbcType=TIMESTAMP},
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
stp = #{stp,jdbcType=VARCHAR},
isman = #{isman,jdbcType=VARCHAR},
isblk = #{isblk,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
rspcod = #{rspcod,jdbcType=VARCHAR},
reptrksta = #{reptrksta,jdbcType=VARCHAR},
swetyp = #{swetyp,jdbcType=VARCHAR},
sweack = #{sweack,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
rptsta = #{rptsta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/mtmmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.MtmMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Mtm"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"mtmtyp"
column=
"mtmtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"DATE"
/>
<result
property=
"keycnt"
column=
"keycnt"
jdbcType=
"INTEGER"
/>
<result
property=
"dsc"
column=
"dsc"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ordnum"
column=
"ordnum"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,typ,mtmtyp,txt,credat,keycnt,dsc,subtyp,sta,etyinr,ptyinr,ordnum
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from mtm
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from mtm
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into mtm (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{mtmtyp,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{credat,jdbcType=DATE},
#{keycnt,jdbcType=INTEGER},
#{dsc,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{ordnum,jdbcType=INTEGER},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into mtm
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"mtmtyp != null"
>
mtmtyp,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"keycnt != null"
>
keycnt,
</if>
<if
test=
"dsc != null"
>
dsc,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"ordnum != null"
>
ordnum,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"mtmtyp != null"
>
#{mtmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=DATE},
</if>
<if
test=
"keycnt != null"
>
#{keycnt,jdbcType=INTEGER},
</if>
<if
test=
"dsc != null"
>
#{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ordnum != null"
>
#{ordnum,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update mtm
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"mtmtyp != null"
>
mtmtyp = #{mtmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=DATE},
</if>
<if
test=
"keycnt != null"
>
keycnt = #{keycnt,jdbcType=INTEGER},
</if>
<if
test=
"dsc != null"
>
dsc = #{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ordnum != null"
>
ordnum = #{ordnum,jdbcType=INTEGER},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update mtm
<set>
nam = #{nam,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
mtmtyp = #{mtmtyp,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
credat = #{credat,jdbcType=DATE},
keycnt = #{keycnt,jdbcType=INTEGER},
dsc = #{dsc,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
ordnum = #{ordnum,jdbcType=INTEGER},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/nozmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.NozMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Noz"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"xxxtsktim"
column=
"xxxtsktim"
jdbcType=
"DATE"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mpsinr,xxxtsktim,sta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from noz
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from noz
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into noz (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mpsinr,jdbcType=VARCHAR},
#{xxxtsktim,jdbcType=DATE},
#{sta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into noz
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"xxxtsktim != null"
>
xxxtsktim,
</if>
<if
test=
"sta != null"
>
sta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"xxxtsktim != null"
>
#{xxxtsktim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update noz
<set>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"xxxtsktim != null"
>
xxxtsktim = #{xxxtsktim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update noz
<set>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
xxxtsktim = #{xxxtsktim,jdbcType=DATE},
sta = #{sta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/pngmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.PngMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Png"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyref"
column=
"etyref"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"DATE"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"canflg"
column=
"canflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"queflg"
column=
"queflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndordtim"
column=
"sndordtim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"prtry"
column=
"prtry"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,cur,msgtyp,amt,ownref,sta,etyref,credat,mpsinr,canflg,queflg,sndordtim,prtry
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from png
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from png
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into png (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{ownref,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etyref,jdbcType=VARCHAR},
#{credat,jdbcType=DATE},
#{mpsinr,jdbcType=VARCHAR},
#{canflg,jdbcType=VARCHAR},
#{queflg,jdbcType=VARCHAR},
#{sndordtim,jdbcType=TIMESTAMP},
#{prtry,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into png
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etyref != null"
>
etyref,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"canflg != null"
>
canflg,
</if>
<if
test=
"queflg != null"
>
queflg,
</if>
<if
test=
"sndordtim != null"
>
sndordtim,
</if>
<if
test=
"prtry != null"
>
prtry,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyref != null"
>
#{etyref,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=DATE},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"canflg != null"
>
#{canflg,jdbcType=VARCHAR},
</if>
<if
test=
"queflg != null"
>
#{queflg,jdbcType=VARCHAR},
</if>
<if
test=
"sndordtim != null"
>
#{sndordtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"prtry != null"
>
#{prtry,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update png
<set>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyref != null"
>
etyref = #{etyref,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=DATE},
</if>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"canflg != null"
>
canflg = #{canflg,jdbcType=VARCHAR},
</if>
<if
test=
"queflg != null"
>
queflg = #{queflg,jdbcType=VARCHAR},
</if>
<if
test=
"sndordtim != null"
>
sndordtim = #{sndordtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"prtry != null"
>
prtry = #{prtry,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update png
<set>
cur = #{cur,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
ownref = #{ownref,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etyref = #{etyref,jdbcType=VARCHAR},
credat = #{credat,jdbcType=DATE},
mpsinr = #{mpsinr,jdbcType=VARCHAR},
canflg = #{canflg,jdbcType=VARCHAR},
queflg = #{queflg,jdbcType=VARCHAR},
sndordtim = #{sndordtim,jdbcType=TIMESTAMP},
prtry = #{prtry,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/pthlstmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.PthlstMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Pthlst"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"docfil"
column=
"docfil"
jdbcType=
"VARCHAR"
/>
<result
property=
"docfxt"
column=
"docfxt"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,docfil,docfxt
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from pthlst
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from pthlst
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into pthlst (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{docfil,jdbcType=VARCHAR},
#{docfxt,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into pthlst
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"docfil != null"
>
docfil,
</if>
<if
test=
"docfxt != null"
>
docfxt,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"docfil != null"
>
#{docfil,jdbcType=VARCHAR},
</if>
<if
test=
"docfxt != null"
>
#{docfxt,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update pthlst
<set>
<if
test=
"docfil != null"
>
docfil = #{docfil,jdbcType=VARCHAR},
</if>
<if
test=
"docfxt != null"
>
docfxt = #{docfxt,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update pthlst
<set>
docfil = #{docfil,jdbcType=VARCHAR},
docfxt = #{docfxt,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/ptymapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.PtyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Pty"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"status"
column=
"status"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptytyp"
column=
"ptytyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"pntinr"
column=
"pntinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ncid"
column=
"ncid"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"heqinr"
column=
"heqinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"engnam"
column=
"engnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"chnnam"
column=
"chnnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"enddat"
column=
"enddat"
jdbcType=
"DATE"
/>
<result
property=
"cid"
column=
"cid"
jdbcType=
"VARCHAR"
/>
<result
property=
"begdat"
column=
"begdat"
jdbcType=
"DATE"
/>
<result
property=
"extkey"
column=
"extkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"lvl"
column=
"lvl"
jdbcType=
"VARCHAR"
/>
<result
property=
"brhflg"
column=
"brhflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"brhlvl"
column=
"brhlvl"
jdbcType=
"VARCHAR"
/>
<result
property=
"orgnam"
column=
"orgnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptypho"
column=
"ptypho"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,status,ptytyp,pntinr,ncid,nam,heqinr,etyinr,engnam,chnnam,enddat,cid,begdat,extkey,lvl,brhflg,brhlvl,orgnam,ptypho,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from pty
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from pty
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into pty (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
#{ptytyp,jdbcType=VARCHAR},
#{pntinr,jdbcType=VARCHAR},
#{ncid,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{heqinr,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{engnam,jdbcType=VARCHAR},
#{chnnam,jdbcType=VARCHAR},
#{enddat,jdbcType=DATE},
#{cid,jdbcType=VARCHAR},
#{begdat,jdbcType=DATE},
#{extkey,jdbcType=VARCHAR},
#{lvl,jdbcType=VARCHAR},
#{brhflg,jdbcType=VARCHAR},
#{brhlvl,jdbcType=VARCHAR},
#{orgnam,jdbcType=VARCHAR},
#{ptypho,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into pty
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"ptytyp != null"
>
ptytyp,
</if>
<if
test=
"pntinr != null"
>
pntinr,
</if>
<if
test=
"ncid != null"
>
ncid,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"heqinr != null"
>
heqinr,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"engnam != null"
>
engnam,
</if>
<if
test=
"chnnam != null"
>
chnnam,
</if>
<if
test=
"enddat != null"
>
enddat,
</if>
<if
test=
"cid != null"
>
cid,
</if>
<if
test=
"begdat != null"
>
begdat,
</if>
<if
test=
"extkey != null"
>
extkey,
</if>
<if
test=
"lvl != null"
>
lvl,
</if>
<if
test=
"brhflg != null"
>
brhflg,
</if>
<if
test=
"brhlvl != null"
>
brhlvl,
</if>
<if
test=
"orgnam != null"
>
orgnam,
</if>
<if
test=
"ptypho != null"
>
ptypho,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"ptytyp != null"
>
#{ptytyp,jdbcType=VARCHAR},
</if>
<if
test=
"pntinr != null"
>
#{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"ncid != null"
>
#{ncid,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"heqinr != null"
>
#{heqinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
#{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
#{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"enddat != null"
>
#{enddat,jdbcType=DATE},
</if>
<if
test=
"cid != null"
>
#{cid,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
#{begdat,jdbcType=DATE},
</if>
<if
test=
"extkey != null"
>
#{extkey,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
#{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"brhflg != null"
>
#{brhflg,jdbcType=VARCHAR},
</if>
<if
test=
"brhlvl != null"
>
#{brhlvl,jdbcType=VARCHAR},
</if>
<if
test=
"orgnam != null"
>
#{orgnam,jdbcType=VARCHAR},
</if>
<if
test=
"ptypho != null"
>
#{ptypho,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update pty
<set>
<if
test=
"status != null"
>
status = #{status,jdbcType=VARCHAR},
</if>
<if
test=
"ptytyp != null"
>
ptytyp = #{ptytyp,jdbcType=VARCHAR},
</if>
<if
test=
"pntinr != null"
>
pntinr = #{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"ncid != null"
>
ncid = #{ncid,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"heqinr != null"
>
heqinr = #{heqinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
engnam = #{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
chnnam = #{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"enddat != null"
>
enddat = #{enddat,jdbcType=DATE},
</if>
<if
test=
"cid != null"
>
cid = #{cid,jdbcType=VARCHAR},
</if>
<if
test=
"begdat != null"
>
begdat = #{begdat,jdbcType=DATE},
</if>
<if
test=
"extkey != null"
>
extkey = #{extkey,jdbcType=VARCHAR},
</if>
<if
test=
"lvl != null"
>
lvl = #{lvl,jdbcType=VARCHAR},
</if>
<if
test=
"brhflg != null"
>
brhflg = #{brhflg,jdbcType=VARCHAR},
</if>
<if
test=
"brhlvl != null"
>
brhlvl = #{brhlvl,jdbcType=VARCHAR},
</if>
<if
test=
"orgnam != null"
>
orgnam = #{orgnam,jdbcType=VARCHAR},
</if>
<if
test=
"ptypho != null"
>
ptypho = #{ptypho,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update pty
<set>
status = #{status,jdbcType=VARCHAR},
ptytyp = #{ptytyp,jdbcType=VARCHAR},
pntinr = #{pntinr,jdbcType=VARCHAR},
ncid = #{ncid,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
heqinr = #{heqinr,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
engnam = #{engnam,jdbcType=VARCHAR},
chnnam = #{chnnam,jdbcType=VARCHAR},
enddat = #{enddat,jdbcType=DATE},
cid = #{cid,jdbcType=VARCHAR},
begdat = #{begdat,jdbcType=DATE},
extkey = #{extkey,jdbcType=VARCHAR},
lvl = #{lvl,jdbcType=VARCHAR},
brhflg = #{brhflg,jdbcType=VARCHAR},
brhlvl = #{brhlvl,jdbcType=VARCHAR},
orgnam = #{orgnam,jdbcType=VARCHAR},
ptypho = #{ptypho,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/ptyrefmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.PtyrefMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Ptyref"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bic"
column=
"bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"innnum"
column=
"innnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"actrul"
column=
"actrul"
jdbcType=
"VARCHAR"
/>
<result
property=
"trncod"
column=
"trncod"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,ptyinr,etyinr,bic,innnum,actrul,trncod
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from ptyref
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from ptyref
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into ptyref (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{bic,jdbcType=VARCHAR},
#{innnum,jdbcType=VARCHAR},
#{actrul,jdbcType=VARCHAR},
#{trncod,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into ptyref
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"bic != null"
>
bic,
</if>
<if
test=
"innnum != null"
>
innnum,
</if>
<if
test=
"actrul != null"
>
actrul,
</if>
<if
test=
"trncod != null"
>
trncod,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"bic != null"
>
#{bic,jdbcType=VARCHAR},
</if>
<if
test=
"innnum != null"
>
#{innnum,jdbcType=VARCHAR},
</if>
<if
test=
"actrul != null"
>
#{actrul,jdbcType=VARCHAR},
</if>
<if
test=
"trncod != null"
>
#{trncod,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update ptyref
<set>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"bic != null"
>
bic = #{bic,jdbcType=VARCHAR},
</if>
<if
test=
"innnum != null"
>
innnum = #{innnum,jdbcType=VARCHAR},
</if>
<if
test=
"actrul != null"
>
actrul = #{actrul,jdbcType=VARCHAR},
</if>
<if
test=
"trncod != null"
>
trncod = #{trncod,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update ptyref
<set>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
bic = #{bic,jdbcType=VARCHAR},
innnum = #{innnum,jdbcType=VARCHAR},
actrul = #{actrul,jdbcType=VARCHAR},
trncod = #{trncod,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/qrdmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.QrdMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Qrd"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"casnum"
column=
"casnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"cassta"
column=
"cassta"
jdbcType=
"VARCHAR"
/>
<result
property=
"relref"
column=
"relref"
jdbcType=
"VARCHAR"
/>
<result
property=
"relrfn"
column=
"relrfn"
jdbcType=
"VARCHAR"
/>
<result
property=
"drfnum"
column=
"drfnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbakbic"
column=
"revbakbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"settim"
column=
"settim"
jdbcType=
"DATE"
/>
<result
property=
"neadeltim"
column=
"neadeltim"
jdbcType=
"DATE"
/>
<result
property=
"amdtim"
column=
"amdtim"
jdbcType=
"DATE"
/>
<result
property=
"lstopr"
column=
"lstopr"
jdbcType=
"VARCHAR"
/>
<result
property=
"des"
column=
"des"
jdbcType=
"VARCHAR"
/>
<result
property=
"sedbak"
column=
"sedbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbak"
column=
"revbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbak"
column=
"actbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownt20"
column=
"ownt20"
jdbcType=
"VARCHAR"
/>
<result
property=
"otht20"
column=
"otht20"
jdbcType=
"VARCHAR"
/>
<result
property=
"t53bic"
column=
"t53bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"t54bic"
column=
"t54bic"
jdbcType=
"VARCHAR"
/>
<result
property=
"curusr"
column=
"curusr"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstusr"
column=
"lstusr"
jdbcType=
"VARCHAR"
/>
<result
property=
"orirofinr"
column=
"orirofinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"uetr"
column=
"uetr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"swetyp"
column=
"swetyp"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,casnum,cassta,relref,relrfn,drfnum,revbakbic,settim,neadeltim,amdtim,lstopr,des,sedbak,revbak,actbak,ownt20,otht20,t53bic,t54bic,curusr,lstusr,orirofinr,msgtyp,etyinr,ptyinr,uetr,sweflg,swetyp
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from qrd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from qrd
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into qrd (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{casnum,jdbcType=VARCHAR},
#{cassta,jdbcType=VARCHAR},
#{relref,jdbcType=VARCHAR},
#{relrfn,jdbcType=VARCHAR},
#{drfnum,jdbcType=VARCHAR},
#{revbakbic,jdbcType=VARCHAR},
#{settim,jdbcType=DATE},
#{neadeltim,jdbcType=DATE},
#{amdtim,jdbcType=DATE},
#{lstopr,jdbcType=VARCHAR},
#{des,jdbcType=VARCHAR},
#{sedbak,jdbcType=VARCHAR},
#{revbak,jdbcType=VARCHAR},
#{actbak,jdbcType=VARCHAR},
#{ownt20,jdbcType=VARCHAR},
#{otht20,jdbcType=VARCHAR},
#{t53bic,jdbcType=VARCHAR},
#{t54bic,jdbcType=VARCHAR},
#{curusr,jdbcType=VARCHAR},
#{lstusr,jdbcType=VARCHAR},
#{orirofinr,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{uetr,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
#{swetyp,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into qrd
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"casnum != null"
>
casnum,
</if>
<if
test=
"cassta != null"
>
cassta,
</if>
<if
test=
"relref != null"
>
relref,
</if>
<if
test=
"relrfn != null"
>
relrfn,
</if>
<if
test=
"drfnum != null"
>
drfnum,
</if>
<if
test=
"revbakbic != null"
>
revbakbic,
</if>
<if
test=
"settim != null"
>
settim,
</if>
<if
test=
"neadeltim != null"
>
neadeltim,
</if>
<if
test=
"amdtim != null"
>
amdtim,
</if>
<if
test=
"lstopr != null"
>
lstopr,
</if>
<if
test=
"des != null"
>
des,
</if>
<if
test=
"sedbak != null"
>
sedbak,
</if>
<if
test=
"revbak != null"
>
revbak,
</if>
<if
test=
"actbak != null"
>
actbak,
</if>
<if
test=
"ownt20 != null"
>
ownt20,
</if>
<if
test=
"otht20 != null"
>
otht20,
</if>
<if
test=
"t53bic != null"
>
t53bic,
</if>
<if
test=
"t54bic != null"
>
t54bic,
</if>
<if
test=
"curusr != null"
>
curusr,
</if>
<if
test=
"lstusr != null"
>
lstusr,
</if>
<if
test=
"orirofinr != null"
>
orirofinr,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"uetr != null"
>
uetr,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
<if
test=
"swetyp != null"
>
swetyp,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"casnum != null"
>
#{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"cassta != null"
>
#{cassta,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
#{relref,jdbcType=VARCHAR},
</if>
<if
test=
"relrfn != null"
>
#{relrfn,jdbcType=VARCHAR},
</if>
<if
test=
"drfnum != null"
>
#{drfnum,jdbcType=VARCHAR},
</if>
<if
test=
"revbakbic != null"
>
#{revbakbic,jdbcType=VARCHAR},
</if>
<if
test=
"settim != null"
>
#{settim,jdbcType=DATE},
</if>
<if
test=
"neadeltim != null"
>
#{neadeltim,jdbcType=DATE},
</if>
<if
test=
"amdtim != null"
>
#{amdtim,jdbcType=DATE},
</if>
<if
test=
"lstopr != null"
>
#{lstopr,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
#{des,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
#{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
#{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"actbak != null"
>
#{actbak,jdbcType=VARCHAR},
</if>
<if
test=
"ownt20 != null"
>
#{ownt20,jdbcType=VARCHAR},
</if>
<if
test=
"otht20 != null"
>
#{otht20,jdbcType=VARCHAR},
</if>
<if
test=
"t53bic != null"
>
#{t53bic,jdbcType=VARCHAR},
</if>
<if
test=
"t54bic != null"
>
#{t54bic,jdbcType=VARCHAR},
</if>
<if
test=
"curusr != null"
>
#{curusr,jdbcType=VARCHAR},
</if>
<if
test=
"lstusr != null"
>
#{lstusr,jdbcType=VARCHAR},
</if>
<if
test=
"orirofinr != null"
>
#{orirofinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
#{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
<if
test=
"swetyp != null"
>
#{swetyp,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update qrd
<set>
<if
test=
"casnum != null"
>
casnum = #{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"cassta != null"
>
cassta = #{cassta,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
relref = #{relref,jdbcType=VARCHAR},
</if>
<if
test=
"relrfn != null"
>
relrfn = #{relrfn,jdbcType=VARCHAR},
</if>
<if
test=
"drfnum != null"
>
drfnum = #{drfnum,jdbcType=VARCHAR},
</if>
<if
test=
"revbakbic != null"
>
revbakbic = #{revbakbic,jdbcType=VARCHAR},
</if>
<if
test=
"settim != null"
>
settim = #{settim,jdbcType=DATE},
</if>
<if
test=
"neadeltim != null"
>
neadeltim = #{neadeltim,jdbcType=DATE},
</if>
<if
test=
"amdtim != null"
>
amdtim = #{amdtim,jdbcType=DATE},
</if>
<if
test=
"lstopr != null"
>
lstopr = #{lstopr,jdbcType=VARCHAR},
</if>
<if
test=
"des != null"
>
des = #{des,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
sedbak = #{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
revbak = #{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"actbak != null"
>
actbak = #{actbak,jdbcType=VARCHAR},
</if>
<if
test=
"ownt20 != null"
>
ownt20 = #{ownt20,jdbcType=VARCHAR},
</if>
<if
test=
"otht20 != null"
>
otht20 = #{otht20,jdbcType=VARCHAR},
</if>
<if
test=
"t53bic != null"
>
t53bic = #{t53bic,jdbcType=VARCHAR},
</if>
<if
test=
"t54bic != null"
>
t54bic = #{t54bic,jdbcType=VARCHAR},
</if>
<if
test=
"curusr != null"
>
curusr = #{curusr,jdbcType=VARCHAR},
</if>
<if
test=
"lstusr != null"
>
lstusr = #{lstusr,jdbcType=VARCHAR},
</if>
<if
test=
"orirofinr != null"
>
orirofinr = #{orirofinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
uetr = #{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
<if
test=
"swetyp != null"
>
swetyp = #{swetyp,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update qrd
<set>
casnum = #{casnum,jdbcType=VARCHAR},
cassta = #{cassta,jdbcType=VARCHAR},
relref = #{relref,jdbcType=VARCHAR},
relrfn = #{relrfn,jdbcType=VARCHAR},
drfnum = #{drfnum,jdbcType=VARCHAR},
revbakbic = #{revbakbic,jdbcType=VARCHAR},
settim = #{settim,jdbcType=DATE},
neadeltim = #{neadeltim,jdbcType=DATE},
amdtim = #{amdtim,jdbcType=DATE},
lstopr = #{lstopr,jdbcType=VARCHAR},
des = #{des,jdbcType=VARCHAR},
sedbak = #{sedbak,jdbcType=VARCHAR},
revbak = #{revbak,jdbcType=VARCHAR},
actbak = #{actbak,jdbcType=VARCHAR},
ownt20 = #{ownt20,jdbcType=VARCHAR},
otht20 = #{otht20,jdbcType=VARCHAR},
t53bic = #{t53bic,jdbcType=VARCHAR},
t54bic = #{t54bic,jdbcType=VARCHAR},
curusr = #{curusr,jdbcType=VARCHAR},
lstusr = #{lstusr,jdbcType=VARCHAR},
orirofinr = #{orirofinr,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
uetr = #{uetr,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
swetyp = #{swetyp,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/qremapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.QreMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Qre"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"casnum"
column=
"casnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"frmnam"
column=
"frmnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"usr"
column=
"usr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dattim"
column=
"dattim"
jdbcType=
"DATE"
/>
<result
property=
"dsc"
column=
"dsc"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,casnum,frmnam,usr,dattim,dsc,sta,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from qre
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from qre
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into qre (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{casnum,jdbcType=VARCHAR},
#{frmnam,jdbcType=VARCHAR},
#{usr,jdbcType=VARCHAR},
#{dattim,jdbcType=DATE},
#{dsc,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into qre
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"casnum != null"
>
casnum,
</if>
<if
test=
"frmnam != null"
>
frmnam,
</if>
<if
test=
"usr != null"
>
usr,
</if>
<if
test=
"dattim != null"
>
dattim,
</if>
<if
test=
"dsc != null"
>
dsc,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"casnum != null"
>
#{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
#{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"usr != null"
>
#{usr,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
#{dattim,jdbcType=DATE},
</if>
<if
test=
"dsc != null"
>
#{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update qre
<set>
<if
test=
"casnum != null"
>
casnum = #{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
frmnam = #{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"usr != null"
>
usr = #{usr,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
dattim = #{dattim,jdbcType=DATE},
</if>
<if
test=
"dsc != null"
>
dsc = #{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update qre
<set>
casnum = #{casnum,jdbcType=VARCHAR},
frmnam = #{frmnam,jdbcType=VARCHAR},
usr = #{usr,jdbcType=VARCHAR},
dattim = #{dattim,jdbcType=DATE},
dsc = #{dsc,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/relmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.RelMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Rel"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"accpty"
column=
"accpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"valdat"
column=
"valdat"
jdbcType=
"DATE"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"blk"
column=
"blk"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnknam"
column=
"bnknam"
jdbcType=
"VARCHAR"
/>
<result
property=
"dcflg"
column=
"dcflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbic"
column=
"actbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"dotinr"
column=
"dotinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndnum"
column=
"sndnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"rmbinr"
column=
"rmbinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgrelinr"
column=
"msgrelinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"relpath"
column=
"relpath"
jdbcType=
"VARCHAR"
/>
<result
property=
"dotinrb"
column=
"dotinrb"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakdotinr"
column=
"bakdotinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rmbinrb"
column=
"rmbinrb"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakdotinrb"
column=
"bakdotinrb"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakrmbinrb"
column=
"bakrmbinrb"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakrmbinr"
column=
"bakrmbinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oppusr"
column=
"oppusr"
jdbcType=
"VARCHAR"
/>
<result
property=
"amedate"
column=
"amedate"
jdbcType=
"DATE"
/>
<result
property=
"credate"
column=
"credate"
jdbcType=
"DATE"
/>
<result
property=
"pntinr"
column=
"pntinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbak"
column=
"revbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"sedbak"
column=
"sedbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"rsptim"
column=
"rsptim"
jdbcType=
"DATE"
/>
<result
property=
"msginr"
column=
"msginr"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,accpty,valdat,ownref,othref,amt,blk,bnknam,dcflg,cur,actbic,sta,dotinr,sndnum,rmbinr,msgrelinr,msgtyp,relpath,dotinrb,bakdotinr,rmbinrb,bakdotinrb,bakrmbinrb,bakrmbinr,oppusr,amedate,credate,pntinr,chk,revbak,sedbak,rsptim,msginr,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from rel
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from rel
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into rel (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{accpty,jdbcType=VARCHAR},
#{valdat,jdbcType=DATE},
#{ownref,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{blk,jdbcType=VARCHAR},
#{bnknam,jdbcType=VARCHAR},
#{dcflg,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{actbic,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{dotinr,jdbcType=VARCHAR},
#{sndnum,jdbcType=VARCHAR},
#{rmbinr,jdbcType=VARCHAR},
#{msgrelinr,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{relpath,jdbcType=VARCHAR},
#{dotinrb,jdbcType=VARCHAR},
#{bakdotinr,jdbcType=VARCHAR},
#{rmbinrb,jdbcType=VARCHAR},
#{bakdotinrb,jdbcType=VARCHAR},
#{bakrmbinrb,jdbcType=VARCHAR},
#{bakrmbinr,jdbcType=VARCHAR},
#{oppusr,jdbcType=VARCHAR},
#{amedate,jdbcType=DATE},
#{credate,jdbcType=DATE},
#{pntinr,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
#{revbak,jdbcType=VARCHAR},
#{sedbak,jdbcType=VARCHAR},
#{rsptim,jdbcType=DATE},
#{msginr,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into rel
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"accpty != null"
>
accpty,
</if>
<if
test=
"valdat != null"
>
valdat,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"blk != null"
>
blk,
</if>
<if
test=
"bnknam != null"
>
bnknam,
</if>
<if
test=
"dcflg != null"
>
dcflg,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"actbic != null"
>
actbic,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"dotinr != null"
>
dotinr,
</if>
<if
test=
"sndnum != null"
>
sndnum,
</if>
<if
test=
"rmbinr != null"
>
rmbinr,
</if>
<if
test=
"msgrelinr != null"
>
msgrelinr,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"relpath != null"
>
relpath,
</if>
<if
test=
"dotinrb != null"
>
dotinrb,
</if>
<if
test=
"bakdotinr != null"
>
bakdotinr,
</if>
<if
test=
"rmbinrb != null"
>
rmbinrb,
</if>
<if
test=
"bakdotinrb != null"
>
bakdotinrb,
</if>
<if
test=
"bakrmbinrb != null"
>
bakrmbinrb,
</if>
<if
test=
"bakrmbinr != null"
>
bakrmbinr,
</if>
<if
test=
"oppusr != null"
>
oppusr,
</if>
<if
test=
"amedate != null"
>
amedate,
</if>
<if
test=
"credate != null"
>
credate,
</if>
<if
test=
"pntinr != null"
>
pntinr,
</if>
<if
test=
"chk != null"
>
chk,
</if>
<if
test=
"revbak != null"
>
revbak,
</if>
<if
test=
"sedbak != null"
>
sedbak,
</if>
<if
test=
"rsptim != null"
>
rsptim,
</if>
<if
test=
"msginr != null"
>
msginr,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"accpty != null"
>
#{accpty,jdbcType=VARCHAR},
</if>
<if
test=
"valdat != null"
>
#{valdat,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"blk != null"
>
#{blk,jdbcType=VARCHAR},
</if>
<if
test=
"bnknam != null"
>
#{bnknam,jdbcType=VARCHAR},
</if>
<if
test=
"dcflg != null"
>
#{dcflg,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
#{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"dotinr != null"
>
#{dotinr,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
#{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"rmbinr != null"
>
#{rmbinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgrelinr != null"
>
#{msgrelinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"relpath != null"
>
#{relpath,jdbcType=VARCHAR},
</if>
<if
test=
"dotinrb != null"
>
#{dotinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakdotinr != null"
>
#{bakdotinr,jdbcType=VARCHAR},
</if>
<if
test=
"rmbinrb != null"
>
#{rmbinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakdotinrb != null"
>
#{bakdotinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakrmbinrb != null"
>
#{bakrmbinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakrmbinr != null"
>
#{bakrmbinr,jdbcType=VARCHAR},
</if>
<if
test=
"oppusr != null"
>
#{oppusr,jdbcType=VARCHAR},
</if>
<if
test=
"amedate != null"
>
#{amedate,jdbcType=DATE},
</if>
<if
test=
"credate != null"
>
#{credate,jdbcType=DATE},
</if>
<if
test=
"pntinr != null"
>
#{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
#{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
#{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"rsptim != null"
>
#{rsptim,jdbcType=DATE},
</if>
<if
test=
"msginr != null"
>
#{msginr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update rel
<set>
<if
test=
"accpty != null"
>
accpty = #{accpty,jdbcType=VARCHAR},
</if>
<if
test=
"valdat != null"
>
valdat = #{valdat,jdbcType=DATE},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"blk != null"
>
blk = #{blk,jdbcType=VARCHAR},
</if>
<if
test=
"bnknam != null"
>
bnknam = #{bnknam,jdbcType=VARCHAR},
</if>
<if
test=
"dcflg != null"
>
dcflg = #{dcflg,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
actbic = #{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"dotinr != null"
>
dotinr = #{dotinr,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
sndnum = #{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"rmbinr != null"
>
rmbinr = #{rmbinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgrelinr != null"
>
msgrelinr = #{msgrelinr,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"relpath != null"
>
relpath = #{relpath,jdbcType=VARCHAR},
</if>
<if
test=
"dotinrb != null"
>
dotinrb = #{dotinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakdotinr != null"
>
bakdotinr = #{bakdotinr,jdbcType=VARCHAR},
</if>
<if
test=
"rmbinrb != null"
>
rmbinrb = #{rmbinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakdotinrb != null"
>
bakdotinrb = #{bakdotinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakrmbinrb != null"
>
bakrmbinrb = #{bakrmbinrb,jdbcType=VARCHAR},
</if>
<if
test=
"bakrmbinr != null"
>
bakrmbinr = #{bakrmbinr,jdbcType=VARCHAR},
</if>
<if
test=
"oppusr != null"
>
oppusr = #{oppusr,jdbcType=VARCHAR},
</if>
<if
test=
"amedate != null"
>
amedate = #{amedate,jdbcType=DATE},
</if>
<if
test=
"credate != null"
>
credate = #{credate,jdbcType=DATE},
</if>
<if
test=
"pntinr != null"
>
pntinr = #{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
revbak = #{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
sedbak = #{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"rsptim != null"
>
rsptim = #{rsptim,jdbcType=DATE},
</if>
<if
test=
"msginr != null"
>
msginr = #{msginr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update rel
<set>
accpty = #{accpty,jdbcType=VARCHAR},
valdat = #{valdat,jdbcType=DATE},
ownref = #{ownref,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
blk = #{blk,jdbcType=VARCHAR},
bnknam = #{bnknam,jdbcType=VARCHAR},
dcflg = #{dcflg,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
actbic = #{actbic,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
dotinr = #{dotinr,jdbcType=VARCHAR},
sndnum = #{sndnum,jdbcType=VARCHAR},
rmbinr = #{rmbinr,jdbcType=VARCHAR},
msgrelinr = #{msgrelinr,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
relpath = #{relpath,jdbcType=VARCHAR},
dotinrb = #{dotinrb,jdbcType=VARCHAR},
bakdotinr = #{bakdotinr,jdbcType=VARCHAR},
rmbinrb = #{rmbinrb,jdbcType=VARCHAR},
bakdotinrb = #{bakdotinrb,jdbcType=VARCHAR},
bakrmbinrb = #{bakrmbinrb,jdbcType=VARCHAR},
bakrmbinr = #{bakrmbinr,jdbcType=VARCHAR},
oppusr = #{oppusr,jdbcType=VARCHAR},
amedate = #{amedate,jdbcType=DATE},
credate = #{credate,jdbcType=DATE},
pntinr = #{pntinr,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
revbak = #{revbak,jdbcType=VARCHAR},
sedbak = #{sedbak,jdbcType=VARCHAR},
rsptim = #{rsptim,jdbcType=DATE},
msginr = #{msginr,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/rofmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.RofMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Rof"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"casnum"
column=
"casnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"megnum"
column=
"megnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"sevref"
column=
"sevref"
jdbcType=
"VARCHAR"
/>
<result
property=
"relref"
column=
"relref"
jdbcType=
"VARCHAR"
/>
<result
property=
"sedbak"
column=
"sedbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbak"
column=
"revbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbak"
column=
"actbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"revtim"
column=
"revtim"
jdbcType=
"DATE"
/>
<result
property=
"rem"
column=
"rem"
jdbcType=
"VARCHAR"
/>
<result
property=
"opr"
column=
"opr"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"ljdinr"
column=
"ljdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"objtyp"
column=
"objtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"objinr"
column=
"objinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"trncod"
column=
"trncod"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"gpi"
column=
"gpi"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,casnum,megnum,typ,sevref,relref,sedbak,revbak,actbak,revtim,rem,opr,txt,ljdinr,objtyp,objinr,trncod,etyinr,ptyinr,gpi,sweflg
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from rof
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from rof
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into rof (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{casnum,jdbcType=VARCHAR},
#{megnum,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{sevref,jdbcType=VARCHAR},
#{relref,jdbcType=VARCHAR},
#{sedbak,jdbcType=VARCHAR},
#{revbak,jdbcType=VARCHAR},
#{actbak,jdbcType=VARCHAR},
#{revtim,jdbcType=DATE},
#{rem,jdbcType=VARCHAR},
#{opr,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{ljdinr,jdbcType=VARCHAR},
#{objtyp,jdbcType=VARCHAR},
#{objinr,jdbcType=VARCHAR},
#{trncod,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{gpi,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into rof
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"casnum != null"
>
casnum,
</if>
<if
test=
"megnum != null"
>
megnum,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"sevref != null"
>
sevref,
</if>
<if
test=
"relref != null"
>
relref,
</if>
<if
test=
"sedbak != null"
>
sedbak,
</if>
<if
test=
"revbak != null"
>
revbak,
</if>
<if
test=
"actbak != null"
>
actbak,
</if>
<if
test=
"revtim != null"
>
revtim,
</if>
<if
test=
"rem != null"
>
rem,
</if>
<if
test=
"opr != null"
>
opr,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"ljdinr != null"
>
ljdinr,
</if>
<if
test=
"objtyp != null"
>
objtyp,
</if>
<if
test=
"objinr != null"
>
objinr,
</if>
<if
test=
"trncod != null"
>
trncod,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"gpi != null"
>
gpi,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"casnum != null"
>
#{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"megnum != null"
>
#{megnum,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"sevref != null"
>
#{sevref,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
#{relref,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
#{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
#{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"actbak != null"
>
#{actbak,jdbcType=VARCHAR},
</if>
<if
test=
"revtim != null"
>
#{revtim,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
#{rem,jdbcType=VARCHAR},
</if>
<if
test=
"opr != null"
>
#{opr,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
#{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
#{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
#{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"trncod != null"
>
#{trncod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
#{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update rof
<set>
<if
test=
"casnum != null"
>
casnum = #{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"megnum != null"
>
megnum = #{megnum,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"sevref != null"
>
sevref = #{sevref,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
relref = #{relref,jdbcType=VARCHAR},
</if>
<if
test=
"sedbak != null"
>
sedbak = #{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
revbak = #{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"actbak != null"
>
actbak = #{actbak,jdbcType=VARCHAR},
</if>
<if
test=
"revtim != null"
>
revtim = #{revtim,jdbcType=DATE},
</if>
<if
test=
"rem != null"
>
rem = #{rem,jdbcType=VARCHAR},
</if>
<if
test=
"opr != null"
>
opr = #{opr,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
ljdinr = #{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
objtyp = #{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
objinr = #{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"trncod != null"
>
trncod = #{trncod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
gpi = #{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update rof
<set>
casnum = #{casnum,jdbcType=VARCHAR},
megnum = #{megnum,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
sevref = #{sevref,jdbcType=VARCHAR},
relref = #{relref,jdbcType=VARCHAR},
sedbak = #{sedbak,jdbcType=VARCHAR},
revbak = #{revbak,jdbcType=VARCHAR},
actbak = #{actbak,jdbcType=VARCHAR},
revtim = #{revtim,jdbcType=DATE},
rem = #{rem,jdbcType=VARCHAR},
opr = #{opr,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
ljdinr = #{ljdinr,jdbcType=VARCHAR},
objtyp = #{objtyp,jdbcType=VARCHAR},
objinr = #{objinr,jdbcType=VARCHAR},
trncod = #{trncod,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
gpi = #{gpi,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/rolmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.RolMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Rol"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"flg"
column=
"flg"
jdbcType=
"VARCHAR"
/>
<result
property=
"lev"
column=
"lev"
jdbcType=
"VARCHAR"
/>
<result
property=
"rellev"
column=
"rellev"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,flg,lev,rellev,chk,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from rol
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from rol
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into rol (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{flg,jdbcType=VARCHAR},
#{lev,jdbcType=VARCHAR},
#{rellev,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into rol
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"flg != null"
>
flg,
</if>
<if
test=
"lev != null"
>
lev,
</if>
<if
test=
"rellev != null"
>
rellev,
</if>
<if
test=
"chk != null"
>
chk,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
#{flg,jdbcType=VARCHAR},
</if>
<if
test=
"lev != null"
>
#{lev,jdbcType=VARCHAR},
</if>
<if
test=
"rellev != null"
>
#{rellev,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update rol
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"flg != null"
>
flg = #{flg,jdbcType=VARCHAR},
</if>
<if
test=
"lev != null"
>
lev = #{lev,jdbcType=VARCHAR},
</if>
<if
test=
"rellev != null"
>
rellev = #{rellev,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update rol
<set>
nam = #{nam,jdbcType=VARCHAR},
flg = #{flg,jdbcType=VARCHAR},
lev = #{lev,jdbcType=VARCHAR},
rellev = #{rellev,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/sedmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SedMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Sed"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"pntinr"
column=
"pntinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"smhinr"
column=
"smhinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dir"
column=
"dir"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgdir"
column=
"msgdir"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgtyp"
column=
"msgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"submsgtyp"
column=
"submsgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"othref"
column=
"othref"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"sndbic"
column=
"sndbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvbic"
column=
"rcvbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"actbic"
column=
"actbic"
jdbcType=
"VARCHAR"
/>
<result
property=
"act"
column=
"act"
jdbcType=
"VARCHAR"
/>
<result
property=
"accdat"
column=
"accdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndnum"
column=
"sndnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"refnum"
column=
"refnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"msgref"
column=
"msgref"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvdattim"
column=
"rcvdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"sttdattim"
column=
"sttdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"snddattim"
column=
"snddattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"rspdattim"
column=
"rspdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"swedattim"
column=
"swedattim"
jdbcType=
"DATE"
/>
<result
property=
"rspcod"
column=
"rspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndsta"
column=
"sndsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"acksta"
column=
"acksta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"rpttyp"
column=
"rpttyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"fulchn"
column=
"fulchn"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,pntinr,mpsinr,smhinr,dir,msgdir,msgtyp,submsgtyp,subtyp,ownref,othref,cur,amt,sndbic,rcvbic,actbic,act,accdat,sndnum,refnum,msgref,rcvdattim,lstdattim,sttdattim,snddattim,rspdattim,swedattim,rspcod,rspsta,sndsta,acksta,sta,rpttyp,fulchn
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from sed
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from sed
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into sed (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{pntinr,jdbcType=VARCHAR},
#{mpsinr,jdbcType=VARCHAR},
#{smhinr,jdbcType=VARCHAR},
#{dir,jdbcType=VARCHAR},
#{msgdir,jdbcType=VARCHAR},
#{msgtyp,jdbcType=VARCHAR},
#{submsgtyp,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{othref,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{sndbic,jdbcType=VARCHAR},
#{rcvbic,jdbcType=VARCHAR},
#{actbic,jdbcType=VARCHAR},
#{act,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR},
#{sndnum,jdbcType=VARCHAR},
#{refnum,jdbcType=VARCHAR},
#{msgref,jdbcType=VARCHAR},
#{rcvdattim,jdbcType=TIMESTAMP},
#{lstdattim,jdbcType=TIMESTAMP},
#{sttdattim,jdbcType=TIMESTAMP},
#{snddattim,jdbcType=TIMESTAMP},
#{rspdattim,jdbcType=TIMESTAMP},
#{swedattim,jdbcType=DATE},
#{rspcod,jdbcType=VARCHAR},
#{rspsta,jdbcType=VARCHAR},
#{sndsta,jdbcType=VARCHAR},
#{acksta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{rpttyp,jdbcType=VARCHAR},
#{fulchn,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into sed
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"pntinr != null"
>
pntinr,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"smhinr != null"
>
smhinr,
</if>
<if
test=
"dir != null"
>
dir,
</if>
<if
test=
"msgdir != null"
>
msgdir,
</if>
<if
test=
"msgtyp != null"
>
msgtyp,
</if>
<if
test=
"submsgtyp != null"
>
submsgtyp,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"othref != null"
>
othref,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"sndbic != null"
>
sndbic,
</if>
<if
test=
"rcvbic != null"
>
rcvbic,
</if>
<if
test=
"actbic != null"
>
actbic,
</if>
<if
test=
"act != null"
>
act,
</if>
<if
test=
"accdat != null"
>
accdat,
</if>
<if
test=
"sndnum != null"
>
sndnum,
</if>
<if
test=
"refnum != null"
>
refnum,
</if>
<if
test=
"msgref != null"
>
msgref,
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"sttdattim != null"
>
sttdattim,
</if>
<if
test=
"snddattim != null"
>
snddattim,
</if>
<if
test=
"rspdattim != null"
>
rspdattim,
</if>
<if
test=
"swedattim != null"
>
swedattim,
</if>
<if
test=
"rspcod != null"
>
rspcod,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"sndsta != null"
>
sndsta,
</if>
<if
test=
"acksta != null"
>
acksta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"rpttyp != null"
>
rpttyp,
</if>
<if
test=
"fulchn != null"
>
fulchn,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"pntinr != null"
>
#{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
#{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
#{dir,jdbcType=VARCHAR},
</if>
<if
test=
"msgdir != null"
>
#{msgdir,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
#{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"submsgtyp != null"
>
#{submsgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
#{othref,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"sndbic != null"
>
#{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
#{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
#{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"act != null"
>
#{act,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
#{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
#{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"refnum != null"
>
#{refnum,jdbcType=VARCHAR},
</if>
<if
test=
"msgref != null"
>
#{msgref,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
#{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"sttdattim != null"
>
#{sttdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
#{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
#{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"swedattim != null"
>
#{swedattim,jdbcType=DATE},
</if>
<if
test=
"rspcod != null"
>
#{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"sndsta != null"
>
#{sndsta,jdbcType=VARCHAR},
</if>
<if
test=
"acksta != null"
>
#{acksta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"rpttyp != null"
>
#{rpttyp,jdbcType=VARCHAR},
</if>
<if
test=
"fulchn != null"
>
#{fulchn,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update sed
<set>
<if
test=
"pntinr != null"
>
pntinr = #{pntinr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
smhinr = #{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
dir = #{dir,jdbcType=VARCHAR},
</if>
<if
test=
"msgdir != null"
>
msgdir = #{msgdir,jdbcType=VARCHAR},
</if>
<if
test=
"msgtyp != null"
>
msgtyp = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"submsgtyp != null"
>
submsgtyp = #{submsgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
othref = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"sndbic != null"
>
sndbic = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
rcvbic = #{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
actbic = #{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"act != null"
>
act = #{act,jdbcType=VARCHAR},
</if>
<if
test=
"accdat != null"
>
accdat = #{accdat,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
sndnum = #{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"refnum != null"
>
refnum = #{refnum,jdbcType=VARCHAR},
</if>
<if
test=
"msgref != null"
>
msgref = #{msgref,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"sttdattim != null"
>
sttdattim = #{sttdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
snddattim = #{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"swedattim != null"
>
swedattim = #{swedattim,jdbcType=DATE},
</if>
<if
test=
"rspcod != null"
>
rspcod = #{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"sndsta != null"
>
sndsta = #{sndsta,jdbcType=VARCHAR},
</if>
<if
test=
"acksta != null"
>
acksta = #{acksta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"rpttyp != null"
>
rpttyp = #{rpttyp,jdbcType=VARCHAR},
</if>
<if
test=
"fulchn != null"
>
fulchn = #{fulchn,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update sed
<set>
pntinr = #{pntinr,jdbcType=VARCHAR},
mpsinr = #{mpsinr,jdbcType=VARCHAR},
smhinr = #{smhinr,jdbcType=VARCHAR},
dir = #{dir,jdbcType=VARCHAR},
msgdir = #{msgdir,jdbcType=VARCHAR},
msgtyp = #{msgtyp,jdbcType=VARCHAR},
submsgtyp = #{submsgtyp,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
ownref = #{ownref,jdbcType=VARCHAR},
othref = #{othref,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
sndbic = #{sndbic,jdbcType=VARCHAR},
rcvbic = #{rcvbic,jdbcType=VARCHAR},
actbic = #{actbic,jdbcType=VARCHAR},
act = #{act,jdbcType=VARCHAR},
accdat = #{accdat,jdbcType=VARCHAR},
sndnum = #{sndnum,jdbcType=VARCHAR},
refnum = #{refnum,jdbcType=VARCHAR},
msgref = #{msgref,jdbcType=VARCHAR},
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
sttdattim = #{sttdattim,jdbcType=TIMESTAMP},
snddattim = #{snddattim,jdbcType=TIMESTAMP},
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
swedattim = #{swedattim,jdbcType=DATE},
rspcod = #{rspcod,jdbcType=VARCHAR},
rspsta = #{rspsta,jdbcType=VARCHAR},
sndsta = #{sndsta,jdbcType=VARCHAR},
acksta = #{acksta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
rpttyp = #{rpttyp,jdbcType=VARCHAR},
fulchn = #{fulchn,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/sermapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SerMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Ser"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rptmon"
column=
"rptmon"
jdbcType=
"VARCHAR"
/>
<result
property=
"rpttyp"
column=
"rpttyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sedinr"
column=
"sedinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvdattim"
column=
"rcvdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"snddattim"
column=
"snddattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"rspdattim"
column=
"rspdattim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"swedattim"
column=
"swedattim"
jdbcType=
"DATE"
/>
<result
property=
"sndsta"
column=
"sndsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"cnt"
column=
"cnt"
jdbcType=
"NUMERIC"
/>
<result
property=
"datsrc"
column=
"datsrc"
jdbcType=
"VARCHAR"
/>
<result
property=
"bustyp"
column=
"bustyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndnam"
column=
"sndnam"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,rptmon,rpttyp,sedinr,rcvdattim,lstdattim,snddattim,rspdattim,swedattim,sndsta,sta,txt,cnt,datsrc,bustyp,sndnam
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from ser
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from ser
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into ser (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{rptmon,jdbcType=VARCHAR},
#{rpttyp,jdbcType=VARCHAR},
#{sedinr,jdbcType=VARCHAR},
#{rcvdattim,jdbcType=TIMESTAMP},
#{lstdattim,jdbcType=TIMESTAMP},
#{snddattim,jdbcType=TIMESTAMP},
#{rspdattim,jdbcType=TIMESTAMP},
#{swedattim,jdbcType=DATE},
#{sndsta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{cnt,jdbcType=NUMERIC},
#{datsrc,jdbcType=VARCHAR},
#{bustyp,jdbcType=VARCHAR},
#{sndnam,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into ser
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"rptmon != null"
>
rptmon,
</if>
<if
test=
"rpttyp != null"
>
rpttyp,
</if>
<if
test=
"sedinr != null"
>
sedinr,
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"snddattim != null"
>
snddattim,
</if>
<if
test=
"rspdattim != null"
>
rspdattim,
</if>
<if
test=
"swedattim != null"
>
swedattim,
</if>
<if
test=
"sndsta != null"
>
sndsta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"cnt != null"
>
cnt,
</if>
<if
test=
"datsrc != null"
>
datsrc,
</if>
<if
test=
"bustyp != null"
>
bustyp,
</if>
<if
test=
"sndnam != null"
>
sndnam,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"rptmon != null"
>
#{rptmon,jdbcType=VARCHAR},
</if>
<if
test=
"rpttyp != null"
>
#{rpttyp,jdbcType=VARCHAR},
</if>
<if
test=
"sedinr != null"
>
#{sedinr,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
#{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
#{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
#{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"swedattim != null"
>
#{swedattim,jdbcType=DATE},
</if>
<if
test=
"sndsta != null"
>
#{sndsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"cnt != null"
>
#{cnt,jdbcType=NUMERIC},
</if>
<if
test=
"datsrc != null"
>
#{datsrc,jdbcType=VARCHAR},
</if>
<if
test=
"bustyp != null"
>
#{bustyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndnam != null"
>
#{sndnam,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update ser
<set>
<if
test=
"rptmon != null"
>
rptmon = #{rptmon,jdbcType=VARCHAR},
</if>
<if
test=
"rpttyp != null"
>
rpttyp = #{rpttyp,jdbcType=VARCHAR},
</if>
<if
test=
"sedinr != null"
>
sedinr = #{sedinr,jdbcType=VARCHAR},
</if>
<if
test=
"rcvdattim != null"
>
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"snddattim != null"
>
snddattim = #{snddattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"rspdattim != null"
>
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
</if>
<if
test=
"swedattim != null"
>
swedattim = #{swedattim,jdbcType=DATE},
</if>
<if
test=
"sndsta != null"
>
sndsta = #{sndsta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"cnt != null"
>
cnt = #{cnt,jdbcType=NUMERIC},
</if>
<if
test=
"datsrc != null"
>
datsrc = #{datsrc,jdbcType=VARCHAR},
</if>
<if
test=
"bustyp != null"
>
bustyp = #{bustyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndnam != null"
>
sndnam = #{sndnam,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update ser
<set>
rptmon = #{rptmon,jdbcType=VARCHAR},
rpttyp = #{rpttyp,jdbcType=VARCHAR},
sedinr = #{sedinr,jdbcType=VARCHAR},
rcvdattim = #{rcvdattim,jdbcType=TIMESTAMP},
lstdattim = #{lstdattim,jdbcType=TIMESTAMP},
snddattim = #{snddattim,jdbcType=TIMESTAMP},
rspdattim = #{rspdattim,jdbcType=TIMESTAMP},
swedattim = #{swedattim,jdbcType=DATE},
sndsta = #{sndsta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
cnt = #{cnt,jdbcType=NUMERIC},
datsrc = #{datsrc,jdbcType=VARCHAR},
bustyp = #{bustyp,jdbcType=VARCHAR},
sndnam = #{sndnam,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/smhmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SmhMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Smh"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"objtyp"
column=
"objtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"objinr"
column=
"objinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"crtfrm"
column=
"crtfrm"
jdbcType=
"VARCHAR"
/>
<result
property=
"dattim"
column=
"dattim"
jdbcType=
"DATE"
/>
<result
property=
"docpth"
column=
"docpth"
jdbcType=
"VARCHAR"
/>
<result
property=
"docfil"
column=
"docfil"
jdbcType=
"VARCHAR"
/>
<result
property=
"docfxt"
column=
"docfxt"
jdbcType=
"VARCHAR"
/>
<result
property=
"docmd5"
column=
"docmd5"
jdbcType=
"VARCHAR"
/>
<result
property=
"doclen"
column=
"doclen"
jdbcType=
"NUMERIC"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpiinr"
column=
"mpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"xxxcnt"
column=
"xxxcnt"
jdbcType=
"INTEGER"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,objtyp,objinr,nam,crtfrm,dattim,docpth,docfil,docfxt,docmd5,doclen,txt,mpiinr,xxxcnt,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from smh
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from smh
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into smh (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{objtyp,jdbcType=VARCHAR},
#{objinr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{crtfrm,jdbcType=VARCHAR},
#{dattim,jdbcType=DATE},
#{docpth,jdbcType=VARCHAR},
#{docfil,jdbcType=VARCHAR},
#{docfxt,jdbcType=VARCHAR},
#{docmd5,jdbcType=VARCHAR},
#{doclen,jdbcType=NUMERIC},
#{txt,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
#{xxxcnt,jdbcType=INTEGER},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into smh
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"objtyp != null"
>
objtyp,
</if>
<if
test=
"objinr != null"
>
objinr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"crtfrm != null"
>
crtfrm,
</if>
<if
test=
"dattim != null"
>
dattim,
</if>
<if
test=
"docpth != null"
>
docpth,
</if>
<if
test=
"docfil != null"
>
docfil,
</if>
<if
test=
"docfxt != null"
>
docfxt,
</if>
<if
test=
"docmd5 != null"
>
docmd5,
</if>
<if
test=
"doclen != null"
>
doclen,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"mpiinr != null"
>
mpiinr,
</if>
<if
test=
"xxxcnt != null"
>
xxxcnt,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
#{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
#{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"crtfrm != null"
>
#{crtfrm,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
#{dattim,jdbcType=DATE},
</if>
<if
test=
"docpth != null"
>
#{docpth,jdbcType=VARCHAR},
</if>
<if
test=
"docfil != null"
>
#{docfil,jdbcType=VARCHAR},
</if>
<if
test=
"docfxt != null"
>
#{docfxt,jdbcType=VARCHAR},
</if>
<if
test=
"docmd5 != null"
>
#{docmd5,jdbcType=VARCHAR},
</if>
<if
test=
"doclen != null"
>
#{doclen,jdbcType=NUMERIC},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
#{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"xxxcnt != null"
>
#{xxxcnt,jdbcType=INTEGER},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update smh
<set>
<if
test=
"objtyp != null"
>
objtyp = #{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
objinr = #{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"crtfrm != null"
>
crtfrm = #{crtfrm,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
dattim = #{dattim,jdbcType=DATE},
</if>
<if
test=
"docpth != null"
>
docpth = #{docpth,jdbcType=VARCHAR},
</if>
<if
test=
"docfil != null"
>
docfil = #{docfil,jdbcType=VARCHAR},
</if>
<if
test=
"docfxt != null"
>
docfxt = #{docfxt,jdbcType=VARCHAR},
</if>
<if
test=
"docmd5 != null"
>
docmd5 = #{docmd5,jdbcType=VARCHAR},
</if>
<if
test=
"doclen != null"
>
doclen = #{doclen,jdbcType=NUMERIC},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
mpiinr = #{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"xxxcnt != null"
>
xxxcnt = #{xxxcnt,jdbcType=INTEGER},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update smh
<set>
objtyp = #{objtyp,jdbcType=VARCHAR},
objinr = #{objinr,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
crtfrm = #{crtfrm,jdbcType=VARCHAR},
dattim = #{dattim,jdbcType=DATE},
docpth = #{docpth,jdbcType=VARCHAR},
docfil = #{docfil,jdbcType=VARCHAR},
docfxt = #{docfxt,jdbcType=VARCHAR},
docmd5 = #{docmd5,jdbcType=VARCHAR},
doclen = #{doclen,jdbcType=NUMERIC},
txt = #{txt,jdbcType=VARCHAR},
mpiinr = #{mpiinr,jdbcType=VARCHAR},
xxxcnt = #{xxxcnt,jdbcType=INTEGER},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/sptmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SptMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Spt"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"smhinr"
column=
"smhinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprusrinr"
column=
"oprusrinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprogninr"
column=
"oprogninr"
jdbcType=
"VARCHAR"
/>
<result
property=
"objtyp"
column=
"objtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"objinr"
column=
"objinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ownref"
column=
"ownref"
jdbcType=
"VARCHAR"
/>
<result
property=
"frm"
column=
"frm"
jdbcType=
"VARCHAR"
/>
<result
property=
"dattim"
column=
"dattim"
jdbcType=
"DATE"
/>
<result
property=
"scr"
column=
"scr"
jdbcType=
"VARCHAR"
/>
<result
property=
"scrtxt"
column=
"scrtxt"
jdbcType=
"VARCHAR"
/>
<result
property=
"scrpty"
column=
"scrpty"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"objnam"
column=
"objnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"ordinr"
column=
"ordinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"trncur"
column=
"trncur"
jdbcType=
"VARCHAR"
/>
<result
property=
"trnamt"
column=
"trnamt"
jdbcType=
"DECIMAL"
/>
<result
property=
"trninr"
column=
"trninr"
jdbcType=
"VARCHAR"
/>
<result
property=
"bchinr"
column=
"bchinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprusr"
column=
"oprusr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,sta,smhinr,ptyinr,oprusrinr,oprogninr,objtyp,objinr,ownref,frm,dattim,scr,scrtxt,scrpty,nam,objnam,ordinr,trncur,trnamt,trninr,bchinr,oprusr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from spt
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from spt
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into spt (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{smhinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{oprusrinr,jdbcType=VARCHAR},
#{oprogninr,jdbcType=VARCHAR},
#{objtyp,jdbcType=VARCHAR},
#{objinr,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{frm,jdbcType=VARCHAR},
#{dattim,jdbcType=DATE},
#{scr,jdbcType=VARCHAR},
#{scrtxt,jdbcType=VARCHAR},
#{scrpty,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{objnam,jdbcType=VARCHAR},
#{ordinr,jdbcType=VARCHAR},
#{trncur,jdbcType=VARCHAR},
#{trnamt,jdbcType=DECIMAL},
#{trninr,jdbcType=VARCHAR},
#{bchinr,jdbcType=VARCHAR},
#{oprusr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into spt
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"smhinr != null"
>
smhinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"oprusrinr != null"
>
oprusrinr,
</if>
<if
test=
"oprogninr != null"
>
oprogninr,
</if>
<if
test=
"objtyp != null"
>
objtyp,
</if>
<if
test=
"objinr != null"
>
objinr,
</if>
<if
test=
"ownref != null"
>
ownref,
</if>
<if
test=
"frm != null"
>
frm,
</if>
<if
test=
"dattim != null"
>
dattim,
</if>
<if
test=
"scr != null"
>
scr,
</if>
<if
test=
"scrtxt != null"
>
scrtxt,
</if>
<if
test=
"scrpty != null"
>
scrpty,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"objnam != null"
>
objnam,
</if>
<if
test=
"ordinr != null"
>
ordinr,
</if>
<if
test=
"trncur != null"
>
trncur,
</if>
<if
test=
"trnamt != null"
>
trnamt,
</if>
<if
test=
"trninr != null"
>
trninr,
</if>
<if
test=
"bchinr != null"
>
bchinr,
</if>
<if
test=
"oprusr != null"
>
oprusr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
#{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprusrinr != null"
>
#{oprusrinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprogninr != null"
>
#{oprogninr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
#{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
#{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
#{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"frm != null"
>
#{frm,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
#{dattim,jdbcType=DATE},
</if>
<if
test=
"scr != null"
>
#{scr,jdbcType=VARCHAR},
</if>
<if
test=
"scrtxt != null"
>
#{scrtxt,jdbcType=VARCHAR},
</if>
<if
test=
"scrpty != null"
>
#{scrpty,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"objnam != null"
>
#{objnam,jdbcType=VARCHAR},
</if>
<if
test=
"ordinr != null"
>
#{ordinr,jdbcType=VARCHAR},
</if>
<if
test=
"trncur != null"
>
#{trncur,jdbcType=VARCHAR},
</if>
<if
test=
"trnamt != null"
>
#{trnamt,jdbcType=DECIMAL},
</if>
<if
test=
"trninr != null"
>
#{trninr,jdbcType=VARCHAR},
</if>
<if
test=
"bchinr != null"
>
#{bchinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprusr != null"
>
#{oprusr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update spt
<set>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"smhinr != null"
>
smhinr = #{smhinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprusrinr != null"
>
oprusrinr = #{oprusrinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprogninr != null"
>
oprogninr = #{oprogninr,jdbcType=VARCHAR},
</if>
<if
test=
"objtyp != null"
>
objtyp = #{objtyp,jdbcType=VARCHAR},
</if>
<if
test=
"objinr != null"
>
objinr = #{objinr,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
ownref = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"frm != null"
>
frm = #{frm,jdbcType=VARCHAR},
</if>
<if
test=
"dattim != null"
>
dattim = #{dattim,jdbcType=DATE},
</if>
<if
test=
"scr != null"
>
scr = #{scr,jdbcType=VARCHAR},
</if>
<if
test=
"scrtxt != null"
>
scrtxt = #{scrtxt,jdbcType=VARCHAR},
</if>
<if
test=
"scrpty != null"
>
scrpty = #{scrpty,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"objnam != null"
>
objnam = #{objnam,jdbcType=VARCHAR},
</if>
<if
test=
"ordinr != null"
>
ordinr = #{ordinr,jdbcType=VARCHAR},
</if>
<if
test=
"trncur != null"
>
trncur = #{trncur,jdbcType=VARCHAR},
</if>
<if
test=
"trnamt != null"
>
trnamt = #{trnamt,jdbcType=DECIMAL},
</if>
<if
test=
"trninr != null"
>
trninr = #{trninr,jdbcType=VARCHAR},
</if>
<if
test=
"bchinr != null"
>
bchinr = #{bchinr,jdbcType=VARCHAR},
</if>
<if
test=
"oprusr != null"
>
oprusr = #{oprusr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update spt
<set>
sta = #{sta,jdbcType=VARCHAR},
smhinr = #{smhinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
oprusrinr = #{oprusrinr,jdbcType=VARCHAR},
oprogninr = #{oprogninr,jdbcType=VARCHAR},
objtyp = #{objtyp,jdbcType=VARCHAR},
objinr = #{objinr,jdbcType=VARCHAR},
ownref = #{ownref,jdbcType=VARCHAR},
frm = #{frm,jdbcType=VARCHAR},
dattim = #{dattim,jdbcType=DATE},
scr = #{scr,jdbcType=VARCHAR},
scrtxt = #{scrtxt,jdbcType=VARCHAR},
scrpty = #{scrpty,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
objnam = #{objnam,jdbcType=VARCHAR},
ordinr = #{ordinr,jdbcType=VARCHAR},
trncur = #{trncur,jdbcType=VARCHAR},
trnamt = #{trnamt,jdbcType=DECIMAL},
trninr = #{trninr,jdbcType=VARCHAR},
bchinr = #{bchinr,jdbcType=VARCHAR},
oprusr = #{oprusr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/stbmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.StbMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Stb"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tbl"
column=
"tbl"
jdbcType=
"VARCHAR"
/>
<result
property=
"uil"
column=
"uil"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,tbl,uil,cod,txt,typ
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from stb
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from stb
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into stb (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{tbl,jdbcType=VARCHAR},
#{uil,jdbcType=VARCHAR},
#{cod,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into stb
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"tbl != null"
>
tbl,
</if>
<if
test=
"uil != null"
>
uil,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"typ != null"
>
typ,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"tbl != null"
>
#{tbl,jdbcType=VARCHAR},
</if>
<if
test=
"uil != null"
>
#{uil,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update stb
<set>
<if
test=
"tbl != null"
>
tbl = #{tbl,jdbcType=VARCHAR},
</if>
<if
test=
"uil != null"
>
uil = #{uil,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update stb
<set>
tbl = #{tbl,jdbcType=VARCHAR},
uil = #{uil,jdbcType=VARCHAR},
cod = #{cod,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/sthmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SthMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Sth"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tbl"
column=
"tbl"
jdbcType=
"VARCHAR"
/>
<result
property=
"codlen"
column=
"codlen"
jdbcType=
"INTEGER"
/>
<result
property=
"txtlen"
column=
"txtlen"
jdbcType=
"INTEGER"
/>
<result
property=
"srt"
column=
"srt"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,tbl,codlen,txtlen,srt,nam,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from sth
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from sth
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into sth (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{tbl,jdbcType=VARCHAR},
#{codlen,jdbcType=INTEGER},
#{txtlen,jdbcType=INTEGER},
#{srt,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into sth
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"tbl != null"
>
tbl,
</if>
<if
test=
"codlen != null"
>
codlen,
</if>
<if
test=
"txtlen != null"
>
txtlen,
</if>
<if
test=
"srt != null"
>
srt,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"tbl != null"
>
#{tbl,jdbcType=VARCHAR},
</if>
<if
test=
"codlen != null"
>
#{codlen,jdbcType=INTEGER},
</if>
<if
test=
"txtlen != null"
>
#{txtlen,jdbcType=INTEGER},
</if>
<if
test=
"srt != null"
>
#{srt,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update sth
<set>
<if
test=
"tbl != null"
>
tbl = #{tbl,jdbcType=VARCHAR},
</if>
<if
test=
"codlen != null"
>
codlen = #{codlen,jdbcType=INTEGER},
</if>
<if
test=
"txtlen != null"
>
txtlen = #{txtlen,jdbcType=INTEGER},
</if>
<if
test=
"srt != null"
>
srt = #{srt,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update sth
<set>
tbl = #{tbl,jdbcType=VARCHAR},
codlen = #{codlen,jdbcType=INTEGER},
txtlen = #{txtlen,jdbcType=INTEGER},
srt = #{srt,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/sweptymapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.SweptyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Swepty"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"cod"
column=
"cod"
jdbcType=
"VARCHAR"
/>
<result
property=
"chnnam"
column=
"chnnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"engnam"
column=
"engnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"cty"
column=
"cty"
jdbcType=
"VARCHAR"
/>
<result
property=
"cbtype"
column=
"cbtype"
jdbcType=
"VARCHAR"
/>
<result
property=
"bakcat"
column=
"bakcat"
jdbcType=
"VARCHAR"
/>
<result
property=
"ctdbak"
column=
"ctdbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"lei"
column=
"lei"
jdbcType=
"VARCHAR"
/>
<result
property=
"valflg"
column=
"valflg"
jdbcType=
"VARCHAR"
/>
<result
property=
"effdat"
column=
"effdat"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"tel"
column=
"tel"
jdbcType=
"VARCHAR"
/>
<result
property=
"mal"
column=
"mal"
jdbcType=
"VARCHAR"
/>
<result
property=
"address"
column=
"address"
jdbcType=
"VARCHAR"
/>
<result
property=
"zipcod"
column=
"zipcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"presta"
column=
"presta"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"issueno"
column=
"issueno"
jdbcType=
"VARCHAR"
/>
<result
property=
"bizsta"
column=
"bizsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"dn"
column=
"dn"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,cod,chnnam,engnam,cty,cbtype,bakcat,ctdbak,lei,valflg,effdat,nam,tel,mal,address,zipcod,presta,sta,issueno,bizsta,dn
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from swepty
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from swepty
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into swepty (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{cod,jdbcType=VARCHAR},
#{chnnam,jdbcType=VARCHAR},
#{engnam,jdbcType=VARCHAR},
#{cty,jdbcType=VARCHAR},
#{cbtype,jdbcType=VARCHAR},
#{bakcat,jdbcType=VARCHAR},
#{ctdbak,jdbcType=VARCHAR},
#{lei,jdbcType=VARCHAR},
#{valflg,jdbcType=VARCHAR},
#{effdat,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{tel,jdbcType=VARCHAR},
#{mal,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{zipcod,jdbcType=VARCHAR},
#{presta,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{issueno,jdbcType=VARCHAR},
#{bizsta,jdbcType=VARCHAR},
#{dn,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into swepty
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"cod != null"
>
cod,
</if>
<if
test=
"chnnam != null"
>
chnnam,
</if>
<if
test=
"engnam != null"
>
engnam,
</if>
<if
test=
"cty != null"
>
cty,
</if>
<if
test=
"cbtype != null"
>
cbtype,
</if>
<if
test=
"bakcat != null"
>
bakcat,
</if>
<if
test=
"ctdbak != null"
>
ctdbak,
</if>
<if
test=
"lei != null"
>
lei,
</if>
<if
test=
"valflg != null"
>
valflg,
</if>
<if
test=
"effdat != null"
>
effdat,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"tel != null"
>
tel,
</if>
<if
test=
"mal != null"
>
mal,
</if>
<if
test=
"address != null"
>
address,
</if>
<if
test=
"zipcod != null"
>
zipcod,
</if>
<if
test=
"presta != null"
>
presta,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"issueno != null"
>
issueno,
</if>
<if
test=
"bizsta != null"
>
bizsta,
</if>
<if
test=
"dn != null"
>
dn,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"cod != null"
>
#{cod,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
#{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
#{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"cty != null"
>
#{cty,jdbcType=VARCHAR},
</if>
<if
test=
"cbtype != null"
>
#{cbtype,jdbcType=VARCHAR},
</if>
<if
test=
"bakcat != null"
>
#{bakcat,jdbcType=VARCHAR},
</if>
<if
test=
"ctdbak != null"
>
#{ctdbak,jdbcType=VARCHAR},
</if>
<if
test=
"lei != null"
>
#{lei,jdbcType=VARCHAR},
</if>
<if
test=
"valflg != null"
>
#{valflg,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
#{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
#{tel,jdbcType=VARCHAR},
</if>
<if
test=
"mal != null"
>
#{mal,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
#{address,jdbcType=VARCHAR},
</if>
<if
test=
"zipcod != null"
>
#{zipcod,jdbcType=VARCHAR},
</if>
<if
test=
"presta != null"
>
#{presta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
#{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"bizsta != null"
>
#{bizsta,jdbcType=VARCHAR},
</if>
<if
test=
"dn != null"
>
#{dn,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update swepty
<set>
<if
test=
"cod != null"
>
cod = #{cod,jdbcType=VARCHAR},
</if>
<if
test=
"chnnam != null"
>
chnnam = #{chnnam,jdbcType=VARCHAR},
</if>
<if
test=
"engnam != null"
>
engnam = #{engnam,jdbcType=VARCHAR},
</if>
<if
test=
"cty != null"
>
cty = #{cty,jdbcType=VARCHAR},
</if>
<if
test=
"cbtype != null"
>
cbtype = #{cbtype,jdbcType=VARCHAR},
</if>
<if
test=
"bakcat != null"
>
bakcat = #{bakcat,jdbcType=VARCHAR},
</if>
<if
test=
"ctdbak != null"
>
ctdbak = #{ctdbak,jdbcType=VARCHAR},
</if>
<if
test=
"lei != null"
>
lei = #{lei,jdbcType=VARCHAR},
</if>
<if
test=
"valflg != null"
>
valflg = #{valflg,jdbcType=VARCHAR},
</if>
<if
test=
"effdat != null"
>
effdat = #{effdat,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
tel = #{tel,jdbcType=VARCHAR},
</if>
<if
test=
"mal != null"
>
mal = #{mal,jdbcType=VARCHAR},
</if>
<if
test=
"address != null"
>
address = #{address,jdbcType=VARCHAR},
</if>
<if
test=
"zipcod != null"
>
zipcod = #{zipcod,jdbcType=VARCHAR},
</if>
<if
test=
"presta != null"
>
presta = #{presta,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"issueno != null"
>
issueno = #{issueno,jdbcType=VARCHAR},
</if>
<if
test=
"bizsta != null"
>
bizsta = #{bizsta,jdbcType=VARCHAR},
</if>
<if
test=
"dn != null"
>
dn = #{dn,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update swepty
<set>
cod = #{cod,jdbcType=VARCHAR},
chnnam = #{chnnam,jdbcType=VARCHAR},
engnam = #{engnam,jdbcType=VARCHAR},
cty = #{cty,jdbcType=VARCHAR},
cbtype = #{cbtype,jdbcType=VARCHAR},
bakcat = #{bakcat,jdbcType=VARCHAR},
ctdbak = #{ctdbak,jdbcType=VARCHAR},
lei = #{lei,jdbcType=VARCHAR},
valflg = #{valflg,jdbcType=VARCHAR},
effdat = #{effdat,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
mal = #{mal,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
zipcod = #{zipcod,jdbcType=VARCHAR},
presta = #{presta,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
issueno = #{issueno,jdbcType=VARCHAR},
bizsta = #{bizsta,jdbcType=VARCHAR},
dn = #{dn,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/tskctlmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.TskctlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Tskctl"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"tsk"
column=
"tsk"
jdbcType=
"VARCHAR"
/>
<result
property=
"nod"
column=
"nod"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"slptim"
column=
"slptim"
jdbcType=
"NUMERIC"
/>
<result
property=
"usrnam"
column=
"usrnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"timout"
column=
"timout"
jdbcType=
"NUMERIC"
/>
<result
property=
"rmk"
column=
"rmk"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,tsk,nod,sta,slptim,usrnam,timout,rmk
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tskctl
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from tskctl
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into tskctl (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{tsk,jdbcType=VARCHAR},
#{nod,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{slptim,jdbcType=NUMERIC},
#{usrnam,jdbcType=VARCHAR},
#{timout,jdbcType=NUMERIC},
#{rmk,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into tskctl
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"tsk != null"
>
tsk,
</if>
<if
test=
"nod != null"
>
nod,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"slptim != null"
>
slptim,
</if>
<if
test=
"usrnam != null"
>
usrnam,
</if>
<if
test=
"timout != null"
>
timout,
</if>
<if
test=
"rmk != null"
>
rmk,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"tsk != null"
>
#{tsk,jdbcType=VARCHAR},
</if>
<if
test=
"nod != null"
>
#{nod,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"slptim != null"
>
#{slptim,jdbcType=NUMERIC},
</if>
<if
test=
"usrnam != null"
>
#{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"timout != null"
>
#{timout,jdbcType=NUMERIC},
</if>
<if
test=
"rmk != null"
>
#{rmk,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update tskctl
<set>
<if
test=
"tsk != null"
>
tsk = #{tsk,jdbcType=VARCHAR},
</if>
<if
test=
"nod != null"
>
nod = #{nod,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"slptim != null"
>
slptim = #{slptim,jdbcType=NUMERIC},
</if>
<if
test=
"usrnam != null"
>
usrnam = #{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"timout != null"
>
timout = #{timout,jdbcType=NUMERIC},
</if>
<if
test=
"rmk != null"
>
rmk = #{rmk,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update tskctl
<set>
tsk = #{tsk,jdbcType=VARCHAR},
nod = #{nod,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
slptim = #{slptim,jdbcType=NUMERIC},
usrnam = #{usrnam,jdbcType=VARCHAR},
timout = #{timout,jdbcType=NUMERIC},
rmk = #{rmk,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/txhmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.TxhMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Txh"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"magtim"
column=
"magtim"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"usr"
column=
"usr"
jdbcType=
"VARCHAR"
/>
<result
property=
"frmnam"
column=
"frmnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"txtinr"
column=
"txtinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"dsc"
column=
"dsc"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,magtim,usr,frmnam,txtinr,dsc,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from txh
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from txh
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into txh (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{magtim,jdbcType=TIMESTAMP},
#{usr,jdbcType=VARCHAR},
#{frmnam,jdbcType=VARCHAR},
#{txtinr,jdbcType=VARCHAR},
#{dsc,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into txh
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"magtim != null"
>
magtim,
</if>
<if
test=
"usr != null"
>
usr,
</if>
<if
test=
"frmnam != null"
>
frmnam,
</if>
<if
test=
"txtinr != null"
>
txtinr,
</if>
<if
test=
"dsc != null"
>
dsc,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"magtim != null"
>
#{magtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"usr != null"
>
#{usr,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
#{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"txtinr != null"
>
#{txtinr,jdbcType=VARCHAR},
</if>
<if
test=
"dsc != null"
>
#{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update txh
<set>
<if
test=
"magtim != null"
>
magtim = #{magtim,jdbcType=TIMESTAMP},
</if>
<if
test=
"usr != null"
>
usr = #{usr,jdbcType=VARCHAR},
</if>
<if
test=
"frmnam != null"
>
frmnam = #{frmnam,jdbcType=VARCHAR},
</if>
<if
test=
"txtinr != null"
>
txtinr = #{txtinr,jdbcType=VARCHAR},
</if>
<if
test=
"dsc != null"
>
dsc = #{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update txh
<set>
magtim = #{magtim,jdbcType=TIMESTAMP},
usr = #{usr,jdbcType=VARCHAR},
frmnam = #{frmnam,jdbcType=VARCHAR},
txtinr = #{txtinr,jdbcType=VARCHAR},
dsc = #{dsc,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/txmmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.TxmMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Txm"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"credat"
column=
"credat"
jdbcType=
"DATE"
/>
<result
property=
"keycnt"
column=
"keycnt"
jdbcType=
"INTEGER"
/>
<result
property=
"dsc"
column=
"dsc"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,txt,credat,keycnt,dsc,subtyp,sta,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from txm
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from txm
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into txm (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{txt,jdbcType=VARCHAR},
#{credat,jdbcType=DATE},
#{keycnt,jdbcType=INTEGER},
#{dsc,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into txm
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"credat != null"
>
credat,
</if>
<if
test=
"keycnt != null"
>
keycnt,
</if>
<if
test=
"dsc != null"
>
dsc,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
#{credat,jdbcType=DATE},
</if>
<if
test=
"keycnt != null"
>
#{keycnt,jdbcType=INTEGER},
</if>
<if
test=
"dsc != null"
>
#{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update txm
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
credat = #{credat,jdbcType=DATE},
</if>
<if
test=
"keycnt != null"
>
keycnt = #{keycnt,jdbcType=INTEGER},
</if>
<if
test=
"dsc != null"
>
dsc = #{dsc,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update txm
<set>
nam = #{nam,jdbcType=VARCHAR},
txt = #{txt,jdbcType=VARCHAR},
credat = #{credat,jdbcType=DATE},
keycnt = #{keycnt,jdbcType=INTEGER},
dsc = #{dsc,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/txtmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.TxtMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Txt"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mblpho"
column=
"mblpho"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"sex"
column=
"sex"
jdbcType=
"VARCHAR"
/>
<result
property=
"num"
column=
"num"
jdbcType=
"VARCHAR"
/>
<result
property=
"ref"
column=
"ref"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"dat"
column=
"dat"
jdbcType=
"DATE"
/>
<result
property=
"txt"
column=
"txt"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspsta"
column=
"rspsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"errmsg"
column=
"errmsg"
jdbcType=
"VARCHAR"
/>
<result
property=
"txttyp"
column=
"txttyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"usrnam"
column=
"usrnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"magsta"
column=
"magsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"magtime"
column=
"magtime"
jdbcType=
"DATE"
/>
<result
property=
"crtdat"
column=
"crtdat"
jdbcType=
"DATE"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mblpho,nam,sex,num,ref,amt,cur,dat,txt,rspsta,errmsg,txttyp,usrnam,magsta,magtime,crtdat,etyinr,ptyinr
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from txt
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from txt
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into txt (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mblpho,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{sex,jdbcType=VARCHAR},
#{num,jdbcType=VARCHAR},
#{ref,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{cur,jdbcType=VARCHAR},
#{dat,jdbcType=DATE},
#{txt,jdbcType=VARCHAR},
#{rspsta,jdbcType=VARCHAR},
#{errmsg,jdbcType=VARCHAR},
#{txttyp,jdbcType=VARCHAR},
#{usrnam,jdbcType=VARCHAR},
#{magsta,jdbcType=VARCHAR},
#{magtime,jdbcType=DATE},
#{crtdat,jdbcType=DATE},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into txt
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mblpho != null"
>
mblpho,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"sex != null"
>
sex,
</if>
<if
test=
"num != null"
>
num,
</if>
<if
test=
"ref != null"
>
ref,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"dat != null"
>
dat,
</if>
<if
test=
"txt != null"
>
txt,
</if>
<if
test=
"rspsta != null"
>
rspsta,
</if>
<if
test=
"errmsg != null"
>
errmsg,
</if>
<if
test=
"txttyp != null"
>
txttyp,
</if>
<if
test=
"usrnam != null"
>
usrnam,
</if>
<if
test=
"magsta != null"
>
magsta,
</if>
<if
test=
"magtime != null"
>
magtime,
</if>
<if
test=
"crtdat != null"
>
crtdat,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mblpho != null"
>
#{mblpho,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"sex != null"
>
#{sex,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
#{num,jdbcType=VARCHAR},
</if>
<if
test=
"ref != null"
>
#{ref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"dat != null"
>
#{dat,jdbcType=DATE},
</if>
<if
test=
"txt != null"
>
#{txt,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
#{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"errmsg != null"
>
#{errmsg,jdbcType=VARCHAR},
</if>
<if
test=
"txttyp != null"
>
#{txttyp,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
#{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"magsta != null"
>
#{magsta,jdbcType=VARCHAR},
</if>
<if
test=
"magtime != null"
>
#{magtime,jdbcType=DATE},
</if>
<if
test=
"crtdat != null"
>
#{crtdat,jdbcType=DATE},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update txt
<set>
<if
test=
"mblpho != null"
>
mblpho = #{mblpho,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"sex != null"
>
sex = #{sex,jdbcType=VARCHAR},
</if>
<if
test=
"num != null"
>
num = #{num,jdbcType=VARCHAR},
</if>
<if
test=
"ref != null"
>
ref = #{ref,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"dat != null"
>
dat = #{dat,jdbcType=DATE},
</if>
<if
test=
"txt != null"
>
txt = #{txt,jdbcType=VARCHAR},
</if>
<if
test=
"rspsta != null"
>
rspsta = #{rspsta,jdbcType=VARCHAR},
</if>
<if
test=
"errmsg != null"
>
errmsg = #{errmsg,jdbcType=VARCHAR},
</if>
<if
test=
"txttyp != null"
>
txttyp = #{txttyp,jdbcType=VARCHAR},
</if>
<if
test=
"usrnam != null"
>
usrnam = #{usrnam,jdbcType=VARCHAR},
</if>
<if
test=
"magsta != null"
>
magsta = #{magsta,jdbcType=VARCHAR},
</if>
<if
test=
"magtime != null"
>
magtime = #{magtime,jdbcType=DATE},
</if>
<if
test=
"crtdat != null"
>
crtdat = #{crtdat,jdbcType=DATE},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update txt
<set>
mblpho = #{mblpho,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
num = #{num,jdbcType=VARCHAR},
ref = #{ref,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
cur = #{cur,jdbcType=VARCHAR},
dat = #{dat,jdbcType=DATE},
txt = #{txt,jdbcType=VARCHAR},
rspsta = #{rspsta,jdbcType=VARCHAR},
errmsg = #{errmsg,jdbcType=VARCHAR},
txttyp = #{txttyp,jdbcType=VARCHAR},
usrnam = #{usrnam,jdbcType=VARCHAR},
magsta = #{magsta,jdbcType=VARCHAR},
magtime = #{magtime,jdbcType=DATE},
crtdat = #{crtdat,jdbcType=DATE},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/urlmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.UrlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Url"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"usrinr"
column=
"usrinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rolinr"
column=
"rolinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"rolnam"
column=
"rolnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"chk"
column=
"chk"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,usrinr,rolinr,rolnam,chk
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from url
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from url
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into url (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{usrinr,jdbcType=VARCHAR},
#{rolinr,jdbcType=VARCHAR},
#{rolnam,jdbcType=VARCHAR},
#{chk,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into url
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"usrinr != null"
>
usrinr,
</if>
<if
test=
"rolinr != null"
>
rolinr,
</if>
<if
test=
"rolnam != null"
>
rolnam,
</if>
<if
test=
"chk != null"
>
chk,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"usrinr != null"
>
#{usrinr,jdbcType=VARCHAR},
</if>
<if
test=
"rolinr != null"
>
#{rolinr,jdbcType=VARCHAR},
</if>
<if
test=
"rolnam != null"
>
#{rolnam,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
#{chk,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update url
<set>
<if
test=
"usrinr != null"
>
usrinr = #{usrinr,jdbcType=VARCHAR},
</if>
<if
test=
"rolinr != null"
>
rolinr = #{rolinr,jdbcType=VARCHAR},
</if>
<if
test=
"rolnam != null"
>
rolnam = #{rolnam,jdbcType=VARCHAR},
</if>
<if
test=
"chk != null"
>
chk = #{chk,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update url
<set>
usrinr = #{usrinr,jdbcType=VARCHAR},
rolinr = #{rolinr,jdbcType=VARCHAR},
rolnam = #{rolnam,jdbcType=VARCHAR},
chk = #{chk,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/usrlogmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.UsrlogMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Usrlog"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprnam"
column=
"oprnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprdattim"
column=
"oprdattim"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,oprnam,sta,oprdattim
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from usrlog
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from usrlog
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into usrlog (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{oprnam,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{oprdattim,jdbcType=TIMESTAMP},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into usrlog
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"oprnam != null"
>
oprnam,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"oprdattim != null"
>
oprdattim,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"oprnam != null"
>
#{oprnam,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"oprdattim != null"
>
#{oprdattim,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update usrlog
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"oprnam != null"
>
oprnam = #{oprnam,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"oprdattim != null"
>
oprdattim = #{oprdattim,jdbcType=TIMESTAMP},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update usrlog
<set>
nam = #{nam,jdbcType=VARCHAR},
oprnam = #{oprnam,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
oprdattim = #{oprdattim,jdbcType=TIMESTAMP},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/usrmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.UsrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Usr"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"nam"
column=
"nam"
jdbcType=
"VARCHAR"
/>
<result
property=
"fltcnt"
column=
"fltcnt"
jdbcType=
"INTEGER"
/>
<result
property=
"dspnam"
column=
"dspnam"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptynam"
column=
"ptynam"
jdbcType=
"VARCHAR"
/>
<result
property=
"pwd"
column=
"pwd"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"DATE"
/>
<result
property=
"lstfltdattim"
column=
"lstfltdattim"
jdbcType=
"DATE"
/>
<result
property=
"valdat"
column=
"valdat"
jdbcType=
"DATE"
/>
<result
property=
"usrnum"
column=
"usrnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"tel"
column=
"tel"
jdbcType=
"VARCHAR"
/>
<result
property=
"eml"
column=
"eml"
jdbcType=
"VARCHAR"
/>
<result
property=
"usridn"
column=
"usridn"
jdbcType=
"VARCHAR"
/>
<result
property=
"lstpwddat"
column=
"lstpwddat"
jdbcType=
"DATE"
/>
<result
property=
"bchcod"
column=
"bchcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"vrfcod"
column=
"vrfcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"vrfcodtim"
column=
"vrfcodtim"
jdbcType=
"DATE"
/>
<result
property=
"tnumber"
column=
"tnumber"
jdbcType=
"INTEGER"
/>
<result
property=
"tname"
column=
"tname"
jdbcType=
"VARCHAR"
/>
<result
property=
"tpersoncode"
column=
"tpersoncode"
jdbcType=
"VARCHAR"
/>
<result
property=
"tchgno"
column=
"tchgno"
jdbcType=
"VARCHAR"
/>
<result
property=
"tinst"
column=
"tinst"
jdbcType=
"VARCHAR"
/>
<result
property=
"ttransinst"
column=
"ttransinst"
jdbcType=
"VARCHAR"
/>
<result
property=
"troleset"
column=
"troleset"
jdbcType=
"VARCHAR"
/>
<result
property=
"tsyssta"
column=
"tsyssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"thrsta"
column=
"thrsta"
jdbcType=
"VARCHAR"
/>
<result
property=
"tchgtyp"
column=
"tchgtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"isauth"
column=
"isauth"
jdbcType=
"VARCHAR"
/>
<result
property=
"gcyttt"
column=
"gcyttt"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,nam,fltcnt,dspnam,ptyinr,ptynam,pwd,sta,lstdattim,lstfltdattim,valdat,usrnum,tel,eml,usridn,lstpwddat,bchcod,etyinr,vrfcod,vrfcodtim,tnumber,tname,tpersoncode,tchgno,tinst,ttransinst,troleset,tsyssta,thrsta,tchgtyp,isauth,gcyttt
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from usr
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from usr
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into usr (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{fltcnt,jdbcType=INTEGER},
#{dspnam,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{ptynam,jdbcType=VARCHAR},
#{pwd,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{lstdattim,jdbcType=DATE},
#{lstfltdattim,jdbcType=DATE},
#{valdat,jdbcType=DATE},
#{usrnum,jdbcType=VARCHAR},
#{tel,jdbcType=VARCHAR},
#{eml,jdbcType=VARCHAR},
#{usridn,jdbcType=VARCHAR},
#{lstpwddat,jdbcType=DATE},
#{bchcod,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{vrfcod,jdbcType=VARCHAR},
#{vrfcodtim,jdbcType=DATE},
#{tnumber,jdbcType=INTEGER},
#{tname,jdbcType=VARCHAR},
#{tpersoncode,jdbcType=VARCHAR},
#{tchgno,jdbcType=VARCHAR},
#{tinst,jdbcType=VARCHAR},
#{ttransinst,jdbcType=VARCHAR},
#{troleset,jdbcType=VARCHAR},
#{tsyssta,jdbcType=VARCHAR},
#{thrsta,jdbcType=VARCHAR},
#{tchgtyp,jdbcType=VARCHAR},
#{isauth,jdbcType=VARCHAR},
#{gcyttt,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into usr
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"nam != null"
>
nam,
</if>
<if
test=
"fltcnt != null"
>
fltcnt,
</if>
<if
test=
"dspnam != null"
>
dspnam,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"ptynam != null"
>
ptynam,
</if>
<if
test=
"pwd != null"
>
pwd,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"lstfltdattim != null"
>
lstfltdattim,
</if>
<if
test=
"valdat != null"
>
valdat,
</if>
<if
test=
"usrnum != null"
>
usrnum,
</if>
<if
test=
"tel != null"
>
tel,
</if>
<if
test=
"eml != null"
>
eml,
</if>
<if
test=
"usridn != null"
>
usridn,
</if>
<if
test=
"lstpwddat != null"
>
lstpwddat,
</if>
<if
test=
"bchcod != null"
>
bchcod,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"vrfcod != null"
>
vrfcod,
</if>
<if
test=
"vrfcodtim != null"
>
vrfcodtim,
</if>
<if
test=
"tnumber != null"
>
tnumber,
</if>
<if
test=
"tname != null"
>
tname,
</if>
<if
test=
"tpersoncode != null"
>
tpersoncode,
</if>
<if
test=
"tchgno != null"
>
tchgno,
</if>
<if
test=
"tinst != null"
>
tinst,
</if>
<if
test=
"ttransinst != null"
>
ttransinst,
</if>
<if
test=
"troleset != null"
>
troleset,
</if>
<if
test=
"tsyssta != null"
>
tsyssta,
</if>
<if
test=
"thrsta != null"
>
thrsta,
</if>
<if
test=
"tchgtyp != null"
>
tchgtyp,
</if>
<if
test=
"isauth != null"
>
isauth,
</if>
<if
test=
"gcyttt != null"
>
gcyttt,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"nam != null"
>
#{nam,jdbcType=VARCHAR},
</if>
<if
test=
"fltcnt != null"
>
#{fltcnt,jdbcType=INTEGER},
</if>
<if
test=
"dspnam != null"
>
#{dspnam,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptynam != null"
>
#{ptynam,jdbcType=VARCHAR},
</if>
<if
test=
"pwd != null"
>
#{pwd,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=DATE},
</if>
<if
test=
"lstfltdattim != null"
>
#{lstfltdattim,jdbcType=DATE},
</if>
<if
test=
"valdat != null"
>
#{valdat,jdbcType=DATE},
</if>
<if
test=
"usrnum != null"
>
#{usrnum,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
#{tel,jdbcType=VARCHAR},
</if>
<if
test=
"eml != null"
>
#{eml,jdbcType=VARCHAR},
</if>
<if
test=
"usridn != null"
>
#{usridn,jdbcType=VARCHAR},
</if>
<if
test=
"lstpwddat != null"
>
#{lstpwddat,jdbcType=DATE},
</if>
<if
test=
"bchcod != null"
>
#{bchcod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"vrfcod != null"
>
#{vrfcod,jdbcType=VARCHAR},
</if>
<if
test=
"vrfcodtim != null"
>
#{vrfcodtim,jdbcType=DATE},
</if>
<if
test=
"tnumber != null"
>
#{tnumber,jdbcType=INTEGER},
</if>
<if
test=
"tname != null"
>
#{tname,jdbcType=VARCHAR},
</if>
<if
test=
"tpersoncode != null"
>
#{tpersoncode,jdbcType=VARCHAR},
</if>
<if
test=
"tchgno != null"
>
#{tchgno,jdbcType=VARCHAR},
</if>
<if
test=
"tinst != null"
>
#{tinst,jdbcType=VARCHAR},
</if>
<if
test=
"ttransinst != null"
>
#{ttransinst,jdbcType=VARCHAR},
</if>
<if
test=
"troleset != null"
>
#{troleset,jdbcType=VARCHAR},
</if>
<if
test=
"tsyssta != null"
>
#{tsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"thrsta != null"
>
#{thrsta,jdbcType=VARCHAR},
</if>
<if
test=
"tchgtyp != null"
>
#{tchgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"isauth != null"
>
#{isauth,jdbcType=VARCHAR},
</if>
<if
test=
"gcyttt != null"
>
#{gcyttt,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update usr
<set>
<if
test=
"nam != null"
>
nam = #{nam,jdbcType=VARCHAR},
</if>
<if
test=
"fltcnt != null"
>
fltcnt = #{fltcnt,jdbcType=INTEGER},
</if>
<if
test=
"dspnam != null"
>
dspnam = #{dspnam,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptynam != null"
>
ptynam = #{ptynam,jdbcType=VARCHAR},
</if>
<if
test=
"pwd != null"
>
pwd = #{pwd,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=DATE},
</if>
<if
test=
"lstfltdattim != null"
>
lstfltdattim = #{lstfltdattim,jdbcType=DATE},
</if>
<if
test=
"valdat != null"
>
valdat = #{valdat,jdbcType=DATE},
</if>
<if
test=
"usrnum != null"
>
usrnum = #{usrnum,jdbcType=VARCHAR},
</if>
<if
test=
"tel != null"
>
tel = #{tel,jdbcType=VARCHAR},
</if>
<if
test=
"eml != null"
>
eml = #{eml,jdbcType=VARCHAR},
</if>
<if
test=
"usridn != null"
>
usridn = #{usridn,jdbcType=VARCHAR},
</if>
<if
test=
"lstpwddat != null"
>
lstpwddat = #{lstpwddat,jdbcType=DATE},
</if>
<if
test=
"bchcod != null"
>
bchcod = #{bchcod,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"vrfcod != null"
>
vrfcod = #{vrfcod,jdbcType=VARCHAR},
</if>
<if
test=
"vrfcodtim != null"
>
vrfcodtim = #{vrfcodtim,jdbcType=DATE},
</if>
<if
test=
"tnumber != null"
>
tnumber = #{tnumber,jdbcType=INTEGER},
</if>
<if
test=
"tname != null"
>
tname = #{tname,jdbcType=VARCHAR},
</if>
<if
test=
"tpersoncode != null"
>
tpersoncode = #{tpersoncode,jdbcType=VARCHAR},
</if>
<if
test=
"tchgno != null"
>
tchgno = #{tchgno,jdbcType=VARCHAR},
</if>
<if
test=
"tinst != null"
>
tinst = #{tinst,jdbcType=VARCHAR},
</if>
<if
test=
"ttransinst != null"
>
ttransinst = #{ttransinst,jdbcType=VARCHAR},
</if>
<if
test=
"troleset != null"
>
troleset = #{troleset,jdbcType=VARCHAR},
</if>
<if
test=
"tsyssta != null"
>
tsyssta = #{tsyssta,jdbcType=VARCHAR},
</if>
<if
test=
"thrsta != null"
>
thrsta = #{thrsta,jdbcType=VARCHAR},
</if>
<if
test=
"tchgtyp != null"
>
tchgtyp = #{tchgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"isauth != null"
>
isauth = #{isauth,jdbcType=VARCHAR},
</if>
<if
test=
"gcyttt != null"
>
gcyttt = #{gcyttt,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update usr
<set>
nam = #{nam,jdbcType=VARCHAR},
fltcnt = #{fltcnt,jdbcType=INTEGER},
dspnam = #{dspnam,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
ptynam = #{ptynam,jdbcType=VARCHAR},
pwd = #{pwd,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
lstdattim = #{lstdattim,jdbcType=DATE},
lstfltdattim = #{lstfltdattim,jdbcType=DATE},
valdat = #{valdat,jdbcType=DATE},
usrnum = #{usrnum,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
eml = #{eml,jdbcType=VARCHAR},
usridn = #{usridn,jdbcType=VARCHAR},
lstpwddat = #{lstpwddat,jdbcType=DATE},
bchcod = #{bchcod,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
vrfcod = #{vrfcod,jdbcType=VARCHAR},
vrfcodtim = #{vrfcodtim,jdbcType=DATE},
tnumber = #{tnumber,jdbcType=INTEGER},
tname = #{tname,jdbcType=VARCHAR},
tpersoncode = #{tpersoncode,jdbcType=VARCHAR},
tchgno = #{tchgno,jdbcType=VARCHAR},
tinst = #{tinst,jdbcType=VARCHAR},
ttransinst = #{ttransinst,jdbcType=VARCHAR},
troleset = #{troleset,jdbcType=VARCHAR},
tsyssta = #{tsyssta,jdbcType=VARCHAR},
thrsta = #{thrsta,jdbcType=VARCHAR},
tchgtyp = #{tchgtyp,jdbcType=VARCHAR},
isauth = #{isauth,jdbcType=VARCHAR},
gcyttt = #{gcyttt,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/usrtabmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.UsrtabMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Usrtab"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"reqnum"
column=
"reqnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"sndcod"
column=
"sndcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcvcod"
column=
"rcvcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"mancod"
column=
"mancod"
jdbcType=
"VARCHAR"
/>
<result
property=
"oriinf"
column=
"oriinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"newinf"
column=
"newinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspinf"
column=
"rspinf"
jdbcType=
"VARCHAR"
/>
<result
property=
"curdat"
column=
"curdat"
jdbcType=
"DATE"
/>
<result
property=
"rsptim"
column=
"rsptim"
jdbcType=
"DATE"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"rspcod"
column=
"rspcod"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpiinr"
column=
"mpiinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"oprtyp"
column=
"oprtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"oriref"
column=
"oriref"
jdbcType=
"VARCHAR"
/>
<result
property=
"seicod"
column=
"seicod"
jdbcType=
"VARCHAR"
/>
<result
property=
"rcicod"
column=
"rcicod"
jdbcType=
"VARCHAR"
/>
<result
property=
"syscod"
column=
"syscod"
jdbcType=
"VARCHAR"
/>
<result
property=
"sysdat"
column=
"sysdat"
jdbcType=
"DATE"
/>
<result
property=
"syssta"
column=
"syssta"
jdbcType=
"VARCHAR"
/>
<result
property=
"logsta"
column=
"logsta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,reqnum,subtyp,sndcod,rcvcod,mancod,oriinf,newinf,rspinf,curdat,rsptim,sta,rspcod,mpiinr,typ,oprtyp,oriref,seicod,rcicod,syscod,sysdat,syssta,logsta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from usrtab
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from usrtab
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into usrtab (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{reqnum,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{sndcod,jdbcType=VARCHAR},
#{rcvcod,jdbcType=VARCHAR},
#{mancod,jdbcType=VARCHAR},
#{oriinf,jdbcType=VARCHAR},
#{newinf,jdbcType=VARCHAR},
#{rspinf,jdbcType=VARCHAR},
#{curdat,jdbcType=DATE},
#{rsptim,jdbcType=DATE},
#{sta,jdbcType=VARCHAR},
#{rspcod,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{oprtyp,jdbcType=VARCHAR},
#{oriref,jdbcType=VARCHAR},
#{seicod,jdbcType=VARCHAR},
#{rcicod,jdbcType=VARCHAR},
#{syscod,jdbcType=VARCHAR},
#{sysdat,jdbcType=DATE},
#{syssta,jdbcType=VARCHAR},
#{logsta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into usrtab
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"reqnum != null"
>
reqnum,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"sndcod != null"
>
sndcod,
</if>
<if
test=
"rcvcod != null"
>
rcvcod,
</if>
<if
test=
"mancod != null"
>
mancod,
</if>
<if
test=
"oriinf != null"
>
oriinf,
</if>
<if
test=
"newinf != null"
>
newinf,
</if>
<if
test=
"rspinf != null"
>
rspinf,
</if>
<if
test=
"curdat != null"
>
curdat,
</if>
<if
test=
"rsptim != null"
>
rsptim,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"rspcod != null"
>
rspcod,
</if>
<if
test=
"mpiinr != null"
>
mpiinr,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"oprtyp != null"
>
oprtyp,
</if>
<if
test=
"oriref != null"
>
oriref,
</if>
<if
test=
"seicod != null"
>
seicod,
</if>
<if
test=
"rcicod != null"
>
rcicod,
</if>
<if
test=
"syscod != null"
>
syscod,
</if>
<if
test=
"sysdat != null"
>
sysdat,
</if>
<if
test=
"syssta != null"
>
syssta,
</if>
<if
test=
"logsta != null"
>
logsta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"reqnum != null"
>
#{reqnum,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndcod != null"
>
#{sndcod,jdbcType=VARCHAR},
</if>
<if
test=
"rcvcod != null"
>
#{rcvcod,jdbcType=VARCHAR},
</if>
<if
test=
"mancod != null"
>
#{mancod,jdbcType=VARCHAR},
</if>
<if
test=
"oriinf != null"
>
#{oriinf,jdbcType=VARCHAR},
</if>
<if
test=
"newinf != null"
>
#{newinf,jdbcType=VARCHAR},
</if>
<if
test=
"rspinf != null"
>
#{rspinf,jdbcType=VARCHAR},
</if>
<if
test=
"curdat != null"
>
#{curdat,jdbcType=DATE},
</if>
<if
test=
"rsptim != null"
>
#{rsptim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
#{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
#{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"oprtyp != null"
>
#{oprtyp,jdbcType=VARCHAR},
</if>
<if
test=
"oriref != null"
>
#{oriref,jdbcType=VARCHAR},
</if>
<if
test=
"seicod != null"
>
#{seicod,jdbcType=VARCHAR},
</if>
<if
test=
"rcicod != null"
>
#{rcicod,jdbcType=VARCHAR},
</if>
<if
test=
"syscod != null"
>
#{syscod,jdbcType=VARCHAR},
</if>
<if
test=
"sysdat != null"
>
#{sysdat,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
#{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"logsta != null"
>
#{logsta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update usrtab
<set>
<if
test=
"reqnum != null"
>
reqnum = #{reqnum,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"sndcod != null"
>
sndcod = #{sndcod,jdbcType=VARCHAR},
</if>
<if
test=
"rcvcod != null"
>
rcvcod = #{rcvcod,jdbcType=VARCHAR},
</if>
<if
test=
"mancod != null"
>
mancod = #{mancod,jdbcType=VARCHAR},
</if>
<if
test=
"oriinf != null"
>
oriinf = #{oriinf,jdbcType=VARCHAR},
</if>
<if
test=
"newinf != null"
>
newinf = #{newinf,jdbcType=VARCHAR},
</if>
<if
test=
"rspinf != null"
>
rspinf = #{rspinf,jdbcType=VARCHAR},
</if>
<if
test=
"curdat != null"
>
curdat = #{curdat,jdbcType=DATE},
</if>
<if
test=
"rsptim != null"
>
rsptim = #{rsptim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"rspcod != null"
>
rspcod = #{rspcod,jdbcType=VARCHAR},
</if>
<if
test=
"mpiinr != null"
>
mpiinr = #{mpiinr,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"oprtyp != null"
>
oprtyp = #{oprtyp,jdbcType=VARCHAR},
</if>
<if
test=
"oriref != null"
>
oriref = #{oriref,jdbcType=VARCHAR},
</if>
<if
test=
"seicod != null"
>
seicod = #{seicod,jdbcType=VARCHAR},
</if>
<if
test=
"rcicod != null"
>
rcicod = #{rcicod,jdbcType=VARCHAR},
</if>
<if
test=
"syscod != null"
>
syscod = #{syscod,jdbcType=VARCHAR},
</if>
<if
test=
"sysdat != null"
>
sysdat = #{sysdat,jdbcType=DATE},
</if>
<if
test=
"syssta != null"
>
syssta = #{syssta,jdbcType=VARCHAR},
</if>
<if
test=
"logsta != null"
>
logsta = #{logsta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update usrtab
<set>
reqnum = #{reqnum,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
sndcod = #{sndcod,jdbcType=VARCHAR},
rcvcod = #{rcvcod,jdbcType=VARCHAR},
mancod = #{mancod,jdbcType=VARCHAR},
oriinf = #{oriinf,jdbcType=VARCHAR},
newinf = #{newinf,jdbcType=VARCHAR},
rspinf = #{rspinf,jdbcType=VARCHAR},
curdat = #{curdat,jdbcType=DATE},
rsptim = #{rsptim,jdbcType=DATE},
sta = #{sta,jdbcType=VARCHAR},
rspcod = #{rspcod,jdbcType=VARCHAR},
mpiinr = #{mpiinr,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
oprtyp = #{oprtyp,jdbcType=VARCHAR},
oriref = #{oriref,jdbcType=VARCHAR},
seicod = #{seicod,jdbcType=VARCHAR},
rcicod = #{rcicod,jdbcType=VARCHAR},
syscod = #{syscod,jdbcType=VARCHAR},
sysdat = #{sysdat,jdbcType=DATE},
syssta = #{syssta,jdbcType=VARCHAR},
logsta = #{logsta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/wtdmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.WtdMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Wtd"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"drfnum"
column=
"drfnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"casnum"
column=
"casnum"
jdbcType=
"VARCHAR"
/>
<result
property=
"msginr"
column=
"msginr"
jdbcType=
"VARCHAR"
/>
<result
property=
"sevref"
column=
"sevref"
jdbcType=
"VARCHAR"
/>
<result
property=
"relref"
column=
"relref"
jdbcType=
"VARCHAR"
/>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/>
<result
property=
"vludat"
column=
"vludat"
jdbcType=
"DATE"
/>
<result
property=
"seddat"
column=
"seddat"
jdbcType=
"DATE"
/>
<result
property=
"sedbak"
column=
"sedbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"revbak"
column=
"revbak"
jdbcType=
"VARCHAR"
/>
<result
property=
"megrevdrt"
column=
"megrevdrt"
jdbcType=
"VARCHAR"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
<result
property=
"typ"
column=
"typ"
jdbcType=
"VARCHAR"
/>
<result
property=
"ljdinr"
column=
"ljdinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyinr"
column=
"etyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"ptyinr"
column=
"ptyinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"uetr"
column=
"uetr"
jdbcType=
"VARCHAR"
/>
<result
property=
"gpi"
column=
"gpi"
jdbcType=
"VARCHAR"
/>
<result
property=
"sweflg"
column=
"sweflg"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,drfnum,casnum,msginr,sevref,relref,cur,amt,vludat,seddat,sedbak,revbak,megrevdrt,sta,typ,ljdinr,etyinr,ptyinr,uetr,gpi,sweflg
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from wtd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from wtd
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into wtd (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{drfnum,jdbcType=VARCHAR},
#{casnum,jdbcType=VARCHAR},
#{msginr,jdbcType=VARCHAR},
#{sevref,jdbcType=VARCHAR},
#{relref,jdbcType=VARCHAR},
#{cur,jdbcType=VARCHAR},
#{amt,jdbcType=DECIMAL},
#{vludat,jdbcType=DATE},
#{seddat,jdbcType=DATE},
#{sedbak,jdbcType=VARCHAR},
#{revbak,jdbcType=VARCHAR},
#{megrevdrt,jdbcType=VARCHAR},
#{sta,jdbcType=VARCHAR},
#{typ,jdbcType=VARCHAR},
#{ljdinr,jdbcType=VARCHAR},
#{etyinr,jdbcType=VARCHAR},
#{ptyinr,jdbcType=VARCHAR},
#{uetr,jdbcType=VARCHAR},
#{gpi,jdbcType=VARCHAR},
#{sweflg,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into wtd
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"drfnum != null"
>
drfnum,
</if>
<if
test=
"casnum != null"
>
casnum,
</if>
<if
test=
"msginr != null"
>
msginr,
</if>
<if
test=
"sevref != null"
>
sevref,
</if>
<if
test=
"relref != null"
>
relref,
</if>
<if
test=
"cur != null"
>
cur,
</if>
<if
test=
"amt != null"
>
amt,
</if>
<if
test=
"vludat != null"
>
vludat,
</if>
<if
test=
"seddat != null"
>
seddat,
</if>
<if
test=
"sedbak != null"
>
sedbak,
</if>
<if
test=
"revbak != null"
>
revbak,
</if>
<if
test=
"megrevdrt != null"
>
megrevdrt,
</if>
<if
test=
"sta != null"
>
sta,
</if>
<if
test=
"typ != null"
>
typ,
</if>
<if
test=
"ljdinr != null"
>
ljdinr,
</if>
<if
test=
"etyinr != null"
>
etyinr,
</if>
<if
test=
"ptyinr != null"
>
ptyinr,
</if>
<if
test=
"uetr != null"
>
uetr,
</if>
<if
test=
"gpi != null"
>
gpi,
</if>
<if
test=
"sweflg != null"
>
sweflg,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"drfnum != null"
>
#{drfnum,jdbcType=VARCHAR},
</if>
<if
test=
"casnum != null"
>
#{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"msginr != null"
>
#{msginr,jdbcType=VARCHAR},
</if>
<if
test=
"sevref != null"
>
#{sevref,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
#{relref,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
#{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
#{amt,jdbcType=DECIMAL},
</if>
<if
test=
"vludat != null"
>
#{vludat,jdbcType=DATE},
</if>
<if
test=
"seddat != null"
>
#{seddat,jdbcType=DATE},
</if>
<if
test=
"sedbak != null"
>
#{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
#{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"megrevdrt != null"
>
#{megrevdrt,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
#{typ,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
#{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
#{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
#{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
#{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
#{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
#{sweflg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update wtd
<set>
<if
test=
"drfnum != null"
>
drfnum = #{drfnum,jdbcType=VARCHAR},
</if>
<if
test=
"casnum != null"
>
casnum = #{casnum,jdbcType=VARCHAR},
</if>
<if
test=
"msginr != null"
>
msginr = #{msginr,jdbcType=VARCHAR},
</if>
<if
test=
"sevref != null"
>
sevref = #{sevref,jdbcType=VARCHAR},
</if>
<if
test=
"relref != null"
>
relref = #{relref,jdbcType=VARCHAR},
</if>
<if
test=
"cur != null"
>
cur = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
amt = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"vludat != null"
>
vludat = #{vludat,jdbcType=DATE},
</if>
<if
test=
"seddat != null"
>
seddat = #{seddat,jdbcType=DATE},
</if>
<if
test=
"sedbak != null"
>
sedbak = #{sedbak,jdbcType=VARCHAR},
</if>
<if
test=
"revbak != null"
>
revbak = #{revbak,jdbcType=VARCHAR},
</if>
<if
test=
"megrevdrt != null"
>
megrevdrt = #{megrevdrt,jdbcType=VARCHAR},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
<if
test=
"typ != null"
>
typ = #{typ,jdbcType=VARCHAR},
</if>
<if
test=
"ljdinr != null"
>
ljdinr = #{ljdinr,jdbcType=VARCHAR},
</if>
<if
test=
"etyinr != null"
>
etyinr = #{etyinr,jdbcType=VARCHAR},
</if>
<if
test=
"ptyinr != null"
>
ptyinr = #{ptyinr,jdbcType=VARCHAR},
</if>
<if
test=
"uetr != null"
>
uetr = #{uetr,jdbcType=VARCHAR},
</if>
<if
test=
"gpi != null"
>
gpi = #{gpi,jdbcType=VARCHAR},
</if>
<if
test=
"sweflg != null"
>
sweflg = #{sweflg,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update wtd
<set>
drfnum = #{drfnum,jdbcType=VARCHAR},
casnum = #{casnum,jdbcType=VARCHAR},
msginr = #{msginr,jdbcType=VARCHAR},
sevref = #{sevref,jdbcType=VARCHAR},
relref = #{relref,jdbcType=VARCHAR},
cur = #{cur,jdbcType=VARCHAR},
amt = #{amt,jdbcType=DECIMAL},
vludat = #{vludat,jdbcType=DATE},
seddat = #{seddat,jdbcType=DATE},
sedbak = #{sedbak,jdbcType=VARCHAR},
revbak = #{revbak,jdbcType=VARCHAR},
megrevdrt = #{megrevdrt,jdbcType=VARCHAR},
sta = #{sta,jdbcType=VARCHAR},
typ = #{typ,jdbcType=VARCHAR},
ljdinr = #{ljdinr,jdbcType=VARCHAR},
etyinr = #{etyinr,jdbcType=VARCHAR},
ptyinr = #{ptyinr,jdbcType=VARCHAR},
uetr = #{uetr,jdbcType=VARCHAR},
gpi = #{gpi,jdbcType=VARCHAR},
sweflg = #{sweflg,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/META-INF/orm/mda/yssmapper.xml
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ceb.gjjs.mda.dao.YssMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ceb.gjjs.mda.bo.Yss"
>
<result
property=
"inr"
column=
"inr"
jdbcType=
"VARCHAR"
/>
<result
property=
"mpsinr"
column=
"mpsinr"
jdbcType=
"VARCHAR"
/>
<result
property=
"subtyp"
column=
"subtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"frmtyp"
column=
"frmtyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"credattim"
column=
"credattim"
jdbcType=
"DATE"
/>
<result
property=
"lstdattim"
column=
"lstdattim"
jdbcType=
"DATE"
/>
<result
property=
"sta"
column=
"sta"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
inr,mpsinr,subtyp,frmtyp,credattim,lstdattim,sta
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from yss
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
>
delete from yss
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
>
insert into yss (
<include
refid=
"Base_Column_List"
/>
)
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{inr,jdbcType=VARCHAR},
#{mpsinr,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR},
#{frmtyp,jdbcType=VARCHAR},
#{credattim,jdbcType=DATE},
#{lstdattim,jdbcType=DATE},
#{sta,jdbcType=VARCHAR},
</trim>
</insert>
<insert
id=
"insertSelective"
>
insert into yss
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
inr,
</if>
<if
test=
"mpsinr != null"
>
mpsinr,
</if>
<if
test=
"subtyp != null"
>
subtyp,
</if>
<if
test=
"frmtyp != null"
>
frmtyp,
</if>
<if
test=
"credattim != null"
>
credattim,
</if>
<if
test=
"lstdattim != null"
>
lstdattim,
</if>
<if
test=
"sta != null"
>
sta,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"inr != null"
>
#{inr,jdbcType=VARCHAR},
</if>
<if
test=
"mpsinr != null"
>
#{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
#{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"frmtyp != null"
>
#{frmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"credattim != null"
>
#{credattim,jdbcType=DATE},
</if>
<if
test=
"lstdattim != null"
>
#{lstdattim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
#{sta,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
>
update yss
<set>
<if
test=
"mpsinr != null"
>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
subtyp = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"frmtyp != null"
>
frmtyp = #{frmtyp,jdbcType=VARCHAR},
</if>
<if
test=
"credattim != null"
>
credattim = #{credattim,jdbcType=DATE},
</if>
<if
test=
"lstdattim != null"
>
lstdattim = #{lstdattim,jdbcType=DATE},
</if>
<if
test=
"sta != null"
>
sta = #{sta,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
>
update yss
<set>
mpsinr = #{mpsinr,jdbcType=VARCHAR},
subtyp = #{subtyp,jdbcType=VARCHAR},
frmtyp = #{frmtyp,jdbcType=VARCHAR},
credattim = #{credattim,jdbcType=DATE},
lstdattim = #{lstdattim,jdbcType=DATE},
sta = #{sta,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete
id=
"deleteByIds"
>
delete from act where inr in
<foreach
item=
"item"
index=
"index"
collection=
"collection"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</delete>
<delete
id=
"dyncDelete"
>
${sql}
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
</select>
</mapper>
gjjs-bd-business/src/main/resources/codeTable/gcy_en_US.ctl
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<codetable>
<item
description=
"description"
label=
"A"
value=
"1"
/>
<item
description=
"description"
label=
"B"
value=
"2"
/>
</codetable>
gjjs-bd-business/src/main/resources/codeTable/gcy_zh_CN.ctl
0 → 100644
View file @
ab4c7841
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<codetable>
<item
description=
"description"
label=
"A"
value=
"1"
/>
<item
description=
"description"
label=
"B"
value=
"2"
/>
</codetable>
gjjs-bd-business/src/main/resources/i18n/gcyp_en_US.properties
0 → 100644
View file @
ab4c7841
#Mon Jan 24 14:59:51 CST 2022
BT000004
=
\u
63D0
\u
4EA4
PD000000
=
gcy
\u
4E3B
\u9875\u9762
LT000003
=
\u
64CD
\u
4F5C
\u5458\u
540D
\u
79F0
LT000002
=
\u
5BC6
\u7801\u
8F93
\u5165\u
6B21
\u6570
LT000001
=
\u
767B
\u
5F55
\u
540D
\u
79F0
CT000009
=
title
CT000010
=
message
CT000008
=
message
CT000007
=
title
CT000006
=
message
CT000005
=
title
gjjs-bd-business/src/main/resources/i18n/rcvp_zh_CN.properties
0 → 100644
View file @
ab4c7841
#Sun Jan 15 14:00:27 CST 2023
gjjs-bd-business/src/main/resources/i18n/sysmod_zh_CN.properties
0 → 100644
View file @
ab4c7841
#Tue Jan 17 09:50:22 CST 2023
gjjs-bd-business/src/test/java/com/ceb/gjjs/mda/junitTest/TestJunit.java
0 → 100644
View file @
ab4c7841
package
com
.
ceb
.
gjjs
.
mda
.
junitTest
;
import
org.apache.commons.io.FileUtils
;
import
org.dom4j.Document
;
import
org.dom4j.Element
;
import
org.dom4j.io.SAXReader
;
import
org.junit.jupiter.api.Test
;
import
java.io.File
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
public
class
TestJunit
{
@Test
public
void
parseXmlByPattern
()
{
String
a
=
"<doc name=\"ge\">abc</doc><title>3232 </title> <doc>只要内容</doc>"
;
List
list
=
getContext
(
a
);
System
.
out
.
println
(
list
);
}
@Test
public
void
parseXmlByPattern2
()
throws
Exception
{
File
tempff
=
FileUtils
.
toFile
(
TestJunit
.
class
.
getResource
(
"/META-INF/orm/mda"
));
File
file
=
tempff
.
listFiles
()[
0
];
// File file = FileUtils.toFile(TestJunit.class.getResource("/META-INF/orm/mda/adumapper.xml"));
String
xml
=
FileUtils
.
readFileToString
(
file
,
"UTF-8"
);
// System.out.println(xml);
SAXReader
reader
=
new
SAXReader
();
Document
doc
=
reader
.
read
(
file
);
Element
rootElement
=
doc
.
getRootElement
();
String
namespaceValue
=
rootElement
.
attribute
(
"namespace"
).
getValue
();
System
.
out
.
println
(
namespaceValue
);
int
lastIndex
=
namespaceValue
.
lastIndexOf
(
"."
);
System
.
out
.
println
(
namespaceValue
.
substring
(
0
,
lastIndex
));
}
public
static
List
getContext
(
String
html
)
{
List
resultList
=
new
ArrayList
();
Pattern
p
=
Pattern
.
compile
(
">([^</]+)</"
);
//正则表达式 commend by danielinbiti
Matcher
m
=
p
.
matcher
(
html
);
//
while
(
m
.
find
())
{
resultList
.
add
(
m
.
group
(
1
));
//
}
return
resultList
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment