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 15d01c19
authored
Jun 24, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(strategy): 解决日期类型转换问题
- 添加了对字符串类型日期的解析支持 - 修复了日期类型转换时的空指针异常 - 确保日期值能够正确解析和返回
1 parent
791842e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 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 @
15d01c1
...
@@ -228,6 +228,7 @@ public class SopConditionEngine {
...
@@ -228,6 +228,7 @@ public class SopConditionEngine {
if
(
value
instanceof
Date
)
{
if
(
value
instanceof
Date
)
{
return
(
Date
)
value
;
return
(
Date
)
value
;
}
}
if
(
value
instanceof
String
)
{
if
(
value
instanceof
String
)
{
return
DateUtil
.
parse
(
String
.
valueOf
(
value
));
return
DateUtil
.
parse
(
String
.
valueOf
(
value
));
}
}
...
...
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