| | |
| | | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.AesUtil; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.house.dto.UserHouseLabelDTO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.house.entity.UserHouseLabelEntity; |
| | |
| | | import org.springblade.modules.house.wrapper.HouseLabelWrapper; |
| | | import org.springblade.modules.house.service.IUserHouseLabelService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 房屋-标签 控制器 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 房屋-标签 自定义分页 |
| | | */ |
| | | @GetMapping("/userLabelList") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "查询用户的标签", notes = "传入houseLabel") |
| | | public R<List<Integer>> userLabelList() { |
| | | List<Integer> pages = userHouseLabelService.selectUserLabelList(new UserHouseLabelDTO()); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 房屋-标签 新增 |
| | | */ |
| | | @PostMapping("/save") |