| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 住户-标签 自定义新增或修改 |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | @PostMapping("/saveOrUpdateHouseholdLabel") |
| | | @ApiOperation(value = "自定义新增或修改", notes = "传入householdLabel") |
| | | public R saveOrUpdateHouseholdLabel(@Valid @RequestBody HouseholdLabelEntity householdLabel) { |
| | | return R.status(householdLabelService.saveOrUpdateHouseholdLabel(householdLabel)); |
| | | } |
| | | |
| | | /** |
| | | * 住户-标签 删除 |
| | | */ |
| | | @PostMapping("/remove") |