| | |
| | | package com.fgkj.controller.ram; |
| | | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.dto.ram.Fbs9100s_fod_param; |
| | | import com.fgkj.dto.ram.Fbs9100s_fod_state; |
| | | import com.fgkj.services.ram.Fbs9100s_fod_stateService; |
| | | 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; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | |
| | | private Fbs9100s_fod_stateService service; |
| | | |
| | | //根据设备id查询设备养护除硫的参数信息 |
| | | @GetMapping("byCondition") |
| | | @PostMapping("byCondition") |
| | | @ApiOperation(notes = "",value="设备id查询设备养护除硫的参数信息") |
| | | public ServiceModel serchByCondition(@RequestBody Fbs9100s_fod_state fod){ |
| | | public ServiceModel serchByCondition(@RequestParam Integer dev_id) { |
| | | Fbs9100s_fod_state fod = new Fbs9100s_fod_state(); |
| | | fod.setDev_id(dev_id); |
| | | ServiceModel model=service.serchByCondition(fod); |
| | | |
| | | return model; |