吸怪bug
This commit is contained in:
parent
f84ee0ff92
commit
6a60335df6
|
@ -108,6 +108,21 @@ public class CameraInfoController extends JeecgController<CameraInfo, ICameraInf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param cameraInfo
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "选择摄像头信息-选择")
|
||||||
|
@ApiOperation(value="选择摄像头信息-选择", notes="选择摄像头信息-选择")
|
||||||
|
@RequestMapping(value = "/checkedit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
|
public Result<String> checkedit(@RequestBody CameraInfo cameraInfo) {
|
||||||
|
service.edit(cameraInfo);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@AutoLog(value = "摄像头-移除设备")
|
@AutoLog(value = "摄像头-移除设备")
|
||||||
@ApiOperation(value="摄像头-移除设备", notes="摄像头-移除设备")
|
@ApiOperation(value="摄像头-移除设备", notes="摄像头-移除设备")
|
||||||
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
|
|
|
@ -83,6 +83,13 @@ public class ElectricityMeterController extends JeecgController<ElectricityMeter
|
||||||
service.updateById(electricityMeter);
|
service.updateById(electricityMeter);
|
||||||
return Result.OK("编辑成功!");
|
return Result.OK("编辑成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AutoLog(value = "选择电表信息")
|
||||||
|
@RequestMapping(value = "/checkedit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
|
public Result<String> checkedit(@RequestBody ElectricityMeter electricityMeter) {
|
||||||
|
service.updateById(electricityMeter);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
@AutoLog(value = "移除电表")
|
@AutoLog(value = "移除电表")
|
||||||
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
public Result<String> updateDepartById(@RequestBody ElectricityMeter electricityMeter) {
|
public Result<String> updateDepartById(@RequestBody ElectricityMeter electricityMeter) {
|
||||||
|
|
|
@ -82,6 +82,13 @@ public class WaterMeterController extends JeecgController<WaterMeter, IWaterMete
|
||||||
return Result.OK("编辑成功!");
|
return Result.OK("编辑成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AutoLog(value = "选择水表信息")
|
||||||
|
@RequestMapping(value = "/checkedit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
|
public Result<String> checkedit(@RequestBody WaterMeter waterMeter) {
|
||||||
|
service.updateById(waterMeter);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
|
||||||
@AutoLog(value = "维修水表信息")
|
@AutoLog(value = "维修水表信息")
|
||||||
@RequestMapping(value = "/weixiu", method = {RequestMethod.PUT,RequestMethod.POST})
|
@RequestMapping(value = "/weixiu", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
public Result<String> weixiu(@RequestBody WaterMeter waterMeter) {
|
public Result<String> weixiu(@RequestBody WaterMeter waterMeter) {
|
||||||
|
|
|
@ -138,6 +138,12 @@ public class HumidDeviceController extends JeecgController<HumidDevice, IHumidDe
|
||||||
service.updateById(humidDevice);
|
service.updateById(humidDevice);
|
||||||
return Result.OK("编辑成功!");
|
return Result.OK("编辑成功!");
|
||||||
}
|
}
|
||||||
|
@AutoLog(value = "选择温湿度表信息")
|
||||||
|
@RequestMapping(value = "/checkedit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
|
public Result<String> checkedit(@RequestBody HumidDevice humidDevice) {
|
||||||
|
service.updateById(humidDevice);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
@AutoLog(value = "移除温湿度计机构树形")
|
@AutoLog(value = "移除温湿度计机构树形")
|
||||||
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
@RequestMapping(value = "/updateDepartById", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
public Result<String> updateDepartById(@RequestBody HumidDevice humidDevice) {
|
public Result<String> updateDepartById(@RequestBody HumidDevice humidDevice) {
|
||||||
|
|
Loading…
Reference in New Issue