| | |
| | | /*** |
| | | * 属性枚举范围服务 |
| | | */ |
| | | |
| | | private final IDockingPreAttrRangeService dockingPreAttrRangeService; |
| | | |
| | | /*** |
| | | * 分类属性枚举范围服务 |
| | | */ |
| | | |
| | | private final IDockingPreClassifyService dockingPreClassifyService; |
| | | |
| | | /*** |
| | | * 属性枚举范围服务 |
| | | */ |
| | | |
| | | private final IDockingPreApplyFormService dockingPreApplyFormService; |
| | | |
| | | /*** |
| | | * 属性枚举范围服务 |
| | | */ |
| | | |
| | | private final IDockingPreViewModelService dockingPreViewModelService; |
| | | |
| | | |
| | | /*** |
| | | * 属性枚举范围服务 |
| | | */ |
| | | |
| | | private final ICodeClassifyClient codeClassifyClient; |
| | | |
| | | /** |
| | |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入dockingPreApplyForm") |
| | | public R<IPage<DockingPreApplyFormVO>> page(DockingPreApplyForm dockingPreApplyForm, Query query) { |
| | | IPage<DockingPreApplyForm> pages = dockingPreApplyFormService.page(Condition.getPage(query), Condition.getQueryWrapper(dockingPreApplyForm)); |
| | | IPage<DockingPreApplyForm> pages = dockingPreApplyFormService.page(Condition.getPage(query.setDescs("createTime")), Condition.getQueryWrapper(dockingPreApplyForm)); |
| | | return R.data(DockingPreApplyFormWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | |
| | | return R.data(dockingPreAttrRangeVOS); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 参照树 集团分类(是否包含属性) |
| | | * @param treeQueryObject 树形查询对象 conditionMap 存上 codeclsfid=主数据的分类oid |
| | |
| | | public List<Tree> referTree(TreeQueryObject treeQueryObject) { |
| | | return dockingPreClassifyService.treeCompanyGroupClassify(treeQueryObject); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 参照树 主数据模板属性信息 |
| | |
| | | return R.data(codeClassifyClient.listCodeAttributeByClassId(codeClassifyId)); |
| | | } |
| | | |
| | | |
| | | /*** |
| | | * 申请集团编码 |
| | | * @return |
| | |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "集团码申请", notes = "dockingPreAttrMappingVOList") |
| | | public R applyGroupCode(String oids,String btmName){ |
| | | List<BaseModelVO> BaseModelVOs=new ArrayList<>(); |
| | | try { |
| | | return groupMdmInterService.applyGroupCode(oids,btmName); |
| | | }catch (Throwable e){ |
| | | return R.fail("集团码申请失败:"+e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /*** |
| | | * 更新集团编码数据 |
| | | * @return |
| | |
| | | |
| | | } |
| | | |
| | | /*** |
| | | * 查询申请单状态 |
| | | * oids:业务数据oid |
| | | * @return 返回执行结果信息 |
| | | */ |
| | | /*** |
| | | * 查询申请单状态 |
| | | * oids:业务数据oid |
| | | * @return 返回执行结果信息 |
| | | */ |
| | | @GetMapping( "/queryApplyState") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "查看申请单状态", notes = "查看申请单状态") |