Commit 62aae43c by jianglong

清理原始无用代码

parent d035c7cc
package com.brilliance.isc.funds.basesel.ftdsel.resource;
import com.brilliance.isc.funds.basesel.ftdsel.service.FtdselService;
import com.brilliance.isc.funds.vo.FtdVo;
import com.brilliance.isc.vo.ResponseSet;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping("/ftdsel")
public class FtdselController {
@Resource
private FtdselService ftdselService;
@RequestMapping("/query")
public ResponseSet list(@RequestBody FtdVo vo) {
return ResponseSet.simpleSuccess(ftdselService.query(vo));
}
/**
* 处理按钮查看能够进行的交易
*
*/
/**
* 详情页面初始化
*/
}
package com.brilliance.isc.funds.basesel.ftdsel.service;
import com.brilliance.isc.funds.bo.Ftd;
import com.brilliance.isc.funds.vo.FtdVo;
import com.github.pagehelper.PageInfo;
public interface FtdselService {
PageInfo<Ftd> query(FtdVo ftdVo);
}
package com.brilliance.isc.funds.basesel.ftdsel.service.impl;
import com.brilliance.isc.funds.basesel.ftdsel.service.FtdselService;
import com.brilliance.isc.funds.bo.Ftd;
import com.brilliance.isc.funds.vo.FtdVo;
import com.brilliance.isc.funds.mapper.FtdselMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class FtdselServiceImpl implements FtdselService {
@Resource
private FtdselMapper ftdselMapper;
@Override
public PageInfo<Ftd> query(FtdVo vo) {
PageHelper.startPage(vo.getPageNo(), vo.getPageSize(), null).setReasonable(true);
List<Ftd> result= ftdselMapper.query(vo);
return new PageInfo<>(result);
// String branch = fxtselQueryVo.getBranch();
// if (Strings.isEmpty(branch)) {
// branch = SettleContext.getSessionUserVo().getOwnOrgDepartmentNumber();
// }
// Bch bch = bchService.getDirectAccBch(branch); //获取到当前登录柜员的记账机构
// if (Objects.isNull(bch) && !Objects.equals(branch, "1000")) {//非总行机构一定会获取到记账机构,如果没获取到则抛出异常
// SettleExceptionUtils.sysDump("未获取到机构信息!");
// }
// if(!Objects.isNull(bch)){
// fxtselQueryVo.setBchinr(bch.getInr());
// //查询归属机构集合
// List<Bch> bchList = bchService.listAllChildSubBchByAccBch(bch.getBranch());
// if (bchList != null) {
// fxtselQueryVo.setBchLst(bchList);
// }
// }
// PageHelper.startPage(fxtselQueryVo.getPageNumber(), fxtselQueryVo.getPageSize()).setReasonable(true);
// List<CpdWithPtsCbbResponseVo> cpdList = cpdMapper.queryCpd(fxtselQueryVo);
// for (CpdWithPtsCbbResponseVo cpd:cpdList) {
// if(!MdaUtils.isEmpty(cpd.getPyeExtkey())) {
// cpd.setPyeExtkey(cpd.getPyeExtkey().split("-")[0]);
// }
// if(!MdaUtils.isEmpty(cpd.getOrcExtkey())) {
// cpd.setOrcExtkey(cpd.getOrcExtkey().split("-")[0]);
// }
// }
// return new PageInfo(cpdList);
}
}
package com.brilliance.isc.funds.basesel.fxdsel.resource;
import com.brilliance.isc.funds.basesel.fxdsel.service.FxdselService;
import com.brilliance.isc.vo.ResponseSet;
import com.brilliance.isc.funds.vo.FxdVo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping("/fxdsel")
public class FxdselController {
@Resource
private FxdselService fxdselService;
@RequestMapping("/query")
public ResponseSet list(@RequestBody FxdVo vo) {
return ResponseSet.simpleSuccess(fxdselService.query(vo));
}
/**
* 处理按钮查看能够进行的交易
*
*/
/**
* 详情页面初始化
*/
}
package com.brilliance.isc.funds.basesel.fxdsel.service;
import com.brilliance.isc.funds.bo.Fxd;
import com.brilliance.isc.funds.vo.FxdVo;
import com.github.pagehelper.PageInfo;
public interface FxdselService {
PageInfo<Fxd> query(FxdVo fxdVo);
}
package com.brilliance.isc.funds.basesel.fxdsel.service.impl;
import com.brilliance.isc.funds.basesel.fxdsel.service.FxdselService;
import com.brilliance.isc.funds.bo.Fxd;
import com.brilliance.isc.funds.mapper.FxdselMapper;
import com.brilliance.isc.funds.vo.FxdVo;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class FxdselServiceImpl implements FxdselService {
@Resource
private FxdselMapper fxdselMapper;
@Override
public PageInfo<Fxd> query(FxdVo vo) {
PageHelper.startPage(vo.getPageNo(), vo.getPageSize(), null).setReasonable(true);
List<Fxd> result= fxdselMapper.query(vo);
return new PageInfo<>(result);
// String branch = fxtselQueryVo.getBranch();
// if (Strings.isEmpty(branch)) {
// branch = SettleContext.getSessionUserVo().getOwnOrgDepartmentNumber();
// }
// Bch bch = bchService.getDirectAccBch(branch); //获取到当前登录柜员的记账机构
// if (Objects.isNull(bch) && !Objects.equals(branch, "1000")) {//非总行机构一定会获取到记账机构,如果没获取到则抛出异常
// SettleExceptionUtils.sysDump("未获取到机构信息!");
// }
// if(!Objects.isNull(bch)){
// fxtselQueryVo.setBchinr(bch.getInr());
// //查询归属机构集合
// List<Bch> bchList = bchService.listAllChildSubBchByAccBch(bch.getBranch());
// if (bchList != null) {
// fxtselQueryVo.setBchLst(bchList);
// }
// }
// PageHelper.startPage(fxtselQueryVo.getPageNumber(), fxtselQueryVo.getPageSize()).setReasonable(true);
// List<CpdWithPtsCbbResponseVo> cpdList = cpdMapper.queryCpd(fxtselQueryVo);
// for (CpdWithPtsCbbResponseVo cpd:cpdList) {
// if(!MdaUtils.isEmpty(cpd.getPyeExtkey())) {
// cpd.setPyeExtkey(cpd.getPyeExtkey().split("-")[0]);
// }
// if(!MdaUtils.isEmpty(cpd.getOrcExtkey())) {
// cpd.setOrcExtkey(cpd.getOrcExtkey().split("-")[0]);
// }
// }
// return new PageInfo(cpdList);
}
}
<?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.isc.funds.mapper.FtdselMapper">
<resultMap id="BaseResultMap" type="com.brilliance.isc.funds.bo.Ftd">
<result property="inr" column="inr" jdbcType="VARCHAR"/>
<result property="ownref" column="ownref" jdbcType="VARCHAR"/>
<result property="nam" column="nam" jdbcType="VARCHAR"/>
<result property="opndat" column="opndat" jdbcType="DATE"/>
<result property="valdat" column="valdat" jdbcType="DATE"/>
<result property="cnfdat" column="cnfdat" jdbcType="DATE"/>
<result property="matdat" column="matdat" jdbcType="DATE"/>
<result property="clsdat" column="clsdat" jdbcType="DATE"/>
<result property="ownusr" column="ownusr" jdbcType="VARCHAR"/>
<result property="ver" column="ver" jdbcType="VARCHAR"/>
<result property="branchinr" column="branchinr" jdbcType="VARCHAR"/>
<result property="bchkeyinr" column="bchkeyinr" jdbcType="VARCHAR"/>
<result property="fttyp" column="fttyp" jdbcType="VARCHAR"/>
<result property="rat" column="rat" jdbcType="DECIMAL"/>
<result property="cntfra" column="cntfra" jdbcType="VARCHAR"/>
<result property="usr" column="usr" jdbcType="VARCHAR"/>
<result property="bnktyp" column="bnktyp" jdbcType="VARCHAR"/>
<result property="etyextkey" column="etyextkey" jdbcType="VARCHAR"/>
<result property="gzno" column="gzno" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
inr,ownref,nam,opndat,valdat,cnfdat,matdat,clsdat,ownusr,ver,branchinr,bchkeyinr,fttyp,rat,cntfra,usr,bnktyp,etyextkey,gzno
</sql>
<select id="query" resultMap="BaseResultMap">
select <include refid="Base_Column_List" />
from ftd where
<if test=" opndatfrom != null ">
ftd.OPNDAT>=#{opndatfrom,jdbcType=DATE}
</if>
<if test=" opndatto != null ">
AND ftd.OPNDAT&lt;=#{opndatto,jdbcType=DATE}
</if>
<if test=" seaownref != null and seaownref != ''">
AND ftd.OWNREF=#{ seaownref,jdbcType=VARCHAR}
</if>
<if test=" nam != null and nam != ''">
AND ftd.NAM=#{ nam,jdbcType=VARCHAR}
</if>
<if test=" ownusr != null and ownusr != ''">
AND ftd.ownusr=#{ ownusr,jdbcType=VARCHAR}
</if>
<if test=" usr != null and usr != ''">
AND ftd.usr=#{ usr,jdbcType=VARCHAR}
</if>
<if test=" fttyp != null and fttyp != ''">
AND ftd.FTTYP=#{ fttyp,jdbcType=VARCHAR}
</if>
<if test=" gzno != null and gzno != ''">
AND ftd.gzno=#{ gzno,jdbcType=VARCHAR}
</if>
<!-- <if test=" chnipt != null and chnipt != ''">-->
<!-- <choose>-->
<!-- <when test=" chnipt == 'BLK'">-->
<!-- AND M1.nxtchncod=-->
<!-- </when>-->
<!-- <when test=" chnipt == 'wu'">-->
<!-- AND M1.tgtchncod IS NULL-->
<!-- </when>-->
<!-- <otherwise>-->
<!-- AND M1.tgtchncod=-->
<!-- </otherwise>-->
<!-- </choose>-->
<!-- </if>-->
<!-- <if test=" msgtyp != null and msgtyp != ''">-->
<!-- AND M2.msgtyp=#{ msgtyp,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" subtyp != null and subtyp != ''">-->
<!-- AND M2.subtyp=#{ subtyp,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" gpi != null and gpi != ''">-->
<!-- AND M2.gpi=#{ gpi,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" sndbak != null and sndbak != ''">-->
<!-- AND M2.sndbic like '%' || #{sndbak,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" revbak != null and revbak != ''">-->
<!-- AND M2.rcvbic like '%' || #{revbak,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" othref != null and othref != ''">-->
<!-- AND M2.othref like '%' || #{othref,jdbcType=VARCHAR} || ''-->
<!-- </if>-->
<!-- <if test=" ownref != null and ownref != ''">-->
<!-- AND M2.ownref like '%' || #{ ownref,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" act != null and act != ''">-->
<!-- AND M2.act like '%' || #{ act,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" cur != null and cur != ''">-->
<!-- AND M2.cur=#{ cur,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" dtlchg != null and dtlchg != ''">-->
<!-- AND M2.dtlchg=#{ dtlchg,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" amtmin != null and amtmin != ''">-->
<!-- AND M2.amt &gt;= #{ amtmin,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" amtmax != null and amtmax != ''">-->
<!-- AND M2.amt &lt;= #{ amtmax,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" actbic != null and actbic != ''">-->
<!-- AND (M2.actbic like '%' || #{ actbic,jdbcType=VARCHAR} || '%'-->
<!-- or M2.t53bic LIKE '%' || #{ actbic,jdbcType=VARCHAR} || '%')-->
<!-- </if>-->
<!-- <if test=" sta != null and sta != ''">-->
<!-- AND M1.sta=#{ sta,jdbcType=VARCHAR}-->
<!-- </if>-->
</select>
</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.isc.funds.mapper.FxdselMapper">
<resultMap id="BaseResultMap" type="com.brilliance.isc.funds.bo.Fxd">
<result property="inr" column="inr" jdbcType="VARCHAR"/>
<result property="ownref" column="ownref" jdbcType="VARCHAR"/>
<result property="nam" column="nam" jdbcType="VARCHAR"/>
<result property="opndat" column="opndat" jdbcType="DATE"/>
<result property="ownusr" column="ownusr" jdbcType="VARCHAR"/>
<result property="fxtyp" column="fxtyp" jdbcType="VARCHAR"/>
<result property="rat" column="rat" jdbcType="DECIMAL"/>
<result property="midrat" column="midrat" jdbcType="DECIMAL"/>
<result property="quoref" column="quoref" jdbcType="VARCHAR"/>
<result property="fudref" column="fudref" jdbcType="VARCHAR"/>
<result property="valdat" column="valdat" jdbcType="DATE"/>
<result property="cnfdat" column="cnfdat" jdbcType="DATE"/>
<result property="setdat" column="setdat" jdbcType="DATE"/>
<result property="setdatfrm" column="setdatfrm" jdbcType="DATE"/>
<result property="setdatto" column="setdatto" jdbcType="DATE"/>
<result property="clsdat" column="clsdat" jdbcType="DATE"/>
<result property="ver" column="ver" jdbcType="VARCHAR"/>
<result property="branchinr" column="branchinr" jdbcType="VARCHAR"/>
<result property="bchkeyinr" column="bchkeyinr" jdbcType="VARCHAR"/>
<result property="trdint" column="trdint" jdbcType="VARCHAR"/>
<result property="trdout" column="trdout" jdbcType="VARCHAR"/>
<result property="trnman" column="trnman" jdbcType="VARCHAR"/>
<result property="acc" column="acc" jdbcType="VARCHAR"/>
<result property="acc2" column="acc2" jdbcType="VARCHAR"/>
<result property="usr" column="usr" jdbcType="VARCHAR"/>
<result property="dsp" column="dsp" jdbcType="VARCHAR"/>
<result property="dsp2" column="dsp2" jdbcType="VARCHAR"/>
<result property="cshpct" column="cshpct" jdbcType="DECIMAL"/>
<result property="rat1" column="rat1" jdbcType="DECIMAL"/>
<result property="accmng" column="accmng" jdbcType="VARCHAR"/>
<result property="hdbch" column="hdbch" jdbcType="VARCHAR"/>
<result property="etyextkey" column="etyextkey" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
inr,ownref,nam,opndat,ownusr,fxtyp,rat,midrat,quoref,fudref,valdat,cnfdat,setdat,setdatfrm,setdatto,clsdat,ver,branchinr,bchkeyinr,trdint,trdout,trnman,acc,acc2,usr,dsp,dsp2,cshpct,rat1,accmng,hdbch,etyextkey
</sql>
<select id="query" resultMap="BaseResultMap">
select <include refid="Base_Column_List" />
from fxd where
<if test=" opndatfrom != null ">
fxd.OPNDAT>=#{opndatfrom,jdbcType=DATE}
</if>
<if test=" opndatto != null ">
AND fxd.OPNDAT&lt;=#{opndatto,jdbcType=DATE}
</if>
<if test=" seaownref != null and seaownref != ''">
AND fxd.OWNREF=#{ seaownref,jdbcType=VARCHAR}
</if>
<if test=" nam != null and nam != ''">
AND fxd.NAM=#{ nam,jdbcType=VARCHAR}
</if>
<if test=" ownusr != null and ownusr != ''">
AND fxd.OWNUSR=#{ ownusr,jdbcType=VARCHAR}
</if>
<if test=" usr != null and usr != ''">
AND fxd.USR=#{ usr,jdbcType=VARCHAR}
</if>
<if test=" accmng != null and accmng != ''">
AND fxd.accmng=#{ accmng,jdbcType=VARCHAR}
</if>
<if test=" fxtyp != null and fxtyp != ''">
AND fxd.FXTYP=#{ fxtyp,jdbcType=VARCHAR}
</if>
<if test=" acc != null and acc != ''">
AND fxd.acc=#{ acc,jdbcType=VARCHAR}
</if>
<if test=" acc2 != null and acc2 != ''">
AND fxd.acc2=#{ acc2,jdbcType=VARCHAR}
</if>
<!-- <if test=" chnipt != null and chnipt != ''">-->
<!-- <choose>-->
<!-- <when test=" chnipt == 'BLK'">-->
<!-- AND M1.nxtchncod=-->
<!-- </when>-->
<!-- <when test=" chnipt == 'wu'">-->
<!-- AND M1.tgtchncod IS NULL-->
<!-- </when>-->
<!-- <otherwise>-->
<!-- AND M1.tgtchncod=-->
<!-- </otherwise>-->
<!-- </choose>-->
<!-- </if>-->
<!-- <if test=" msgtyp != null and msgtyp != ''">-->
<!-- AND M2.msgtyp=#{ msgtyp,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" subtyp != null and subtyp != ''">-->
<!-- AND M2.subtyp=#{ subtyp,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" gpi != null and gpi != ''">-->
<!-- AND M2.gpi=#{ gpi,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" sndbak != null and sndbak != ''">-->
<!-- AND M2.sndbic like '%' || #{sndbak,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" revbak != null and revbak != ''">-->
<!-- AND M2.rcvbic like '%' || #{revbak,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" othref != null and othref != ''">-->
<!-- AND M2.othref like '%' || #{othref,jdbcType=VARCHAR} || ''-->
<!-- </if>-->
<!-- <if test=" ownref != null and ownref != ''">-->
<!-- AND M2.ownref like '%' || #{ ownref,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" act != null and act != ''">-->
<!-- AND M2.act like '%' || #{ act,jdbcType=VARCHAR} || '%'-->
<!-- </if>-->
<!-- <if test=" cur != null and cur != ''">-->
<!-- AND M2.cur=#{ cur,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" dtlchg != null and dtlchg != ''">-->
<!-- AND M2.dtlchg=#{ dtlchg,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" amtmin != null and amtmin != ''">-->
<!-- AND M2.amt &gt;= #{ amtmin,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" amtmax != null and amtmax != ''">-->
<!-- AND M2.amt &lt;= #{ amtmax,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" actbic != null and actbic != ''">-->
<!-- AND (M2.actbic like '%' || #{ actbic,jdbcType=VARCHAR} || '%'-->
<!-- or M2.t53bic LIKE '%' || #{ actbic,jdbcType=VARCHAR} || '%')-->
<!-- </if>-->
<!-- <if test=" sta != null and sta != ''">-->
<!-- AND M1.sta=#{ sta,jdbcType=VARCHAR}-->
<!-- </if>-->
</select>
</mapper>
\ No newline at end of file
package com.brilliance.isc.funds.bo;
import com.brilliance.mda.runtime.mda.util.Decimals;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.util.Date;
import static com.brilliance.mda.runtime.mda.Constants.NULLDATE;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;
/**
* TABLE:ftd:FTD - Funds Transfer Data
*
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Ftd{
//@TDSetter(max=8)
private String inr = NULLSTR;
//Reference
//@TDSetter(max=16)
private String ownref = NULLSTR;
//Externally Displayed Name to Identify the Contract
//@TDSetter(max=40)
private String nam = NULLSTR;
//Date Funds Transfer Opened/Issued
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date opndat = NULLDATE;
//Value Date
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//@TDSetter
private Date valdat = NULLDATE;
//Confirmed on
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//@TDSetter
private Date cnfdat = NULLDATE;
//Maturity Date
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//@TDSetter
private Date matdat = NULLDATE;
//Date Closed
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//@TDSetter
private Date clsdat = NULLDATE;
//Responsible User
// @TDSetter(max=8)
private String ownusr = NULLSTR;
//Version Counter
// @TDSetter(max=4)
private String ver = NULLSTR;
//Branch INR
// @TDSetter(max=8)
private String branchinr = NULLSTR;
//Branch INR
//@TDSetter(max=8)
private String bchkeyinr = NULLSTR;
//Funds Transfer Type
// @TDSetter(max=2)
private String fttyp = NULLSTR;
//Rate per year
// @TDSetter(scale=6)
private BigDecimal rat = Decimals.ZERO_SCALE6;
//Day count Fraction
// @TDSetter(max=7)
private String cntfra = NULLSTR;
//User
//@TDSetter(max=8)
private String usr = NULLSTR;
//Bank Type
// @TDSetter(max=1)
private String bnktyp = NULLSTR;
//entity extkey
// @TDSetter(max=8)
private String etyextkey = NULLSTR;
//挂�'�编号
// @TDSetter(max=16)
private String gzno = NULLSTR;
}
\ No newline at end of file
package com.brilliance.isc.funds.bo;
import com.brilliance.mda.runtime.mda.util.Decimals;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.util.Date;
import static com.brilliance.mda.runtime.mda.Constants.NULLDATE;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;
/**
* TABLE:fxd:
*
*
* 1、 Reference:这笔结售汇业务的编号。在选择了售汇币种后可以通过Get Ref获取,或者在交易存盘时系统自动获取。
* 2、Name:这笔结售汇业务的简要说明,系统根据交易要素自动赋值。
* 3、Responsible User:这笔结汇业务的经办人,默认为登陆柜员,也可以通过点击“i”按钮更改成其他经办人。
* 4 、Exchange Type:这笔结售汇业务的类型,本期默认为即期售汇。
* 5、Purchase Amount:这笔结售汇业务的售汇币种及金额,根据业务实际情况输入,必输项。
* 6、Domestic Amount:这笔结售汇业务的本币币种及金额,币种默认为人民币CNY,不可更改,金额由系统根据交易要素自动计算得出。
* 7、Applicant:这笔结售汇业务的申请人,根据业务实际情况输入,必输项。
* 8、Exchange Rate:这笔结售汇业务所使用的牌价,如果不需要资金部报价,则自动根据申请人的汇率优惠情况在原结售汇牌价基础上计算得出。
* 9、Middle Rate:这笔结售汇业务所涉及的中间价,如果不需要资金部报价,则自动带出结汇币种的中间价。
* 10、钞汇标志:这笔结售汇业务的钞汇标志,选项为现汇和现钞,默认为现汇,根据业务实际情况输入。
* 11、Quote Ref.:本交易不适用。
* 12、Treasury Dept. Ref.:本交易不适用。
* 13、Open Date:这笔结售汇业务的成交日期,系统默认为当前日期,可以根据业务实际情况修改。
* 14、Value Date:这笔结售汇业务的起息日,系统默认为成交日,可以根据业务实际情况修改。
* 15、Settlement Date:本期不适用。
* 16、Begin Date of Settle:本期不适用。
* 17、Expiry Date of Settle:本期不适用。
* 18、Foreign Cur. Account:这笔结售汇业务的外币的记账账号类型与记账账号,有LO客户往来账户、VT客户待核查账户、HA内部往来清算账户以及SP国际结算过渡账户4个选项,系统会根据账号类型自动带出相关账号,也可根据业务实际情况输入,必输项。
* 19、Domestic Cur. Account:这笔结售汇业务的本币的记账账号类型与记账账号,有LO客户往来账户,HA内部往来清算账户以及SP国际结算过渡账户3个选项,系统会根据账号类型自动带出相关账号,也可根据业务实际情况输入,必输项。
* 20、Exchange Party Type:这笔结售汇业务的申请人的主体类型,系统会根据静态数据的信息自动默认,也可根据业务实际情况输入,必输项。
* 21、Exchange Title:这笔结售汇业务的类型,根据业务实际情况输入,必输项。
* 22、Remark:这笔结售汇业务的备注信息。
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Fxd {
//Internal Unique ID of Import L/C
//@TDSetter(max=8)
private String inr = NULLSTR;
//Reference
//@TDSetter(max=16)
private String ownref = NULLSTR;
//Externally Displayed Name to Identify the Contract
//@TDSetter(max=40)
private String nam = NULLSTR;
//Date Foreign Exchange Opened/Issued
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date opndat = NULLDATE;
//Responsible User
// @TDSetter(max=8)
private String ownusr = NULLSTR;
//Foreign Exchange Type
// @TDSetter(max=2)
private String fxtyp = NULLSTR;
//Rate
// @TDSetter(scale=6)
private BigDecimal rat = Decimals.ZERO_SCALE6;
//Middle Rate
// @TDSetter(scale=6)
private BigDecimal midrat = Decimals.ZERO_SCALE6;
//Quote Reference
// @TDSetter(max=16)
private String quoref = NULLSTR;
//Fund Department Reference
// @TDSetter(max=16)
private String fudref = NULLSTR;
//Value date
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date valdat = NULLDATE;
//Date of confirmation
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date cnfdat = NULLDATE;
//Settlement Date
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date setdat = NULLDATE;
//Settlemt date from
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date setdatfrm = NULLDATE;
//Settlement date to
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
// @TDSetter
private Date setdatto = NULLDATE;
//Date of Closed
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//@TDSetter
private Date clsdat = NULLDATE;
//Version
// @TDSetter(max=4)
private String ver = NULLSTR;
//Branch INR
// @TDSetter(max=8)
private String branchinr = NULLSTR;
//Branch INR
// @TDSetter(max=8)
private String bchkeyinr = NULLSTR;
//TRADE IN
// @TDSetter(max=3)
private String trdint = NULLSTR;
//TRADE OUT
// @TDSetter(max=3)
private String trdout = NULLSTR;
//交易主体
// @TDSetter(max=2)
private String trnman = NULLSTR;
//Foreign Account
// @TDSetter(max=21)
private String acc = NULLSTR;
//CNY Account
// @TDSetter(max=21)
private String acc2 = NULLSTR;
//Clearing Department Responsible User
//@TDSetter(max=8)
private String usr = NULLSTR;
//Disposition
// @TDSetter(max=2)
private String dsp = NULLSTR;
//Disposition
// @TDSetter(max=2)
private String dsp2 = NULLSTR;
//Cash cover percent
// @TDSetter(scale=2)
private BigDecimal cshpct = Decimals.ZERO_SCALE2;
//Rate
//@TDSetter(scale=6)
private BigDecimal rat1 = Decimals.ZERO_SCALE6;
//Account manager
// @TDSetter(max=8)
private String accmng = NULLSTR;
//客户经理部门
// @TDSetter(max=8)
private String hdbch = NULLSTR;
//Entity KEY of Entry
//@TDSetter(max=8)
private String etyextkey = NULLSTR;
}
\ No newline at end of file
package com.brilliance.isc.funds.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brilliance.isc.funds.bo.Ftd;
import com.brilliance.isc.funds.vo.FtdVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface FtdselMapper extends BaseMapper<Ftd> {
List<Ftd> query(FtdVo vo);
//String findInrByRcvbic(String cod);
}
package com.brilliance.isc.funds.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brilliance.isc.funds.bo.Fxd;
import com.brilliance.isc.funds.vo.FxdVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface FxdselMapper extends BaseMapper<Fxd> {
List<Fxd> query(FxdVo vo);
//String findInrByRcvbic(String cod);
}
package com.brilliance.isc.funds.vo;
import com.brilliance.isc.common.vo.PageVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class FtdVo extends PageVo {
/**
* 汇款业务编号
*/
private String seaownref;
/**
* 名称
*/
private String nam;
/**
* 客户名称
* */
private String ownusr;
/**
*资金部经办人
**/
private String usr;
/**
* 银行类型
* */
private String bnktyp;
/**
* 挂起编号
* */
private String gzno;
/**
* 汇款开始日期
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date opndatfrom;
/**
* 汇款截止日期
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date opndatto;
/**
*状态
* */
private String seasta;
/**
* 资金转账类型
* */
private String fttyp;
// /**
// * //币种
// */
// private String seacur;
// /**
// * //金额
// */
// private BigDecimal seaamtfr;
// /**
// * //金额
// */
// private BigDecimal seaamtto;
// /**
// *参与方参考号
// */
// private String searef;
// /**
// * 参与方名称
// * */
// private String seapty;
// /**
// * 角色 User
// * */
// private String searol;
// /**
// * user ID
// * */
//
// private String usrextkey;
// Getter method
// public String getFttyp() {
// return fttyp;
// }
//
// // Setter method
// public void setFttyp(String fttyp) {
// this.fttyp = fttyp;
// }
}
package com.brilliance.isc.funds.vo;
import com.brilliance.isc.common.vo.PageVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
* @description:
* @author: hulei
* @create: 2024-09-25 15:10
**/
@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class FxdVo extends PageVo {
/**
* 业务编号
*/
private String seaownref;
/**
* 业务名称
*/
private String nam;
/**
* 汇款开始日期
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date opndatfrom;
/**
* 汇款截止日期
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date opndatto;
/**
* //币种
*/
// private String seacur;
// /**
// * //金额从
// */
// private BigDecimal seaamtfr;
// /**
// * //金额到
// */
// private BigDecimal seaamtto;
/**
*参与方参考号
*/
// private String searef;
/**
* 参与方名称
* */
// private String seapty;
// /**
// * 角色 User
// * */
// private String searol;
// /**
// * user ID
// * */
//
// private String usrextkey;
/**
*状态
* */
private String seasta;
/**
* 结售汇类型
* */
private String fxtyp;
/**
* 客户名称
* */
private String ownusr;
/***
* 账户经理
* */
private String accmng;
/**
* 资金部经办人
* */
private String usr;
/***
* 外币和本币结算账户
* */
private String acc;
private String acc2;
}
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