| | |
| | | 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; |
| | |
| | | |
| | | @RequestMapping("battMaintenanceInf") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "battMaintenanceInf接口") |
| | | public class Batt_maintenance_infController{ |
| | | |
| | | @Resource |
| | |
| | | // private Batt_maintenance_inf bmi; |
| | | |
| | | @GetMapping("all") |
| | | @ApiOperation(notes = "",value="查询所有") |
| | | public ServiceModel searchAll(){ |
| | | ServiceModel model=service.searchAll(); |
| | | return model; |