修改bug
This commit is contained in:
parent
59bacbb080
commit
6f5257adc9
|
|
@ -724,4 +724,16 @@ public class SysDepartController {
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@RequestMapping(value = "/getDepartInfo", method = RequestMethod.GET)
|
||||
public Result<Map<String,String>> getDepartInfo() {
|
||||
List<SysDepart> list = sysDepartService.list();
|
||||
Map<String,String> map = new HashMap<>();
|
||||
if(list!=null && list.size()>0){
|
||||
map.put("title",list.get(0).getDepartName());
|
||||
}
|
||||
return Result.OK( map);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue