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