package com.fgkj.controller;
|
|
import com.fgkj.util.*;
|
|
import com.fgkj.dto.ServiceModel;
|
import com.fgkj.services.Batt_maintenance_infService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
@RequestMapping("battMaintenanceInf")
|
@RestController
|
@Api(tags = "battMaintenanceInf接口")
|
public class Batt_maintenance_infController{
|
|
@Resource
|
private Batt_maintenance_infService service;
|
|
// private Batt_maintenance_inf bmi;
|
|
@GetMapping("all")
|
@ApiOperation(notes = "",value="查询所有")
|
public ServiceModel searchAll(){
|
ServiceModel model=service.searchAll();
|
return model;
|
}
|
}
|