| | |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.Ld9UpdateStatus; |
| | | import com.whyc.pojo.UserInf; |
| | | import com.whyc.service.Ld9StateService; |
| | | import com.whyc.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | @ApiOperation("查询LD9数据") |
| | | @GetMapping("getPageLd9") |
| | | public Response getPageLd9(@RequestParam int pageNum,@RequestParam int pageSize,@RequestParam(required = false) String stationName1,@RequestParam(required = false) String stationName2,@RequestParam(required = false) String stationName5){ |
| | | return service.getPageLd9(pageNum,pageSize,stationName1,stationName2,stationName5); |
| | | UserInf userInf = ActionUtil.getUser(); |
| | | return service.getPageLd9(pageNum,pageSize,stationName1,stationName2,stationName5,userInf.getUId().intValue()); |
| | | } |
| | | @ApiOperation("更新LD9参数") |
| | | @PostMapping("/updateUpdateFile") |
| | | public Response updateUpdateFile(@RequestBody Ld9UpdateStatus ld9UpdateStatus){ |
| | | return service.updateUpdateFile(ld9UpdateStatus); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询Ld9状态",notes = "返回值类型为Fbs9100state类型") |
| | | @GetMapping("/searchByCondition") |
| | | public Response searchByCondition(int pageNum,int pageSize,int devErrcommcount){ |
| | | UserInf user = ActionUtil.getUser(); |
| | | return service.searchByCondition(pageNum,pageSize,devErrcommcount,user.getUId().intValue()); |
| | | } |
| | | |
| | | |
| | | } |