Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
5e3d6c0d
Commit
5e3d6c0d
authored
Oct 09, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.11' into MVP1.6.11
parents
f1d136e6
2744762d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
320 additions
and
196 deletions
+320
-196
TRiskMonitor.java
...yifu/cloud/plus/v1/yifu/archives/entity/TRiskMonitor.java
+4
-7
TRiskMonitorMapper.xml
...ives-biz/src/main/resources/mapper/TRiskMonitorMapper.xml
+299
-187
IcbcTransactionFlowQueryController.java
...v1/ekp/controller/IcbcTransactionFlowQueryController.java
+3
-0
IcbcTransactionFlowQueryServiceImpl.java
...ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
+14
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TRiskMonitor.java
View file @
5e3d6c0d
...
...
@@ -41,7 +41,7 @@ public class TRiskMonitor extends BaseEntity {
/**
* 结算主体名称
*/
@ExcelAttribute
(
name
=
"项目名称"
,
isNotEmpty
=
true
,
errorInfo
=
"项目名称不能为空"
,
maxLength
=
50
)
@ExcelAttribute
(
name
=
"项目名称"
)
@ExcelProperty
(
"项目名称"
)
@Schema
(
description
=
"项目名称"
)
private
String
departName
;
...
...
@@ -49,7 +49,7 @@ public class TRiskMonitor extends BaseEntity {
/**
* 结算主体编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"项目编码"
)
@NotBlank
(
message
=
"项目编码不能为空"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
...
...
@@ -58,9 +58,7 @@ public class TRiskMonitor extends BaseEntity {
/**
* 项目状态:0正常 1停止服务 2 已冻结
*/
@ExcelAttribute
(
name
=
"项目状态"
,
isNotEmpty
=
true
,
errorInfo
=
"项目状态不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"项目状态:0正常 1停止服务 2 已冻结不能为空"
)
@Length
(
max
=
1
,
message
=
"项目状态:0正常 1停止服务 2 已冻结不能超过1个字符"
)
@ExcelAttribute
(
name
=
"项目状态"
)
@ExcelProperty
(
"项目状态"
)
@Schema
(
description
=
"项目状态:0正常 1停止服务 2 已冻结"
)
private
String
stopFlag
;
...
...
@@ -68,8 +66,7 @@ public class TRiskMonitor extends BaseEntity {
/**
* 二级指标归属
*/
@ExcelAttribute
(
name
=
"二级指标归属"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"二级指标归属不能超过50个字符"
)
@ExcelAttribute
(
name
=
"二级指标归属"
)
@ExcelProperty
(
"二级指标归属"
)
@Schema
(
description
=
"二级指标归属"
)
private
String
secondIndicatorBelong
;
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TRiskMonitorMapper.xml
View file @
5e3d6c0d
This diff is collapsed.
Click to expand it.
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/controller/IcbcTransactionFlowQueryController.java
View file @
5e3d6c0d
...
...
@@ -7,6 +7,7 @@ import com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -17,6 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author huyc
* @date 2024-05-23 10:24:12
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/icbcQuery"
)
...
...
@@ -59,6 +61,7 @@ public class IcbcTransactionFlowQueryController {
@Inner
@PostMapping
(
"/inner/newPage"
)
public
R
getIcbcTransactionFlowInner
()
throws
IcbcApiException
{
log
.
info
(
"开始交易流水查询"
);
return
icbcTransactionFlowQueryService
.
getIcbcTransactionFlowNew
();
}
...
...
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
View file @
5e3d6c0d
...
...
@@ -230,6 +230,16 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
// 获取成功后根据流水号去重和根据借贷标志02筛选出所有数据
if
(!
flowRecordList
.
isEmpty
())
{
log
.
info
(
"获取当前账号下的流水--明细条数:"
+
flowRecordList
.
size
());
for
(
MybankEnterpriseTradeQhisdResponseV1
.
MybankEnterpriseTradeQhisdResponseRdV1
entry
:
flowRecordList
)
{
log
.
info
(
"获取当前账号下的流水--来款单位:"
+
entry
.
getRecipName
());
log
.
info
(
"获取当前账号下的流水--交易类型:"
+
entry
.
getDrcrf
());
log
.
info
(
"获取当前账号下的流水--来款账户:"
+
entry
.
getRecipAccountNo
());
log
.
info
(
"获取当前账号下的流水--交易时间:"
+
entry
.
getBusiDate
()
+
" "
+
entry
.
getBusiTime
().
replace
(
"."
,
":"
),
DateUtil
.
DATETIME_PATTERN_MINUTE
);
log
.
info
(
"获取当前账号下的流水--流水号:"
+
entry
.
getOnlySequence
());
}
// 获取当前账户下的入账记录:账号为key,账户下入账记录列表作为value
List
<
String
>
serioListByAccount
=
serioMapByAccount
.
get
(
account
);
if
(
serioListByAccount
==
null
||
serioListByAccount
.
isEmpty
()){
...
...
@@ -238,9 +248,11 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
// 过滤出需要新增流水的数据
List
<
MybankEnterpriseTradeQhisdResponseV1
.
MybankEnterpriseTradeQhisdResponseRdV1
>
insertList
=
new
ArrayList
<>();
// 入账金额大于0再记录
for
(
MybankEnterpriseTradeQhisdResponseV1
.
MybankEnterpriseTradeQhisdResponseRdV1
flowRecord
:
flowRecordList
)
{
if
(
"2"
.
equals
(
flowRecord
.
getDrcrf
())
&&
!
serioListByAccount
.
contains
(
flowRecord
.
getOnlySequence
())){
if
(
"2"
.
equals
(
flowRecord
.
getDrcrf
())
&&
flowRecord
.
getCreditAmount
()
>
0
&&
!
serioListByAccount
.
contains
(
flowRecord
.
getOnlySequence
())){
insertList
.
add
(
flowRecord
);
}
}
...
...
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