| | |
| | | return new DataResponseResult<>(CommonCode.SUCCESS, b); |
| | | } |
| | | |
| | | @AutoLog(value = "DNC指派设备流程操作-扫码传输程序 不经过审批 文件存在采用覆盖") |
| | | @ApiOperation(value = "DNC指派设备流程操作-扫码传输程序 不经过审批 文件存在采用覆盖", notes = "DNC指派设备流程操作-扫码传输程序 不经过审批 文件存在采用覆盖") |
| | | @PostMapping("/transfer/doc") |
| | | public ResponseResult transferDocFile(String pnCode, String deviceNo) { |
| | | boolean b = assignFileStreamService.transferDocFile(pnCode, deviceNo); |
| | | if(b) |
| | | return new ResponseResult(CommonCode.SUCCESS); |
| | | return new ResponseResult(CommonCode.FAIL); |
| | | } |
| | | |
| | | @GetMapping(value = "/selectVoById") |
| | | public Result<AssignFileStream> selectVoById(@RequestParam(name="id") String id){ |
| | | return Result.OK(assignFileStreamService.getAssignFileStreamDetail(id)); |