| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | //根据ID 获取小片数据 |
| | | @Override |
| | | public List<GlassInfo> selectId(String glassId) { |
| | | QueryWrapper<GlassInfo> queryWrapper = new QueryWrapper<GlassInfo>(); |
| | | queryWrapper.eq("id", glassId); |
| | | return glassInfoMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | ; |
| | | return glassInfoMapper.selectList(new QueryWrapper<GlassInfo>().eq("id",glassId)); |
| | | }; |
| | | |
| | | //获取全部小片数据 |
| | | @Override |
| | | public List<GlassInfo> selectAll() { |
| | | return glassInfoMapper.selectList(null); |
| | | } |
| | | |
| | | ; |
| | | }; |
| | | |
| | | //根据工程 获取小片数据 |
| | | @Override |
| | | public List<GlassInfo> selectFlowcardId(String flowcardId) { |
| | | QueryWrapper<GlassInfo> queryWrapper = new QueryWrapper<GlassInfo>(); |
| | | queryWrapper.eq("flowcardId", flowcardId); |
| | | return glassInfoMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | ; |
| | | public List<GlassInfo> selectFlowCardId(String flowCardId){ |
| | | return glassInfoMapper.selectList(new QueryWrapper<GlassInfo>().eq("flowCardId",flowCardId)); |
| | | }; |
| | | } |