帮助中心
This commit is contained in:
@@ -151,4 +151,10 @@ public class SysParamsServiceImpl extends ServiceImpl<SysParamsMapper, SysParams
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user