Commit 440b25d6 authored by 温志超's avatar 温志超

更改查询BUG

parent 938339c8
...@@ -122,9 +122,9 @@ public class ProFeedbackController extends BaseController { ...@@ -122,9 +122,9 @@ public class ProFeedbackController extends BaseController {
/** /**
* 查询生产报工记录列表 * 查询生产报工记录列表
*/ */
@GetMapping("/list/export") @PostMapping("/list/export")
@ApiOperation("查询生产报工记录列表导出") @ApiOperation("查询生产报工记录列表导出")
public void listExport(HttpServletResponse response,ProFeedbackCheckListDto proFeedbackCheckListDto) { public void listExport(HttpServletResponse response,@RequestBody ProFeedbackCheckListDto proFeedbackCheckListDto) {
ProFeedback proFeedback = new ProFeedback(); ProFeedback proFeedback = new ProFeedback();
BeanUtils.copyProperties(proFeedbackCheckListDto,proFeedback); BeanUtils.copyProperties(proFeedbackCheckListDto,proFeedback);
QueryWrapper<ProFeedback> query = new QueryWrapper<>(); QueryWrapper<ProFeedback> query = new QueryWrapper<>();
......
...@@ -265,7 +265,6 @@ ...@@ -265,7 +265,6 @@
pw.in_drawing_no, pw.in_drawing_no,
pw.erp_create_time, pw.erp_create_time,
pw.erp_update_time , pw.erp_update_time ,
pw.order_serial,
item.line_name, item.line_name,
SUBSTRING_INDEX(task.task_batch, '-', -1) task_batch, SUBSTRING_INDEX(task.task_batch, '-', -1) task_batch,
sum(case task.is_last_process when 0 THEN 0 ELSE fe.quantity_qualify + fe.quantity_unqualify END) as quantity_produced sum(case task.is_last_process when 0 THEN 0 ELSE fe.quantity_qualify + fe.quantity_unqualify END) as quantity_produced
...@@ -367,7 +366,6 @@ ...@@ -367,7 +366,6 @@
pw.in_drawing_no, pw.in_drawing_no,
pw.erp_create_time, pw.erp_create_time,
pw.erp_update_time, pw.erp_update_time,
pw.order_serial,
SUBSTRING_INDEX(task.task_batch, '-', -1) , SUBSTRING_INDEX(task.task_batch, '-', -1) ,
item.line_name item.line_name
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment