fix:解决Gamma default params表有空的value报错问题

This commit is contained in:
xiaoguangbin 2023-09-24 21:54:21 +08:00
parent 7d0fddfc81
commit efc9261331

View File

@ -19,7 +19,7 @@ public class GardsGammaDefaultParamsServiceImpl extends ServiceImpl<GardsGammaDe
public Map<String, String> mapSetting() {
Map<String, String> paramsMap = list().stream()
.collect(Collectors.toMap(GardsGammaDefaultParams::getName,
GardsGammaDefaultParams::getValue));
v->v.getValue() == null ? "" : v.getValue()));
return paramsMap;
}
}