Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
springboot-cli
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
springboot-cli
Commits
0fcf0bf0
Commit
0fcf0bf0
authored
Oct 24, 2023
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交Mps/Mpi/Mpe/Lck等相关类和配置
parent
73cadb12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
442 additions
and
1 deletions
+442
-1
MpiMapper.java
src/main/java/com/brilliance/mapper/MpiMapper.java
+12
-0
MpiMapper.xml
src/main/resources/com/brilliance/mapper/MpiMapper.xml
+430
-1
No files found.
src/main/java/com/brilliance/mapper/MpiMapper.java
View file @
0fcf0bf0
package
com
.
brilliance
.
mapper
;
import
com.brilliance.entity.Mpi
;
import
org.apache.ibatis.annotations.Param
;
public
interface
MpiMapper
{
int
deleteByPrimaryKey
(
String
inr
);
int
insert
(
Mpi
record
);
int
insertSelective
(
Mpi
record
);
Mpi
selectByPrimaryKey
(
String
inr
);
int
updateByPrimaryKeySelective
(
Mpi
record
);
int
updateByPrimaryKey
(
Mpi
record
);
Mpi
getMpi
(
@Param
(
"othref"
)
String
othref
,
@Param
(
"dir"
)
String
dir
);
}
\ No newline at end of file
src/main/resources/com/brilliance/mapper/MpiMapper.xml
View file @
0fcf0bf0
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.brilliance.mapper.MpiMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.brilliance.entity.Mpi"
>
<
result
column=
"INR"
property=
"inr"
jdbcType=
"CHAR"
/>
<
id
column=
"INR"
property=
"inr"
jdbcType=
"CHAR"
/>
<result
column=
"ACT"
property=
"act"
jdbcType=
"VARCHAR"
/>
<result
column=
"AMT"
property=
"amt"
jdbcType=
"DECIMAL"
/>
<result
column=
"CUR"
property=
"cur"
jdbcType=
"VARCHAR"
/>
...
...
@@ -102,6 +102,32 @@
<result
column=
"ENVMSGTYP"
property=
"envmsgtyp"
jdbcType=
"VARCHAR"
/>
<result
column=
"MSGCNT"
property=
"msgcnt"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
INR, ACT, AMT, CUR, DIR, GENDAT, MSGTYP, N20SHA, OTHREF, OWNREF, RCVBIC, SNDBIC,
ACTBIC, SUBTYP, TAGLST, TAGSHA, EXCMSG, VALDAT, RPSCOD, SNDNUM, T53BIC, SRCNUM, USRNAM,
DTLCHG, ETYINR, PTYINR, FLG, ACTSTA, FWDREF, FWDREF2, CJZSTA, BRANCH, GPI, UETR,
SYSTRACKN, ACCDAT, SELAMT, SELCUR, MSG71F, GPIVAL, LCNB, MSGID, SNDFLG, BIZTYP, EXPSETDAT,
PAYBIC, RECBIC, RCVINDBIC, SNDINDBIC, XDZSTA, ISMX, ENDTID, DETTYP, LOGINOPRTP, SID,
MTP, TXTPCD, CTGPCD, MID, CREDAT, INSGDP, INSDPL, INSGTY, INSGPL, INSDDP, INSDDL,
INSDTY, INSPDL, SYSCOD, RMK, ORGMID, ORGINSPTY, ORGINAPTY, ORGMSGTYP, ORGSNDDAT,
STSCOD, PRCMSGDIG, RSPMSG, PRCSTS, PROCCD, RJCINF, SSTDAT, RCVDAT, TRNDAT, ORPMID,
ORPINSPTY, ORPINAPTY, ORITYP, ORIDAT, ORISTS, OPINFO, ORIACCDAT, TRASTS, BLLPAYSTS,
REMARK, CURSYSSTS, PRCCOD, ENVMSGTYP, MSGCNT
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from TEST.MPI
where INR = #{inr,jdbcType=CHAR}
</select>
<select
id=
"getMpi"
resultType=
"com.brilliance.entity.Mpi"
>
select * from mpi where othref = #{othref} and dir = #{dir}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from TEST.MPI
where INR = #{inr,jdbcType=CHAR}
</delete>
<insert
id=
"insert"
parameterType=
"com.brilliance.entity.Mpi"
>
insert into TEST.MPI (INR, ACT, AMT, CUR,
DIR, GENDAT, MSGTYP,
...
...
@@ -771,4 +797,406 @@
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.brilliance.entity.Mpi"
>
update TEST.MPI
<set
>
<if
test=
"act != null"
>
ACT = #{act,jdbcType=VARCHAR},
</if>
<if
test=
"amt != null"
>
AMT = #{amt,jdbcType=DECIMAL},
</if>
<if
test=
"cur != null"
>
CUR = #{cur,jdbcType=VARCHAR},
</if>
<if
test=
"dir != null"
>
DIR = #{dir,jdbcType=CHAR},
</if>
<if
test=
"gendat != null"
>
GENDAT = #{gendat,jdbcType=TIMESTAMP},
</if>
<if
test=
"msgtyp != null"
>
MSGTYP = #{msgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"n20sha != null"
>
N20SHA = #{n20sha,jdbcType=VARCHAR},
</if>
<if
test=
"othref != null"
>
OTHREF = #{othref,jdbcType=VARCHAR},
</if>
<if
test=
"ownref != null"
>
OWNREF = #{ownref,jdbcType=VARCHAR},
</if>
<if
test=
"rcvbic != null"
>
RCVBIC = #{rcvbic,jdbcType=VARCHAR},
</if>
<if
test=
"sndbic != null"
>
SNDBIC = #{sndbic,jdbcType=VARCHAR},
</if>
<if
test=
"actbic != null"
>
ACTBIC = #{actbic,jdbcType=VARCHAR},
</if>
<if
test=
"subtyp != null"
>
SUBTYP = #{subtyp,jdbcType=VARCHAR},
</if>
<if
test=
"taglst != null"
>
TAGLST = #{taglst,jdbcType=VARCHAR},
</if>
<if
test=
"tagsha != null"
>
TAGSHA = #{tagsha,jdbcType=VARCHAR},
</if>
<if
test=
"excmsg != null"
>
EXCMSG = #{excmsg,jdbcType=VARCHAR},
</if>
<if
test=
"valdat != null"
>
VALDAT = #{valdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"rpscod != null"
>
RPSCOD = #{rpscod,jdbcType=VARCHAR},
</if>
<if
test=
"sndnum != null"
>
SNDNUM = #{sndnum,jdbcType=VARCHAR},
</if>
<if
test=
"t53bic != null"
>
T53BIC = #{t53bic,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=
"etyinr != null"
>
ETYINR = #{etyinr,jdbcType=CHAR},
</if>
<if
test=
"ptyinr != null"
>
PTYINR = #{ptyinr,jdbcType=CHAR},
</if>
<if
test=
"flg != null"
>
FLG = #{flg,jdbcType=CHAR},
</if>
<if
test=
"actsta != null"
>
ACTSTA = #{actsta,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref != null"
>
FWDREF = #{fwdref,jdbcType=VARCHAR},
</if>
<if
test=
"fwdref2 != null"
>
FWDREF2 = #{fwdref2,jdbcType=VARCHAR},
</if>
<if
test=
"cjzsta != null"
>
CJZSTA = #{cjzsta,jdbcType=VARCHAR},
</if>
<if
test=
"branch != null"
>
BRANCH = #{branch,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=
"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=
"gpival != null"
>
GPIVAL = #{gpival,jdbcType=VARCHAR},
</if>
<if
test=
"lcnb != null"
>
LCNB = #{lcnb,jdbcType=VARCHAR},
</if>
<if
test=
"msgid != null"
>
MSGID = #{msgid,jdbcType=VARCHAR},
</if>
<if
test=
"sndflg != null"
>
SNDFLG = #{sndflg,jdbcType=VARCHAR},
</if>
<if
test=
"biztyp != null"
>
BIZTYP = #{biztyp,jdbcType=VARCHAR},
</if>
<if
test=
"expsetdat != null"
>
EXPSETDAT = #{expsetdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"paybic != null"
>
PAYBIC = #{paybic,jdbcType=VARCHAR},
</if>
<if
test=
"recbic != null"
>
RECBIC = #{recbic,jdbcType=VARCHAR},
</if>
<if
test=
"rcvindbic != null"
>
RCVINDBIC = #{rcvindbic,jdbcType=VARCHAR},
</if>
<if
test=
"sndindbic != null"
>
SNDINDBIC = #{sndindbic,jdbcType=VARCHAR},
</if>
<if
test=
"xdzsta != null"
>
XDZSTA = #{xdzsta,jdbcType=VARCHAR},
</if>
<if
test=
"ismx != null"
>
ISMX = #{ismx,jdbcType=DECIMAL},
</if>
<if
test=
"endtid != null"
>
ENDTID = #{endtid,jdbcType=DECIMAL},
</if>
<if
test=
"dettyp != null"
>
DETTYP = #{dettyp,jdbcType=VARCHAR},
</if>
<if
test=
"loginoprtp != null"
>
LOGINOPRTP = #{loginoprtp,jdbcType=VARCHAR},
</if>
<if
test=
"sid != null"
>
SID = #{sid,jdbcType=VARCHAR},
</if>
<if
test=
"mtp != null"
>
MTP = #{mtp,jdbcType=VARCHAR},
</if>
<if
test=
"txtpcd != null"
>
TXTPCD = #{txtpcd,jdbcType=VARCHAR},
</if>
<if
test=
"ctgpcd != null"
>
CTGPCD = #{ctgpcd,jdbcType=VARCHAR},
</if>
<if
test=
"mid != null"
>
MID = #{mid,jdbcType=VARCHAR},
</if>
<if
test=
"credat != null"
>
CREDAT = #{credat,jdbcType=TIMESTAMP},
</if>
<if
test=
"insgdp != null"
>
INSGDP = #{insgdp,jdbcType=VARCHAR},
</if>
<if
test=
"insdpl != null"
>
INSDPL = #{insdpl,jdbcType=VARCHAR},
</if>
<if
test=
"insgty != null"
>
INSGTY = #{insgty,jdbcType=VARCHAR},
</if>
<if
test=
"insgpl != null"
>
INSGPL = #{insgpl,jdbcType=VARCHAR},
</if>
<if
test=
"insddp != null"
>
INSDDP = #{insddp,jdbcType=VARCHAR},
</if>
<if
test=
"insddl != null"
>
INSDDL = #{insddl,jdbcType=VARCHAR},
</if>
<if
test=
"insdty != null"
>
INSDTY = #{insdty,jdbcType=VARCHAR},
</if>
<if
test=
"inspdl != null"
>
INSPDL = #{inspdl,jdbcType=VARCHAR},
</if>
<if
test=
"syscod != null"
>
SYSCOD = #{syscod,jdbcType=VARCHAR},
</if>
<if
test=
"rmk != null"
>
RMK = #{rmk,jdbcType=VARCHAR},
</if>
<if
test=
"orgmid != null"
>
ORGMID = #{orgmid,jdbcType=VARCHAR},
</if>
<if
test=
"orginspty != null"
>
ORGINSPTY = #{orginspty,jdbcType=VARCHAR},
</if>
<if
test=
"orginapty != null"
>
ORGINAPTY = #{orginapty,jdbcType=VARCHAR},
</if>
<if
test=
"orgmsgtyp != null"
>
ORGMSGTYP = #{orgmsgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"orgsnddat != null"
>
ORGSNDDAT = #{orgsnddat,jdbcType=TIMESTAMP},
</if>
<if
test=
"stscod != null"
>
STSCOD = #{stscod,jdbcType=VARCHAR},
</if>
<if
test=
"prcmsgdig != null"
>
PRCMSGDIG = #{prcmsgdig,jdbcType=VARCHAR},
</if>
<if
test=
"rspmsg != null"
>
RSPMSG = #{rspmsg,jdbcType=VARCHAR},
</if>
<if
test=
"prcsts != null"
>
PRCSTS = #{prcsts,jdbcType=VARCHAR},
</if>
<if
test=
"proccd != null"
>
PROCCD = #{proccd,jdbcType=VARCHAR},
</if>
<if
test=
"rjcinf != null"
>
RJCINF = #{rjcinf,jdbcType=VARCHAR},
</if>
<if
test=
"sstdat != null"
>
SSTDAT = #{sstdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"rcvdat != null"
>
RCVDAT = #{rcvdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"trndat != null"
>
TRNDAT = #{trndat,jdbcType=TIMESTAMP},
</if>
<if
test=
"orpmid != null"
>
ORPMID = #{orpmid,jdbcType=VARCHAR},
</if>
<if
test=
"orpinspty != null"
>
ORPINSPTY = #{orpinspty,jdbcType=VARCHAR},
</if>
<if
test=
"orpinapty != null"
>
ORPINAPTY = #{orpinapty,jdbcType=VARCHAR},
</if>
<if
test=
"orityp != null"
>
ORITYP = #{orityp,jdbcType=VARCHAR},
</if>
<if
test=
"oridat != null"
>
ORIDAT = #{oridat,jdbcType=TIMESTAMP},
</if>
<if
test=
"orists != null"
>
ORISTS = #{orists,jdbcType=VARCHAR},
</if>
<if
test=
"opinfo != null"
>
OPINFO = #{opinfo,jdbcType=VARCHAR},
</if>
<if
test=
"oriaccdat != null"
>
ORIACCDAT = #{oriaccdat,jdbcType=TIMESTAMP},
</if>
<if
test=
"trasts != null"
>
TRASTS = #{trasts,jdbcType=VARCHAR},
</if>
<if
test=
"bllpaysts != null"
>
BLLPAYSTS = #{bllpaysts,jdbcType=VARCHAR},
</if>
<if
test=
"remark != null"
>
REMARK = #{remark,jdbcType=VARCHAR},
</if>
<if
test=
"cursyssts != null"
>
CURSYSSTS = #{cursyssts,jdbcType=VARCHAR},
</if>
<if
test=
"prccod != null"
>
PRCCOD = #{prccod,jdbcType=OTHER},
</if>
<if
test=
"envmsgtyp != null"
>
ENVMSGTYP = #{envmsgtyp,jdbcType=VARCHAR},
</if>
<if
test=
"msgcnt != null"
>
MSGCNT = #{msgcnt,jdbcType=VARCHAR},
</if>
</set>
where INR = #{inr,jdbcType=CHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.brilliance.entity.Mpi"
>
update TEST.MPI
set ACT = #{act,jdbcType=VARCHAR},
AMT = #{amt,jdbcType=DECIMAL},
CUR = #{cur,jdbcType=VARCHAR},
DIR = #{dir,jdbcType=CHAR},
GENDAT = #{gendat,jdbcType=TIMESTAMP},
MSGTYP = #{msgtyp,jdbcType=VARCHAR},
N20SHA = #{n20sha,jdbcType=VARCHAR},
OTHREF = #{othref,jdbcType=VARCHAR},
OWNREF = #{ownref,jdbcType=VARCHAR},
RCVBIC = #{rcvbic,jdbcType=VARCHAR},
SNDBIC = #{sndbic,jdbcType=VARCHAR},
ACTBIC = #{actbic,jdbcType=VARCHAR},
SUBTYP = #{subtyp,jdbcType=VARCHAR},
TAGLST = #{taglst,jdbcType=VARCHAR},
TAGSHA = #{tagsha,jdbcType=VARCHAR},
EXCMSG = #{excmsg,jdbcType=VARCHAR},
VALDAT = #{valdat,jdbcType=TIMESTAMP},
RPSCOD = #{rpscod,jdbcType=VARCHAR},
SNDNUM = #{sndnum,jdbcType=VARCHAR},
T53BIC = #{t53bic,jdbcType=VARCHAR},
SRCNUM = #{srcnum,jdbcType=VARCHAR},
USRNAM = #{usrnam,jdbcType=VARCHAR},
DTLCHG = #{dtlchg,jdbcType=VARCHAR},
ETYINR = #{etyinr,jdbcType=CHAR},
PTYINR = #{ptyinr,jdbcType=CHAR},
FLG = #{flg,jdbcType=CHAR},
ACTSTA = #{actsta,jdbcType=VARCHAR},
FWDREF = #{fwdref,jdbcType=VARCHAR},
FWDREF2 = #{fwdref2,jdbcType=VARCHAR},
CJZSTA = #{cjzsta,jdbcType=VARCHAR},
BRANCH = #{branch,jdbcType=VARCHAR},
GPI = #{gpi,jdbcType=VARCHAR},
UETR = #{uetr,jdbcType=VARCHAR},
SYSTRACKN = #{systrackn,jdbcType=VARCHAR},
ACCDAT = #{accdat,jdbcType=VARCHAR},
SELAMT = #{selamt,jdbcType=DECIMAL},
SELCUR = #{selcur,jdbcType=VARCHAR},
MSG71F = #{msg71f,jdbcType=VARCHAR},
GPIVAL = #{gpival,jdbcType=VARCHAR},
LCNB = #{lcnb,jdbcType=VARCHAR},
MSGID = #{msgid,jdbcType=VARCHAR},
SNDFLG = #{sndflg,jdbcType=VARCHAR},
BIZTYP = #{biztyp,jdbcType=VARCHAR},
EXPSETDAT = #{expsetdat,jdbcType=TIMESTAMP},
PAYBIC = #{paybic,jdbcType=VARCHAR},
RECBIC = #{recbic,jdbcType=VARCHAR},
RCVINDBIC = #{rcvindbic,jdbcType=VARCHAR},
SNDINDBIC = #{sndindbic,jdbcType=VARCHAR},
XDZSTA = #{xdzsta,jdbcType=VARCHAR},
ISMX = #{ismx,jdbcType=DECIMAL},
ENDTID = #{endtid,jdbcType=DECIMAL},
DETTYP = #{dettyp,jdbcType=VARCHAR},
LOGINOPRTP = #{loginoprtp,jdbcType=VARCHAR},
SID = #{sid,jdbcType=VARCHAR},
MTP = #{mtp,jdbcType=VARCHAR},
TXTPCD = #{txtpcd,jdbcType=VARCHAR},
CTGPCD = #{ctgpcd,jdbcType=VARCHAR},
MID = #{mid,jdbcType=VARCHAR},
CREDAT = #{credat,jdbcType=TIMESTAMP},
INSGDP = #{insgdp,jdbcType=VARCHAR},
INSDPL = #{insdpl,jdbcType=VARCHAR},
INSGTY = #{insgty,jdbcType=VARCHAR},
INSGPL = #{insgpl,jdbcType=VARCHAR},
INSDDP = #{insddp,jdbcType=VARCHAR},
INSDDL = #{insddl,jdbcType=VARCHAR},
INSDTY = #{insdty,jdbcType=VARCHAR},
INSPDL = #{inspdl,jdbcType=VARCHAR},
SYSCOD = #{syscod,jdbcType=VARCHAR},
RMK = #{rmk,jdbcType=VARCHAR},
ORGMID = #{orgmid,jdbcType=VARCHAR},
ORGINSPTY = #{orginspty,jdbcType=VARCHAR},
ORGINAPTY = #{orginapty,jdbcType=VARCHAR},
ORGMSGTYP = #{orgmsgtyp,jdbcType=VARCHAR},
ORGSNDDAT = #{orgsnddat,jdbcType=TIMESTAMP},
STSCOD = #{stscod,jdbcType=VARCHAR},
PRCMSGDIG = #{prcmsgdig,jdbcType=VARCHAR},
RSPMSG = #{rspmsg,jdbcType=VARCHAR},
PRCSTS = #{prcsts,jdbcType=VARCHAR},
PROCCD = #{proccd,jdbcType=VARCHAR},
RJCINF = #{rjcinf,jdbcType=VARCHAR},
SSTDAT = #{sstdat,jdbcType=TIMESTAMP},
RCVDAT = #{rcvdat,jdbcType=TIMESTAMP},
TRNDAT = #{trndat,jdbcType=TIMESTAMP},
ORPMID = #{orpmid,jdbcType=VARCHAR},
ORPINSPTY = #{orpinspty,jdbcType=VARCHAR},
ORPINAPTY = #{orpinapty,jdbcType=VARCHAR},
ORITYP = #{orityp,jdbcType=VARCHAR},
ORIDAT = #{oridat,jdbcType=TIMESTAMP},
ORISTS = #{orists,jdbcType=VARCHAR},
OPINFO = #{opinfo,jdbcType=VARCHAR},
ORIACCDAT = #{oriaccdat,jdbcType=TIMESTAMP},
TRASTS = #{trasts,jdbcType=VARCHAR},
BLLPAYSTS = #{bllpaysts,jdbcType=VARCHAR},
REMARK = #{remark,jdbcType=VARCHAR},
CURSYSSTS = #{cursyssts,jdbcType=VARCHAR},
PRCCOD = #{prccod,jdbcType=OTHER},
ENVMSGTYP = #{envmsgtyp,jdbcType=VARCHAR},
MSGCNT = #{msgcnt,jdbcType=VARCHAR}
where INR = #{inr,jdbcType=CHAR}
</update>
</mapper>
\ No newline at end of file
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