| | |
| | | |
| | | |
| | | @ApiOperation(value = "编辑设备信息") |
| | | @PostMapping("uodateInf") |
| | | public Response uodateInf(@RequestBody DevInf dinf){ |
| | | return service.uodateInf(dinf); |
| | | @PostMapping("updateInf") |
| | | public Response updateInf(@RequestBody DevInf dinf){ |
| | | return service.updateInf(dinf); |
| | | } |
| | | } |
| | |
| | | return new Response().setII(1,allMap.size()>0,allMap,"获取左侧列表"); |
| | | } |
| | | //编辑设备信息 |
| | | public Response uodateInf(DevInf dinf) { |
| | | public Response updateInf(DevInf dinf) { |
| | | UpdateWrapper wrapper=new UpdateWrapper(); |
| | | wrapper.eq("dev_id",dinf.getDevId()); |
| | | int flag=mapper.update(dinf,wrapper); |