Commit e49f3e69 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent 8ebf854e
......@@ -89,8 +89,8 @@ public class NewsController extends BaseCRUDJsonBodyMappingController<NewsServic
}
if (!ObjectUtils.isEmpty(entity.getDeptId())) {
DeptEntity deptEntity = deptService.get(entity.getDeptId(), context);
entity.setDeptName(deptEntity.getDeptName());
Map<String,String> deptMap = paramService.getParamBySecondOrganize("News","deptId");
entity.setDeptName(deptMap.get(entity.getDeptId()));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment