Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-know-partner
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
cfld-backend
cfld-know-partner
Commits
2e229b8f
Commit
2e229b8f
authored
Nov 03, 2023
by
lixinglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保留两位小数
parent
56718eca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PartnerProjectInfoServiceImpl.java
...ner/admin/service/impl/PartnerProjectInfoServiceImpl.java
+2
-2
No files found.
src/main/java/com/partner/admin/service/impl/PartnerProjectInfoServiceImpl.java
View file @
2e229b8f
...
...
@@ -10,11 +10,11 @@ import com.partner.admin.enumerate.*;
import
com.partner.admin.mapper.*
;
import
com.partner.admin.service.*
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.math.RoundingMode
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -433,7 +433,7 @@ public class PartnerProjectInfoServiceImpl extends ServiceImpl<PartnerProjectInf
content
=
content
.
replace
(
"@person"
,
templateContent
.
getPerson
()).
replace
(
"@investmentSubject"
,
templateContent
.
getInvestmentSubject
()).
replace
(
"@regLocation"
,
templateContent
.
getRegLocation
()).
replace
(
"@projectInvestmentTotal"
,
String
.
valueOf
(
templateContent
.
getProjectInvestmentTotal
(
))).
replace
(
"@projectInvestmentTotal"
,
String
.
valueOf
(
templateContent
.
getProjectInvestmentTotal
().
setScale
(
2
,
RoundingMode
.
HALF_UP
))).
replace
(
"@decisionMaker"
,
templateContent
.
getDecisionMaker
()).
replace
(
"@decisionMakerPosition"
,
templateContent
.
getDecisionMakerPosition
()).
replace
(
"@date"
,
DateUtil
.
format
(
new
Date
(),
"yyyy年MM月dd日"
));
...
...
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