| | |
| | | public enum EnumWorksheetType { |
| | | ProductBom(1,"产品Bom"), |
| | | Component(2,"散装件"), |
| | | ComponentProduct(3,"散装件-产品"); |
| | | ComponentProduct(3,"散装件-产品"), |
| | | ProductSoftware(4,"产品软件"); |
| | | |
| | | EnumWorksheetType(Integer type, String typeName) { |
| | | this.type = type; |
| | |
| | | List<ProductBomHistory> newBomList = historyService.getListByParentModel(cpAList.get(0).getParentModel(), nextVersion); |
| | | bomService.updateNewBom(newBomList); |
| | | } |
| | | else if(type.intValue() == EnumWorksheetType.ProductSoftware.getType()){ |
| | | //转移记录 |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | file.transferTo(zipFile); |
| | | approving.setSoftwareUrl("doc_file"+productSoftwarePath+File.separator+ originalFilename); |
| | | approving.setSoftwareName(originalFilename); |
| | | approving.setCreateTime(new Date()); |
| | | approving.setMainId(main.getId()); |
| | | //产品软件提交 |