From 0dab5a05ed6e734a83c43f8e6e5ef1b07115f48d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 10 十二月 2024 10:50:54 +0800
Subject: [PATCH] #path similarity

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/LocStsServiceImpl.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/LocStsServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/LocStsServiceImpl.java
index 3bf08df..5fe2572 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/LocStsServiceImpl.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/LocStsServiceImpl.java
@@ -1,5 +1,6 @@
 package com.zy.asrs.wcs.core.service.impl;
 
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.zy.asrs.wcs.core.mapper.LocStsMapper;
 import com.zy.asrs.wcs.core.entity.LocSts;
 import com.zy.asrs.wcs.core.service.LocStsService;
@@ -9,4 +10,9 @@
 @Service("locStsService")
 public class LocStsServiceImpl extends ServiceImpl<LocStsMapper, LocSts> implements LocStsService {
 
+    @Override
+    public LocSts selectByFlag(String flag) {
+        return this.getOne(new LambdaQueryWrapper<LocSts>().eq(LocSts::getFlag, flag));
+    }
+
 }

--
Gitblit v1.9.1