分类码段码值管理查询去除null的情况,分类码段生成编码时去除码值为null的情况
| | |
| | | CodeClassifyVO codeClassifyVO = codeClassifyService.getObjectByClsfNamePath(clsfNamePath); |
| | | return R.data(codeClassifyVO); |
| | | } |
| | | |
| | | /** |
| | | * 流水依赖生成 |
| | | */ |
| | |
| | | return engineService.gridTableDataByClassifyOid(codeClassifyOid,templateOid,queryObject.getConditionMap(),queryObject.getPageHelper()); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 获取分类对象 |
| | | * @param redisOid |
| | | * @return |
| | |
| | | return R.data(codeImportTemplateVOs); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 从redis缓存里获取到导入正确的数据 |
| | | * @param codeClassifyOid |
| | | * @param redisOid |
| | |
| | | return mdmIOService.gridDatas(codeClassifyOid,redisOid); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 从redis缓存里获取到导入行相似项的数据 |
| | | * @param dataOid |
| | | * @param redisOid |
| | |
| | | return mdmIOService.gridRowResemble(dataOid,redisOid); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 从redis缓存里获取到导入具有相似项的数据 |
| | | * @param codeClassifyOid |
| | | * @param redisOid |
| | |
| | | return mdmIOService.gridDatas(codeClassifyOid,redisOid); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 导入数据 |
| | | * @param codeImprotSaveDatVO//数据对象 |
| | | * @return |
| | |
| | | return mdmIOService.batchImportData(codeImprotSaveDatVO.getCodeImprotSaveDatVOList(),codeImprotSaveDatVO.getClassifyAttr(),codeImprotSaveDatVO.getImprot()); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 根据数据oid从缓存中移除数据 |
| | | * @param redisOid redisid |
| | | * @param codeClassifyOid 存储规则的oid |
| | |
| | | // return R.status(true); |
| | | } |
| | | |
| | | /*** |
| | | /** |
| | | * 集团码导入 |
| | | * @param codeClassifyOid |
| | | * @param file |
| | |
| | | treeWrapperOptions.copyFromTreeQuery(treeQueryObject); |
| | | return revisionModelUtil.doList2Trees(voList,treeWrapperOptions,(CodeClassifyValueVO s) ->{ |
| | | //可以在这里处理树节点的显示 |
| | | return s.getId() + " " + (Func.isNotEmpty(s.getName()) ? s.getName():"") + (FrameworkDataLCStatus.DISABLED.getValue().equalsIgnoreCase(s |
| | | return (Func.isNotEmpty(s.getId()) ? s.getId():"") + " " + (Func.isNotEmpty(s.getName()) ? s.getName():"") + (FrameworkDataLCStatus.DISABLED.getValue().equalsIgnoreCase(s |
| | | .getLcStatus()) ? (" 【停用】 ") : ""); |
| | | }); |
| | | } |
| | |
| | | case CODE_CLASSIFY_SEC: |
| | | //分类码段的,也是从前端选择了码值即可,不论码值的长度是多少 |
| | | CodeClassifyValue codeClassifyValueDO= codeClassifyValueMapper.selectById(secValue); |
| | | if(Func.isBlank(codeClassifyValueDO.getId())){ |
| | | codeClassifyValueDO.setId(""); |
| | | } |
| | | if(codeClassifyValueDO!=null) { |
| | | secValue = joinPreffixAndSuffix(secVO, codeClassifyValueDO.getId()); |
| | | } |
| | |
| | | case CODE_CLASSIFY_SEC: |
| | | //分类码段的,也是从前端选择了码值即可,不论码值的长度是多少 |
| | | CodeClassifyValue codeClassifyValueDO= codeClassifyValueMapper.selectById(secValue); |
| | | if(Func.isBlank(codeClassifyValueDO.getId())){ |
| | | codeClassifyValueDO.setId(""); |
| | | } |
| | | if(codeClassifyValueDO!=null) { |
| | | secValue = joinPreffixAndSuffix(secVO, codeClassifyValueDO.getId()); |
| | | } |