Browse Source

更新

master
鲲鹏 4 years ago
parent
commit
e745f313f0
17 changed files with 21 additions and 0 deletions
  1. +13
    -0
      src/main/java/com/taauav/app/service/impl/DriverServiceImpl.java
  2. +8
    -0
      src/main/java/com/taauav/app/vo/DriverListVo.java
  3. BIN
      upload/69c69b28d25448cc914392a99d6a8ff1_1.png
  4. BIN
      upload/69c69b28d25448cc914392a99d6a8ff1_2.png
  5. BIN
      upload/7bbfff763e7343b39cedb117505aa789_1.png
  6. BIN
      upload/7bbfff763e7343b39cedb117505aa789_2.png
  7. BIN
      upload/d10f270691fe4f34bd41aa4caa0442c9_1.png
  8. BIN
      upload/d10f270691fe4f34bd41aa4caa0442c9_2.png
  9. BIN
      upload/eee7942c045a411cbbd87ece159fd943_1.png
  10. BIN
      upload/eee7942c045a411cbbd87ece159fd943_2.png
  11. BIN
      upload/fe30941fb3e146d59c8a3080c09d2283_1.png
  12. BIN
      upload/fe30941fb3e146d59c8a3080c09d2283_2.png
  13. BIN
      upload/file/file/2020828/69c69b28d25448cc914392a99d6a8ff1.png
  14. BIN
      upload/file/file/2020828/7bbfff763e7343b39cedb117505aa789.png
  15. BIN
      upload/file/file/2020828/d10f270691fe4f34bd41aa4caa0442c9.png
  16. BIN
      upload/file/file/2020828/eee7942c045a411cbbd87ece159fd943.png
  17. BIN
      upload/file/file/2020828/fe30941fb3e146d59c8a3080c09d2283.png

+ 13
- 0
src/main/java/com/taauav/app/service/impl/DriverServiceImpl.java View File

@@ -4,7 +4,10 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.taauav.admin.entity.TauvDriver;
import com.taauav.admin.entity.TauvDriverPoint;
import com.taauav.admin.mapper.TauvDriverPointMapper;
import com.taauav.admin.service.ISysCityService;
import com.taauav.admin.service.ITauvDriverPointService;
import com.taauav.app.mapper.DriverMapper;
import com.taauav.app.query.DriverQuery;
import com.taauav.app.service.IDriverService;
@@ -42,6 +45,8 @@ public class DriverServiceImpl extends ServiceImpl<DriverMapper, TauvDriver> imp
@Autowired
private ISysCityService cityService;
@Autowired
private TauvDriverPointMapper driverPointMapper;
@Autowired
private Response response;

@Value("${server.IMAGE_URL}")
@@ -84,6 +89,14 @@ public class DriverServiceImpl extends ServiceImpl<DriverMapper, TauvDriver> imp
if (!StringUtils.isEmpty(item.getImgPath())) {
driverListVo.setImgPath(uploadUrl + item.getImgPath());
}

// 获取河道坐标
QueryWrapper<TauvDriverPoint> queryWrapper1 = new QueryWrapper<>();
queryWrapper1.eq("driver_id", item.getId());
queryWrapper1.eq("status", 1);
queryWrapper1.eq("mark", 1);
List<TauvDriverPoint> driverPointList = driverPointMapper.selectList(queryWrapper1);
driverListVo.setDriverPointList(driverPointList);
driverListVoList.add(driverListVo);
});
}

+ 8
- 0
src/main/java/com/taauav/app/vo/DriverListVo.java View File

@@ -1,8 +1,11 @@
package com.taauav.app.vo;

import com.taauav.admin.entity.TauvDriver;
import com.taauav.admin.entity.TauvDriverPoint;
import lombok.Data;

import java.util.List;

/**
* 河湖列表Vo
*/
@@ -14,4 +17,9 @@ public class DriverListVo extends TauvDriver {
*/
private String driverAreaName;

/**
* 河道坐标列表
*/
private List<TauvDriverPoint> driverPointList;

}

BIN
upload/69c69b28d25448cc914392a99d6a8ff1_1.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.1KB

BIN
upload/69c69b28d25448cc914392a99d6a8ff1_2.png View File

Before After
Width: 650  |  Height: 365  |  Size: 6.2KB

BIN
upload/7bbfff763e7343b39cedb117505aa789_1.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.1KB

BIN
upload/7bbfff763e7343b39cedb117505aa789_2.png View File

Before After
Width: 650  |  Height: 365  |  Size: 6.2KB

BIN
upload/d10f270691fe4f34bd41aa4caa0442c9_1.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.1KB

BIN
upload/d10f270691fe4f34bd41aa4caa0442c9_2.png View File

Before After
Width: 650  |  Height: 365  |  Size: 6.2KB

BIN
upload/eee7942c045a411cbbd87ece159fd943_1.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.1KB

BIN
upload/eee7942c045a411cbbd87ece159fd943_2.png View File

Before After
Width: 650  |  Height: 365  |  Size: 6.2KB

BIN
upload/fe30941fb3e146d59c8a3080c09d2283_1.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.1KB

BIN
upload/fe30941fb3e146d59c8a3080c09d2283_2.png View File

Before After
Width: 650  |  Height: 365  |  Size: 6.2KB

BIN
upload/file/file/2020828/69c69b28d25448cc914392a99d6a8ff1.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.4KB

BIN
upload/file/file/2020828/7bbfff763e7343b39cedb117505aa789.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.4KB

BIN
upload/file/file/2020828/d10f270691fe4f34bd41aa4caa0442c9.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.4KB

BIN
upload/file/file/2020828/eee7942c045a411cbbd87ece159fd943.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.4KB

BIN
upload/file/file/2020828/fe30941fb3e146d59c8a3080c09d2283.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.4KB

Loading…
Cancel
Save