zhongrj
2023-10-31 00cdca2f95151f37acb25c7d6f330464da354c49
src/main/java/org/springblade/modules/house/controller/HouseholdLabelController.java
@@ -28,6 +28,7 @@
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.house.entity.HouseLabelEntity;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.house.entity.HouseholdLabelEntity;
@@ -113,6 +114,17 @@
   }
   /**
    * 住户-标签 自定义新增或修改
    * @param householdLabel
    * @return
    */
   @PostMapping("/saveOrUpdateHouseholdLabel")
   @ApiOperation(value = "自定义新增或修改", notes = "传入householdLabel")
   public R saveOrUpdateHouseholdLabel(@Valid @RequestBody HouseholdLabelEntity householdLabel) {
      return R.status(householdLabelService.saveOrUpdateHouseholdLabel(householdLabel));
   }
   /**
    * 住户-标签 删除
    */
   @PostMapping("/remove")