|
@@ -1,5 +1,6 @@
|
|
package com.gyee.runeconomy.service.auto.impl;
|
|
package com.gyee.runeconomy.service.auto.impl;
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.gyee.runeconomy.init.CacheContext;
|
|
import com.gyee.runeconomy.init.CacheContext;
|
|
import com.gyee.runeconomy.mapper.auto.ProBasicEquipmentPointMapper;
|
|
import com.gyee.runeconomy.mapper.auto.ProBasicEquipmentPointMapper;
|
|
@@ -8,6 +9,8 @@ import com.gyee.runeconomy.service.auto.IProBasicEquipmentPointService;
|
|
import com.gyee.runeconomy.util.StringUtils;
|
|
import com.gyee.runeconomy.util.StringUtils;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -37,4 +40,20 @@ public class ProBasicEquipmentPointServiceImpl extends ServiceImpl<ProBasicEquip
|
|
}
|
|
}
|
|
return point;
|
|
return point;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public List<ProBasicEquipmentPoint> selectList(String station, List<String> points) {
|
|
|
|
+ List<ProBasicEquipmentPoint> list = new ArrayList();
|
|
|
|
+ QueryWrapper<ProBasicEquipmentPoint> wrapper = new QueryWrapper<>();
|
|
|
|
+ wrapper.lambda().eq(ProBasicEquipmentPoint::getWindpowerstationId, station).in(ProBasicEquipmentPoint::getUniformCode,points);
|
|
|
|
+
|
|
|
|
+ try{
|
|
|
|
+ list = baseMapper.selectList(wrapper);
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+ log.error("ProBasicEquipmentPoint--selectList", e);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ return list;
|
|
|
|
+ }
|
|
}
|
|
}
|