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
243714ac
Commit
243714ac
authored
May 13, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出账检核-增加币种40
parent
433fa54d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
yd-csf-service/src/main/java/com/yd/csf/service/dto/FortuneAddRequest.java
+9
-2
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
+2
-1
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/dto/FortuneAddRequest.java
View file @
243714ac
package
com
.
yd
.
csf
.
service
.
dto
;
package
com
.
yd
.
csf
.
service
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -143,12 +144,18 @@ public class FortuneAddRequest implements Serializable {
...
@@ -143,12 +144,18 @@ public class FortuneAddRequest implements Serializable {
private
BigDecimal
hkdAmount
;
private
BigDecimal
hkdAmount
;
/**
/**
* 出账年月
yyyy-MM
* 出账年月
(估)
*/
*/
@Schema
(
description
=
"出账年月
yyyy-MM
"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"出账年月
(估)
"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
private
String
payoutDate
;
private
String
payoutDate
;
/**
/**
* 出账年月(实)
*/
@Schema
(
description
=
"出账年月(实)"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
private
String
actualPayoutDate
;
/**
* 出账备注
* 出账备注
*/
*/
@Schema
(
description
=
"出账备注"
)
@Schema
(
description
=
"出账备注"
)
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
View file @
243714ac
...
@@ -805,7 +805,8 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
...
@@ -805,7 +805,8 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
// 生成发佣业务ID
// 生成发佣业务ID
fortune
.
setFortuneBizId
(
RandomStringGenerator
.
generateBizId16
(
CommonEnum
.
UID_TYPE_FORTUNE
.
getCode
()));
fortune
.
setFortuneBizId
(
RandomStringGenerator
.
generateBizId16
(
CommonEnum
.
UID_TYPE_FORTUNE
.
getCode
()));
fortune
.
setCurrentPaymentAmount
(
fortuneAddRequest
.
getPayoutAmount
());
fortune
.
setCurrentPaymentAmount
(
fortuneAddRequest
.
getPayoutAmount
());
fortune
.
setActualPayoutDate
(
LocalDate
.
parse
(
fortuneAddRequest
.
getPayoutDate
()
+
"-01"
));
fortune
.
setPayoutDate
(
LocalDate
.
parse
(
fortuneAddRequest
.
getPayoutDate
()
+
"-01"
));
fortune
.
setActualPayoutDate
(
LocalDate
.
parse
(
fortuneAddRequest
.
getActualPayoutDate
()
+
"-01"
));
fortune
.
setIsPart
(
0
);
fortune
.
setIsPart
(
0
);
fortuneList
.
add
(
fortune
);
fortuneList
.
add
(
fortune
);
}
}
...
...
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