Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
f03568b2
Commit
f03568b2
authored
May 12, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出账检核-增加币种36
parent
7116941f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
+0
-7
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
View file @
f03568b2
...
@@ -2,7 +2,6 @@ package com.yd.csf.api.service.impl;
...
@@ -2,7 +2,6 @@ package com.yd.csf.api.service.impl;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.util.NumberUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
...
@@ -1379,12 +1378,6 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -1379,12 +1378,6 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
if
(
expectedFortune
.
getPaidAmount
().
compareTo
(
BigDecimal
.
ZERO
)
>
0
)
{
if
(
expectedFortune
.
getPaidAmount
().
compareTo
(
BigDecimal
.
ZERO
)
>
0
)
{
throw
new
BusinessException
(
ResultCode
.
FAIL
.
getCode
(),
"当前应付款已有出账金额,不能修改"
);
throw
new
BusinessException
(
ResultCode
.
FAIL
.
getCode
(),
"当前应付款已有出账金额,不能修改"
);
}
}
CurrencyEnum
currencyEnum
;
try
{
currencyEnum
=
CurrencyEnum
.
valueOf
(
request
.
getCurrency
());
}
catch
(
IllegalArgumentException
e
)
{
throw
new
BusinessException
(
ResultCode
.
FAIL
.
getCode
(),
"币种错误:"
+
request
.
getCurrency
());
}
// 查询关联 fortune 数据,重新计算:已出帐金额、待出帐金额、已出帐比例、待出帐比例
// 查询关联 fortune 数据,重新计算:已出帐金额、待出帐金额、已出帐比例、待出帐比例
List
<
Fortune
>
fortuneList
=
fortuneService
.
lambdaQuery
().
eq
(
Fortune:
:
getExpectedFortuneBizId
,
expectedFortune
.
getExpectedFortuneBizId
()).
list
();
List
<
Fortune
>
fortuneList
=
fortuneService
.
lambdaQuery
().
eq
(
Fortune:
:
getExpectedFortuneBizId
,
expectedFortune
.
getExpectedFortuneBizId
()).
list
();
...
...
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