帮助中心
This commit is contained in:
@@ -154,7 +154,7 @@ public class SysParamsServiceImpl extends ServiceImpl<SysParamsMapper, SysParams
|
||||
|
||||
@Cacheable(cacheNames = "params:paramType", key = "#paramType")
|
||||
@Override
|
||||
public CzgResult<List<SysParamsDTO>> getParamsByParamType(String paramType) throws CzgException {
|
||||
return CzgResult.success(listAs(query().eq(SysParams::getParamType, paramType), SysParamsDTO.class));
|
||||
public List<SysParamsDTO> getParamsByParamType(String paramType) throws CzgException {
|
||||
return listAs(query().eq(SysParams::getParamType, paramType), SysParamsDTO.class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user