package com.whyc.controller;
|
|
import com.whyc.dto.Batt_Maint_Dealarm;
|
import com.whyc.dto.Response;
|
import com.whyc.dto.paramter.BattinfPar;
|
import com.whyc.service.BadBattMonService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.List;
|
|
/**
|
* 落后单体查询
|
*/
|
@RequestMapping("BadBattMon")
|
@RestController
|
@Api(tags = "报表统计")
|
public class BadBattMonController {
|
|
@Autowired
|
private BadBattMonService service;
|
|
|
/**
|
* 放电测试(查询用户管理的维护区)
|
*
|
* @param battinfPar
|
* @return
|
*/
|
@PostMapping("/searchByInfo")
|
@ApiOperation(notes = "TODO ", value = "落后单体查询/searchByInfo")
|
public Response<List<Batt_Maint_Dealarm>> searchByInfo(@RequestBody BattinfPar battinfPar) {
|
|
return service.searchByInfo(battinfPar);//TODO RZG
|
}
|
|
|
}
|