| | |
| | | import com.fgkj.services.Ld9.BadLd9_monService; |
| | | import com.fgkj.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | */ |
| | | @RequestMapping("badLd9Mon") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "badLd9Mon接口") |
| | | public class BadLd9_monController{ |
| | | |
| | | @Resource |
| | |
| | | |
| | | //查询落后单体总数 |
| | | @GetMapping("num") |
| | | @ApiOperation(notes = "",value="查询落后单体总数") |
| | | public ServiceModel searchNums() { |
| | | User_inf uinf=(User_inf) ActionUtil.getUser(); |
| | | ServiceModel model = service.searchNums(uinf); |
| | |
| | | |
| | | //落后单体查询:根据条件查询落后单体 |
| | | @GetMapping("byInfo") |
| | | @ApiOperation(notes = "",value="落后单体查询:根据条件查询落后单体") |
| | | public ServiceModel serchByInfo(@RequestBody Batt_Maint_Dealarm bmd) { |
| | | // Batt_Maint_Dealarm bmd = getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Batt_Maint_Dealarm.class); |
| | | User_inf uinf=(User_inf) ActionUtil.getUser(); |