Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-funds
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-funds
Commits
ebe49ca4
Commit
ebe49ca4
authored
Oct 14, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资金定存拆借入口交易2.0
parent
7d90c26e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
260 deletions
+2
-260
FtToolComponent.java
.../brilliance/isc/funds/basesel/common/FtToolComponent.java
+1
-37
FtdselServiceImpl.java
.../funds/basesel/ftdsel/service/impl/FtdselServiceImpl.java
+1
-1
FtdselMapper.xml
...funds-business/src/main/resources/mapper/FtdselMapper.xml
+0
-204
FtdselMapper.java
...in/java/com/brilliance/isc/funds/mapper/FtdselMapper.java
+0
-18
No files found.
isc-funds-business/src/main/java/com/brilliance/isc/funds/basesel/common/FtToolComponent.java
View file @
ebe49ca4
...
...
@@ -3,7 +3,6 @@ package com.brilliance.isc.funds.basesel.common;
import
com.brilliance.isc.bo.Cbb
;
import
com.brilliance.isc.bo.Cnd
;
import
com.brilliance.isc.bo.Ftd
;
import
com.brilliance.isc.bo.FtdVo
;
import
com.brilliance.isc.bo.model.Cpacbs
;
import
com.brilliance.isc.bo.model.Cpdgrp
;
import
com.brilliance.isc.bo.model.Ftdgrp
;
...
...
@@ -16,17 +15,15 @@ import com.brilliance.isc.common.util.Utils;
import
com.brilliance.isc.common.vo.FremsgVo
;
import
com.brilliance.isc.common.vo.PtsptaVo
;
import
com.brilliance.isc.
funds.mapper
.FtdselMapper
;
import
com.brilliance.isc.
mda.dao
.FtdselMapper
;
import
com.brilliance.isc.mda.dao.CbbMapper
;
import
com.brilliance.isc.mda.dao.CndMapper
;
import
com.brilliance.mda.runtime.mda.util.Dates
;
import
com.brilliance.mda.runtime.mda.util.MdaUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
java.lang.reflect.Field
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -194,39 +191,6 @@ public class FtToolComponent {
return
ptspta
;
}
// public void save(Cpdgrp cpdgrp) {
// if (MdaUtils.isEmpty(cpdgrp.getRec().getOpndat())) {
// cpdgrp.getRec().setOpndat(Dates.today());
// if ("04,98".indexOf(cpdgrp.getRec().getCptrou()) != -1 && (MdaUtils.compareTo(cpdgrp.getRec().getAccmod(), "DJ") == 0 || MdaUtils.compareTo(cpdgrp.getRec().getAccmod(), "TD") == 0 || MdaUtils.compareTo(cpdgrp.getRec().getAccmod(), "HC") == 0)) {
// cpdgrp.getRec().setClsdat(null);
// } else {
// cpdgrp.getRec().setClsdat(RemitUtils.getCoreSysDay());
// //批量汇出行内互转邮路闭卷时间置空
// if (MdaUtils.compareTo(cpdgrp.getRec().getAccmod(), "GZ") == 0 || MdaUtils.compareTo(SettleContext.getTransName(), "CPTBAT") == 0) {
// cpdgrp.getRec().setClsdat(null);
// }
// }
// }
// //币种金额+我行客户名称 吴佳
//// String subnam = cpdgrp.getRec().getCur() + cpdgrp.getRec().getAmt();
// String subnam = cpdgrp.getCbs().getMax().getCur() + cpdgrp.getCbs().getMax().getAmt();
// if (BusiCons.CODE_PAYTYP0.equals(cpdgrp.getRec().getPaytyp())) {
// cpdgrp.getRec().setNam(subnam + " " + cpdgrp.getRec().getOrcnam());
// } else {
// cpdgrp.getRec().setNam(subnam + " " + cpdgrp.getRec().getPyenam());
// }
// boolean flag = true;
// flag = iCheckRule.checkIncomingRepeat(cpdgrp.getRec());
// if (!flag) {
// throw new CommonServiceException(I18nUtil.getMessage("remit_common_e3"));
// }
// // TODO 该方法汇款里有添加代码,后面迁移
// trnmodService.trnStoreContract(cpdgrp);
// flag = iCheckRule.checkOutgoingRepeat(cpdgrp.getRec().getInr());
// if (!flag) {
// throw new CommonServiceException(I18nUtil.getMessage("remit_common_e3"));
// }
// }
}
isc-funds-business/src/main/java/com/brilliance/isc/funds/basesel/ftdsel/service/impl/FtdselServiceImpl.java
View file @
ebe49ca4
...
...
@@ -3,7 +3,7 @@ package com.brilliance.isc.funds.basesel.ftdsel.service.impl;
import
com.brilliance.isc.bo.FtdVo
;
import
com.brilliance.isc.funds.basesel.ftdsel.service.FtdselService
;
import
com.brilliance.isc.
funds.mapper
.FtdselMapper
;
import
com.brilliance.isc.
mda.dao
.FtdselMapper
;
import
com.github.pagehelper.PageHelper
;
...
...
isc-funds-business/src/main/resources/mapper/FtdselMapper.xml
deleted
100644 → 0
View file @
7d90c26e
<?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.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"
/>
<!-- <result property="cur" column="cur" jdbcType="VARCHAR"/>-->
<!-- <result property="amt" column="amt" jdbcType="DECIMAL"/>-->
</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>
<!--在gzno后加,cbb.cur,cbb.amt-->
<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
<
=#{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>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from ftd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<!--资金调拨_连接cbb表查询-->
<!-- <select id="query" resultMap="BaseResultMap" parameterType="java.util.Map">-->
<!-- select <include refid="Base_Column_List" />-->
<!-- from ftd-->
<!-- join cbb on cbb.objinr = ftd.inr-->
<!-- where-->
<!-- <if test=" opndatfrom != null ">-->
<!-- ftd.OPNDAT>=#{opndatfrom,jdbcType=DATE}-->
<!-- </if>-->
<!-- <if test=" opndatto != null ">-->
<!-- AND ftd.OPNDAT<=#{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="cur != null and cur != ''">-->
<!-- AND cbb.cur = #{cur,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" amtmin != null and amtmin != ''">-->
<!-- AND cbb.amt >=#{amtmin,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" amtmax != null and amtmax != ''">-->
<!-- AND cbb.amt <=#{amtmax,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test="amtfr != null and amtto != null">-->
<!-- AND cbb.amt BETWEEN #{amtfr,jdbcType=DECIMAL} AND #{amtto,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test="seacur != null and seacur != ''">-->
<!-- AND ftd.SEACUR=#{seacur,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- <if test=" seaamtfr != null and seaamtfr != ''">-->
<!-- AND ftd.SEAAMT>=#{seaamtfr,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" seaamtto != null and seaamtto != ''">-->
<!-- AND ftd.SEAAMT<=#{seaamtto,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" seaamtto != null and seaamtto != ''">-->
<!-- AND ftd.SEAAMT<=#{seaamtto,jdbcType=DECIMAL}-->
<!-- </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 >= #{ amtmin,jdbcType=DECIMAL}-->
<!-- </if>-->
<!-- <if test=" amtmax != null and amtmax != ''">-->
<!-- AND M2.amt <= #{ 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>-->
</mapper>
\ No newline at end of file
isc-funds-entity/src/main/java/com/brilliance/isc/funds/mapper/FtdselMapper.java
deleted
100644 → 0
View file @
7d90c26e
package
com
.
brilliance
.
isc
.
funds
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.brilliance.isc.bo.Ftd
;
import
com.brilliance.isc.bo.FtdVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
@Mapper
public
interface
FtdselMapper
extends
BaseMapper
<
FtdVo
>
{
List
<
FtdVo
>
query
(
FtdVo
vo
);
Ftd
selectByPrimaryKey
(
Ftd
ftd
);
//String findInrByRcvbic(String cod);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment