通过id删除生产单不上报apms

This commit is contained in:
李广豪 2022-07-12 23:00:53 +08:00
parent dd2ae384ad
commit 3015a43a55

View File

@ -247,12 +247,16 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
for (CurrTask currTask1:currTaskList
) {
currTaskDetServiceBiz.remove(new QueryWrapper<CurrTaskDet>().eq(CurrTaskDet.CURR_TASK_ID,currTask1.getId()));
currTaskServiceBiz.removeById(currTask1);
}
}
return R.ok(idParam.getId().toString());
}else {
currTaskServiceBiz.removeById(idParam);
return R.ok(idParam.getId().toString());
}
}
@Override
public R<PageVo<CurrTaskMainQueryVo>> currentTaskMainPage(BasePageParam param) {
QueryWrapper<CurrTask> currTaskQueryWrapper = new QueryWrapper<>();