Commit 7f4f6d02 authored by wangxl's avatar wangxl

Merge remote-tracking branch 'origin/master'

parents 8bbf0eb2 3e4f764a
......@@ -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