| | |
| | | public ApiResponse comfirmDoneStandard(@RequestBody AutoWorkReportDTO autoWorkReportDTO) { |
| | | Workorder workorder =workorderRecordStandardService.comfirmDoneNew(autoWorkReportDTO,true); |
| | | //发送消息队列处理分享操作 |
| | | workorderExtService.statisticNum(workorder); |
| | | workorderExtService.statisticNumAsync(workorder); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | |
| | | @ApiOperation("导出Excel") |
| | | @ApiOperation("生产产出导出Excel") |
| | | @PostMapping("/exportExcel") |
| | | // @RequiresPermissions("ext:workorderrecordext:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<QueryWorkorderRecordExtDTO> pageWrap, HttpServletResponse response) { |
| | | workorderRecordExtService.exportExcel(pageWrap,response); |
| | | } |
| | | |
| | | @ApiOperation("生产投料导出Excel") |
| | | @PostMapping("/exportExcelFeeding") |
| | | public void exportExcelFeeding(@RequestBody PageWrap<QueryWorkorderRecordExtDTO> pageWrap ,HttpServletResponse response){ |
| | | workorderRecordExtService.exportExcel2(pageWrap,response); |
| | | } |
| | | @ApiOperation("导出员工绩效明细") |
| | | @PostMapping("/exportUserSalary") |
| | | public void exportUserSalary (@RequestBody PageWrap<QueryUserSalaryListDTO> pageWrap, HttpServletResponse response) { |