|
@@ -25,10 +25,11 @@ public class TestService {
|
|
|
|
|
|
public PageInfo<TestVO> getTestPageList(TestPageParam params) {
|
|
|
PageUtil.setPageInfo(params);
|
|
|
- params.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
|
+ //params.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
|
List<TestVO> list = testMapper.getTestPageList(params);
|
|
|
//字典翻译
|
|
|
- Map<String, Map<String, String>> dictMapsByTypes = dictService.getDictMapsByTypes(DictConstants.LEVEL + "," + DictConstants.DRIVE_TYPE);
|
|
|
+ //Map<String, Map<String, String>> dictMapsByTypes = dictService.getDictMapsByTypes(DictConstants.LEVEL + "," + DictConstants.DRIVE_TYPE);
|
|
|
+ Map<String, Map<String, String>> dictMapsByTypes = dictService.getDictMapsByTypes(DictConstants.LEVEL,DictConstants.DRIVE_TYPE);
|
|
|
list.forEach(testVO ->{
|
|
|
testVO.setLevel_name(dictMapsByTypes.get(DictConstants.LEVEL).get(testVO.getLevel()));
|
|
|
});
|