mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
(fix)(headless)Fix NPE issue.
This commit is contained in:
@@ -431,6 +431,10 @@ public class DictUtils {
|
||||
|
||||
private String generateDictDateFilter(DictItemResp dictItemResp) {
|
||||
ItemValueConfig config = dictItemResp.getConfig();
|
||||
if (config == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (!partitionedModel(dictItemResp.getModelId())) {
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user