| | |
| | | return bomHistoryService.getBomHistoryAndMaterial(productId,version); |
| | | } |
| | | |
| | | @ApiOperation(value = "历史产品信息查看(产品中有0120开头的物料其实是产品,查看产品信息)",notes = "2.8修改后使用!!!暂时无用!!!!") |
| | | @GetMapping("getBomHistoryAndMaterial_0120") |
| | | public Response getBomHistoryAndMaterial_0120( @RequestParam String parentCode, @RequestParam String parentName, @RequestParam String parentModel){ |
| | | return bomHistoryService.getBomHistoryAndMaterial_0120(parentCode,parentName,parentModel); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据产品母料型号,定制单号,版本下载原始压缩包文件",notes = "11.17修改后使用") |
| | | @GetMapping("getOriginalZip") |
| | | public Response getOriginalZip( @RequestParam String parentModel,@RequestParam(required = false) String customCode,@RequestParam int version){ |
| | | return bomHistoryService.getOriginalZip(parentModel,customCode,version); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "历史产品下载(产品id和版本<下载的版本>)",notes = "8.17修改后使用") |
| | | @GetMapping("downloadProductHistory") |
| | |
| | | public Response getLockedByProductId( @RequestParam int productId){ |
| | | return service.getLockedByProductId(productId); |
| | | } |
| | | |
| | | /*@GetMapping("manualUpdate") |
| | | @Transactional |
| | | public void manualUpdate(){ |
| | | //material属性转移到bom和bomHistory |
| | | bomHistoryService.updateMaterialField2BomHistory(); |
| | | bomService.updateMaterialField2Bom(); |
| | | }*/ |
| | | |
| | | @ApiOperation(tags = "反馈管理",value = "查询当前使用的所有的产品") |
| | | @GetMapping("getFkProduct") |
| | | public Response getFkProduct(){ |
| | | return service.getFkProduct(); |
| | | } |
| | | |
| | | @ApiOperation(value = "产品对比下拉选中") |
| | | @GetMapping("getCompareProduct") |
| | | public Response getCompareProduct(){ |
| | | return service.getCompareProduct(); |
| | | } |
| | | } |