From 5064c9c10569584991d549b7ac3673c3f0611181 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期二, 16 四月 2024 13:42:19 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/service/impl/AgvWrkDetlServiceImpl.java | 9 ++++++++-
1 files changed, 8 insertions(+), 1 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 647b9b3..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;
@@ -50,7 +51,8 @@
}
*/
@Override
- public List<WrkDetl> selectByWrkNo(Integer wrkNo) {
+ 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