From 4b4d5ef35c5a1db827db52bb448d7c5d56bf41e8 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 29 一月 2024 09:46:09 +0800 Subject: [PATCH] 修复卡顿Bug --- src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java index f8cd847..c44a681 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java @@ -1,5 +1,6 @@ package com.zy.asrs.service.impl; +import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.zy.asrs.entity.AgvWrkDetl; import com.zy.asrs.entity.WrkDetl; @@ -51,6 +52,7 @@ */ @Override public List<AgvWrkDetl> selectByWrkNo(Integer wrkNo) { + return this.baseMapper.selectByWrkNo(wrkNo); } @@ -88,4 +90,9 @@ return baseMapper.updateOrderNo(orderNo, wrkNo, matnr, batch) > 0; } + @Override + public boolean deleteByWrkNo(int wrkNo) { + return this.delete(new EntityWrapper<AgvWrkDetl>().eq("wrk_no",wrkNo)); + } + } -- Gitblit v1.9.1