From 86620f192814851deb88c1a1bc78ba8555966cda Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 03 一月 2025 15:34:16 +0800 Subject: [PATCH] # --- zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvDetailServiceImpl.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvDetailServiceImpl.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvDetailServiceImpl.java index 96fdae3..ee09499 100644 --- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvDetailServiceImpl.java +++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvDetailServiceImpl.java @@ -21,6 +21,11 @@ private AgvModelService agvModelService; @Override + public AgvDetail selectMajorByAgvId(Long agvId) { + return this.baseMapper.selectMajorByAgvId(agvId); + } + + @Override public AgvDetail selectByAgvId(Long agvId) { return this.getOne(new LambdaQueryWrapper<AgvDetail>().eq(AgvDetail::getAgvId, agvId)); } @@ -37,11 +42,21 @@ } @Override + public Boolean updatePosCodeByAgvId(Long agvId, Long codeId) { + return this.baseMapper.updatePosCodeByAgvId(agvId, codeId) > 0; + } + + @Override public Boolean updateUnPosCode(Long id, Long codeId) { return this.baseMapper.updateUnPosCode(id, codeId) > 0; } @Override + public Boolean updateAngleByAgvId(Long agvId, Double angle) { + return this.baseMapper.updateAngleByAgvId(agvId, angle); + } + + @Override public Boolean removeByAgvId(Long agvId) { return baseMapper.delete(new LambdaQueryWrapper<AgvDetail>().eq(AgvDetail::getAgvId, agvId)) > 0; } -- Gitblit v1.9.1