Commit 248d9dc8 by gechengyang

提交Mps/Mpi/Mpe等相关类和配置

parent a143f899
......@@ -73,6 +73,12 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
</dependencies>
......
package com.brilliance;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
* @Author gechengyang
* @Date 2023/10/23
*/
@SpringBootApplication
@MapperScan({"com.brilliance.mapper"})
public class App {
public static void main(String[] args) {
......
package com.brilliance.controller;
import com.brilliance.entity.Mps;
import com.brilliance.service.MpsService;
import com.brilliance.vo.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Date;
import java.util.List;
/**
* @Description
* @Author gechengyang
* @Date 2023/10/23
*/
@RestController
@RequestMapping("mps")
public class MpsController {
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private MpsService mpsService;
@PostMapping("getMps")
/* public Result userList(@RequestParam("pageNum") Integer pageNum,
@RequestParam("pageSize") Integer pageSize) {*/
public Result userList() {
List<Mps> mpsList = mpsService.getMpsList(">", "D", new Date());
return new Result("success");
}
}
package com.brilliance.controller;
import com.brilliance.service.UserService;
import com.brilliance.vo.PageData;
import com.brilliance.vo.Result;
import com.brilliance.vo.UserVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
*/
@RestController
@RequestMapping("user")
public class UserController {
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private UserService userService;
@GetMapping("list")
public Result userList(@RequestParam("pageNum") Integer pageNum,
@RequestParam("pageSize") Integer pageSize) {
logger.info("获取用户列表,pageNum:{},pageSize:{}", pageNum, pageSize);
PageData<UserVO> pageData = userService.userList(pageNum, pageSize);
return new Result(pageData);
}
}
package com.brilliance.entity;
import java.util.Date;
public class Mpe {
private String inr;
private String chncod;
private Date dattim;
private String mpsinr;
private String nxtchncod;
private String nxtsmhinr;
private String prvsta;
private String smhinr;
private String sta;
private String txt;
private String rspsta;
private String prvrspsta;
private String usr;
private String frmnam;
private String etyinr;
private String ptyinr;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getChncod() {
return chncod;
}
public void setChncod(String chncod) {
this.chncod = chncod == null ? null : chncod.trim();
}
public Date getDattim() {
return dattim;
}
public void setDattim(Date dattim) {
this.dattim = dattim;
}
public String getMpsinr() {
return mpsinr;
}
public void setMpsinr(String mpsinr) {
this.mpsinr = mpsinr == null ? null : mpsinr.trim();
}
public String getNxtchncod() {
return nxtchncod;
}
public void setNxtchncod(String nxtchncod) {
this.nxtchncod = nxtchncod == null ? null : nxtchncod.trim();
}
public String getNxtsmhinr() {
return nxtsmhinr;
}
public void setNxtsmhinr(String nxtsmhinr) {
this.nxtsmhinr = nxtsmhinr == null ? null : nxtsmhinr.trim();
}
public String getPrvsta() {
return prvsta;
}
public void setPrvsta(String prvsta) {
this.prvsta = prvsta == null ? null : prvsta.trim();
}
public String getSmhinr() {
return smhinr;
}
public void setSmhinr(String smhinr) {
this.smhinr = smhinr == null ? null : smhinr.trim();
}
public String getSta() {
return sta;
}
public void setSta(String sta) {
this.sta = sta == null ? null : sta.trim();
}
public String getTxt() {
return txt;
}
public void setTxt(String txt) {
this.txt = txt == null ? null : txt.trim();
}
public String getRspsta() {
return rspsta;
}
public void setRspsta(String rspsta) {
this.rspsta = rspsta == null ? null : rspsta.trim();
}
public String getPrvrspsta() {
return prvrspsta;
}
public void setPrvrspsta(String prvrspsta) {
this.prvrspsta = prvrspsta == null ? null : prvrspsta.trim();
}
public String getUsr() {
return usr;
}
public void setUsr(String usr) {
this.usr = usr == null ? null : usr.trim();
}
public String getFrmnam() {
return frmnam;
}
public void setFrmnam(String frmnam) {
this.frmnam = frmnam == null ? null : frmnam.trim();
}
public String getEtyinr() {
return etyinr;
}
public void setEtyinr(String etyinr) {
this.etyinr = etyinr == null ? null : etyinr.trim();
}
public String getPtyinr() {
return ptyinr;
}
public void setPtyinr(String ptyinr) {
this.ptyinr = ptyinr == null ? null : ptyinr.trim();
}
}
\ No newline at end of file
package com.brilliance.entity;
import java.util.Date;
public class Mpi {
private String inr;
private String act;
private Short amt;
private String cur;
private String dir;
private Date gendat;
private String msgtyp;
private String n20sha;
private String othref;
private String ownref;
private String rcvbic;
private String sndbic;
private String actbic;
private String subtyp;
private String taglst;
private String tagsha;
private String excmsg;
private Date valdat;
private String rpscod;
private String sndnum;
private String t53bic;
private String srcnum;
private String usrnam;
private String dtlchg;
private String etyinr;
private String ptyinr;
private String flg;
private String actsta;
private String fwdref;
private String fwdref2;
private String cjzsta;
private String branch;
private String gpi;
private String uetr;
private String systrackn;
private String accdat;
private Short selamt;
private String selcur;
private String msg71f;
private String gpival;
private String lcnb;
private String msgid;
private String sndflg;
private String biztyp;
private Date expsetdat;
private String paybic;
private String recbic;
private String rcvindbic;
private String sndindbic;
private String xdzsta;
private Long ismx;
private Short endtid;
private String dettyp;
private String loginoprtp;
private String sid;
private String mtp;
private String txtpcd;
private String ctgpcd;
private String mid;
private Date credat;
private String insgdp;
private String insdpl;
private String insgty;
private String insgpl;
private String insddp;
private String insddl;
private String insdty;
private String inspdl;
private String syscod;
private String rmk;
private String orgmid;
private String orginspty;
private String orginapty;
private String orgmsgtyp;
private Date orgsnddat;
private String stscod;
private String prcmsgdig;
private String rspmsg;
private String prcsts;
private String proccd;
private String rjcinf;
private Date sstdat;
private Date rcvdat;
private Date trndat;
private String orpmid;
private String orpinspty;
private String orpinapty;
private String orityp;
private Date oridat;
private String orists;
private String opinfo;
private Date oriaccdat;
private String trasts;
private String bllpaysts;
private String remark;
private String cursyssts;
private Object prccod;
private String envmsgtyp;
private String msgcnt;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getAct() {
return act;
}
public void setAct(String act) {
this.act = act == null ? null : act.trim();
}
public Short getAmt() {
return amt;
}
public void setAmt(Short amt) {
this.amt = amt;
}
public String getCur() {
return cur;
}
public void setCur(String cur) {
this.cur = cur == null ? null : cur.trim();
}
public String getDir() {
return dir;
}
public void setDir(String dir) {
this.dir = dir == null ? null : dir.trim();
}
public Date getGendat() {
return gendat;
}
public void setGendat(Date gendat) {
this.gendat = gendat;
}
public String getMsgtyp() {
return msgtyp;
}
public void setMsgtyp(String msgtyp) {
this.msgtyp = msgtyp == null ? null : msgtyp.trim();
}
public String getN20sha() {
return n20sha;
}
public void setN20sha(String n20sha) {
this.n20sha = n20sha == null ? null : n20sha.trim();
}
public String getOthref() {
return othref;
}
public void setOthref(String othref) {
this.othref = othref == null ? null : othref.trim();
}
public String getOwnref() {
return ownref;
}
public void setOwnref(String ownref) {
this.ownref = ownref == null ? null : ownref.trim();
}
public String getRcvbic() {
return rcvbic;
}
public void setRcvbic(String rcvbic) {
this.rcvbic = rcvbic == null ? null : rcvbic.trim();
}
public String getSndbic() {
return sndbic;
}
public void setSndbic(String sndbic) {
this.sndbic = sndbic == null ? null : sndbic.trim();
}
public String getActbic() {
return actbic;
}
public void setActbic(String actbic) {
this.actbic = actbic == null ? null : actbic.trim();
}
public String getSubtyp() {
return subtyp;
}
public void setSubtyp(String subtyp) {
this.subtyp = subtyp == null ? null : subtyp.trim();
}
public String getTaglst() {
return taglst;
}
public void setTaglst(String taglst) {
this.taglst = taglst == null ? null : taglst.trim();
}
public String getTagsha() {
return tagsha;
}
public void setTagsha(String tagsha) {
this.tagsha = tagsha == null ? null : tagsha.trim();
}
public String getExcmsg() {
return excmsg;
}
public void setExcmsg(String excmsg) {
this.excmsg = excmsg == null ? null : excmsg.trim();
}
public Date getValdat() {
return valdat;
}
public void setValdat(Date valdat) {
this.valdat = valdat;
}
public String getRpscod() {
return rpscod;
}
public void setRpscod(String rpscod) {
this.rpscod = rpscod == null ? null : rpscod.trim();
}
public String getSndnum() {
return sndnum;
}
public void setSndnum(String sndnum) {
this.sndnum = sndnum == null ? null : sndnum.trim();
}
public String getT53bic() {
return t53bic;
}
public void setT53bic(String t53bic) {
this.t53bic = t53bic == null ? null : t53bic.trim();
}
public String getSrcnum() {
return srcnum;
}
public void setSrcnum(String srcnum) {
this.srcnum = srcnum == null ? null : srcnum.trim();
}
public String getUsrnam() {
return usrnam;
}
public void setUsrnam(String usrnam) {
this.usrnam = usrnam == null ? null : usrnam.trim();
}
public String getDtlchg() {
return dtlchg;
}
public void setDtlchg(String dtlchg) {
this.dtlchg = dtlchg == null ? null : dtlchg.trim();
}
public String getEtyinr() {
return etyinr;
}
public void setEtyinr(String etyinr) {
this.etyinr = etyinr == null ? null : etyinr.trim();
}
public String getPtyinr() {
return ptyinr;
}
public void setPtyinr(String ptyinr) {
this.ptyinr = ptyinr == null ? null : ptyinr.trim();
}
public String getFlg() {
return flg;
}
public void setFlg(String flg) {
this.flg = flg == null ? null : flg.trim();
}
public String getActsta() {
return actsta;
}
public void setActsta(String actsta) {
this.actsta = actsta == null ? null : actsta.trim();
}
public String getFwdref() {
return fwdref;
}
public void setFwdref(String fwdref) {
this.fwdref = fwdref == null ? null : fwdref.trim();
}
public String getFwdref2() {
return fwdref2;
}
public void setFwdref2(String fwdref2) {
this.fwdref2 = fwdref2 == null ? null : fwdref2.trim();
}
public String getCjzsta() {
return cjzsta;
}
public void setCjzsta(String cjzsta) {
this.cjzsta = cjzsta == null ? null : cjzsta.trim();
}
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch == null ? null : branch.trim();
}
public String getGpi() {
return gpi;
}
public void setGpi(String gpi) {
this.gpi = gpi == null ? null : gpi.trim();
}
public String getUetr() {
return uetr;
}
public void setUetr(String uetr) {
this.uetr = uetr == null ? null : uetr.trim();
}
public String getSystrackn() {
return systrackn;
}
public void setSystrackn(String systrackn) {
this.systrackn = systrackn == null ? null : systrackn.trim();
}
public String getAccdat() {
return accdat;
}
public void setAccdat(String accdat) {
this.accdat = accdat == null ? null : accdat.trim();
}
public Short getSelamt() {
return selamt;
}
public void setSelamt(Short selamt) {
this.selamt = selamt;
}
public String getSelcur() {
return selcur;
}
public void setSelcur(String selcur) {
this.selcur = selcur == null ? null : selcur.trim();
}
public String getMsg71f() {
return msg71f;
}
public void setMsg71f(String msg71f) {
this.msg71f = msg71f == null ? null : msg71f.trim();
}
public String getGpival() {
return gpival;
}
public void setGpival(String gpival) {
this.gpival = gpival == null ? null : gpival.trim();
}
public String getLcnb() {
return lcnb;
}
public void setLcnb(String lcnb) {
this.lcnb = lcnb == null ? null : lcnb.trim();
}
public String getMsgid() {
return msgid;
}
public void setMsgid(String msgid) {
this.msgid = msgid == null ? null : msgid.trim();
}
public String getSndflg() {
return sndflg;
}
public void setSndflg(String sndflg) {
this.sndflg = sndflg == null ? null : sndflg.trim();
}
public String getBiztyp() {
return biztyp;
}
public void setBiztyp(String biztyp) {
this.biztyp = biztyp == null ? null : biztyp.trim();
}
public Date getExpsetdat() {
return expsetdat;
}
public void setExpsetdat(Date expsetdat) {
this.expsetdat = expsetdat;
}
public String getPaybic() {
return paybic;
}
public void setPaybic(String paybic) {
this.paybic = paybic == null ? null : paybic.trim();
}
public String getRecbic() {
return recbic;
}
public void setRecbic(String recbic) {
this.recbic = recbic == null ? null : recbic.trim();
}
public String getRcvindbic() {
return rcvindbic;
}
public void setRcvindbic(String rcvindbic) {
this.rcvindbic = rcvindbic == null ? null : rcvindbic.trim();
}
public String getSndindbic() {
return sndindbic;
}
public void setSndindbic(String sndindbic) {
this.sndindbic = sndindbic == null ? null : sndindbic.trim();
}
public String getXdzsta() {
return xdzsta;
}
public void setXdzsta(String xdzsta) {
this.xdzsta = xdzsta == null ? null : xdzsta.trim();
}
public Long getIsmx() {
return ismx;
}
public void setIsmx(Long ismx) {
this.ismx = ismx;
}
public Short getEndtid() {
return endtid;
}
public void setEndtid(Short endtid) {
this.endtid = endtid;
}
public String getDettyp() {
return dettyp;
}
public void setDettyp(String dettyp) {
this.dettyp = dettyp == null ? null : dettyp.trim();
}
public String getLoginoprtp() {
return loginoprtp;
}
public void setLoginoprtp(String loginoprtp) {
this.loginoprtp = loginoprtp == null ? null : loginoprtp.trim();
}
public String getSid() {
return sid;
}
public void setSid(String sid) {
this.sid = sid == null ? null : sid.trim();
}
public String getMtp() {
return mtp;
}
public void setMtp(String mtp) {
this.mtp = mtp == null ? null : mtp.trim();
}
public String getTxtpcd() {
return txtpcd;
}
public void setTxtpcd(String txtpcd) {
this.txtpcd = txtpcd == null ? null : txtpcd.trim();
}
public String getCtgpcd() {
return ctgpcd;
}
public void setCtgpcd(String ctgpcd) {
this.ctgpcd = ctgpcd == null ? null : ctgpcd.trim();
}
public String getMid() {
return mid;
}
public void setMid(String mid) {
this.mid = mid == null ? null : mid.trim();
}
public Date getCredat() {
return credat;
}
public void setCredat(Date credat) {
this.credat = credat;
}
public String getInsgdp() {
return insgdp;
}
public void setInsgdp(String insgdp) {
this.insgdp = insgdp == null ? null : insgdp.trim();
}
public String getInsdpl() {
return insdpl;
}
public void setInsdpl(String insdpl) {
this.insdpl = insdpl == null ? null : insdpl.trim();
}
public String getInsgty() {
return insgty;
}
public void setInsgty(String insgty) {
this.insgty = insgty == null ? null : insgty.trim();
}
public String getInsgpl() {
return insgpl;
}
public void setInsgpl(String insgpl) {
this.insgpl = insgpl == null ? null : insgpl.trim();
}
public String getInsddp() {
return insddp;
}
public void setInsddp(String insddp) {
this.insddp = insddp == null ? null : insddp.trim();
}
public String getInsddl() {
return insddl;
}
public void setInsddl(String insddl) {
this.insddl = insddl == null ? null : insddl.trim();
}
public String getInsdty() {
return insdty;
}
public void setInsdty(String insdty) {
this.insdty = insdty == null ? null : insdty.trim();
}
public String getInspdl() {
return inspdl;
}
public void setInspdl(String inspdl) {
this.inspdl = inspdl == null ? null : inspdl.trim();
}
public String getSyscod() {
return syscod;
}
public void setSyscod(String syscod) {
this.syscod = syscod == null ? null : syscod.trim();
}
public String getRmk() {
return rmk;
}
public void setRmk(String rmk) {
this.rmk = rmk == null ? null : rmk.trim();
}
public String getOrgmid() {
return orgmid;
}
public void setOrgmid(String orgmid) {
this.orgmid = orgmid == null ? null : orgmid.trim();
}
public String getOrginspty() {
return orginspty;
}
public void setOrginspty(String orginspty) {
this.orginspty = orginspty == null ? null : orginspty.trim();
}
public String getOrginapty() {
return orginapty;
}
public void setOrginapty(String orginapty) {
this.orginapty = orginapty == null ? null : orginapty.trim();
}
public String getOrgmsgtyp() {
return orgmsgtyp;
}
public void setOrgmsgtyp(String orgmsgtyp) {
this.orgmsgtyp = orgmsgtyp == null ? null : orgmsgtyp.trim();
}
public Date getOrgsnddat() {
return orgsnddat;
}
public void setOrgsnddat(Date orgsnddat) {
this.orgsnddat = orgsnddat;
}
public String getStscod() {
return stscod;
}
public void setStscod(String stscod) {
this.stscod = stscod == null ? null : stscod.trim();
}
public String getPrcmsgdig() {
return prcmsgdig;
}
public void setPrcmsgdig(String prcmsgdig) {
this.prcmsgdig = prcmsgdig == null ? null : prcmsgdig.trim();
}
public String getRspmsg() {
return rspmsg;
}
public void setRspmsg(String rspmsg) {
this.rspmsg = rspmsg == null ? null : rspmsg.trim();
}
public String getPrcsts() {
return prcsts;
}
public void setPrcsts(String prcsts) {
this.prcsts = prcsts == null ? null : prcsts.trim();
}
public String getProccd() {
return proccd;
}
public void setProccd(String proccd) {
this.proccd = proccd == null ? null : proccd.trim();
}
public String getRjcinf() {
return rjcinf;
}
public void setRjcinf(String rjcinf) {
this.rjcinf = rjcinf == null ? null : rjcinf.trim();
}
public Date getSstdat() {
return sstdat;
}
public void setSstdat(Date sstdat) {
this.sstdat = sstdat;
}
public Date getRcvdat() {
return rcvdat;
}
public void setRcvdat(Date rcvdat) {
this.rcvdat = rcvdat;
}
public Date getTrndat() {
return trndat;
}
public void setTrndat(Date trndat) {
this.trndat = trndat;
}
public String getOrpmid() {
return orpmid;
}
public void setOrpmid(String orpmid) {
this.orpmid = orpmid == null ? null : orpmid.trim();
}
public String getOrpinspty() {
return orpinspty;
}
public void setOrpinspty(String orpinspty) {
this.orpinspty = orpinspty == null ? null : orpinspty.trim();
}
public String getOrpinapty() {
return orpinapty;
}
public void setOrpinapty(String orpinapty) {
this.orpinapty = orpinapty == null ? null : orpinapty.trim();
}
public String getOrityp() {
return orityp;
}
public void setOrityp(String orityp) {
this.orityp = orityp == null ? null : orityp.trim();
}
public Date getOridat() {
return oridat;
}
public void setOridat(Date oridat) {
this.oridat = oridat;
}
public String getOrists() {
return orists;
}
public void setOrists(String orists) {
this.orists = orists == null ? null : orists.trim();
}
public String getOpinfo() {
return opinfo;
}
public void setOpinfo(String opinfo) {
this.opinfo = opinfo == null ? null : opinfo.trim();
}
public Date getOriaccdat() {
return oriaccdat;
}
public void setOriaccdat(Date oriaccdat) {
this.oriaccdat = oriaccdat;
}
public String getTrasts() {
return trasts;
}
public void setTrasts(String trasts) {
this.trasts = trasts == null ? null : trasts.trim();
}
public String getBllpaysts() {
return bllpaysts;
}
public void setBllpaysts(String bllpaysts) {
this.bllpaysts = bllpaysts == null ? null : bllpaysts.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public String getCursyssts() {
return cursyssts;
}
public void setCursyssts(String cursyssts) {
this.cursyssts = cursyssts == null ? null : cursyssts.trim();
}
public Object getPrccod() {
return prccod;
}
public void setPrccod(Object prccod) {
this.prccod = prccod;
}
public String getEnvmsgtyp() {
return envmsgtyp;
}
public void setEnvmsgtyp(String envmsgtyp) {
this.envmsgtyp = envmsgtyp == null ? null : envmsgtyp.trim();
}
public String getMsgcnt() {
return msgcnt;
}
public void setMsgcnt(String msgcnt) {
this.msgcnt = msgcnt == null ? null : msgcnt.trim();
}
}
\ No newline at end of file
package com.brilliance.entity;
import java.util.Date;
public class Mps {
private String inr;
private String chncod;
private String dir;
private Date lstdattim;
private String nxtchncod;
private String pntinr;
private Date rcvdattim;
private Date rspdattim;
private String rspsta;
private String smhinr;
private Date snddattim;
private String srcchncod;
private String sta;
private String nxtsta;
private String stp;
private Date sttdattim;
private String tgtchncod;
private Date tgtdattime;
private String isman;
private String isblk;
private String etyinr;
private String ptyinr;
private String flg;
private String rspcod;
private String reptrksta;
private String swetyp;
private String sweack;
private String rptsta;
private String messageid;
private String blktyp;
private String xhxflg;
private Long ismx;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getChncod() {
return chncod;
}
public void setChncod(String chncod) {
this.chncod = chncod == null ? null : chncod.trim();
}
public String getDir() {
return dir;
}
public void setDir(String dir) {
this.dir = dir == null ? null : dir.trim();
}
public Date getLstdattim() {
return lstdattim;
}
public void setLstdattim(Date lstdattim) {
this.lstdattim = lstdattim;
}
public String getNxtchncod() {
return nxtchncod;
}
public void setNxtchncod(String nxtchncod) {
this.nxtchncod = nxtchncod == null ? null : nxtchncod.trim();
}
public String getPntinr() {
return pntinr;
}
public void setPntinr(String pntinr) {
this.pntinr = pntinr == null ? null : pntinr.trim();
}
public Date getRcvdattim() {
return rcvdattim;
}
public void setRcvdattim(Date rcvdattim) {
this.rcvdattim = rcvdattim;
}
public Date getRspdattim() {
return rspdattim;
}
public void setRspdattim(Date rspdattim) {
this.rspdattim = rspdattim;
}
public String getRspsta() {
return rspsta;
}
public void setRspsta(String rspsta) {
this.rspsta = rspsta == null ? null : rspsta.trim();
}
public String getSmhinr() {
return smhinr;
}
public void setSmhinr(String smhinr) {
this.smhinr = smhinr == null ? null : smhinr.trim();
}
public Date getSnddattim() {
return snddattim;
}
public void setSnddattim(Date snddattim) {
this.snddattim = snddattim;
}
public String getSrcchncod() {
return srcchncod;
}
public void setSrcchncod(String srcchncod) {
this.srcchncod = srcchncod == null ? null : srcchncod.trim();
}
public String getSta() {
return sta;
}
public void setSta(String sta) {
this.sta = sta == null ? null : sta.trim();
}
public String getNxtsta() {
return nxtsta;
}
public void setNxtsta(String nxtsta) {
this.nxtsta = nxtsta == null ? null : nxtsta.trim();
}
public String getStp() {
return stp;
}
public void setStp(String stp) {
this.stp = stp == null ? null : stp.trim();
}
public Date getSttdattim() {
return sttdattim;
}
public void setSttdattim(Date sttdattim) {
this.sttdattim = sttdattim;
}
public String getTgtchncod() {
return tgtchncod;
}
public void setTgtchncod(String tgtchncod) {
this.tgtchncod = tgtchncod == null ? null : tgtchncod.trim();
}
public Date getTgtdattime() {
return tgtdattime;
}
public void setTgtdattime(Date tgtdattime) {
this.tgtdattime = tgtdattime;
}
public String getIsman() {
return isman;
}
public void setIsman(String isman) {
this.isman = isman == null ? null : isman.trim();
}
public String getIsblk() {
return isblk;
}
public void setIsblk(String isblk) {
this.isblk = isblk == null ? null : isblk.trim();
}
public String getEtyinr() {
return etyinr;
}
public void setEtyinr(String etyinr) {
this.etyinr = etyinr == null ? null : etyinr.trim();
}
public String getPtyinr() {
return ptyinr;
}
public void setPtyinr(String ptyinr) {
this.ptyinr = ptyinr == null ? null : ptyinr.trim();
}
public String getFlg() {
return flg;
}
public void setFlg(String flg) {
this.flg = flg == null ? null : flg.trim();
}
public String getRspcod() {
return rspcod;
}
public void setRspcod(String rspcod) {
this.rspcod = rspcod == null ? null : rspcod.trim();
}
public String getReptrksta() {
return reptrksta;
}
public void setReptrksta(String reptrksta) {
this.reptrksta = reptrksta == null ? null : reptrksta.trim();
}
public String getSwetyp() {
return swetyp;
}
public void setSwetyp(String swetyp) {
this.swetyp = swetyp == null ? null : swetyp.trim();
}
public String getSweack() {
return sweack;
}
public void setSweack(String sweack) {
this.sweack = sweack == null ? null : sweack.trim();
}
public String getRptsta() {
return rptsta;
}
public void setRptsta(String rptsta) {
this.rptsta = rptsta == null ? null : rptsta.trim();
}
public String getMessageid() {
return messageid;
}
public void setMessageid(String messageid) {
this.messageid = messageid == null ? null : messageid.trim();
}
public String getBlktyp() {
return blktyp;
}
public void setBlktyp(String blktyp) {
this.blktyp = blktyp == null ? null : blktyp.trim();
}
public String getXhxflg() {
return xhxflg;
}
public void setXhxflg(String xhxflg) {
this.xhxflg = xhxflg == null ? null : xhxflg.trim();
}
public Long getIsmx() {
return ismx;
}
public void setIsmx(Long ismx) {
this.ismx = ismx;
}
}
\ No newline at end of file
package com.brilliance.entity;
public class Rol {
private String inr;
private String rolnam;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getRolnam() {
return rolnam;
}
public void setRolnam(String rolnam) {
this.rolnam = rolnam == null ? null : rolnam.trim();
}
}
\ No newline at end of file
package com.brilliance.entity;
public class Usr {
private String inr;
private String usrnam;
private Integer age;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getUsrnam() {
return usrnam;
}
public void setUsrnam(String usrnam) {
this.usrnam = usrnam == null ? null : usrnam.trim();
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
}
\ No newline at end of file
package com.brilliance.entity;
public class UsrRol {
private String inr;
private String usrinr;
private String rolinr;
public String getInr() {
return inr;
}
public void setInr(String inr) {
this.inr = inr == null ? null : inr.trim();
}
public String getUsrinr() {
return usrinr;
}
public void setUsrinr(String usrinr) {
this.usrinr = usrinr == null ? null : usrinr.trim();
}
public String getRolinr() {
return rolinr;
}
public void setRolinr(String rolinr) {
this.rolinr = rolinr == null ? null : rolinr.trim();
}
}
\ No newline at end of file
......@@ -6,7 +6,7 @@ import org.springframework.web.servlet.config.annotation.InterceptorRegistration
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
//@Configuration
public class WebConfig implements WebMvcConfigurer {
@Bean
......
package com.brilliance.mapper;
import com.brilliance.entity.Mpe;
public interface MpeMapper {
int insert(Mpe record);
int insertSelective(Mpe record);
}
\ No newline at end of file
package com.brilliance.mapper;
import com.brilliance.entity.Mpi;
public interface MpiMapper {
int insert(Mpi record);
int insertSelective(Mpi record);
}
\ No newline at end of file
package com.brilliance.mapper;
import com.brilliance.entity.Mps;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface MpsMapper {
int deleteByPrimaryKey(String inr);
int insert(Mps record);
int insertSelective(Mps record);
Mps selectByPrimaryKey(String inr);
int updateByPrimaryKeySelective(Mps record);
int updateByPrimaryKey(Mps record);
List<Mps> getMpsList(@Param("dir") String dir,@Param("sta") String sta,@Param("sttdattim") Date sttdattim) ;
}
\ No newline at end of file
package com.brilliance.mapper;
import com.brilliance.entity.Rol;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface RolMapper {
int deleteByPrimaryKey(String inr);
int insert(Rol record);
int insertSelective(Rol record);
Rol selectByPrimaryKey(String inr);
int updateByPrimaryKeySelective(Rol record);
int updateByPrimaryKey(Rol record);
}
\ No newline at end of file
package com.brilliance.mapper;
import com.brilliance.entity.Usr;
import com.brilliance.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface UsrMapper {
int deleteByPrimaryKey(String inr);
int insert(Usr record);
int insertSelective(Usr record);
Usr selectByPrimaryKey(String inr);
int updateByPrimaryKeySelective(Usr record);
int updateByPrimaryKey(Usr record);
/**
* 查询用户列表
*
* @return
*/
List<UserVO> selectUserList();
}
\ No newline at end of file
package com.brilliance.mapper;
import com.brilliance.entity.UsrRol;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UsrRolMapper {
int deleteByPrimaryKey(String inr);
int insert(UsrRol record);
int insertSelective(UsrRol record);
UsrRol selectByPrimaryKey(String inr);
int updateByPrimaryKeySelective(UsrRol record);
int updateByPrimaryKey(UsrRol record);
}
\ No newline at end of file
package com.brilliance.service;
import com.brilliance.entity.Mps;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* @Description
* @Author gechengyang
* @Date 2023/10/23
*/
public interface MpsService {
List<Mps> getMpsList(@Param("dir") String dir, @Param("sta") String sta, @Param("sttdattim") Date sttdattim);
}
package com.brilliance.service;
import com.brilliance.vo.PageData;
import com.brilliance.vo.UserVO;
import java.util.List;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
*/
public interface UserService {
/**
* 查询用户列表
*
* @param pageNum
* @param pageSize
* @return
*/
PageData<UserVO> userList(Integer pageNum, Integer pageSize);
}
package com.brilliance.service.impl;
import com.brilliance.entity.Mps;
import com.brilliance.mapper.MpsMapper;
import com.brilliance.service.MpsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;
/**
* @Description
* @Author gechengyang
* @Date 2023/10/23
*/
@Service
public class MpsServiceServiceImpl implements MpsService {
@Autowired
private MpsMapper mpsMapper;
@Override
public List<Mps> getMpsList(String dir, String sta, Date sttdattim) {
return mpsMapper.getMpsList(dir,sta,sttdattim);
}
}
package com.brilliance.service.impl;
import com.brilliance.mapper.UsrMapper;
import com.brilliance.service.UserService;
import com.brilliance.vo.PageData;
import com.brilliance.vo.UserVO;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
*/
@Service
public class UserServiceImpl implements UserService {
@Autowired
private UsrMapper usrMapper;
@Override
public PageData<UserVO> userList(Integer pageNum, Integer pageSize) {
PageHelper.startPage(pageNum, pageSize);
List<UserVO> list = usrMapper.selectUserList();
PageInfo<UserVO> pageInfo = PageInfo.of(list);
PageHelper.clearPage();
PageData pageData = new PageData(list, pageInfo.getPageNum(), pageInfo.getPageSize(), pageInfo.getPages(), pageInfo.getTotal());
return pageData;
}
}
package com.brilliance.vo;
import lombok.Data;
import java.util.List;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
*/
@Data
public class PageData<T> {
/**
* 页码
*/
private Integer pageNum;
/**
* 分页大小
*/
private Integer pageSize;
/**
* 总页数
*/
private Integer pages;
/**
* 数据总数量
*/
private Long total;
private List<T> list;
public PageData() {
}
public PageData(List<T> list, Integer pageNum, Integer pageSize, Integer pages, Long total) {
this.list = list;
this.pageNum = pageNum;
this.pageSize = pageSize;
this.pages = pages;
this.total = total;
}
}
......@@ -4,8 +4,8 @@ import lombok.Data;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
* @Author gechengyang
* @Date 2023/10/23
*/
@Data
public class Result {
......
package com.brilliance.vo;
import lombok.Data;
/**
* @Description
* @Author s_guodong
* @Date 2022/12/6
*/
@Data
public class UserVO {
/**
* 用户标识
*/
private String usrInr;
/**
* 用户名称
*/
private String usrNam;
/**
* 用户年纪
*/
private Integer age;
/**
* 用户角色名称
*/
private String rolNam;
}
......@@ -3,9 +3,9 @@ server:
spring:
datasource:
url: jdbc:mysql://localhost:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: 123456
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:oracle:thin:@114.115.138.98:9400:XE
username: test
password: test
driver-class-name: oracle.jdbc.driver.OracleDriver
<?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.brilliance.mapper.MpeMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.Mpe" >
<result column="INR" property="inr" jdbcType="CHAR" />
<result column="CHNCOD" property="chncod" jdbcType="VARCHAR" />
<result column="DATTIM" property="dattim" jdbcType="TIMESTAMP" />
<result column="MPSINR" property="mpsinr" jdbcType="VARCHAR" />
<result column="NXTCHNCOD" property="nxtchncod" jdbcType="VARCHAR" />
<result column="NXTSMHINR" property="nxtsmhinr" jdbcType="VARCHAR" />
<result column="PRVSTA" property="prvsta" jdbcType="CHAR" />
<result column="SMHINR" property="smhinr" jdbcType="VARCHAR" />
<result column="STA" property="sta" jdbcType="CHAR" />
<result column="TXT" property="txt" jdbcType="VARCHAR" />
<result column="RSPSTA" property="rspsta" jdbcType="CHAR" />
<result column="PRVRSPSTA" property="prvrspsta" jdbcType="CHAR" />
<result column="USR" property="usr" jdbcType="VARCHAR" />
<result column="FRMNAM" property="frmnam" jdbcType="VARCHAR" />
<result column="ETYINR" property="etyinr" jdbcType="CHAR" />
<result column="PTYINR" property="ptyinr" jdbcType="CHAR" />
</resultMap>
<insert id="insert" parameterType="com.brilliance.entity.Mpe" >
insert into TEST.MPE (INR, CHNCOD, DATTIM,
MPSINR, NXTCHNCOD, NXTSMHINR,
PRVSTA, SMHINR, STA, TXT,
RSPSTA, PRVRSPSTA, USR, FRMNAM,
ETYINR, PTYINR)
values (#{inr,jdbcType=CHAR}, #{chncod,jdbcType=VARCHAR}, #{dattim,jdbcType=TIMESTAMP},
#{mpsinr,jdbcType=VARCHAR}, #{nxtchncod,jdbcType=VARCHAR}, #{nxtsmhinr,jdbcType=VARCHAR},
#{prvsta,jdbcType=CHAR}, #{smhinr,jdbcType=VARCHAR}, #{sta,jdbcType=CHAR}, #{txt,jdbcType=VARCHAR},
#{rspsta,jdbcType=CHAR}, #{prvrspsta,jdbcType=CHAR}, #{usr,jdbcType=VARCHAR}, #{frmnam,jdbcType=VARCHAR},
#{etyinr,jdbcType=CHAR}, #{ptyinr,jdbcType=CHAR})
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.Mpe" >
insert into TEST.MPE
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
INR,
</if>
<if test="chncod != null" >
CHNCOD,
</if>
<if test="dattim != null" >
DATTIM,
</if>
<if test="mpsinr != null" >
MPSINR,
</if>
<if test="nxtchncod != null" >
NXTCHNCOD,
</if>
<if test="nxtsmhinr != null" >
NXTSMHINR,
</if>
<if test="prvsta != null" >
PRVSTA,
</if>
<if test="smhinr != null" >
SMHINR,
</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="usr != null" >
USR,
</if>
<if test="frmnam != null" >
FRMNAM,
</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=CHAR},
</if>
<if test="chncod != null" >
#{chncod,jdbcType=VARCHAR},
</if>
<if test="dattim != null" >
#{dattim,jdbcType=TIMESTAMP},
</if>
<if test="mpsinr != null" >
#{mpsinr,jdbcType=VARCHAR},
</if>
<if test="nxtchncod != null" >
#{nxtchncod,jdbcType=VARCHAR},
</if>
<if test="nxtsmhinr != null" >
#{nxtsmhinr,jdbcType=VARCHAR},
</if>
<if test="prvsta != null" >
#{prvsta,jdbcType=CHAR},
</if>
<if test="smhinr != null" >
#{smhinr,jdbcType=VARCHAR},
</if>
<if test="sta != null" >
#{sta,jdbcType=CHAR},
</if>
<if test="txt != null" >
#{txt,jdbcType=VARCHAR},
</if>
<if test="rspsta != null" >
#{rspsta,jdbcType=CHAR},
</if>
<if test="prvrspsta != null" >
#{prvrspsta,jdbcType=CHAR},
</if>
<if test="usr != null" >
#{usr,jdbcType=VARCHAR},
</if>
<if test="frmnam != null" >
#{frmnam,jdbcType=VARCHAR},
</if>
<if test="etyinr != null" >
#{etyinr,jdbcType=CHAR},
</if>
<if test="ptyinr != null" >
#{ptyinr,jdbcType=CHAR},
</if>
</trim>
</insert>
</mapper>
\ No newline at end of file
<?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.brilliance.mapper.MpiMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.Mpi" >
<result 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" />
<result column="DIR" property="dir" jdbcType="CHAR" />
<result column="GENDAT" property="gendat" jdbcType="TIMESTAMP" />
<result column="MSGTYP" property="msgtyp" jdbcType="VARCHAR" />
<result column="N20SHA" property="n20sha" jdbcType="VARCHAR" />
<result column="OTHREF" property="othref" jdbcType="VARCHAR" />
<result column="OWNREF" property="ownref" jdbcType="VARCHAR" />
<result column="RCVBIC" property="rcvbic" jdbcType="VARCHAR" />
<result column="SNDBIC" property="sndbic" jdbcType="VARCHAR" />
<result column="ACTBIC" property="actbic" jdbcType="VARCHAR" />
<result column="SUBTYP" property="subtyp" jdbcType="VARCHAR" />
<result column="TAGLST" property="taglst" jdbcType="VARCHAR" />
<result column="TAGSHA" property="tagsha" jdbcType="VARCHAR" />
<result column="EXCMSG" property="excmsg" jdbcType="VARCHAR" />
<result column="VALDAT" property="valdat" jdbcType="TIMESTAMP" />
<result column="RPSCOD" property="rpscod" jdbcType="VARCHAR" />
<result column="SNDNUM" property="sndnum" jdbcType="VARCHAR" />
<result column="T53BIC" property="t53bic" jdbcType="VARCHAR" />
<result column="SRCNUM" property="srcnum" jdbcType="VARCHAR" />
<result column="USRNAM" property="usrnam" jdbcType="VARCHAR" />
<result column="DTLCHG" property="dtlchg" jdbcType="VARCHAR" />
<result column="ETYINR" property="etyinr" jdbcType="CHAR" />
<result column="PTYINR" property="ptyinr" jdbcType="CHAR" />
<result column="FLG" property="flg" jdbcType="CHAR" />
<result column="ACTSTA" property="actsta" jdbcType="VARCHAR" />
<result column="FWDREF" property="fwdref" jdbcType="VARCHAR" />
<result column="FWDREF2" property="fwdref2" jdbcType="VARCHAR" />
<result column="CJZSTA" property="cjzsta" jdbcType="VARCHAR" />
<result column="BRANCH" property="branch" jdbcType="VARCHAR" />
<result column="GPI" property="gpi" jdbcType="VARCHAR" />
<result column="UETR" property="uetr" jdbcType="VARCHAR" />
<result column="SYSTRACKN" property="systrackn" jdbcType="VARCHAR" />
<result column="ACCDAT" property="accdat" jdbcType="VARCHAR" />
<result column="SELAMT" property="selamt" jdbcType="DECIMAL" />
<result column="SELCUR" property="selcur" jdbcType="VARCHAR" />
<result column="MSG71F" property="msg71f" jdbcType="VARCHAR" />
<result column="GPIVAL" property="gpival" jdbcType="VARCHAR" />
<result column="LCNB" property="lcnb" jdbcType="VARCHAR" />
<result column="MSGID" property="msgid" jdbcType="VARCHAR" />
<result column="SNDFLG" property="sndflg" jdbcType="VARCHAR" />
<result column="BIZTYP" property="biztyp" jdbcType="VARCHAR" />
<result column="EXPSETDAT" property="expsetdat" jdbcType="TIMESTAMP" />
<result column="PAYBIC" property="paybic" jdbcType="VARCHAR" />
<result column="RECBIC" property="recbic" jdbcType="VARCHAR" />
<result column="RCVINDBIC" property="rcvindbic" jdbcType="VARCHAR" />
<result column="SNDINDBIC" property="sndindbic" jdbcType="VARCHAR" />
<result column="XDZSTA" property="xdzsta" jdbcType="VARCHAR" />
<result column="ISMX" property="ismx" jdbcType="DECIMAL" />
<result column="ENDTID" property="endtid" jdbcType="DECIMAL" />
<result column="DETTYP" property="dettyp" jdbcType="VARCHAR" />
<result column="LOGINOPRTP" property="loginoprtp" jdbcType="VARCHAR" />
<result column="SID" property="sid" jdbcType="VARCHAR" />
<result column="MTP" property="mtp" jdbcType="VARCHAR" />
<result column="TXTPCD" property="txtpcd" jdbcType="VARCHAR" />
<result column="CTGPCD" property="ctgpcd" jdbcType="VARCHAR" />
<result column="MID" property="mid" jdbcType="VARCHAR" />
<result column="CREDAT" property="credat" jdbcType="TIMESTAMP" />
<result column="INSGDP" property="insgdp" jdbcType="VARCHAR" />
<result column="INSDPL" property="insdpl" jdbcType="VARCHAR" />
<result column="INSGTY" property="insgty" jdbcType="VARCHAR" />
<result column="INSGPL" property="insgpl" jdbcType="VARCHAR" />
<result column="INSDDP" property="insddp" jdbcType="VARCHAR" />
<result column="INSDDL" property="insddl" jdbcType="VARCHAR" />
<result column="INSDTY" property="insdty" jdbcType="VARCHAR" />
<result column="INSPDL" property="inspdl" jdbcType="VARCHAR" />
<result column="SYSCOD" property="syscod" jdbcType="VARCHAR" />
<result column="RMK" property="rmk" jdbcType="VARCHAR" />
<result column="ORGMID" property="orgmid" jdbcType="VARCHAR" />
<result column="ORGINSPTY" property="orginspty" jdbcType="VARCHAR" />
<result column="ORGINAPTY" property="orginapty" jdbcType="VARCHAR" />
<result column="ORGMSGTYP" property="orgmsgtyp" jdbcType="VARCHAR" />
<result column="ORGSNDDAT" property="orgsnddat" jdbcType="TIMESTAMP" />
<result column="STSCOD" property="stscod" jdbcType="VARCHAR" />
<result column="PRCMSGDIG" property="prcmsgdig" jdbcType="VARCHAR" />
<result column="RSPMSG" property="rspmsg" jdbcType="VARCHAR" />
<result column="PRCSTS" property="prcsts" jdbcType="VARCHAR" />
<result column="PROCCD" property="proccd" jdbcType="VARCHAR" />
<result column="RJCINF" property="rjcinf" jdbcType="VARCHAR" />
<result column="SSTDAT" property="sstdat" jdbcType="TIMESTAMP" />
<result column="RCVDAT" property="rcvdat" jdbcType="TIMESTAMP" />
<result column="TRNDAT" property="trndat" jdbcType="TIMESTAMP" />
<result column="ORPMID" property="orpmid" jdbcType="VARCHAR" />
<result column="ORPINSPTY" property="orpinspty" jdbcType="VARCHAR" />
<result column="ORPINAPTY" property="orpinapty" jdbcType="VARCHAR" />
<result column="ORITYP" property="orityp" jdbcType="VARCHAR" />
<result column="ORIDAT" property="oridat" jdbcType="TIMESTAMP" />
<result column="ORISTS" property="orists" jdbcType="VARCHAR" />
<result column="OPINFO" property="opinfo" jdbcType="VARCHAR" />
<result column="ORIACCDAT" property="oriaccdat" jdbcType="TIMESTAMP" />
<result column="TRASTS" property="trasts" jdbcType="VARCHAR" />
<result column="BLLPAYSTS" property="bllpaysts" jdbcType="VARCHAR" />
<result column="REMARK" property="remark" jdbcType="VARCHAR" />
<result column="CURSYSSTS" property="cursyssts" jdbcType="VARCHAR" />
<result column="PRCCOD" property="prccod" jdbcType="OTHER" />
<result column="ENVMSGTYP" property="envmsgtyp" jdbcType="VARCHAR" />
<result column="MSGCNT" property="msgcnt" jdbcType="VARCHAR" />
</resultMap>
<insert id="insert" parameterType="com.brilliance.entity.Mpi" >
insert into TEST.MPI (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)
values (#{inr,jdbcType=CHAR}, #{act,jdbcType=VARCHAR}, #{amt,jdbcType=DECIMAL}, #{cur,jdbcType=VARCHAR},
#{dir,jdbcType=CHAR}, #{gendat,jdbcType=TIMESTAMP}, #{msgtyp,jdbcType=VARCHAR},
#{n20sha,jdbcType=VARCHAR}, #{othref,jdbcType=VARCHAR}, #{ownref,jdbcType=VARCHAR},
#{rcvbic,jdbcType=VARCHAR}, #{sndbic,jdbcType=VARCHAR}, #{actbic,jdbcType=VARCHAR},
#{subtyp,jdbcType=VARCHAR}, #{taglst,jdbcType=VARCHAR}, #{tagsha,jdbcType=VARCHAR},
#{excmsg,jdbcType=VARCHAR}, #{valdat,jdbcType=TIMESTAMP}, #{rpscod,jdbcType=VARCHAR},
#{sndnum,jdbcType=VARCHAR}, #{t53bic,jdbcType=VARCHAR}, #{srcnum,jdbcType=VARCHAR},
#{usrnam,jdbcType=VARCHAR}, #{dtlchg,jdbcType=VARCHAR}, #{etyinr,jdbcType=CHAR},
#{ptyinr,jdbcType=CHAR}, #{flg,jdbcType=CHAR}, #{actsta,jdbcType=VARCHAR}, #{fwdref,jdbcType=VARCHAR},
#{fwdref2,jdbcType=VARCHAR}, #{cjzsta,jdbcType=VARCHAR}, #{branch,jdbcType=VARCHAR},
#{gpi,jdbcType=VARCHAR}, #{uetr,jdbcType=VARCHAR}, #{systrackn,jdbcType=VARCHAR},
#{accdat,jdbcType=VARCHAR}, #{selamt,jdbcType=DECIMAL}, #{selcur,jdbcType=VARCHAR},
#{msg71f,jdbcType=VARCHAR}, #{gpival,jdbcType=VARCHAR}, #{lcnb,jdbcType=VARCHAR},
#{msgid,jdbcType=VARCHAR}, #{sndflg,jdbcType=VARCHAR}, #{biztyp,jdbcType=VARCHAR},
#{expsetdat,jdbcType=TIMESTAMP}, #{paybic,jdbcType=VARCHAR}, #{recbic,jdbcType=VARCHAR},
#{rcvindbic,jdbcType=VARCHAR}, #{sndindbic,jdbcType=VARCHAR}, #{xdzsta,jdbcType=VARCHAR},
#{ismx,jdbcType=DECIMAL}, #{endtid,jdbcType=DECIMAL}, #{dettyp,jdbcType=VARCHAR},
#{loginoprtp,jdbcType=VARCHAR}, #{sid,jdbcType=VARCHAR}, #{mtp,jdbcType=VARCHAR},
#{txtpcd,jdbcType=VARCHAR}, #{ctgpcd,jdbcType=VARCHAR}, #{mid,jdbcType=VARCHAR},
#{credat,jdbcType=TIMESTAMP}, #{insgdp,jdbcType=VARCHAR}, #{insdpl,jdbcType=VARCHAR},
#{insgty,jdbcType=VARCHAR}, #{insgpl,jdbcType=VARCHAR}, #{insddp,jdbcType=VARCHAR},
#{insddl,jdbcType=VARCHAR}, #{insdty,jdbcType=VARCHAR}, #{inspdl,jdbcType=VARCHAR},
#{syscod,jdbcType=VARCHAR}, #{rmk,jdbcType=VARCHAR}, #{orgmid,jdbcType=VARCHAR},
#{orginspty,jdbcType=VARCHAR}, #{orginapty,jdbcType=VARCHAR}, #{orgmsgtyp,jdbcType=VARCHAR},
#{orgsnddat,jdbcType=TIMESTAMP}, #{stscod,jdbcType=VARCHAR}, #{prcmsgdig,jdbcType=VARCHAR},
#{rspmsg,jdbcType=VARCHAR}, #{prcsts,jdbcType=VARCHAR}, #{proccd,jdbcType=VARCHAR},
#{rjcinf,jdbcType=VARCHAR}, #{sstdat,jdbcType=TIMESTAMP}, #{rcvdat,jdbcType=TIMESTAMP},
#{trndat,jdbcType=TIMESTAMP}, #{orpmid,jdbcType=VARCHAR}, #{orpinspty,jdbcType=VARCHAR},
#{orpinapty,jdbcType=VARCHAR}, #{orityp,jdbcType=VARCHAR}, #{oridat,jdbcType=TIMESTAMP},
#{orists,jdbcType=VARCHAR}, #{opinfo,jdbcType=VARCHAR}, #{oriaccdat,jdbcType=TIMESTAMP},
#{trasts,jdbcType=VARCHAR}, #{bllpaysts,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{cursyssts,jdbcType=VARCHAR}, #{prccod,jdbcType=OTHER}, #{envmsgtyp,jdbcType=VARCHAR},
#{msgcnt,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.Mpi" >
insert into TEST.MPI
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
INR,
</if>
<if test="act != null" >
ACT,
</if>
<if test="amt != null" >
AMT,
</if>
<if test="cur != null" >
CUR,
</if>
<if test="dir != null" >
DIR,
</if>
<if test="gendat != null" >
GENDAT,
</if>
<if test="msgtyp != null" >
MSGTYP,
</if>
<if test="n20sha != null" >
N20SHA,
</if>
<if test="othref != null" >
OTHREF,
</if>
<if test="ownref != null" >
OWNREF,
</if>
<if test="rcvbic != null" >
RCVBIC,
</if>
<if test="sndbic != null" >
SNDBIC,
</if>
<if test="actbic != null" >
ACTBIC,
</if>
<if test="subtyp != null" >
SUBTYP,
</if>
<if test="taglst != null" >
TAGLST,
</if>
<if test="tagsha != null" >
TAGSHA,
</if>
<if test="excmsg != null" >
EXCMSG,
</if>
<if test="valdat != null" >
VALDAT,
</if>
<if test="rpscod != null" >
RPSCOD,
</if>
<if test="sndnum != null" >
SNDNUM,
</if>
<if test="t53bic != null" >
T53BIC,
</if>
<if test="srcnum != null" >
SRCNUM,
</if>
<if test="usrnam != null" >
USRNAM,
</if>
<if test="dtlchg != null" >
DTLCHG,
</if>
<if test="etyinr != null" >
ETYINR,
</if>
<if test="ptyinr != null" >
PTYINR,
</if>
<if test="flg != null" >
FLG,
</if>
<if test="actsta != null" >
ACTSTA,
</if>
<if test="fwdref != null" >
FWDREF,
</if>
<if test="fwdref2 != null" >
FWDREF2,
</if>
<if test="cjzsta != null" >
CJZSTA,
</if>
<if test="branch != null" >
BRANCH,
</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="selamt != null" >
SELAMT,
</if>
<if test="selcur != null" >
SELCUR,
</if>
<if test="msg71f != null" >
MSG71F,
</if>
<if test="gpival != null" >
GPIVAL,
</if>
<if test="lcnb != null" >
LCNB,
</if>
<if test="msgid != null" >
MSGID,
</if>
<if test="sndflg != null" >
SNDFLG,
</if>
<if test="biztyp != null" >
BIZTYP,
</if>
<if test="expsetdat != null" >
EXPSETDAT,
</if>
<if test="paybic != null" >
PAYBIC,
</if>
<if test="recbic != null" >
RECBIC,
</if>
<if test="rcvindbic != null" >
RCVINDBIC,
</if>
<if test="sndindbic != null" >
SNDINDBIC,
</if>
<if test="xdzsta != null" >
XDZSTA,
</if>
<if test="ismx != null" >
ISMX,
</if>
<if test="endtid != null" >
ENDTID,
</if>
<if test="dettyp != null" >
DETTYP,
</if>
<if test="loginoprtp != null" >
LOGINOPRTP,
</if>
<if test="sid != null" >
SID,
</if>
<if test="mtp != null" >
MTP,
</if>
<if test="txtpcd != null" >
TXTPCD,
</if>
<if test="ctgpcd != null" >
CTGPCD,
</if>
<if test="mid != null" >
MID,
</if>
<if test="credat != null" >
CREDAT,
</if>
<if test="insgdp != null" >
INSGDP,
</if>
<if test="insdpl != null" >
INSDPL,
</if>
<if test="insgty != null" >
INSGTY,
</if>
<if test="insgpl != null" >
INSGPL,
</if>
<if test="insddp != null" >
INSDDP,
</if>
<if test="insddl != null" >
INSDDL,
</if>
<if test="insdty != null" >
INSDTY,
</if>
<if test="inspdl != null" >
INSPDL,
</if>
<if test="syscod != null" >
SYSCOD,
</if>
<if test="rmk != null" >
RMK,
</if>
<if test="orgmid != null" >
ORGMID,
</if>
<if test="orginspty != null" >
ORGINSPTY,
</if>
<if test="orginapty != null" >
ORGINAPTY,
</if>
<if test="orgmsgtyp != null" >
ORGMSGTYP,
</if>
<if test="orgsnddat != null" >
ORGSNDDAT,
</if>
<if test="stscod != null" >
STSCOD,
</if>
<if test="prcmsgdig != null" >
PRCMSGDIG,
</if>
<if test="rspmsg != null" >
RSPMSG,
</if>
<if test="prcsts != null" >
PRCSTS,
</if>
<if test="proccd != null" >
PROCCD,
</if>
<if test="rjcinf != null" >
RJCINF,
</if>
<if test="sstdat != null" >
SSTDAT,
</if>
<if test="rcvdat != null" >
RCVDAT,
</if>
<if test="trndat != null" >
TRNDAT,
</if>
<if test="orpmid != null" >
ORPMID,
</if>
<if test="orpinspty != null" >
ORPINSPTY,
</if>
<if test="orpinapty != null" >
ORPINAPTY,
</if>
<if test="orityp != null" >
ORITYP,
</if>
<if test="oridat != null" >
ORIDAT,
</if>
<if test="orists != null" >
ORISTS,
</if>
<if test="opinfo != null" >
OPINFO,
</if>
<if test="oriaccdat != null" >
ORIACCDAT,
</if>
<if test="trasts != null" >
TRASTS,
</if>
<if test="bllpaysts != null" >
BLLPAYSTS,
</if>
<if test="remark != null" >
REMARK,
</if>
<if test="cursyssts != null" >
CURSYSSTS,
</if>
<if test="prccod != null" >
PRCCOD,
</if>
<if test="envmsgtyp != null" >
ENVMSGTYP,
</if>
<if test="msgcnt != null" >
MSGCNT,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="inr != null" >
#{inr,jdbcType=CHAR},
</if>
<if test="act != null" >
#{act,jdbcType=VARCHAR},
</if>
<if test="amt != null" >
#{amt,jdbcType=DECIMAL},
</if>
<if test="cur != null" >
#{cur,jdbcType=VARCHAR},
</if>
<if test="dir != null" >
#{dir,jdbcType=CHAR},
</if>
<if test="gendat != null" >
#{gendat,jdbcType=TIMESTAMP},
</if>
<if test="msgtyp != null" >
#{msgtyp,jdbcType=VARCHAR},
</if>
<if test="n20sha != null" >
#{n20sha,jdbcType=VARCHAR},
</if>
<if test="othref != null" >
#{othref,jdbcType=VARCHAR},
</if>
<if test="ownref != null" >
#{ownref,jdbcType=VARCHAR},
</if>
<if test="rcvbic != null" >
#{rcvbic,jdbcType=VARCHAR},
</if>
<if test="sndbic != null" >
#{sndbic,jdbcType=VARCHAR},
</if>
<if test="actbic != null" >
#{actbic,jdbcType=VARCHAR},
</if>
<if test="subtyp != null" >
#{subtyp,jdbcType=VARCHAR},
</if>
<if test="taglst != null" >
#{taglst,jdbcType=VARCHAR},
</if>
<if test="tagsha != null" >
#{tagsha,jdbcType=VARCHAR},
</if>
<if test="excmsg != null" >
#{excmsg,jdbcType=VARCHAR},
</if>
<if test="valdat != null" >
#{valdat,jdbcType=TIMESTAMP},
</if>
<if test="rpscod != null" >
#{rpscod,jdbcType=VARCHAR},
</if>
<if test="sndnum != null" >
#{sndnum,jdbcType=VARCHAR},
</if>
<if test="t53bic != null" >
#{t53bic,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="etyinr != null" >
#{etyinr,jdbcType=CHAR},
</if>
<if test="ptyinr != null" >
#{ptyinr,jdbcType=CHAR},
</if>
<if test="flg != null" >
#{flg,jdbcType=CHAR},
</if>
<if test="actsta != null" >
#{actsta,jdbcType=VARCHAR},
</if>
<if test="fwdref != null" >
#{fwdref,jdbcType=VARCHAR},
</if>
<if test="fwdref2 != null" >
#{fwdref2,jdbcType=VARCHAR},
</if>
<if test="cjzsta != null" >
#{cjzsta,jdbcType=VARCHAR},
</if>
<if test="branch != null" >
#{branch,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="selamt != null" >
#{selamt,jdbcType=DECIMAL},
</if>
<if test="selcur != null" >
#{selcur,jdbcType=VARCHAR},
</if>
<if test="msg71f != null" >
#{msg71f,jdbcType=VARCHAR},
</if>
<if test="gpival != null" >
#{gpival,jdbcType=VARCHAR},
</if>
<if test="lcnb != null" >
#{lcnb,jdbcType=VARCHAR},
</if>
<if test="msgid != null" >
#{msgid,jdbcType=VARCHAR},
</if>
<if test="sndflg != null" >
#{sndflg,jdbcType=VARCHAR},
</if>
<if test="biztyp != null" >
#{biztyp,jdbcType=VARCHAR},
</if>
<if test="expsetdat != null" >
#{expsetdat,jdbcType=TIMESTAMP},
</if>
<if test="paybic != null" >
#{paybic,jdbcType=VARCHAR},
</if>
<if test="recbic != null" >
#{recbic,jdbcType=VARCHAR},
</if>
<if test="rcvindbic != null" >
#{rcvindbic,jdbcType=VARCHAR},
</if>
<if test="sndindbic != null" >
#{sndindbic,jdbcType=VARCHAR},
</if>
<if test="xdzsta != null" >
#{xdzsta,jdbcType=VARCHAR},
</if>
<if test="ismx != null" >
#{ismx,jdbcType=DECIMAL},
</if>
<if test="endtid != null" >
#{endtid,jdbcType=DECIMAL},
</if>
<if test="dettyp != null" >
#{dettyp,jdbcType=VARCHAR},
</if>
<if test="loginoprtp != null" >
#{loginoprtp,jdbcType=VARCHAR},
</if>
<if test="sid != null" >
#{sid,jdbcType=VARCHAR},
</if>
<if test="mtp != null" >
#{mtp,jdbcType=VARCHAR},
</if>
<if test="txtpcd != null" >
#{txtpcd,jdbcType=VARCHAR},
</if>
<if test="ctgpcd != null" >
#{ctgpcd,jdbcType=VARCHAR},
</if>
<if test="mid != null" >
#{mid,jdbcType=VARCHAR},
</if>
<if test="credat != null" >
#{credat,jdbcType=TIMESTAMP},
</if>
<if test="insgdp != null" >
#{insgdp,jdbcType=VARCHAR},
</if>
<if test="insdpl != null" >
#{insdpl,jdbcType=VARCHAR},
</if>
<if test="insgty != null" >
#{insgty,jdbcType=VARCHAR},
</if>
<if test="insgpl != null" >
#{insgpl,jdbcType=VARCHAR},
</if>
<if test="insddp != null" >
#{insddp,jdbcType=VARCHAR},
</if>
<if test="insddl != null" >
#{insddl,jdbcType=VARCHAR},
</if>
<if test="insdty != null" >
#{insdty,jdbcType=VARCHAR},
</if>
<if test="inspdl != null" >
#{inspdl,jdbcType=VARCHAR},
</if>
<if test="syscod != null" >
#{syscod,jdbcType=VARCHAR},
</if>
<if test="rmk != null" >
#{rmk,jdbcType=VARCHAR},
</if>
<if test="orgmid != null" >
#{orgmid,jdbcType=VARCHAR},
</if>
<if test="orginspty != null" >
#{orginspty,jdbcType=VARCHAR},
</if>
<if test="orginapty != null" >
#{orginapty,jdbcType=VARCHAR},
</if>
<if test="orgmsgtyp != null" >
#{orgmsgtyp,jdbcType=VARCHAR},
</if>
<if test="orgsnddat != null" >
#{orgsnddat,jdbcType=TIMESTAMP},
</if>
<if test="stscod != null" >
#{stscod,jdbcType=VARCHAR},
</if>
<if test="prcmsgdig != null" >
#{prcmsgdig,jdbcType=VARCHAR},
</if>
<if test="rspmsg != null" >
#{rspmsg,jdbcType=VARCHAR},
</if>
<if test="prcsts != null" >
#{prcsts,jdbcType=VARCHAR},
</if>
<if test="proccd != null" >
#{proccd,jdbcType=VARCHAR},
</if>
<if test="rjcinf != null" >
#{rjcinf,jdbcType=VARCHAR},
</if>
<if test="sstdat != null" >
#{sstdat,jdbcType=TIMESTAMP},
</if>
<if test="rcvdat != null" >
#{rcvdat,jdbcType=TIMESTAMP},
</if>
<if test="trndat != null" >
#{trndat,jdbcType=TIMESTAMP},
</if>
<if test="orpmid != null" >
#{orpmid,jdbcType=VARCHAR},
</if>
<if test="orpinspty != null" >
#{orpinspty,jdbcType=VARCHAR},
</if>
<if test="orpinapty != null" >
#{orpinapty,jdbcType=VARCHAR},
</if>
<if test="orityp != null" >
#{orityp,jdbcType=VARCHAR},
</if>
<if test="oridat != null" >
#{oridat,jdbcType=TIMESTAMP},
</if>
<if test="orists != null" >
#{orists,jdbcType=VARCHAR},
</if>
<if test="opinfo != null" >
#{opinfo,jdbcType=VARCHAR},
</if>
<if test="oriaccdat != null" >
#{oriaccdat,jdbcType=TIMESTAMP},
</if>
<if test="trasts != null" >
#{trasts,jdbcType=VARCHAR},
</if>
<if test="bllpaysts != null" >
#{bllpaysts,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="cursyssts != null" >
#{cursyssts,jdbcType=VARCHAR},
</if>
<if test="prccod != null" >
#{prccod,jdbcType=OTHER},
</if>
<if test="envmsgtyp != null" >
#{envmsgtyp,jdbcType=VARCHAR},
</if>
<if test="msgcnt != null" >
#{msgcnt,jdbcType=VARCHAR},
</if>
</trim>
</insert>
</mapper>
\ No newline at end of file
<?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.brilliance.mapper.MpsMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.Mps" >
<id column="INR" property="inr" jdbcType="CHAR" />
<result column="CHNCOD" property="chncod" jdbcType="VARCHAR" />
<result column="DIR" property="dir" jdbcType="CHAR" />
<result column="LSTDATTIM" property="lstdattim" jdbcType="TIMESTAMP" />
<result column="NXTCHNCOD" property="nxtchncod" jdbcType="VARCHAR" />
<result column="PNTINR" property="pntinr" jdbcType="VARCHAR" />
<result column="RCVDATTIM" property="rcvdattim" jdbcType="TIMESTAMP" />
<result column="RSPDATTIM" property="rspdattim" jdbcType="TIMESTAMP" />
<result column="RSPSTA" property="rspsta" jdbcType="CHAR" />
<result column="SMHINR" property="smhinr" jdbcType="VARCHAR" />
<result column="SNDDATTIM" property="snddattim" jdbcType="TIMESTAMP" />
<result column="SRCCHNCOD" property="srcchncod" jdbcType="VARCHAR" />
<result column="STA" property="sta" jdbcType="CHAR" />
<result column="NXTSTA" property="nxtsta" jdbcType="CHAR" />
<result column="STP" property="stp" jdbcType="VARCHAR" />
<result column="STTDATTIM" property="sttdattim" jdbcType="TIMESTAMP" />
<result column="TGTCHNCOD" property="tgtchncod" jdbcType="VARCHAR" />
<result column="TGTDATTIME" property="tgtdattime" jdbcType="TIMESTAMP" />
<result column="ISMAN" property="isman" jdbcType="VARCHAR" />
<result column="ISBLK" property="isblk" jdbcType="VARCHAR" />
<result column="ETYINR" property="etyinr" jdbcType="CHAR" />
<result column="PTYINR" property="ptyinr" jdbcType="CHAR" />
<result column="FLG" property="flg" jdbcType="CHAR" />
<result column="RSPCOD" property="rspcod" jdbcType="VARCHAR" />
<result column="REPTRKSTA" property="reptrksta" jdbcType="VARCHAR" />
<result column="SWETYP" property="swetyp" jdbcType="VARCHAR" />
<result column="SWEACK" property="sweack" jdbcType="VARCHAR" />
<result column="RPTSTA" property="rptsta" jdbcType="VARCHAR" />
<result column="MESSAGEID" property="messageid" jdbcType="VARCHAR" />
<result column="BLKTYP" property="blktyp" jdbcType="VARCHAR" />
<result column="XHXFLG" property="xhxflg" jdbcType="CHAR" />
<result column="ISMX" property="ismx" jdbcType="DECIMAL" />
</resultMap>
<sql id="Base_Column_List" >
INR, CHNCOD, DIR, LSTDATTIM, NXTCHNCOD, PNTINR, RCVDATTIM, RSPDATTIM, RSPSTA, SMHINR,
SNDDATTIM, SRCCHNCOD, STA, NXTSTA, STP, STTDATTIM, TGTCHNCOD, TGTDATTIME, ISMAN,
ISBLK, ETYINR, PTYINR, FLG, RSPCOD, REPTRKSTA, SWETYP, SWEACK, RPTSTA, MESSAGEID,
BLKTYP, XHXFLG, ISMX
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from TEST.MPS
where INR = #{inr,jdbcType=CHAR}
</select>
<select id="getMpsList" resultType="com.brilliance.entity.Mps">
select * from mps
where 1=1
<if test="dir != null">
and dir = #{dir}
</if>
<if test="sta != null">
and sta = #{sta}
</if>
<if test="sttdattim != null">
and sttdattim &lt;= #{sttdattim}
</if>
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from TEST.MPS
where INR = #{inr,jdbcType=CHAR}
</delete>
<insert id="insert" parameterType="com.brilliance.entity.Mps" >
insert into TEST.MPS (INR, CHNCOD, DIR, LSTDATTIM,
NXTCHNCOD, PNTINR, RCVDATTIM,
RSPDATTIM, RSPSTA, SMHINR,
SNDDATTIM, SRCCHNCOD, STA,
NXTSTA, STP, STTDATTIM,
TGTCHNCOD, TGTDATTIME, ISMAN,
ISBLK, ETYINR, PTYINR, FLG,
RSPCOD, REPTRKSTA, SWETYP,
SWEACK, RPTSTA, MESSAGEID,
BLKTYP, XHXFLG, ISMX)
values (#{inr,jdbcType=CHAR}, #{chncod,jdbcType=VARCHAR}, #{dir,jdbcType=CHAR}, #{lstdattim,jdbcType=TIMESTAMP},
#{nxtchncod,jdbcType=VARCHAR}, #{pntinr,jdbcType=VARCHAR}, #{rcvdattim,jdbcType=TIMESTAMP},
#{rspdattim,jdbcType=TIMESTAMP}, #{rspsta,jdbcType=CHAR}, #{smhinr,jdbcType=VARCHAR},
#{snddattim,jdbcType=TIMESTAMP}, #{srcchncod,jdbcType=VARCHAR}, #{sta,jdbcType=CHAR},
#{nxtsta,jdbcType=CHAR}, #{stp,jdbcType=VARCHAR}, #{sttdattim,jdbcType=TIMESTAMP},
#{tgtchncod,jdbcType=VARCHAR}, #{tgtdattime,jdbcType=TIMESTAMP}, #{isman,jdbcType=VARCHAR},
#{isblk,jdbcType=VARCHAR}, #{etyinr,jdbcType=CHAR}, #{ptyinr,jdbcType=CHAR}, #{flg,jdbcType=CHAR},
#{rspcod,jdbcType=VARCHAR}, #{reptrksta,jdbcType=VARCHAR}, #{swetyp,jdbcType=VARCHAR},
#{sweack,jdbcType=VARCHAR}, #{rptsta,jdbcType=VARCHAR}, #{messageid,jdbcType=VARCHAR},
#{blktyp,jdbcType=VARCHAR}, #{xhxflg,jdbcType=CHAR}, #{ismx,jdbcType=DECIMAL})
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.Mps" >
insert into TEST.MPS
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
INR,
</if>
<if test="chncod != null" >
CHNCOD,
</if>
<if test="dir != null" >
DIR,
</if>
<if test="lstdattim != null" >
LSTDATTIM,
</if>
<if test="nxtchncod != null" >
NXTCHNCOD,
</if>
<if test="pntinr != null" >
PNTINR,
</if>
<if test="rcvdattim != null" >
RCVDATTIM,
</if>
<if test="rspdattim != null" >
RSPDATTIM,
</if>
<if test="rspsta != null" >
RSPSTA,
</if>
<if test="smhinr != null" >
SMHINR,
</if>
<if test="snddattim != null" >
SNDDATTIM,
</if>
<if test="srcchncod != null" >
SRCCHNCOD,
</if>
<if test="sta != null" >
STA,
</if>
<if test="nxtsta != null" >
NXTSTA,
</if>
<if test="stp != null" >
STP,
</if>
<if test="sttdattim != null" >
STTDATTIM,
</if>
<if test="tgtchncod != null" >
TGTCHNCOD,
</if>
<if test="tgtdattime != null" >
TGTDATTIME,
</if>
<if test="isman != null" >
ISMAN,
</if>
<if test="isblk != null" >
ISBLK,
</if>
<if test="etyinr != null" >
ETYINR,
</if>
<if test="ptyinr != null" >
PTYINR,
</if>
<if test="flg != null" >
FLG,
</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="rptsta != null" >
RPTSTA,
</if>
<if test="messageid != null" >
MESSAGEID,
</if>
<if test="blktyp != null" >
BLKTYP,
</if>
<if test="xhxflg != null" >
XHXFLG,
</if>
<if test="ismx != null" >
ISMX,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="inr != null" >
#{inr,jdbcType=CHAR},
</if>
<if test="chncod != null" >
#{chncod,jdbcType=VARCHAR},
</if>
<if test="dir != null" >
#{dir,jdbcType=CHAR},
</if>
<if test="lstdattim != null" >
#{lstdattim,jdbcType=TIMESTAMP},
</if>
<if test="nxtchncod != null" >
#{nxtchncod,jdbcType=VARCHAR},
</if>
<if test="pntinr != null" >
#{pntinr,jdbcType=VARCHAR},
</if>
<if test="rcvdattim != null" >
#{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if test="rspdattim != null" >
#{rspdattim,jdbcType=TIMESTAMP},
</if>
<if test="rspsta != null" >
#{rspsta,jdbcType=CHAR},
</if>
<if test="smhinr != null" >
#{smhinr,jdbcType=VARCHAR},
</if>
<if test="snddattim != null" >
#{snddattim,jdbcType=TIMESTAMP},
</if>
<if test="srcchncod != null" >
#{srcchncod,jdbcType=VARCHAR},
</if>
<if test="sta != null" >
#{sta,jdbcType=CHAR},
</if>
<if test="nxtsta != null" >
#{nxtsta,jdbcType=CHAR},
</if>
<if test="stp != null" >
#{stp,jdbcType=VARCHAR},
</if>
<if test="sttdattim != null" >
#{sttdattim,jdbcType=TIMESTAMP},
</if>
<if test="tgtchncod != null" >
#{tgtchncod,jdbcType=VARCHAR},
</if>
<if test="tgtdattime != null" >
#{tgtdattime,jdbcType=TIMESTAMP},
</if>
<if test="isman != null" >
#{isman,jdbcType=VARCHAR},
</if>
<if test="isblk != null" >
#{isblk,jdbcType=VARCHAR},
</if>
<if test="etyinr != null" >
#{etyinr,jdbcType=CHAR},
</if>
<if test="ptyinr != null" >
#{ptyinr,jdbcType=CHAR},
</if>
<if test="flg != null" >
#{flg,jdbcType=CHAR},
</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="rptsta != null" >
#{rptsta,jdbcType=VARCHAR},
</if>
<if test="messageid != null" >
#{messageid,jdbcType=VARCHAR},
</if>
<if test="blktyp != null" >
#{blktyp,jdbcType=VARCHAR},
</if>
<if test="xhxflg != null" >
#{xhxflg,jdbcType=CHAR},
</if>
<if test="ismx != null" >
#{ismx,jdbcType=DECIMAL},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.brilliance.entity.Mps" >
update TEST.MPS
<set >
<if test="chncod != null" >
CHNCOD = #{chncod,jdbcType=VARCHAR},
</if>
<if test="dir != null" >
DIR = #{dir,jdbcType=CHAR},
</if>
<if test="lstdattim != null" >
LSTDATTIM = #{lstdattim,jdbcType=TIMESTAMP},
</if>
<if test="nxtchncod != null" >
NXTCHNCOD = #{nxtchncod,jdbcType=VARCHAR},
</if>
<if test="pntinr != null" >
PNTINR = #{pntinr,jdbcType=VARCHAR},
</if>
<if test="rcvdattim != null" >
RCVDATTIM = #{rcvdattim,jdbcType=TIMESTAMP},
</if>
<if test="rspdattim != null" >
RSPDATTIM = #{rspdattim,jdbcType=TIMESTAMP},
</if>
<if test="rspsta != null" >
RSPSTA = #{rspsta,jdbcType=CHAR},
</if>
<if test="smhinr != null" >
SMHINR = #{smhinr,jdbcType=VARCHAR},
</if>
<if test="snddattim != null" >
SNDDATTIM = #{snddattim,jdbcType=TIMESTAMP},
</if>
<if test="srcchncod != null" >
SRCCHNCOD = #{srcchncod,jdbcType=VARCHAR},
</if>
<if test="sta != null" >
STA = #{sta,jdbcType=CHAR},
</if>
<if test="nxtsta != null" >
NXTSTA = #{nxtsta,jdbcType=CHAR},
</if>
<if test="stp != null" >
STP = #{stp,jdbcType=VARCHAR},
</if>
<if test="sttdattim != null" >
STTDATTIM = #{sttdattim,jdbcType=TIMESTAMP},
</if>
<if test="tgtchncod != null" >
TGTCHNCOD = #{tgtchncod,jdbcType=VARCHAR},
</if>
<if test="tgtdattime != null" >
TGTDATTIME = #{tgtdattime,jdbcType=TIMESTAMP},
</if>
<if test="isman != null" >
ISMAN = #{isman,jdbcType=VARCHAR},
</if>
<if test="isblk != null" >
ISBLK = #{isblk,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="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="rptsta != null" >
RPTSTA = #{rptsta,jdbcType=VARCHAR},
</if>
<if test="messageid != null" >
MESSAGEID = #{messageid,jdbcType=VARCHAR},
</if>
<if test="blktyp != null" >
BLKTYP = #{blktyp,jdbcType=VARCHAR},
</if>
<if test="xhxflg != null" >
XHXFLG = #{xhxflg,jdbcType=CHAR},
</if>
<if test="ismx != null" >
ISMX = #{ismx,jdbcType=DECIMAL},
</if>
</set>
where INR = #{inr,jdbcType=CHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.brilliance.entity.Mps" >
update TEST.MPS
set CHNCOD = #{chncod,jdbcType=VARCHAR},
DIR = #{dir,jdbcType=CHAR},
LSTDATTIM = #{lstdattim,jdbcType=TIMESTAMP},
NXTCHNCOD = #{nxtchncod,jdbcType=VARCHAR},
PNTINR = #{pntinr,jdbcType=VARCHAR},
RCVDATTIM = #{rcvdattim,jdbcType=TIMESTAMP},
RSPDATTIM = #{rspdattim,jdbcType=TIMESTAMP},
RSPSTA = #{rspsta,jdbcType=CHAR},
SMHINR = #{smhinr,jdbcType=VARCHAR},
SNDDATTIM = #{snddattim,jdbcType=TIMESTAMP},
SRCCHNCOD = #{srcchncod,jdbcType=VARCHAR},
STA = #{sta,jdbcType=CHAR},
NXTSTA = #{nxtsta,jdbcType=CHAR},
STP = #{stp,jdbcType=VARCHAR},
STTDATTIM = #{sttdattim,jdbcType=TIMESTAMP},
TGTCHNCOD = #{tgtchncod,jdbcType=VARCHAR},
TGTDATTIME = #{tgtdattime,jdbcType=TIMESTAMP},
ISMAN = #{isman,jdbcType=VARCHAR},
ISBLK = #{isblk,jdbcType=VARCHAR},
ETYINR = #{etyinr,jdbcType=CHAR},
PTYINR = #{ptyinr,jdbcType=CHAR},
FLG = #{flg,jdbcType=CHAR},
RSPCOD = #{rspcod,jdbcType=VARCHAR},
REPTRKSTA = #{reptrksta,jdbcType=VARCHAR},
SWETYP = #{swetyp,jdbcType=VARCHAR},
SWEACK = #{sweack,jdbcType=VARCHAR},
RPTSTA = #{rptsta,jdbcType=VARCHAR},
MESSAGEID = #{messageid,jdbcType=VARCHAR},
BLKTYP = #{blktyp,jdbcType=VARCHAR},
XHXFLG = #{xhxflg,jdbcType=CHAR},
ISMX = #{ismx,jdbcType=DECIMAL}
where INR = #{inr,jdbcType=CHAR}
</update>
</mapper>
\ No newline at end of file
<?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.brilliance.mapper.RolMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.Rol" >
<id column="inr" property="inr" jdbcType="VARCHAR" />
<result column="rolnam" property="rolnam" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
inr, rolnam
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from rol
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from rol
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.brilliance.entity.Rol" >
insert into rol (inr, rolnam)
values (#{inr,jdbcType=VARCHAR}, #{rolnam,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.Rol" >
insert into rol
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
inr,
</if>
<if test="rolnam != null" >
rolnam,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="inr != null" >
#{inr,jdbcType=VARCHAR},
</if>
<if test="rolnam != null" >
#{rolnam,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.brilliance.entity.Rol" >
update rol
<set >
<if test="rolnam != null" >
rolnam = #{rolnam,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.brilliance.entity.Rol" >
update rol
set rolnam = #{rolnam,jdbcType=VARCHAR}
where inr = #{inr,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
<?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.brilliance.mapper.UsrMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.Usr" >
<id column="inr" property="inr" jdbcType="VARCHAR" />
<result column="usrnam" property="usrnam" jdbcType="VARCHAR" />
<result column="age" property="age" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
inr, usrnam, age
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from usr
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from usr
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.brilliance.entity.Usr" >
insert into usr (inr, usrnam, age
)
values (#{inr,jdbcType=VARCHAR}, #{usrnam,jdbcType=VARCHAR}, #{age,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.Usr" >
insert into usr
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
inr,
</if>
<if test="usrnam != null" >
usrnam,
</if>
<if test="age != null" >
age,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="inr != null" >
#{inr,jdbcType=VARCHAR},
</if>
<if test="usrnam != null" >
#{usrnam,jdbcType=VARCHAR},
</if>
<if test="age != null" >
#{age,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.brilliance.entity.Usr" >
update usr
<set >
<if test="usrnam != null" >
usrnam = #{usrnam,jdbcType=VARCHAR},
</if>
<if test="age != null" >
age = #{age,jdbcType=INTEGER},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.brilliance.entity.Usr" >
update usr
set usrnam = #{usrnam,jdbcType=VARCHAR},
age = #{age,jdbcType=INTEGER}
where inr = #{inr,jdbcType=VARCHAR}
</update>
<select id="selectUserList" resultType="com.brilliance.vo.UserVO">
select usr.inr as usrInr,usr.usrnam as usrNam,usr.age as age, rol.rolnam as rolNam
from usr inner join usr_rol on usr.inr=usr_rol.usrinr
inner join rol on rol.inr=usr_rol.rolinr
</select>
</mapper>
<?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.brilliance.mapper.UsrRolMapper" >
<resultMap id="BaseResultMap" type="com.brilliance.entity.UsrRol" >
<id column="inr" property="inr" jdbcType="VARCHAR" />
<result column="usrinr" property="usrinr" jdbcType="VARCHAR" />
<result column="rolinr" property="rolinr" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
inr, usrinr, rolinr
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from usr_rol
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from usr_rol
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.brilliance.entity.UsrRol" >
insert into usr_rol (inr, usrinr, rolinr
)
values (#{inr,jdbcType=VARCHAR}, #{usrinr,jdbcType=VARCHAR}, #{rolinr,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.brilliance.entity.UsrRol" >
insert into usr_rol
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="inr != null" >
inr,
</if>
<if test="usrinr != null" >
usrinr,
</if>
<if test="rolinr != null" >
rolinr,
</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>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.brilliance.entity.UsrRol" >
update usr_rol
<set >
<if test="usrinr != null" >
usrinr = #{usrinr,jdbcType=VARCHAR},
</if>
<if test="rolinr != null" >
rolinr = #{rolinr,jdbcType=VARCHAR},
</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.brilliance.entity.UsrRol" >
update usr_rol
set usrinr = #{usrinr,jdbcType=VARCHAR},
rolinr = #{rolinr,jdbcType=VARCHAR}
where inr = #{inr,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
jdbc.driverLocation=lib/mysql-connector-java-8.0.30.jar
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.connectionURL=jdbc:mysql://localhost:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false
jdbc.userId=root
jdbc.password=123456
\ No newline at end of file
jdbc.driverLocation=lib/ojdbc6-11.2.0.3.jar
jdbc.driverClass=oracle.jdbc.driver.OracleDriver
jdbc.connectionURL=jdbc:oracle:thin:@114.115.138.98:9400:XE
jdbc.userId=test
jdbc.password=test
\ No newline at end of file
......@@ -4,12 +4,15 @@
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<classPathEntry location="E:\programFile\work\MavenRepository\com\oracle\ojdbc6\11.2.0.3\ojdbc6-11.2.0.3.jar" />
<!--导入属性配置-->
<!--
<properties resource="generator.properties"></properties>
-->
<classPathEntry location="${jdbc.driverLocation}"/>
<!--指定特定数据库的jdbc驱动jar包的位置-->
<context id="default" targetRuntime="MyBatis3">
<context id="default">
<!-- optional,旨在创建class时,对注释进行控制 -->
<commentGenerator>
......@@ -18,11 +21,10 @@
</commentGenerator>
<!--jdbc的数据库连接 -->
<jdbcConnection
driverClass="${jdbc.driverClass}"
connectionURL="${jdbc.connectionURL}"
userId="${jdbc.userId}"
password="${jdbc.password}">
<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@114.115.138.98:9400:XE"
userId="test" password="test" >
<property name="nullCatalogMeansCurrent" value="true"/>
</jdbcConnection>
<!-- 非必需,类型处理器,在数据库类型和java类型之间的转换控制-->
......@@ -44,7 +46,7 @@
<!-- 是否对类CHAR类型的列的数据进行trim操作 -->
<property name="trimStrings" value="true"/>
<!-- 建立的Model对象是否 不可改变 即生成的Model对象不会有 setter方法,只有构造方法 -->
<property name="immutable" value="false"/>
<!-- <property name="immutable" value="false"/>-->
</javaModelGenerator>
<!--Mapper映射文件生成所在的目录 为每一个数据库的表生成对应的SqlMap文件 -->
......@@ -54,9 +56,22 @@
<javaClientGenerator targetPackage="com.brilliance.mapper" targetProject="src/main/java" type="XMLMAPPER">
<property name="enableSubPackages" value="true"/>
<!-- <property name="enableSubPackages" value="true"/>-->
</javaClientGenerator>
<table schema="test" tableName="MPI" domainObjectName="Mpi" enableCountByExample="false"
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
selectByExampleQueryId="false"/>
<table schema="test" tableName="MPS" domainObjectName="Mps" enableCountByExample="false"
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
selectByExampleQueryId="false"/>
<table schema="test" tableName="MPE" domainObjectName="Mpe" enableCountByExample="false"
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
selectByExampleQueryId="false"/>
</context>
<!-- <table tableName="usr" domainObjectName="Usr" enableCountByExample="false"-->
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
<!-- selectByExampleQueryId="false"/>-->
......@@ -66,5 +81,4 @@
<!-- <table tableName="usr_rol" domainObjectName="UsrRol" enableCountByExample="false"-->
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
<!-- selectByExampleQueryId="false"/>-->
</context>
</generatorConfiguration>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment