linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/property/controller/PropertyCompanyDistrictController.java
@@ -46,7 +46,7 @@
@AllArgsConstructor
@RequestMapping("blade-propertyCompanyDistrict/propertyCompanyDistrict")
@Api(value = "物业派驻小区表", tags = "物业派驻小区表接口")
public class PropertyCompanyDistrictController extends BladeController {
public class PropertyCompanyDistrictController {
   private final IPropertyCompanyDistrictService propertyCompanyDistrictService;
@@ -113,13 +113,23 @@
   }
   /**
    * 物业派驻小区表 自定义新增或修改
    * @param propertyCompanyDistrict
    * @return
    */
   @PostMapping("/saveOrUpdate")
   public R saveOrUpdate(@Valid @RequestBody PropertyCompanyDistrictEntity propertyCompanyDistrict) throws Exception {
      return R.status(propertyCompanyDistrictService.saveOrUpdatePropertyCompanyDistrict(propertyCompanyDistrict));
   }
   /**
    * 物业派驻小区表 删除
    */
   @PostMapping("/remove")
   @ApiOperationSupport(order = 7)
   @ApiOperation(value = "逻辑删除", notes = "传入ids")
   public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
      return R.status(propertyCompanyDistrictService.deleteLogic(Func.toLongList(ids)));
      return R.status(propertyCompanyDistrictService.removeByIds(Func.toIntList(ids)));
   }