From 04b841aa1661693e68f5dea1a80e7c97a209cbeb Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期五, 19 四月 2024 13:31:48 +0800
Subject: [PATCH] 命名以及 注解修改
---
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java
index 422c608..a874049 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java
@@ -1,10 +1,15 @@
package com.mes.glassinfo.service.impl;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mes.glassinfo.entity.GlassInfo;
import com.mes.glassinfo.mapper.GlassInfoMapper;
import com.mes.glassinfo.service.GlassInfoService;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Map;
/**
* <p>
@@ -17,4 +22,22 @@
@Service
public class GlassInfoServiceImpl extends ServiceImpl<GlassInfoMapper, GlassInfo> implements GlassInfoService {
+
+ //鏍规嵁ID 鑾峰彇灏忕墖鏁版嵁
+ @Override
+ public List<GlassInfo> selectId(String glassId){
+ return baseMapper.selectList(new QueryWrapper<GlassInfo>().eq("id",glassId));
+ };
+
+ //鑾峰彇鍏ㄩ儴灏忕墖鏁版嵁
+ @Override
+ public List<GlassInfo> selectAll(){
+ return baseMapper.selectList(null);
+ };
+
+ //鏍规嵁宸ョ▼ 鑾峰彇灏忕墖鏁版嵁
+ @Override
+ public List<GlassInfo> selectFlowCardId(String flowCardId){
+ return baseMapper.selectList(new QueryWrapper<GlassInfo>().eq("flowCardId",flowCardId));
+ };
}
--
Gitblit v1.8.0