254,完善,编码回收记录业务数据到codeallcode表总
| | |
| | | * 数据 |
| | | */ |
| | | private Map<String,String> data = new HashMap<>(); |
| | | |
| | | /** |
| | | * 子表的业务类型 |
| | | */ |
| | |
| | | * 序列化 |
| | | */ |
| | | private static final long serialVersionUID = 5020487634341415429L; |
| | | |
| | | /** |
| | | * 分类的主键 |
| | | */ |
| | |
| | | */ |
| | | private String codeDelimit; |
| | | |
| | | /** |
| | | * 记录已回收的业务数据:JSON格式的 |
| | | */ |
| | | private String businessData; |
| | | |
| | | } |
| | |
| | | throw new VciBaseException("更新数据出错,重试!"+r.getMsg()); |
| | | } |
| | | } |
| | | int i = -1; |
| | | for (CodeAllCode codeCbo : codeCbos) { |
| | | codeCbo.setLcStatus(baseModelDTO.getLcStatus()); |
| | | // 如果是回收,就需要将业务数据存储到码值表中 |
| | | if(baseModelDTO.getLcStatus().equals(FrameWorkDefaultValueConstant.FRAMEWORK_RELEASE_TAKEBACK)){ |
| | | codeCbo.setBusinessData(JSON.toJSONString(baseModels.get(++i))); |
| | | } |
| | | } |
| | | codeAllCodeService.updateBatchById(codeCbos); |
| | | |
| | |
| | | } else { |
| | | Map<String, String> classifyDataMap = VciBaseUtil.objectToMapString(classifyVO); |
| | | String value = classifyDataMap.getOrDefault(attrVO.getClassifyInvokeAttr(), ""); |
| | | log.error("================================当前分类注入的value值为:==========================",value); |
| | | // log.error("================================当前分类注入的value值为:==========================",value); |
| | | cbo.setAttributeValue(attrId, value); |
| | | } |
| | | } catch (Throwable e) { |