linwe
2023-11-14 acf2bdafdfa2fb1fe423d0700950c3ddd53c481b
src/main/java/org/springblade/modules/house/controller/HouseholdController.java
@@ -60,6 +60,17 @@
      HouseholdEntity detail = householdService.getOne(Condition.getQueryWrapper(household));
      return R.data(HouseholdWrapper.build().entityVO(detail));
   }
   /**
    * 住户 自定义查询详情
    * @param household
    * @return
    */
   @GetMapping("/getDetail")
   @ApiOperation(value = "详情", notes = "传入household")
   public R getDetail(HouseholdEntity household) {
      return R.data(householdService.getDetail(household));
   }
   /**
    * 住户 分页
    */
@@ -113,6 +124,17 @@
   }
   /**
    * 住户 自定义新增或修改
    * @param household
    * @return
    */
   @PostMapping("/saveOrUpdateHousehold")
   @ApiOperation(value = "自定义新增或修改", notes = "传入household")
   public R saveOrUpdateHousehold(@Valid @RequestBody HouseholdEntity household) {
      return R.status(householdService.saveOrUpdateHousehold(household));
   }
   /**
    * 住户 删除
    */
   @PostMapping("/remove")