From b922fe4d80f7e278b1ff958c4c95626b27cf8266 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 12 四月 2024 15:42:14 +0800 Subject: [PATCH] Merge branch 'phyzasrs' of http://47.97.1.152:5880/r/zy-asrs into phyzasrs --- 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