Commit 15d01c19 by zhouhaibao

fix(strategy): 解决日期类型转换问题

- 添加了对字符串类型日期的解析支持
- 修复了日期类型转换时的空指针异常
- 确保日期值能够正确解析和返回
1 parent 791842e9
......@@ -228,6 +228,7 @@ public class SopConditionEngine {
if (value instanceof Date) {
return (Date) value;
}
if (value instanceof String) {
return DateUtil.parse(String.valueOf(value));
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!