Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-core
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-core
Commits
50d1ff4a
Commit
50d1ff4a
authored
Oct 15, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头寸调拨确认交易
parent
5dd7a974
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
74 deletions
+83
-74
Ftdgrp.java
...ore/src/main/java/com/brilliance/isc/bo/model/Ftdgrp.java
+4
-0
ftdselMapper.xml
isc-common-core/src/main/resources/mapper/ftdselMapper.xml
+77
-74
fxdmapper.xml
isc-common-core/src/main/resources/mapper/fxdmapper.xml
+2
-0
No files found.
isc-common-core/src/main/java/com/brilliance/isc/bo/model/Ftdgrp.java
View file @
50d1ff4a
...
...
@@ -12,6 +12,7 @@ import lombok.Data;
public
class
Ftdgrp
extends
AbstractCommonVo
{
private
Ftd
rec
;
private
Fxacbs
cbs
;
private
Cbb
cbb
;
@Override
...
...
@@ -22,6 +23,9 @@ public class Ftdgrp extends AbstractCommonVo {
if
(
cbb
==
null
)
{
cbb
=
new
Cbb
();
}
if
(
cbs
==
null
){
cbs
=
new
Fxacbs
();
}
cbb
.
reset
();
}
}
isc-common-core/src/main/resources/mapper/ftdselMapper.xml
View file @
50d1ff4a
...
...
@@ -30,7 +30,7 @@
<sql
id=
"Base_Column_List"
>
inr,ownref,nam,opndat,valdat,cnfdat,matdat,clsdat,ownusr,ver,branchinr,bchkeyinr,fttyp,rat,cntfra,
usr,bnktyp,etyextkey,gzno
usr,bnktyp,etyextkey,gzno
,cur,amt
</sql>
...
...
@@ -42,80 +42,83 @@
</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>-->
<!-- </select>-->
<!--本地测试-->
<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
id=
"query"
resultMap=
"BaseResultMap"
parameterType=
"java.util.Map"
>
select
ftd.*,
cbb.cur,
cbb.amt
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>
</select>
<!--本地测试-->
<!-- <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>-->
...
...
isc-common-core/src/main/resources/mapper/fxdmapper.xml
View file @
50d1ff4a
...
...
@@ -379,6 +379,8 @@
from fxd
where ownref = #{ownref}
</select>
<select
id=
"queryFxdInfo"
resultType=
"com.brilliance.isc.vo.funds.FxdWithPtsCbbResponseVo"
parameterType=
"com.brilliance.isc.vo.funds.FxtselQueryVo"
></select>
</mapper>
...
...
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