Commit fa6c8a66 authored by 温志超's avatar 温志超

更新报表查询

parent d34d3562
......@@ -52,7 +52,7 @@ public class WorkOrderProgressController extends BaseController {
@Log(title = "生产进度:报工明细", businessType = BusinessType.QUERY)
@GetMapping("/getFeedbackList")
public TableDataInfo<WorkOrderProgressFeedbackListResponse> getFeedbackList(Long taskWorkunitId, Long taskId,@RequestParam("workorderCode") String workorderCode) {
if(taskWorkunitId == 0)
if(taskWorkunitId != null && taskWorkunitId == 0)
taskWorkunitId = null;
List<WorkOrderProgressFeedbackListResponse> workOrderProgressFeedbackListResponses = workOrderProgressService.getFeedbackList(workorderCode,taskId,taskWorkunitId);
return getDataTable(workOrderProgressFeedbackListResponses);
......
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