车流量,人流量。(当天)修改

develop
Angel 11 months ago
parent 0bdd701f08
commit 4a8396cd08

@ -1,5 +1,6 @@
package com.ruoyi.database.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.database.domain.PeopleVehicleFlow;
@ -26,7 +27,7 @@ public class PeopleVehicleFlowController extends BaseController {
public TableDataInfo<PeopleVehicleFlow> list(PeopleVehicleFlow peopleVehicleFlow) {
startPage();
//QueryWrapper<PeopleVehicleFlow> queryWrapper = new QueryWrapper<>(peopleVehicleFlow);
List<PeopleVehicleFlow> list = peopleVehicleFlowService.list();
List<PeopleVehicleFlow> list = peopleVehicleFlowService.list(new QueryWrapper<>(peopleVehicleFlow));
return getDataTable(list);
}
}

@ -1,5 +1,6 @@
package com.ruoyi.database.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.database.domain.PeopleVehicleFlow;
@ -24,10 +25,10 @@ public class PeopleVehicleHourFlowController extends BaseController {
@GetMapping
@ApiOperation("查询人车记录表")
public TableDataInfo<PeopleVehicleHourFlow> list(PeopleVehicleHourFlow peopleVehicleHourFlow) {
public TableDataInfo<PeopleVehicleHourFlow> list(PeopleVehicleHourFlow peopleVehicleHFlow) {
startPage();
//QueryWrapper<PeopleVehicleFlow> queryWrapper = new QueryWrapper<>(peopleVehicleFlow);
List<PeopleVehicleHourFlow> list = peopleVehicleHourFlowService.list();
List<PeopleVehicleHourFlow> list = peopleVehicleHourFlowService.list(new QueryWrapper<>(peopleVehicleHFlow));
return getDataTable(list);
}
}

Loading…
Cancel
Save