Browse Source

修改内容

master
zhouhaibin 5 months ago
parent
commit
524c143f0d
  1. 4
      huzhou/src/main/java/com/easy/admin/modules/huzhou/controller/HuzhouPeriodicallabCountController.java
  2. 2
      huzhou/src/main/java/com/easy/admin/modules/huzhou/entity/HuzhouPeriodicallabCount.java

4
huzhou/src/main/java/com/easy/admin/modules/huzhou/controller/HuzhouPeriodicallabCountController.java

@ -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("修改成功");

2
huzhou/src/main/java/com/easy/admin/modules/huzhou/entity/HuzhouPeriodicallabCount.java

@ -34,7 +34,7 @@ public class HuzhouPeriodicallabCount extends BaseEntity implements Serializable
private Integer countNumber; private Integer countNumber;
private Integer editNumber; // private Integer editNumber;
} }

Loading…
Cancel
Save