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