修改bug

This commit is contained in:
yangjun 2026-04-27 11:25:33 +08:00
parent 59bacbb080
commit 6f5257adc9
1 changed files with 12 additions and 0 deletions

View File

@ -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);
}
}