| | |
| | | package com.mes.edgstoragecage.service.impl; |
| | | |
| | | import com.github.yulichang.query.MPJQueryWrapper; |
| | | import com.github.yulichang.wrapper.MPJAbstractLambdaWrapper; |
| | | import com.mes.edgstoragecage.entity.EdgStorageCageDetails; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.github.yulichang.query.MPJQueryWrapper; |
| | | import com.mes.edgstoragecage.entity.EdgStorageCage; |
| | | import com.mes.edgstoragecage.entity.EdgStorageCageDetails; |
| | | import com.mes.edgstoragecage.mapper.EdgStorageCageDetailsMapper; |
| | | import com.mes.edgstoragecage.service.EdgStorageCageDetailsService; |
| | | import com.mes.taskcache.mapper.HangzhouMesMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author zhoush |
| | |
| | | |
| | | //获取磨边前缓存理片笼信息 |
| | | @Override |
| | | public List<Map> getEdgStorageInfos(){ |
| | | edgStorageCageDetailsMapper.selectJoinList(Map.class, |
| | | new MPJQueryWrapper<EdgStorageCageDetails>().selectAll(EdgStorageCageDetails.class) |
| | | .select("a.c","a.d").leftJoin("ab a on t.id=a.id").le("a.id","1")); |
| | | return hangzhouMesMapper.selectCachInfo(); |
| | | }; |
| | | public List<Map> getEdgStorageInfos() { |
| | | List<Map> map = edgStorageCageDetailsMapper.selectJoinList( |
| | | Map.class, new MPJQueryWrapper<EdgStorageCage>().selectAll(EdgStorageCage.class) |
| | | .select("a.c", "a.d") |
| | | .leftJoin("ab a on t.id=a.id") |
| | | .le("a.id", "1") |
| | | ); |
| | | return map; |
| | | } |
| | | |
| | | ; |
| | | |
| | | @Override |
| | | public List<Map> setEdgStorageInfos(){ |
| | | public List<Map> setEdgStorageInfos() { |
| | | return hangzhouMesMapper.selectCachInfo(); |
| | | }; |
| | | } |
| | | |
| | | ; |
| | | |
| | | |
| | | } |