|
@@ -134,4 +134,19 @@ public class BaseWashoutPointServiceImpl extends ServiceImpl<BaseWashoutPointMap
|
|
|
return new Result(ResultCode.SUCCESS,destVoList);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public Result listWash(Map<String, String> paramsMap) {
|
|
|
+ String farmId = paramsMap.get("farmId");
|
|
|
+ String vistitType = paramsMap.get("vistitType");
|
|
|
+ List<BaseWashoutPoint> points = washoutPointMapper.listWash(farmId, vistitType);
|
|
|
+ List<DestVo> destVoList = new ArrayList<>();
|
|
|
+ for (BaseWashoutPoint baseWashoutPoint : points) {
|
|
|
+ DestVo destVo = new DestVo();
|
|
|
+ destVo.setId(baseWashoutPoint.getLocationId());
|
|
|
+ destVo.setLocationName(baseWashoutPoint.getLocationName());
|
|
|
+ destVoList.add(destVo);
|
|
|
+ }
|
|
|
+ return new Result(ResultCode.SUCCESS,destVoList);
|
|
|
+ }
|
|
|
+
|
|
|
}
|