通过id删除生产单不上报apms
This commit is contained in:
parent
dd2ae384ad
commit
3015a43a55
@ -247,12 +247,16 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
|
|||||||
for (CurrTask currTask1:currTaskList
|
for (CurrTask currTask1:currTaskList
|
||||||
) {
|
) {
|
||||||
currTaskDetServiceBiz.remove(new QueryWrapper<CurrTaskDet>().eq(CurrTaskDet.CURR_TASK_ID,currTask1.getId()));
|
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);
|
currTaskServiceBiz.removeById(idParam);
|
||||||
return R.ok(idParam.getId().toString());
|
return R.ok(idParam.getId().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public R<PageVo<CurrTaskMainQueryVo>> currentTaskMainPage(BasePageParam param) {
|
public R<PageVo<CurrTaskMainQueryVo>> currentTaskMainPage(BasePageParam param) {
|
||||||
QueryWrapper<CurrTask> currTaskQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<CurrTask> currTaskQueryWrapper = new QueryWrapper<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user