Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-support-rlwx
Project
Project
Details
Activity
Releases
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
rl
hls-support-rlwx
Commits
7cef4c6e
Commit
7cef4c6e
authored
Dec 19, 2022
by
胡建龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]修改近期详情查询接口存表逻辑
parent
46f96d11
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
HlsEbankCcbTransactionMapper.java
...ava/com/chinapay/mapper/HlsEbankCcbTransactionMapper.java
+1
-1
HlsEbankCcbTransactionMapper.xml
...java/com/chinapay/mapper/HlsEbankCcbTransactionMapper.xml
+1
-1
PingAnServiceImpl.java
...a/com/hand/app/pingAn/service/impl/PingAnServiceImpl.java
+3
-3
No files found.
core/src/main/java/com/chinapay/mapper/HlsEbankCcbTransactionMapper.java
View file @
7cef4c6e
...
...
@@ -10,5 +10,5 @@ import com.hand.hap.mybatis.common.Mapper;
* Time: 9:08
*/
public
interface
HlsEbankCcbTransactionMapper
extends
Mapper
<
HlsEbankCcbTransaction
>
{
Integer
queryByCmbOrderId
(
String
CmbOrderId
);
Integer
queryByCmbOrderId
(
HlsEbankCcbTransaction
hlsEbankCcbTransaction
);
}
core/src/main/java/com/chinapay/mapper/HlsEbankCcbTransactionMapper.xml
View file @
7cef4c6e
...
...
@@ -4,6 +4,6 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.chinapay.mapper.HlsEbankCcbTransactionMapper"
>
<select
id=
"queryByCmbOrderId"
resultType=
"java.lang.Integer"
>
select count(*) from hls_ebank_ccb_transaction hect where hect.cmb_order_id = #{
CmbOrderId} limit 1
select count(*) from hls_ebank_ccb_transaction hect where hect.cmb_order_id = #{
cmbOrderId} and hect.tran_type = #{tranType}
</select>
</mapper>
\ No newline at end of file
core/src/main/java/com/hand/app/pingAn/service/impl/PingAnServiceImpl.java
View file @
7cef4c6e
...
...
@@ -245,13 +245,13 @@ public class PingAnServiceImpl implements PingAnService {
for
(
int
i
=
0
;
i
<
arr
.
size
();
i
++)
{
HlsEbankCcbTransaction
ccbTransaction
=
new
HlsEbankCcbTransaction
();
JSONObject
data
=
arr
.
getJSONObject
(
i
);
int
exist
=
hlsEbankCcbTransactionMapper
.
queryByCmbOrderId
(
data
.
getString
(
"JournalNo"
));
ccbTransaction
.
setCmbOrderId
(
data
.
getString
(
"JournalNo"
));
ccbTransaction
.
setTranType
(
data
.
getString
(
"DCFlag"
));
int
exist
=
hlsEbankCcbTransactionMapper
.
queryByCmbOrderId
(
ccbTransaction
);
if
(
exist
==
0
){
ccbTransaction
.
setMerId
(
ApiUtils
.
AcctNo
);
ccbTransaction
.
setSttVchCardNo
(
data
.
getString
(
"SubAccount"
));
ccbTransaction
.
setSttAcDate
(
data
.
getString
(
"AccountDate"
));
ccbTransaction
.
setCmbOrderId
(
data
.
getString
(
"JournalNo"
));
ccbTransaction
.
setTranType
(
data
.
getString
(
"DCFlag"
));
ccbTransaction
.
setAmount
(
data
.
getDouble
(
"TranAmount"
));
ccbTransaction
.
setSttVchRcvAcNo
(
data
.
getString
(
"OppAccountNo"
));
ccbTransaction
.
setSttVchRcvAcName
(
data
.
getString
(
"OppAccountName"
));
...
...
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