ludc
2024-07-10 4d571ecaabae01dc825f01ce92ff4a5023f56fb0
Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmEngineServiceImpl.java
@@ -146,7 +146,6 @@
    * 系列流水
    */
   @Value("${bzApply.seriesFlow:seriesFlow}")
   private String seriesFlow;
   /***
@@ -1561,7 +1560,6 @@
      wrapperResemble(templateVO, uiInfoVO);
      return uiInfoVO;
   }
   /**
    * 模板属性转换为表单定义的信息
@@ -4731,7 +4729,13 @@
      */
      Map<String, Object> nextRevision = commonsMapper.getCurrentRevision(listR.getData().get(0).getTableName(), fromBo.getNameOid());
      R<RevisionRuleVO> revisionRuleVOR = revisionRuleClient.selectById(listR.getData().get(0).getRevisionRuleId());
      String revisionval = nextRevision.get("REVISIONVAL").toString();
      String revisionval = "";
      try{
         revisionval = nextRevision.get("REVISIONVAL").toString();
      }catch (Exception e){
         throw new ServiceException("业务数据版次值获取出错,原因:" + e.getMessage());
      }
      // 未查询到版本规则,默认直接给大版本加一
      if (!revisionRuleVOR.isSuccess() || Func.isEmpty(revisionRuleVOR.getData())) {
         revisionval = String.valueOf((Integer.parseInt(revisionval) + 1));