Commit 9f2262c
committed
fix(common): 解决日期范围解析中的空指针异常
- 在日期范围解析逻辑中添加了空值检查
- 当开始日期或结束日期为空时返回空列表
- 避免了在日期解析失败时可能出现的空指针异常1 parent 6f11cdc commit 9f2262c
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
0 commit comments