Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee47326f
authored
Jun 26, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(sop): 修复日期比较逻辑
- 使用DateUtil.formatDate方法格式化日期后再进行比较 - 确保日期对象比较的一致性
1 parent
15a56913
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/SopConditionEngine.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/SopConditionEngine.java
View file @
ee47326
...
...
@@ -190,7 +190,7 @@ public class SopConditionEngine {
switch
(
operator
!=
null
?
operator
:
2
)
{
case
2
:
return
actual
.
equals
(
condition
);
return
DateUtil
.
formatDate
(
actual
).
equals
(
DateUtil
.
formatDate
(
condition
)
);
case
3
:
return
actual
.
after
(
condition
);
case
1
:
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment