| | |
| | | |
| | | @ApiOperation("更新锁定状态") |
| | | @PostMapping("updateLock") |
| | | public Response updateLock(@RequestParam int id,@RequestParam int lockFlag) throws IOException { |
| | | return service.updateLock(id,lockFlag); |
| | | public Response updateLock(@RequestParam int id,@RequestParam int lockFlag,@RequestParam(required = false) String reason) throws IOException { |
| | | return service.updateLock(id,lockFlag,reason); |
| | | } |
| | | |
| | | @ApiOperation("查询技术规格书") |
| | |
| | | return service.getInfo(applyMaterialCode,applyModel,applyCustomCode,owner,lockFlag,pageNum,pageSize); |
| | | } |
| | | |
| | | @ApiOperation("查询指定技术规格书的所有版本") |
| | | @PostMapping("getVersionByInfo") |
| | | public Response getVersionByInfo(@RequestParam(required = false) String applyMaterialCode ,@RequestParam(required = false) String applyModel,@RequestParam(required = false) String applyCustomCode) { |
| | | return service.getVersionByInfo(applyMaterialCode,applyModel,applyCustomCode); |
| | | } |
| | | } |