| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.BadbattMonFlag; |
| | | import com.whyc.pojo.UserInf; |
| | | import com.whyc.service.BadBattMonFlagService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.stereotype.Service; |
| | | 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 javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @RequestMapping("BadBattMonFlag") |
| | | @RestController |
| | | @Api(tags = "报表统计") |
| | | public class BadBattMonFlagController { |
| | | public class BadBattMonFlagController extends BaseController{ |
| | | @Resource |
| | | private BadBattMonFlagService service; |
| | | |
| | | |
| | | @PostMapping("/") |
| | | @ApiOperation(notes = "TODO ",value = "落后单体查询/BadBattMonFlag") |
| | | public Response<List<String>> add(@RequestBody UserInf userInf) { |
| | | //TODO RZG |
| | | |
| | | return null; |
| | | @PostMapping("/add") |
| | | @ApiOperation(notes = "BadBatt_mon_flagAction!add",value = "落后单体查询/BadBattMonFlag") |
| | | public Response<List<String>> add(@RequestBody BadbattMonFlag badbattMonFlag) { |
| | | return service.add(badbattMonFlag); |
| | | } |
| | | |
| | | |