|
@ -50,7 +50,7 @@ public class HuzhouPeriodicallabCountController { |
|
|
* @throws IOException |
|
|
* @throws IOException |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/addPeriodicallabCount") |
|
|
@PostMapping("/addPeriodicallabCount") |
|
|
public Result<?> addPeriodicallabCount(HuzhouPeriodicallabCount periodicallabCount){ |
|
|
public Result<?> addPeriodicallabCount(@RequestBody HuzhouPeriodicallabCount periodicallabCount){ |
|
|
periodicallabCountService.addPeriodicallabCount(periodicallabCount); |
|
|
periodicallabCountService.addPeriodicallabCount(periodicallabCount); |
|
|
return Result.ok("新增成功"); |
|
|
return Result.ok("新增成功"); |
|
|
} |
|
|
} |
|
@ -61,7 +61,7 @@ public class HuzhouPeriodicallabCountController { |
|
|
* @throws IOException |
|
|
* @throws IOException |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/modifyPeriodicallabCount") |
|
|
@PostMapping("/modifyPeriodicallabCount") |
|
|
public Result<?> modifyPeriodicallabCount(HuzhouPeriodicallabCount periodicallabCount){ |
|
|
public Result<?> modifyPeriodicallabCount(@RequestBody HuzhouPeriodicallabCount periodicallabCount){ |
|
|
Boolean aBoolean = periodicallabCountService.modifyPeriodicallabCount(periodicallabCount); |
|
|
Boolean aBoolean = periodicallabCountService.modifyPeriodicallabCount(periodicallabCount); |
|
|
if(aBoolean){ |
|
|
if(aBoolean){ |
|
|
return Result.ok("修改成功"); |
|
|
return Result.ok("修改成功"); |
|
|