Commit 3e4f764a authored by 徐俊's avatar 徐俊

xujun

parent b4e73a88
......@@ -241,4 +241,12 @@ public class ComUnitController extends BaseController<ComUnitService, ComUnitQue
else
return ResponseDataModel.ok("单位项目申报名额配比更新失败!");
}
@ApiOperation(value = "获取当前操作人员的单位信息", httpMethod = "GET", notes = "获取当前操作人员的单位信息")
@GetMapping
@RequestMapping("/getCurrentUnitInfo")
public ResponseDataModel<ComUnitDTO> getCurrentUnitInfo() {
String UnitID = SecurityUserHolder.getUnitId();
return ResponseDataModel.ok(comUnitService.getUnitById(UnitID));
}
}
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