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
41347af5
Commit
41347af5
authored
Oct 06, 2024
by
hulei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
c163a330
0e744d2d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
114 additions
and
0 deletions
+114
-0
GleMapper.java
...e/src/main/java/com/brilliance/isc/mda/dao/GleMapper.java
+5
-0
PvcRequestVo.java
...ore/src/main/java/com/brilliance/isc/vo/PvcRequestVo.java
+24
-0
PvcResponseVo.java
...re/src/main/java/com/brilliance/isc/vo/PvcResponseVo.java
+38
-0
glemapper.xml
isc-common-core/src/main/resources/mapper/glemapper.xml
+47
-0
No files found.
isc-common-core/src/main/java/com/brilliance/isc/mda/dao/GleMapper.java
View file @
41347af5
...
...
@@ -2,6 +2,8 @@ package com.brilliance.isc.mda.dao;
import
java.math.BigDecimal
;
import
com.brilliance.isc.bo.Gle
;
import
com.brilliance.isc.vo.PvcRequestVo
;
import
com.brilliance.isc.vo.PvcResponseVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
@@ -48,4 +50,6 @@ public interface GleMapper {
Gle
selectForeignGle
(
@Param
(
"trninr"
)
String
trninr
);
List
<
PvcResponseVo
>
selectPVCList
(
PvcRequestVo
gleRequestVo
);
}
\ No newline at end of file
isc-common-core/src/main/java/com/brilliance/isc/vo/PvcRequestVo.java
0 → 100644
View file @
41347af5
package
com
.
brilliance
.
isc
.
vo
;
import
com.brilliance.isc.common.vo.BaseRequestPageVo
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@ApiModel
(
value
=
"列表分页查询对象"
)
public
class
PvcRequestVo
extends
BaseRequestPageVo
{
private
String
eastinf
;
private
String
cliextkey
;
private
String
branch
;
private
String
dbtcdt
;
private
String
peeact
;
private
BigDecimal
amt1
;
private
BigDecimal
amt2
;
private
Date
dat1
;
private
Date
dat2
;
}
isc-common-core/src/main/java/com/brilliance/isc/vo/PvcResponseVo.java
0 → 100644
View file @
41347af5
package
com
.
brilliance
.
isc
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@ApiModel
(
value
=
"列表展示对象"
)
public
class
PvcResponseVo
{
private
String
eastinf
;
private
String
peeact
;
private
String
ownref
;
private
String
cliextkey
;
private
String
nam
;
private
String
branch
;
private
String
bchname
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
bucdat
;
private
String
cur
;
private
BigDecimal
amt
;
private
String
dbtcdt
;
}
\ No newline at end of file
isc-common-core/src/main/resources/mapper/glemapper.xml
View file @
41347af5
...
...
@@ -508,6 +508,53 @@
newactcod ='5006' and cur!='CNY' AND trninr= #{trninr,jdbcType=VARCHAR}
limit 1
</select>
<select
id=
"selectPVCList"
parameterType=
"com.brilliance.isc.vo.PvcRequestVo"
resultType=
"com.brilliance.isc.vo.PvcResponseVo"
>
select gle.peeact,
trn.ownref,
gle.cliextkey,
pty.nam,
bch.branch,
bch.bchname,
gle.bucdat,
gle.cur,
gle.amt,
gle.dbtcdt,
gle.eastinf
from gle gle
left join trn trn on (gle.trninr = trn.inr)
left join bch bch on (gle.BRANCHINR = bch.inr)
left join pty pty on(gle.CLIEXTKEY=pty.EXTKEY)
<where>
<if
test=
"eastinf!=null and eastinf!=''"
>
and gle.eastinf = #{eastinf}
</if>
<if
test=
"cliextkey!=null and cliextkey!=''"
>
and gle.cliextkey = #{cliextkey}
</if>
<if
test=
"branch!=null and branch!=''"
>
and bch.branch = #{branch}
</if>
<if
test=
"dbtcdt!=null and dbtcdt!=''"
>
and gle.dbtcdt = #{dbtcdt}
</if>
<if
test=
"amt1!=null"
>
and gle.amt
>
= #{amt1}
</if>
<if
test=
"amt2!=null"
>
and gle.amt
<
= #{amt2}
</if>
<if
test=
"peeact!=null and peeact!=''"
>
and gle.peeact = #{peeact}
</if>
<if
test=
"dat1!=null"
>
and gle.bucdat
>
= #{dat1}
</if>
<if
test=
"dat2!=null"
>
and gle.bucdat
<
= #{dat2}
</if>
</where>
order by gle.bucdat desc
</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