Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
464b812d
Commit
464b812d
authored
Jun 18, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改合同到期预警的提示内容错误问题
parent
ed47a3d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
ContractExpireWarningCalculator.java
.../dinas/contract/warn/ContractExpireWarningCalculator.java
+1
-2
No files found.
backend/xyst.dinas.contract/src/main/java/com/xyst/dinas/contract/warn/ContractExpireWarningCalculator.java
View file @
464b812d
...
...
@@ -44,8 +44,7 @@ public class ContractExpireWarningCalculator implements IWarningCalculator{
diffDays
=
(
int
)
((
endDate
.
getTime
()
-
now
.
getTime
())
/
millisOfDay
);
if
(
diffDays
<
Integer
.
valueOf
(
min
))
{
int
value
=
Integer
.
valueOf
(
min
)
-
diffDays
;
warnMessage
=
purchaseSandUnitName
+
"下"
+
projectName
+
"的"
+
contractName
+
"还有"
+
value
+
"天到期。"
;
warnMessage
=
purchaseSandUnitName
+
"下"
+
projectName
+
"的"
+
contractName
+
"还有"
+
diffDays
+
"天到期。"
;
return
true
;
}
return
false
;
...
...
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