| | |
| | | } |
| | | } |
| | | |
| | | @GetMapping("/unitChoose4Union") |
| | | public Object unitChoose4Union(@CurrentUser String userId) { |
| | | try { |
| | | List<SelectTermDTO> unitSelectTerms = service.unitChoose4Union(userId); |
| | | return ReturnSucUtils.getRepInfo(unitSelectTerms); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 联合处置申请-选择组织 |
| | | * @url {ctx}/api/web/ctUnit/assistApplyUnitChoose |
| | |
| | | return ReturnFailUtils.getRepInfo( "查询失败", null); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 联合处置申请获取所有组织树形结构 |
| | | * @url {ctx}/api/web/ctUnit/unitTree4Union |
| | | * @return Object |
| | | */ |
| | | @GetMapping("/unitTree4Union") |
| | | public Object unitTree4Union(@CurrentUser String userId) { |
| | | try { |
| | | return ReturnSucUtils.getRepInfo( "查询成功", service.unitTree4Union(userId)); |
| | | } catch (Exception e) { |
| | | log.error("Controller接口[CtUnitWebController.unitTree]请求异常:"+e, e); |
| | | return ReturnFailUtils.getRepInfo( "查询失败", null); |
| | | } |
| | | } |
| | | } |