Browse Source

'bug'

master
daixiantong 4 years ago
parent
commit
a3ac34039c
2 changed files with 4 additions and 8 deletions
  1. +4
    -1
      src/main/java/com/taauav/admin/service/impl/TauvWaterStandardServiceImpl.java
  2. +0
    -7
      src/main/java/com/taauav/front/controller/IndexInspectController.java

+ 4
- 1
src/main/java/com/taauav/admin/service/impl/TauvWaterStandardServiceImpl.java View File

@@ -1,5 +1,6 @@
package com.taauav.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
@@ -35,7 +36,9 @@ public class TauvWaterStandardServiceImpl extends BaseServiceImpl<TauvWaterStand
@Override
public Response getPageList(TauvWaterStandardQuery query) {
IPage<TauvWaterStandard> page = new Page<>(query.getPage(), query.getPageSize());
IPage<TauvWaterStandard> data = baseMapper.selectPage(page, null);
QueryWrapper wrapper = new QueryWrapper();
wrapper.eq("mark", 1);
IPage<TauvWaterStandard> data = baseMapper.selectPage(page, wrapper);
return response.success(data);
}


+ 0
- 7
src/main/java/com/taauav/front/controller/IndexInspectController.java View File

@@ -1,10 +1,8 @@
package com.taauav.front.controller;

import com.taauav.admin.entity.TauvDriverPoint;
import com.taauav.admin.service.ITauvDriverPointService;
import com.taauav.common.bean.Response;
import com.taauav.front.service.IUserInspectDriverService;
import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -12,7 +10,6 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
* 指挥大屏 - 任务管理 控制器
@@ -25,10 +22,6 @@ import java.util.List;
public class IndexInspectController {
@Autowired
private IUserInspectDriverService inspectDriverService;
@Autowired
private ITauvDriverPointService driverPointService;
@Resource
private Response response;

/**
* 统计任务数量

Loading…
Cancel
Save