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
c13cf004
Commit
c13cf004
authored
Oct 14, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资金拆借/头寸调拨入口交易
parent
77dbc4d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
47 deletions
+50
-47
ftdselMapper.xml
isc-common-core/src/main/resources/mapper/ftdselMapper.xml
+50
-47
No files found.
isc-common-core/src/main/resources/mapper/
F
tdselMapper.xml
→
isc-common-core/src/main/resources/mapper/
f
tdselMapper.xml
View file @
c13cf004
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
<result
property=
"bnktyp"
column=
"bnktyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"bnktyp"
column=
"bnktyp"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyextkey"
column=
"etyextkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"etyextkey"
column=
"etyextkey"
jdbcType=
"VARCHAR"
/>
<result
property=
"gzno"
column=
"gzno"
jdbcType=
"VARCHAR"
/>
<result
property=
"gzno"
column=
"gzno"
jdbcType=
"VARCHAR"
/>
<!-- <result property="cur" column="cur" jdbcType="VARCHAR"/>--
>
<result
property=
"cur"
column=
"cur"
jdbcType=
"VARCHAR"
/
>
<!-- <result property="amt" column="amt" jdbcType="DECIMAL"/>--
>
<result
property=
"amt"
column=
"amt"
jdbcType=
"DECIMAL"
/
>
</resultMap>
</resultMap>
...
@@ -33,38 +33,6 @@
...
@@ -33,38 +33,6 @@
usr,bnktyp,etyextkey,gzno
usr,bnktyp,etyextkey,gzno
</sql>
</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
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select
select
...
@@ -73,14 +41,56 @@
...
@@ -73,14 +41,56 @@
where inr = #{inr,jdbcType=VARCHAR}
where inr = #{inr,jdbcType=VARCHAR}
</select>
</select>
<!--资金调拨_连接cbb表查询-->
<!-- 资金调拨_连接cbb表查询-->
<!-- <select id="query" resultMap="BaseResultMap" parameterType="java.util.Map">-->
<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" />-->
<!-- select <include refid="Base_Column_List" />-->
<!-- from ftd-->
<!-- from ftd-->
<!-- join cbb on cbb.objinr = ftd.inr-->
<!-- where-->
<!-- where-->
<!-- <if test=" opndatfrom != null ">-->
<!-- <if test=" opndatfrom != null ">-->
<!--
ftd.OPNDAT>=#{opndatfrom,jdbcType=DATE}-->
<!-- ftd.OPNDAT>=#{opndatfrom,jdbcType=DATE}-->
<!-- </if>-->
<!-- </if>-->
<!-- <if test=" opndatto != null ">-->
<!-- <if test=" opndatto != null ">-->
...
@@ -105,16 +115,9 @@
...
@@ -105,16 +115,9 @@
<!-- <if test=" gzno != null and gzno != ''">-->
<!-- <if test=" gzno != null and gzno != ''">-->
<!-- AND ftd.gzno=#{ gzno,jdbcType=VARCHAR}-->
<!-- AND ftd.gzno=#{ gzno,jdbcType=VARCHAR}-->
<!-- </if>-->
<!-- </if>-->
<!-- <if test="cur != null and cur != ''">-->
<!-- </select>-->
<!-- 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>-->
...
...
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