| | |
| | | BtmTypeAttributeVO vo = new BtmTypeAttributeVO(); |
| | | vo.setId(id); |
| | | vo.setName(name); |
| | | vo.setIseDfaultAttr(true); |
| | | vo.setIsDefaultAttr(true); |
| | | if ("oid".equals(id)){ |
| | | vo.setNullableFlag(false); |
| | | } |
| | |
| | | BtmTypeAttributeVO vo = new BtmTypeAttributeVO(); |
| | | vo.setId(id); |
| | | vo.setName(name); |
| | | vo.setIseDfaultAttr(false); |
| | | vo.setIsDefaultAttr(false); |
| | | if (Arrays.asList("codeclsfpath").contains(id)){ |
| | | vo.setAttrDataType(VciFieldTypeEnum.VTString.name()); |
| | | vo.setAttributeLength(500); |
| | |
| | | // 版本规则字段不能为空 |
| | | // vo.setNullableFlag(false); |
| | | vo.setAttributeLength(150); |
| | | vo.setIseDfaultAttr(true); |
| | | vo.setIsDefaultAttr(true); |
| | | if (Arrays.asList("revisionseq","versionseq").contains(id)){ |
| | | vo.setAttributeLength(5); |
| | | vo.setAttrDataType(VciFieldTypeEnum.VTInteger.name()); |
| | |
| | | vo.setId(id); |
| | | vo.setName(name); |
| | | // vo.setNullableFlag(false); |
| | | vo.setIseDfaultAttr(true); |
| | | vo.setIsDefaultAttr(true); |
| | | vo.setAttributeLength(50); |
| | | vo.setAttrDataType(VciFieldTypeEnum.VTString.name()); |
| | | list.add(vo); |