物业模块代码生成
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
package org.dromara.Property.mapper;
|
||||
|
||||
import org.dromara.Property.domain.TdFactory;
|
||||
import org.dromara.Property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* PropertyMapper接口
|
||||
*
|
||||
* @author LionLi
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TdFactoryMapper extends BaseMapperPlus<TdFactory, TdFactoryVo> {
|
||||
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
package org.dromara.Property;
|
||||
package org.dromara.property;
|
||||
|
||||
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
|
||||
import org.springframework.boot.SpringApplication;
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbAccessControlVo;
|
||||
import org.dromara.property.domain.bo.TbAccessControlBo;
|
||||
import org.dromara.property.service.ITbAccessControlService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 门禁管理
|
||||
* 前端访问路由地址为:/property/accessControl
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/accessControl")
|
||||
public class TbAccessControlController extends BaseController {
|
||||
|
||||
private final ITbAccessControlService tbAccessControlService;
|
||||
|
||||
/**
|
||||
* 查询门禁管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbAccessControlVo> list(TbAccessControlBo bo, PageQuery pageQuery) {
|
||||
return tbAccessControlService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出门禁管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:export")
|
||||
@Log(title = "门禁管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbAccessControlBo bo, HttpServletResponse response) {
|
||||
List<TbAccessControlVo> list = tbAccessControlService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "门禁管理", TbAccessControlVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门禁管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbAccessControlVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbAccessControlService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增门禁管理
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:add")
|
||||
@Log(title = "门禁管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbAccessControlBo bo) {
|
||||
return toAjax(tbAccessControlService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改门禁管理
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:edit")
|
||||
@Log(title = "门禁管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbAccessControlBo bo) {
|
||||
return toAjax(tbAccessControlService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除门禁管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:accessControl:remove")
|
||||
@Log(title = "门禁管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbAccessControlService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbBuildingVo;
|
||||
import org.dromara.property.domain.bo.TbBuildingBo;
|
||||
import org.dromara.property.service.ITbBuildingService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 建筑管理
|
||||
* 前端访问路由地址为:/property/building
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/building")
|
||||
public class TbBuildingController extends BaseController {
|
||||
|
||||
private final ITbBuildingService tbBuildingService;
|
||||
|
||||
/**
|
||||
* 查询建筑管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:building:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbBuildingVo> list(TbBuildingBo bo, PageQuery pageQuery) {
|
||||
return tbBuildingService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出建筑管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:building:export")
|
||||
@Log(title = "建筑管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbBuildingBo bo, HttpServletResponse response) {
|
||||
List<TbBuildingVo> list = tbBuildingService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "建筑管理", TbBuildingVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取建筑管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:building:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbBuildingVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbBuildingService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增建筑管理
|
||||
*/
|
||||
@SaCheckPermission("property:building:add")
|
||||
@Log(title = "建筑管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbBuildingBo bo) {
|
||||
return toAjax(tbBuildingService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改建筑管理
|
||||
*/
|
||||
@SaCheckPermission("property:building:edit")
|
||||
@Log(title = "建筑管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbBuildingBo bo) {
|
||||
return toAjax(tbBuildingService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除建筑管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:building:remove")
|
||||
@Log(title = "建筑管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbBuildingService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbCeremonialServeVo;
|
||||
import org.dromara.property.domain.bo.TbCeremonialServeBo;
|
||||
import org.dromara.property.service.ITbCeremonialServeService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 服务
|
||||
* 前端访问路由地址为:/property/ceremonialServe
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/ceremonialServe")
|
||||
public class TbCeremonialServeController extends BaseController {
|
||||
|
||||
private final ITbCeremonialServeService tbCeremonialServeService;
|
||||
|
||||
/**
|
||||
* 查询服务列表
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbCeremonialServeVo> list(TbCeremonialServeBo bo, PageQuery pageQuery) {
|
||||
return tbCeremonialServeService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出服务列表
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:export")
|
||||
@Log(title = "服务", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbCeremonialServeBo bo, HttpServletResponse response) {
|
||||
List<TbCeremonialServeVo> list = tbCeremonialServeService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "服务", TbCeremonialServeVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取服务详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbCeremonialServeVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbCeremonialServeService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增服务
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:add")
|
||||
@Log(title = "服务", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbCeremonialServeBo bo) {
|
||||
return toAjax(tbCeremonialServeService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改服务
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:edit")
|
||||
@Log(title = "服务", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbCeremonialServeBo bo) {
|
||||
return toAjax(tbCeremonialServeService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除服务
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialServe:remove")
|
||||
@Log(title = "服务", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbCeremonialServeService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbCeremonialserveRoombookingVo;
|
||||
import org.dromara.property.domain.bo.TbCeremonialserveRoombookingBo;
|
||||
import org.dromara.property.service.ITbCeremonialserveRoombookingService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 服务订阅
|
||||
* 前端访问路由地址为:/property/ceremonialserveRoombooking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/ceremonialserveRoombooking")
|
||||
public class TbCeremonialserveRoombookingController extends BaseController {
|
||||
|
||||
private final ITbCeremonialserveRoombookingService tbCeremonialserveRoombookingService;
|
||||
|
||||
/**
|
||||
* 查询服务订阅列表
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbCeremonialserveRoombookingVo> list(TbCeremonialserveRoombookingBo bo, PageQuery pageQuery) {
|
||||
return tbCeremonialserveRoombookingService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出服务订阅列表
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:export")
|
||||
@Log(title = "服务订阅", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbCeremonialserveRoombookingBo bo, HttpServletResponse response) {
|
||||
List<TbCeremonialserveRoombookingVo> list = tbCeremonialserveRoombookingService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "服务订阅", TbCeremonialserveRoombookingVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取服务订阅详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbCeremonialserveRoombookingVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbCeremonialserveRoombookingService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增服务订阅
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:add")
|
||||
@Log(title = "服务订阅", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbCeremonialserveRoombookingBo bo) {
|
||||
return toAjax(tbCeremonialserveRoombookingService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改服务订阅
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:edit")
|
||||
@Log(title = "服务订阅", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbCeremonialserveRoombookingBo bo) {
|
||||
return toAjax(tbCeremonialserveRoombookingService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除服务订阅
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:ceremonialserveRoombooking:remove")
|
||||
@Log(title = "服务订阅", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbCeremonialserveRoombookingService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,113 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbCityAreaVo;
|
||||
import org.dromara.property.domain.bo.TbCityAreaBo;
|
||||
import org.dromara.property.service.ITbCityAreaService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
|
||||
* 前端访问路由地址为:/property/cityArea
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/cityArea")
|
||||
public class TbCityAreaController extends BaseController {
|
||||
|
||||
private final ITbCityAreaService tbCityAreaService;
|
||||
|
||||
/**
|
||||
* 查询行政区划
|
||||
列表
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbCityAreaVo> list(TbCityAreaBo bo, PageQuery pageQuery) {
|
||||
return tbCityAreaService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出行政区划
|
||||
列表
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:export")
|
||||
@Log(title = "行政区划", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbCityAreaBo bo, HttpServletResponse response) {
|
||||
List<TbCityAreaVo> list = tbCityAreaService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "行政区划", TbCityAreaVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取行政区划
|
||||
详细信息
|
||||
*
|
||||
* @param areaCode 主键
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:query")
|
||||
@GetMapping("/{areaCode}")
|
||||
public R<TbCityAreaVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("areaCode") String areaCode) {
|
||||
return R.ok(tbCityAreaService.queryById(areaCode));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增行政区划
|
||||
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:add")
|
||||
@Log(title = "行政区划", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbCityAreaBo bo) {
|
||||
return toAjax(tbCityAreaService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改行政区划
|
||||
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:edit")
|
||||
@Log(title = "行政区划", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbCityAreaBo bo) {
|
||||
return toAjax(tbCityAreaService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除行政区划
|
||||
|
||||
*
|
||||
* @param areaCodes 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:cityArea:remove")
|
||||
@Log(title = "行政区划", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{areaCodes}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("areaCodes") String[] areaCodes) {
|
||||
return toAjax(tbCityAreaService.deleteWithValidByIds(List.of(areaCodes), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbCommunityVo;
|
||||
import org.dromara.property.domain.bo.TbCommunityBo;
|
||||
import org.dromara.property.service.ITbCommunityService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 小区管理
|
||||
* 前端访问路由地址为:/property/community
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/community")
|
||||
public class TbCommunityController extends BaseController {
|
||||
|
||||
private final ITbCommunityService tbCommunityService;
|
||||
|
||||
/**
|
||||
* 查询小区管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:community:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbCommunityVo> list(TbCommunityBo bo, PageQuery pageQuery) {
|
||||
return tbCommunityService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出小区管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:community:export")
|
||||
@Log(title = "小区管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbCommunityBo bo, HttpServletResponse response) {
|
||||
List<TbCommunityVo> list = tbCommunityService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "小区管理", TbCommunityVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取小区管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:community:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbCommunityVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbCommunityService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增小区管理
|
||||
*/
|
||||
@SaCheckPermission("property:community:add")
|
||||
@Log(title = "小区管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbCommunityBo bo) {
|
||||
return toAjax(tbCommunityService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改小区管理
|
||||
*/
|
||||
@SaCheckPermission("property:community:edit")
|
||||
@Log(title = "小区管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbCommunityBo bo) {
|
||||
return toAjax(tbCommunityService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除小区管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:community:remove")
|
||||
@Log(title = "小区管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbCommunityService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbConferenceVo;
|
||||
import org.dromara.property.domain.bo.TbConferenceBo;
|
||||
import org.dromara.property.service.ITbConferenceService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 会议室管理
|
||||
* 前端访问路由地址为:/property/conference
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/conference")
|
||||
public class TbConferenceController extends BaseController {
|
||||
|
||||
private final ITbConferenceService tbConferenceService;
|
||||
|
||||
/**
|
||||
* 查询会议室管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:conference:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbConferenceVo> list(TbConferenceBo bo, PageQuery pageQuery) {
|
||||
return tbConferenceService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出会议室管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:conference:export")
|
||||
@Log(title = "会议室管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbConferenceBo bo, HttpServletResponse response) {
|
||||
List<TbConferenceVo> list = tbConferenceService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "会议室管理", TbConferenceVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会议室管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:conference:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbConferenceVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbConferenceService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议室管理
|
||||
*/
|
||||
@SaCheckPermission("property:conference:add")
|
||||
@Log(title = "会议室管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbConferenceBo bo) {
|
||||
return toAjax(tbConferenceService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议室管理
|
||||
*/
|
||||
@SaCheckPermission("property:conference:edit")
|
||||
@Log(title = "会议室管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbConferenceBo bo) {
|
||||
return toAjax(tbConferenceService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议室管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:conference:remove")
|
||||
@Log(title = "会议室管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbConferenceService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbE8ConfigVo;
|
||||
import org.dromara.property.domain.bo.TbE8ConfigBo;
|
||||
import org.dromara.property.service.ITbE8ConfigService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
* 前端访问路由地址为:/property/e8Config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/e8Config")
|
||||
public class TbE8ConfigController extends BaseController {
|
||||
|
||||
private final ITbE8ConfigService tbE8ConfigService;
|
||||
|
||||
/**
|
||||
* 查询E8服务地址列表
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbE8ConfigVo> list(TbE8ConfigBo bo, PageQuery pageQuery) {
|
||||
return tbE8ConfigService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出E8服务地址列表
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:export")
|
||||
@Log(title = "E8服务地址", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbE8ConfigBo bo, HttpServletResponse response) {
|
||||
List<TbE8ConfigVo> list = tbE8ConfigService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "E8服务地址", TbE8ConfigVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取E8服务地址详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbE8ConfigVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbE8ConfigService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增E8服务地址
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:add")
|
||||
@Log(title = "E8服务地址", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbE8ConfigBo bo) {
|
||||
return toAjax(tbE8ConfigService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改E8服务地址
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:edit")
|
||||
@Log(title = "E8服务地址", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbE8ConfigBo bo) {
|
||||
return toAjax(tbE8ConfigService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除E8服务地址
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:e8Config:remove")
|
||||
@Log(title = "E8服务地址", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbE8ConfigService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbFloorVo;
|
||||
import org.dromara.property.domain.bo.TbFloorBo;
|
||||
import org.dromara.property.service.ITbFloorService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 楼层
|
||||
* 前端访问路由地址为:/property/floor
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/floor")
|
||||
public class TbFloorController extends BaseController {
|
||||
|
||||
private final ITbFloorService tbFloorService;
|
||||
|
||||
/**
|
||||
* 查询楼层列表
|
||||
*/
|
||||
@SaCheckPermission("property:floor:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbFloorVo> list(TbFloorBo bo, PageQuery pageQuery) {
|
||||
return tbFloorService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出楼层列表
|
||||
*/
|
||||
@SaCheckPermission("property:floor:export")
|
||||
@Log(title = "楼层", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbFloorBo bo, HttpServletResponse response) {
|
||||
List<TbFloorVo> list = tbFloorService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "楼层", TbFloorVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取楼层详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:floor:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbFloorVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbFloorService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增楼层
|
||||
*/
|
||||
@SaCheckPermission("property:floor:add")
|
||||
@Log(title = "楼层", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbFloorBo bo) {
|
||||
return toAjax(tbFloorService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改楼层
|
||||
*/
|
||||
@SaCheckPermission("property:floor:edit")
|
||||
@Log(title = "楼层", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbFloorBo bo) {
|
||||
return toAjax(tbFloorService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除楼层
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:floor:remove")
|
||||
@Log(title = "楼层", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbFloorService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbRoomBookingVo;
|
||||
import org.dromara.property.domain.bo.TbRoomBookingBo;
|
||||
import org.dromara.property.service.ITbRoomBookingService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 会议管理
|
||||
* 前端访问路由地址为:/property/roomBooking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/roomBooking")
|
||||
public class TbRoomBookingController extends BaseController {
|
||||
|
||||
private final ITbRoomBookingService tbRoomBookingService;
|
||||
|
||||
/**
|
||||
* 查询会议管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbRoomBookingVo> list(TbRoomBookingBo bo, PageQuery pageQuery) {
|
||||
return tbRoomBookingService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出会议管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:export")
|
||||
@Log(title = "会议管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbRoomBookingBo bo, HttpServletResponse response) {
|
||||
List<TbRoomBookingVo> list = tbRoomBookingService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "会议管理", TbRoomBookingVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会议管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbRoomBookingVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbRoomBookingService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议管理
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:add")
|
||||
@Log(title = "会议管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbRoomBookingBo bo) {
|
||||
return toAjax(tbRoomBookingService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议管理
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:edit")
|
||||
@Log(title = "会议管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbRoomBookingBo bo) {
|
||||
return toAjax(tbRoomBookingService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:roomBooking:remove")
|
||||
@Log(title = "会议管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbRoomBookingService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbServiceClassificationVo;
|
||||
import org.dromara.property.domain.bo.TbServiceClassificationBo;
|
||||
import org.dromara.property.service.ITbServiceClassificationService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 分类管理
|
||||
* 前端访问路由地址为:/property/serviceClassification
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/serviceClassification")
|
||||
public class TbServiceClassificationController extends BaseController {
|
||||
|
||||
private final ITbServiceClassificationService tbServiceClassificationService;
|
||||
|
||||
/**
|
||||
* 查询分类管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbServiceClassificationVo> list(TbServiceClassificationBo bo, PageQuery pageQuery) {
|
||||
return tbServiceClassificationService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出分类管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:export")
|
||||
@Log(title = "分类管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbServiceClassificationBo bo, HttpServletResponse response) {
|
||||
List<TbServiceClassificationVo> list = tbServiceClassificationService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "分类管理", TbServiceClassificationVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分类管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbServiceClassificationVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbServiceClassificationService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增分类管理
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:add")
|
||||
@Log(title = "分类管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbServiceClassificationBo bo) {
|
||||
return toAjax(tbServiceClassificationService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改分类管理
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:edit")
|
||||
@Log(title = "分类管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbServiceClassificationBo bo) {
|
||||
return toAjax(tbServiceClassificationService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除分类管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:serviceClassification:remove")
|
||||
@Log(title = "分类管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbServiceClassificationService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TbVisitorManagementVo;
|
||||
import org.dromara.property.domain.bo.TbVisitorManagementBo;
|
||||
import org.dromara.property.service.ITbVisitorManagementService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 访客管理
|
||||
* 前端访问路由地址为:/property/visitorManagement
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/visitorManagement")
|
||||
public class TbVisitorManagementController extends BaseController {
|
||||
|
||||
private final ITbVisitorManagementService tbVisitorManagementService;
|
||||
|
||||
/**
|
||||
* 查询访客管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TbVisitorManagementVo> list(TbVisitorManagementBo bo, PageQuery pageQuery) {
|
||||
return tbVisitorManagementService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出访客管理列表
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:export")
|
||||
@Log(title = "访客管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TbVisitorManagementBo bo, HttpServletResponse response) {
|
||||
List<TbVisitorManagementVo> list = tbVisitorManagementService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "访客管理", TbVisitorManagementVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取访客管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TbVisitorManagementVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tbVisitorManagementService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增访客管理
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:add")
|
||||
@Log(title = "访客管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbVisitorManagementBo bo) {
|
||||
return toAjax(tbVisitorManagementService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改访客管理
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:edit")
|
||||
@Log(title = "访客管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbVisitorManagementBo bo) {
|
||||
return toAjax(tbVisitorManagementService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除访客管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:visitorManagement:remove")
|
||||
@Log(title = "访客管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tbVisitorManagementService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TdDeviceTypeVo;
|
||||
import org.dromara.property.domain.bo.TdDeviceTypeBo;
|
||||
import org.dromara.property.service.ITdDeviceTypeService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 设备类型
|
||||
* 前端访问路由地址为:/property/deviceType
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/deviceType")
|
||||
public class TdDeviceTypeController extends BaseController {
|
||||
|
||||
private final ITdDeviceTypeService tdDeviceTypeService;
|
||||
|
||||
/**
|
||||
* 查询设备类型列表
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TdDeviceTypeVo> list(TdDeviceTypeBo bo, PageQuery pageQuery) {
|
||||
return tdDeviceTypeService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出设备类型列表
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:export")
|
||||
@Log(title = "设备类型", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TdDeviceTypeBo bo, HttpServletResponse response) {
|
||||
List<TdDeviceTypeVo> list = tdDeviceTypeService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "设备类型", TdDeviceTypeVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取设备类型详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TdDeviceTypeVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tdDeviceTypeService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增设备类型
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:add")
|
||||
@Log(title = "设备类型", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TdDeviceTypeBo bo) {
|
||||
return toAjax(tdDeviceTypeService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改设备类型
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:edit")
|
||||
@Log(title = "设备类型", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TdDeviceTypeBo bo) {
|
||||
return toAjax(tdDeviceTypeService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备类型
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:deviceType:remove")
|
||||
@Log(title = "设备类型", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tdDeviceTypeService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
package org.dromara.Property.controller;
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -17,16 +17,16 @@ import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.Property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.Property.domain.bo.TdFactoryBo;
|
||||
import org.dromara.Property.service.ITdFactoryService;
|
||||
import org.dromara.property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.property.domain.bo.TdFactoryBo;
|
||||
import org.dromara.property.service.ITdFactoryService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* Property
|
||||
* 前端访问路由地址为:/Property/factory
|
||||
* 厂商管理
|
||||
* 前端访问路由地址为:/property/factory
|
||||
*
|
||||
* @author LionLi
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@@ -38,31 +38,31 @@ public class TdFactoryController extends BaseController {
|
||||
private final ITdFactoryService tdFactoryService;
|
||||
|
||||
/**
|
||||
* 查询Property列表
|
||||
* 查询厂商管理列表
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:list")
|
||||
@SaCheckPermission("property:factory:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TdFactoryVo> list(TdFactoryBo bo, PageQuery pageQuery) {
|
||||
return tdFactoryService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出Property列表
|
||||
* 导出厂商管理列表
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:export")
|
||||
@Log(title = "Property", businessType = BusinessType.EXPORT)
|
||||
@SaCheckPermission("property:factory:export")
|
||||
@Log(title = "厂商管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TdFactoryBo bo, HttpServletResponse response) {
|
||||
List<TdFactoryVo> list = tdFactoryService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "Property", TdFactoryVo.class, response);
|
||||
ExcelUtil.exportExcel(list, "厂商管理", TdFactoryVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取Property详细信息
|
||||
* 获取厂商管理详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:query")
|
||||
@SaCheckPermission("property:factory:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TdFactoryVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
@@ -70,10 +70,10 @@ public class TdFactoryController extends BaseController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增Property
|
||||
* 新增厂商管理
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:add")
|
||||
@Log(title = "Property", businessType = BusinessType.INSERT)
|
||||
@SaCheckPermission("property:factory:add")
|
||||
@Log(title = "厂商管理", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TdFactoryBo bo) {
|
||||
@@ -81,10 +81,10 @@ public class TdFactoryController extends BaseController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改Property
|
||||
* 修改厂商管理
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:edit")
|
||||
@Log(title = "Property", businessType = BusinessType.UPDATE)
|
||||
@SaCheckPermission("property:factory:edit")
|
||||
@Log(title = "厂商管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TdFactoryBo bo) {
|
||||
@@ -92,12 +92,12 @@ public class TdFactoryController extends BaseController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除Property
|
||||
* 删除厂商管理
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("Property:factory:remove")
|
||||
@Log(title = "Property", businessType = BusinessType.DELETE)
|
||||
@SaCheckPermission("property:factory:remove")
|
||||
@Log(title = "厂商管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TsConfigVo;
|
||||
import org.dromara.property.domain.bo.TsConfigBo;
|
||||
import org.dromara.property.service.ITsConfigService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 代码配置
|
||||
* 前端访问路由地址为:/property/config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/config")
|
||||
public class TsConfigController extends BaseController {
|
||||
|
||||
private final ITsConfigService tsConfigService;
|
||||
|
||||
/**
|
||||
* 查询代码配置列表
|
||||
*/
|
||||
@SaCheckPermission("property:config:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TsConfigVo> list(TsConfigBo bo, PageQuery pageQuery) {
|
||||
return tsConfigService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出代码配置列表
|
||||
*/
|
||||
@SaCheckPermission("property:config:export")
|
||||
@Log(title = "代码配置", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TsConfigBo bo, HttpServletResponse response) {
|
||||
List<TsConfigVo> list = tsConfigService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "代码配置", TsConfigVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取代码配置详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:config:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TsConfigVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tsConfigService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增代码配置
|
||||
*/
|
||||
@SaCheckPermission("property:config:add")
|
||||
@Log(title = "代码配置", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TsConfigBo bo) {
|
||||
return toAjax(tsConfigService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改代码配置
|
||||
*/
|
||||
@SaCheckPermission("property:config:edit")
|
||||
@Log(title = "代码配置", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TsConfigBo bo) {
|
||||
return toAjax(tsConfigService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除代码配置
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:config:remove")
|
||||
@Log(title = "代码配置", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tsConfigService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,106 @@
|
||||
package org.dromara.property.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.constraints.*;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
||||
import org.dromara.common.log.annotation.Log;
|
||||
import org.dromara.common.web.core.BaseController;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import org.dromara.common.core.domain.R;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import org.dromara.common.log.enums.BusinessType;
|
||||
import org.dromara.common.excel.utils.ExcelUtil;
|
||||
import org.dromara.property.domain.vo.TsOperationLogVo;
|
||||
import org.dromara.property.domain.bo.TsOperationLogBo;
|
||||
import org.dromara.property.service.ITsOperationLogService;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 请求日志
|
||||
* 前端访问路由地址为:/property/operationLog
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/operationLog")
|
||||
public class TsOperationLogController extends BaseController {
|
||||
|
||||
private final ITsOperationLogService tsOperationLogService;
|
||||
|
||||
/**
|
||||
* 查询请求日志列表
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<TsOperationLogVo> list(TsOperationLogBo bo, PageQuery pageQuery) {
|
||||
return tsOperationLogService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出请求日志列表
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:export")
|
||||
@Log(title = "请求日志", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(TsOperationLogBo bo, HttpServletResponse response) {
|
||||
List<TsOperationLogVo> list = tsOperationLogService.queryList(bo);
|
||||
ExcelUtil.exportExcel(list, "请求日志", TsOperationLogVo.class, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取请求日志详细信息
|
||||
*
|
||||
* @param id 主键
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:query")
|
||||
@GetMapping("/{id}")
|
||||
public R<TsOperationLogVo> getInfo(@NotNull(message = "主键不能为空")
|
||||
@PathVariable("id") Long id) {
|
||||
return R.ok(tsOperationLogService.queryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增请求日志
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:add")
|
||||
@Log(title = "请求日志", businessType = BusinessType.INSERT)
|
||||
@RepeatSubmit()
|
||||
@PostMapping()
|
||||
public R<Void> add(@Validated(AddGroup.class) @RequestBody TsOperationLogBo bo) {
|
||||
return toAjax(tsOperationLogService.insertByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改请求日志
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:edit")
|
||||
@Log(title = "请求日志", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TsOperationLogBo bo) {
|
||||
return toAjax(tsOperationLogService.updateByBo(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除请求日志
|
||||
*
|
||||
* @param ids 主键串
|
||||
*/
|
||||
@SaCheckPermission("property:operationLog:remove")
|
||||
@Log(title = "请求日志", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable("ids") Long[] ids) {
|
||||
return toAjax(tsOperationLogService.deleteWithValidByIds(List.of(ids), true));
|
||||
}
|
||||
}
|
@@ -0,0 +1,108 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 门禁管理对象 tb_access_control
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_access_control")
|
||||
public class TbAccessControl extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
private String accessCode;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
private String accessName;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
private String accessIp;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
private Long accessPort;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
private Long accssType;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
private String factoryCode;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
private Long controlType;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
private String controlCode;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
private String outCode;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createEmpId;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,158 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 建筑管理对象 tb_building
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_building")
|
||||
public class TbBuilding extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
private String buildingName;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
private Long cqxz;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
private String bdcbh;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
private String cqbh;
|
||||
|
||||
/**
|
||||
* 图地编号
|
||||
*/
|
||||
private String tdbh;
|
||||
|
||||
/**
|
||||
* 建筑面积
|
||||
*/
|
||||
private Long jzmj;
|
||||
|
||||
/**
|
||||
* 产权面积
|
||||
*/
|
||||
private Long cqmj;
|
||||
|
||||
/**
|
||||
* 可租面积
|
||||
*/
|
||||
private Long kzmj;
|
||||
|
||||
/**
|
||||
* 自用面积
|
||||
*/
|
||||
private Long zymj;
|
||||
|
||||
/**
|
||||
* 配套面积
|
||||
*/
|
||||
private Long ptmj;
|
||||
|
||||
/**
|
||||
* 车位面积
|
||||
*/
|
||||
private Long cwmj;
|
||||
|
||||
/**
|
||||
* 标准层高
|
||||
*/
|
||||
private Long bzcg;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
private Long order;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createEmpId;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,110 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.dromara.common.translation.annotation.Translation;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.common.translation.constant.TransConstant;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 服务对象 tb_ceremonial_serve
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_ceremonial_serve")
|
||||
public class TbCeremonialServe extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
private Long classificationId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
private Long roomBookId;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
private Long serveNum;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
private Long serveType;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String serveName;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
private Long serveStatus;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
private Long confirmId;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
private Date beginTime;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
private Long servePrice;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
private Long dataStauts;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
private String serveImage;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Long sort;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,46 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 服务订阅对象 tb_ceremonialserve_roombooking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_ceremonialserve_roombooking")
|
||||
public class TbCeremonialserveRoombooking extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
private Long ceremonialServeId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
private Long roomBookingId;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
private Long totalPrice;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,72 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
对象 tb_city_area
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_city_area")
|
||||
public class TbCityArea extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
@TableId(value = "area_code")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
private String areaLevel;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
private String parentAreaCode;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
private String parentAreaName;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,103 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 小区管理对象 tb_community
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_community")
|
||||
public class TbCommunity extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
private String communityName;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
private Long communityType;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
private String img;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createEmpId;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,138 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 会议室管理对象 tb_conference
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_conference")
|
||||
public class TbConference extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
private String roomName;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
private Long roomNo;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
private String roomLocation;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
private String roomArea;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
private String roomType;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
private Long roomNumber;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
private String roomFacilities;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
private Long feeType;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
private Long feePrice;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
private Long dataStatus;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
private Long contactNumber;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
private String pictures;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
private Long review;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
private Long enabledStatus;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
private Long openingWeek;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
private Date openingBeginTime;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
private Date openingEndTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,68 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* E8服务地址对象 tb_e8_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_e8_config")
|
||||
public class TbE8Config extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
private String e8Name;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
private String e8ServerUrl;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
private String e8Secret;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createEmpId;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,73 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 楼层对象 tb_floor
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_floor")
|
||||
public class TbFloor extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
private Long floorCode;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
private String floorName;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createEmpId;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,138 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 会议管理对象 tb_room_booking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_room_booking")
|
||||
public class TbRoomBooking extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
private Long tbConferenceId;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
private Long bookingStatus;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
private Long reviewStatus;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
private String bookingName;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
private String userUnit;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
private String conferenceTheme;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
private Date appointmentDate;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
private Date appointmentBeginTime;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
private Date appointmentEndTime;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
private String attendeesName;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
private Long approverCount;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
private Date checkInStartTime;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
private Date checkInEndTime;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
private String approver;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
private Date approverTime;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
private String evaluate;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
private Long addServices;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
private Long dataStatus;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 分类管理对象 tb_service_classification
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_service_classification")
|
||||
public class TbServiceClassification extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Long sort;
|
||||
|
||||
/**
|
||||
* 分类状态(0:禁用,1:启用)
|
||||
*/
|
||||
private Long status;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,88 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 访客管理对象 tb_visitor_management
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tb_visitor_management")
|
||||
public class TbVisitorManagement extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
private String visitorName;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
private String visitorPhone;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
private String visitingReason;
|
||||
|
||||
/**
|
||||
* 拜访开始时间
|
||||
*/
|
||||
private Date visitingBeginTime;
|
||||
|
||||
/**
|
||||
* 拜访结束时间
|
||||
*/
|
||||
private Date visitingEndTime;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
private Long bookingParkingSpace;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
private String licensePlate;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
private String facePictures;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
private Long serveStatus;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,63 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 设备类型对象 td_device_type
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("td_device_type")
|
||||
public class TdDeviceType extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
private String dvNo;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
private String dvName;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
private String factoryNo;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
package org.dromara.Property.domain;
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
@@ -10,9 +10,9 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* Property对象 td_factory
|
||||
* 厂商管理对象 td_factory
|
||||
*
|
||||
* @author LionLi
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@@ -24,7 +24,7 @@ public class TdFactory extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
* 数据库id
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
@@ -0,0 +1,98 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 代码配置对象 ts_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("ts_config")
|
||||
public class TsConfig extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 代码标识
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 代码分类
|
||||
*/
|
||||
private String codeKind;
|
||||
|
||||
/**
|
||||
* 代码取值
|
||||
*/
|
||||
private String codeValue;
|
||||
|
||||
/**
|
||||
* 类型名称
|
||||
*/
|
||||
private String codeName;
|
||||
|
||||
/**
|
||||
* 代码取值名称
|
||||
*/
|
||||
private String codeValueName;
|
||||
|
||||
/**
|
||||
* 代码取值别名
|
||||
*/
|
||||
private String codeValueAlias;
|
||||
|
||||
/**
|
||||
* 代码取值描述
|
||||
*/
|
||||
private String codeValueDesc;
|
||||
|
||||
/**
|
||||
* 代码取值排序
|
||||
*/
|
||||
private Long codeValueOrder;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,118 @@
|
||||
package org.dromara.property.domain;
|
||||
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 请求日志对象 ts_operation_log
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("ts_operation_log")
|
||||
public class TsOperationLog extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 操作员code
|
||||
*/
|
||||
private String userCode;
|
||||
|
||||
/**
|
||||
* 操作员姓名
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 域名
|
||||
*/
|
||||
private String sysArea;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
private String method;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
private String methodDesc;
|
||||
|
||||
/**
|
||||
* 类方法
|
||||
*/
|
||||
private String classMethod;
|
||||
|
||||
/**
|
||||
* ip地址
|
||||
*/
|
||||
private String requestIp;
|
||||
|
||||
/**
|
||||
* 请求入参
|
||||
*/
|
||||
private String requestArgs;
|
||||
|
||||
/**
|
||||
* 响应类型 0 正常 1 异常
|
||||
*/
|
||||
private Long responseType;
|
||||
|
||||
/**
|
||||
* 响应原始数据-包含正常异常
|
||||
*/
|
||||
private String responseBody;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,105 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbAccessControl;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 门禁管理业务对象 tb_access_control
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbAccessControl.class, reverseConvertGenerate = false)
|
||||
public class TbAccessControlBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
@NotBlank(message = "门禁设备编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String accessCode;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
@NotBlank(message = "门禁名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String accessName;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
@NotBlank(message = "园区编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
@NotBlank(message = "建筑编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
private String accessIp;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
private Long accessPort;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
@NotNull(message = "门禁设备类型不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long accssType;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
@NotBlank(message = "工程编号不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String factoryCode;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
@NotNull(message = "控制卡类型:1-系统,2-E8不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long controlType;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
private String controlCode;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
private String outCode;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@NotBlank(message = "组织编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,168 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbBuilding;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 建筑管理业务对象 tb_building
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbBuilding.class, reverseConvertGenerate = false)
|
||||
public class TbBuildingBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
@NotBlank(message = "园区编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
@NotBlank(message = "建筑编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
@NotBlank(message = "建筑名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String buildingName;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
@NotBlank(message = "省不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
@NotBlank(message = "市不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
@NotBlank(message = "区不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@NotBlank(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@NotBlank(message = "维度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
@NotNull(message = "产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long cqxz;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
@NotBlank(message = "不动产编号不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String bdcbh;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
@NotBlank(message = "产权编号不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String cqbh;
|
||||
|
||||
/**
|
||||
* 图地编号
|
||||
*/
|
||||
@NotBlank(message = "图地编号不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String tdbh;
|
||||
|
||||
/**
|
||||
* 建筑面积
|
||||
*/
|
||||
@NotNull(message = "建筑面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long jzmj;
|
||||
|
||||
/**
|
||||
* 产权面积
|
||||
*/
|
||||
@NotNull(message = "产权面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long cqmj;
|
||||
|
||||
/**
|
||||
* 可租面积
|
||||
*/
|
||||
@NotNull(message = "可租面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long kzmj;
|
||||
|
||||
/**
|
||||
* 自用面积
|
||||
*/
|
||||
@NotNull(message = "自用面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long zymj;
|
||||
|
||||
/**
|
||||
* 配套面积
|
||||
*/
|
||||
@NotNull(message = "配套面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long ptmj;
|
||||
|
||||
/**
|
||||
* 车位面积
|
||||
*/
|
||||
@NotNull(message = "车位面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long cwmj;
|
||||
|
||||
/**
|
||||
* 标准层高
|
||||
*/
|
||||
@NotNull(message = "标准层高不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long bzcg;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
@NotNull(message = "排序字段不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long order;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@NotBlank(message = "组织编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,109 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialServe;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import org.dromara.common.translation.annotation.Translation;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.common.translation.constant.TransConstant;
|
||||
|
||||
/**
|
||||
* 服务业务对象 tb_ceremonial_serve
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbCeremonialServe.class, reverseConvertGenerate = false)
|
||||
public class TbCeremonialServeBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@NotNull(message = "id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
private Long classificationId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
private Long roomBookId;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
private Long serveNum;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
private Long serveType;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String serveName;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
private Long serveStatus;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
private Long updateById;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
private Long confirmId;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
private Date beginTime;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
private Long servePrice;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
private Long dataStauts;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
private String serveImage;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Long sort;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,45 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialserveRoombooking;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* 服务订阅业务对象 tb_ceremonialserve_roombooking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbCeremonialserveRoombooking.class, reverseConvertGenerate = false)
|
||||
public class TbCeremonialserveRoombookingBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
// @NotNull(message = "id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
private Long ceremonialServeId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
private Long roomBookingId;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
private Long totalPrice;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,79 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbCityArea;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
业务对象 tb_city_area
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbCityArea.class, reverseConvertGenerate = false)
|
||||
public class TbCityAreaBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
@NotBlank(message = "城市编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
@NotBlank(message = "城市名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
@NotBlank(message = "101 省级 202 市州 303 区县不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String areaLevel;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
@NotBlank(message = "父级城市编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String parentAreaCode;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
@NotBlank(message = "父级城市名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String parentAreaName;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@NotBlank(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@NotBlank(message = "维度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,103 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbCommunity;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 小区管理业务对象 tb_community
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbCommunity.class, reverseConvertGenerate = false)
|
||||
public class TbCommunityBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@NotNull(message = "主键id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
@NotBlank(message = "社区名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String communityName;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
@NotBlank(message = "社区编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
@NotNull(message = "社区类型 1:园区,2:小区不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long communityType;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
@NotBlank(message = "省不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
@NotBlank(message = "市不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
@NotBlank(message = "区不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@NotBlank(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@NotBlank(message = "维度不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
private String img;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@NotBlank(message = "组织编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,138 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbConference;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 会议室管理业务对象 tb_conference
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbConference.class, reverseConvertGenerate = false)
|
||||
public class TbConferenceBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
@NotBlank(message = "会议室名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String roomName;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
@NotNull(message = "会议室编号不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long roomNo;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
@NotBlank(message = "会议室位置不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String roomLocation;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
@NotBlank(message = "会议室面积不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String roomArea;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
@NotBlank(message = "会议室类型不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String roomType;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
@NotNull(message = "会议室容纳人数不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long roomNumber;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
@NotBlank(message = "会议室配套设施不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String roomFacilities;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
@NotNull(message = "会议室价格类型(0:免费,1付费,2:面议)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long feeType;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
@NotNull(message = "费用金额不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long feePrice;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@NotBlank(message = "负责人不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@NotNull(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long contactNumber;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
private String pictures;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
@NotBlank(message = "会议室描述不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
@NotNull(message = "是否需要审核(0:需要审核,1:不需要审核)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long review;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
@NotNull(message = "启用状态(0:禁用,1:启用)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long enabledStatus;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
@NotNull(message = "开放星期(1:星期一,2:星期二)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long openingWeek;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
@NotNull(message = "开放开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date openingBeginTime;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
@NotNull(message = "开放结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date openingEndTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,62 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbE8Config;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* E8服务地址业务对象 tb_e8_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbE8Config.class, reverseConvertGenerate = false)
|
||||
public class TbE8ConfigBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@NotNull(message = "不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
@NotBlank(message = "E8 名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String e8Name;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
@NotBlank(message = "E8服务地址不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String e8ServerUrl;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
@NotBlank(message = "E8服务提供的secret不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String e8Secret;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@NotBlank(message = "组织编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,68 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbFloor;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 楼层业务对象 tb_floor
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbFloor.class, reverseConvertGenerate = false)
|
||||
public class TbFloorBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@NotNull(message = "数据库id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
@NotBlank(message = "社区编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
@NotBlank(message = "建筑名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
@NotNull(message = "楼层编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long floorCode;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
@NotBlank(message = "楼层数名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String floorName;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@NotBlank(message = "组织编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,140 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbRoomBooking;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 会议管理业务对象 tb_room_booking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbRoomBooking.class, reverseConvertGenerate = false)
|
||||
public class TbRoomBookingBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
@NotNull(message = "会议室id不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long tbConferenceId;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
@NotNull(message = "预约状态(0:未预定 1:使用中 2:已预订)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long bookingStatus;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
@NotNull(message = "审核状态(0:未审核 1:通过 2:未通过)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long reviewStatus;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
@NotBlank(message = "会议预订人不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String bookingName;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
@NotBlank(message = "使用单位不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String userUnit;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
@NotBlank(message = "会议主题不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String conferenceTheme;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
@NotNull(message = "预约日期不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date appointmentDate;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
@NotNull(message = "预约开始时段不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date appointmentBeginTime;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
@NotNull(message = "预约结束时段不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date appointmentEndTime;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
private String attendeesName;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
@NotNull(message = "参会人数不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long approverCount;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
@NotNull(message = "签到开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date checkInStartTime;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
@NotNull(message = "签到结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date checkInEndTime;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
private String approver;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
@NotNull(message = "审批时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date approverTime;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
private String evaluate;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
@NotNull(message = "是否需要增值服务(0:需要,1:不需要)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long addServices;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
private Long dataStatus;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,52 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbServiceClassification;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* 分类管理业务对象 tb_service_classification
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbServiceClassification.class, reverseConvertGenerate = false)
|
||||
public class TbServiceClassificationBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@NotNull(message = "id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
@NotBlank(message = "分类不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@NotBlank(message = "分类名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Long sort;
|
||||
|
||||
/**
|
||||
* 分类状态(0:禁用,1:启用)
|
||||
*/
|
||||
private Long status;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,84 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TbVisitorManagement;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 访客管理业务对象 tb_visitor_management
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TbVisitorManagement.class, reverseConvertGenerate = false)
|
||||
public class TbVisitorManagementBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@NotNull(message = "id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
@NotBlank(message = "访客姓名不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String visitorName;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
@NotBlank(message = "访客电话不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String visitorPhone;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
@NotBlank(message = "拜访事由不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String visitingReason;
|
||||
|
||||
/**
|
||||
* 拜访开始时间
|
||||
*/
|
||||
@NotNull(message = "拜访开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date visitingBeginTime;
|
||||
|
||||
/**
|
||||
* 拜访结束时间
|
||||
*/
|
||||
@NotNull(message = "拜访结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Date visitingEndTime;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
@NotNull(message = "预约车位(0:预约,1:不预约)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long bookingParkingSpace;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
private String licensePlate;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
@NotBlank(message = "人脸图片不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String facePictures;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
private Long serveStatus;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TdDeviceType;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 设备类型业务对象 td_device_type
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TdDeviceType.class, reverseConvertGenerate = false)
|
||||
public class TdDeviceTypeBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@NotNull(message = "数据库id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
@NotBlank(message = "设备类型编码不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String dvNo;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
@NotBlank(message = "设备类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String dvName;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
@NotBlank(message = "设备厂商名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String factoryNo;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
package org.dromara.Property.domain.bo;
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.Property.domain.TdFactory;
|
||||
import org.dromara.property.domain.TdFactory;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
@@ -12,9 +12,9 @@ import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* Property业务对象 td_factory
|
||||
* 厂商管理业务对象 td_factory
|
||||
*
|
||||
* @author LionLi
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@@ -22,6 +22,12 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
@AutoMapper(target = TdFactory.class, reverseConvertGenerate = false)
|
||||
public class TdFactoryBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@NotNull(message = "数据库id不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 厂商编码
|
||||
*/
|
@@ -0,0 +1,100 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TsConfig;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 代码配置业务对象 ts_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TsConfig.class, reverseConvertGenerate = false)
|
||||
public class TsConfigBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 代码标识
|
||||
*/
|
||||
@NotNull(message = "代码标识不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 代码分类
|
||||
*/
|
||||
private String codeKind;
|
||||
|
||||
/**
|
||||
* 代码取值
|
||||
*/
|
||||
@NotBlank(message = "代码取值不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String codeValue;
|
||||
|
||||
/**
|
||||
* 类型名称
|
||||
*/
|
||||
private String codeName;
|
||||
|
||||
/**
|
||||
* 代码取值名称
|
||||
*/
|
||||
private String codeValueName;
|
||||
|
||||
/**
|
||||
* 代码取值别名
|
||||
*/
|
||||
private String codeValueAlias;
|
||||
|
||||
/**
|
||||
* 代码取值描述
|
||||
*/
|
||||
private String codeValueDesc;
|
||||
|
||||
/**
|
||||
* 代码取值排序
|
||||
*/
|
||||
@NotNull(message = "代码取值排序不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long codeValueOrder;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,118 @@
|
||||
package org.dromara.property.domain.bo;
|
||||
|
||||
import org.dromara.property.domain.TsOperationLog;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.AddGroup;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 请求日志业务对象 ts_operation_log
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = TsOperationLog.class, reverseConvertGenerate = false)
|
||||
public class TsOperationLogBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@NotNull(message = "主键不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 操作员code
|
||||
*/
|
||||
private String userCode;
|
||||
|
||||
/**
|
||||
* 操作员姓名
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 域名
|
||||
*/
|
||||
private String sysArea;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
private String method;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
private String methodDesc;
|
||||
|
||||
/**
|
||||
* 类方法
|
||||
*/
|
||||
private String classMethod;
|
||||
|
||||
/**
|
||||
* ip地址
|
||||
*/
|
||||
private String requestIp;
|
||||
|
||||
/**
|
||||
* 请求入参
|
||||
*/
|
||||
private String requestArgs;
|
||||
|
||||
/**
|
||||
* 响应类型 0 正常 1 异常
|
||||
*/
|
||||
private Long responseType;
|
||||
|
||||
/**
|
||||
* 响应原始数据-包含正常异常
|
||||
*/
|
||||
private String responseBody;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@NotNull(message = "数据状态:1有效,0无效不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,118 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbAccessControl;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 门禁管理视图对象 tb_access_control
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbAccessControl.class)
|
||||
public class TbAccessControlVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
@ExcelProperty(value = "门禁设备编码")
|
||||
private String accessCode;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
@ExcelProperty(value = "门禁名称")
|
||||
private String accessName;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
@ExcelProperty(value = "园区编码")
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
@ExcelProperty(value = "建筑编码")
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
@ExcelProperty(value = "门禁设备ip")
|
||||
private String accessIp;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
@ExcelProperty(value = "设备端口")
|
||||
private Long accessPort;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
@ExcelProperty(value = "门禁设备类型")
|
||||
private Long accssType;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
@ExcelProperty(value = "工程编号")
|
||||
private String factoryCode;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
@ExcelProperty(value = "控制卡类型:1-系统,2-E8")
|
||||
private Long controlType;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
@ExcelProperty(value = "控制卡类型编码")
|
||||
private String controlCode;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
@ExcelProperty(value = "外部编码")
|
||||
private String outCode;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@ExcelProperty(value = "组织编码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,178 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbBuilding;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 建筑管理视图对象 tb_building
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbBuilding.class)
|
||||
public class TbBuildingVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
@ExcelProperty(value = "园区编码")
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
@ExcelProperty(value = "建筑编码")
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
@ExcelProperty(value = "建筑名称")
|
||||
private String buildingName;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
@ExcelProperty(value = "省")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
@ExcelProperty(value = "市")
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
@ExcelProperty(value = "区")
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@ExcelProperty(value = "地址")
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ExcelProperty(value = "经度")
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@ExcelProperty(value = "维度")
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
@ExcelProperty(value = "产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)")
|
||||
private Long cqxz;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
@ExcelProperty(value = "不动产编号")
|
||||
private String bdcbh;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
@ExcelProperty(value = "产权编号")
|
||||
private String cqbh;
|
||||
|
||||
/**
|
||||
* 图地编号
|
||||
*/
|
||||
@ExcelProperty(value = "图地编号")
|
||||
private String tdbh;
|
||||
|
||||
/**
|
||||
* 建筑面积
|
||||
*/
|
||||
@ExcelProperty(value = "建筑面积")
|
||||
private Long jzmj;
|
||||
|
||||
/**
|
||||
* 产权面积
|
||||
*/
|
||||
@ExcelProperty(value = "产权面积")
|
||||
private Long cqmj;
|
||||
|
||||
/**
|
||||
* 可租面积
|
||||
*/
|
||||
@ExcelProperty(value = "可租面积")
|
||||
private Long kzmj;
|
||||
|
||||
/**
|
||||
* 自用面积
|
||||
*/
|
||||
@ExcelProperty(value = "自用面积")
|
||||
private Long zymj;
|
||||
|
||||
/**
|
||||
* 配套面积
|
||||
*/
|
||||
@ExcelProperty(value = "配套面积")
|
||||
private Long ptmj;
|
||||
|
||||
/**
|
||||
* 车位面积
|
||||
*/
|
||||
@ExcelProperty(value = "车位面积")
|
||||
private Long cwmj;
|
||||
|
||||
/**
|
||||
* 标准层高
|
||||
*/
|
||||
@ExcelProperty(value = "标准层高")
|
||||
private Long bzcg;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
@ExcelProperty(value = "排序字段")
|
||||
private Long order;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@ExcelProperty(value = "组织编码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,139 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import org.dromara.common.translation.annotation.Translation;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.common.translation.constant.TransConstant;
|
||||
import org.dromara.property.domain.TbCeremonialServe;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 服务视图对象 tb_ceremonial_serve
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbCeremonialServe.class)
|
||||
public class TbCeremonialServeVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
@ExcelProperty(value = "分类id")
|
||||
private Long classificationId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
@ExcelProperty(value = "预订id")
|
||||
private Long roomBookId;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
@ExcelProperty(value = "服务数量")
|
||||
private Long serveNum;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
@ExcelProperty(value = "服务分类")
|
||||
private Long serveType;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
@ExcelProperty(value = "产品名称")
|
||||
private String serveName;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
@ExcelProperty(value = "预订状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:待确认,1:已确认,2:已取消,3:已完成")
|
||||
private Long serveStatus;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
@ExcelProperty(value = "创建人id")
|
||||
private Long createById;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
@ExcelProperty(value = "更新人id")
|
||||
private Long updateById;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
@ExcelProperty(value = "确认人id")
|
||||
private Long confirmId;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
@ExcelProperty(value = "服务开始时间")
|
||||
private Date beginTime;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
@ExcelProperty(value = "服务结束时间")
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
@ExcelProperty(value = "服务总价格")
|
||||
private Long servePrice;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "模=拟删除,0=:删除,1=:未删除")
|
||||
private Long dataStauts;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
@ExcelProperty(value = "产品图片")
|
||||
private String serveImage;
|
||||
|
||||
/**
|
||||
* 产品图片Url
|
||||
*/
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "serveImage")
|
||||
private String serveImageUrl;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ExcelProperty(value = "排序")
|
||||
private Long sort;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,56 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialserveRoombooking;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 服务订阅视图对象 tb_ceremonialserve_roombooking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbCeremonialserveRoombooking.class)
|
||||
public class TbCeremonialserveRoombookingVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
@ExcelProperty(value = "服务id")
|
||||
private Long ceremonialServeId;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
@ExcelProperty(value = "预订id")
|
||||
private Long roomBookingId;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
@ExcelProperty(value = "服务和预订总价格")
|
||||
private Long totalPrice;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,87 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import org.dromara.property.domain.TbCityArea;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
视图对象 tb_city_area
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbCityArea.class)
|
||||
public class TbCityAreaVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
@ExcelProperty(value = "城市编码")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
@ExcelProperty(value = "城市名称")
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
@ExcelProperty(value = "101 省级 202 市州 303 区县")
|
||||
private String areaLevel;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
@ExcelProperty(value = "父级城市编码")
|
||||
private String parentAreaCode;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
@ExcelProperty(value = "父级城市名称")
|
||||
private String parentAreaName;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ExcelProperty(value = "经度")
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@ExcelProperty(value = "维度")
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,112 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbCommunity;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 小区管理视图对象 tb_community
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbCommunity.class)
|
||||
public class TbCommunityVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@ExcelProperty(value = "主键id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
@ExcelProperty(value = "社区名称")
|
||||
private String communityName;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
@ExcelProperty(value = "社区编码")
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
@ExcelProperty(value = "社区类型 1:园区,2:小区")
|
||||
private Long communityType;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
@ExcelProperty(value = "省")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
@ExcelProperty(value = "市")
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
@ExcelProperty(value = "区")
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@ExcelProperty(value = "地址")
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ExcelProperty(value = "经度")
|
||||
private String lon;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@ExcelProperty(value = "维度")
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
@ExcelProperty(value = "小图图片")
|
||||
private String img;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@ExcelProperty(value = "组织编码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,152 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbConference;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 会议室管理视图对象 tb_conference
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbConference.class)
|
||||
public class TbConferenceVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
@ExcelProperty(value = "会议室名称")
|
||||
private String roomName;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
@ExcelProperty(value = "会议室编号")
|
||||
private Long roomNo;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
@ExcelProperty(value = "会议室位置")
|
||||
private String roomLocation;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
@ExcelProperty(value = "会议室面积")
|
||||
private String roomArea;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
@ExcelProperty(value = "会议室类型")
|
||||
private String roomType;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
@ExcelProperty(value = "会议室容纳人数")
|
||||
private Long roomNumber;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
@ExcelProperty(value = "会议室配套设施")
|
||||
private String roomFacilities;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
@ExcelProperty(value = "会议室价格类型", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:免费,1付费,2:面议")
|
||||
private Long feeType;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
@ExcelProperty(value = "费用金额")
|
||||
private Long feePrice;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@ExcelProperty(value = "负责人")
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@ExcelProperty(value = "联系电话")
|
||||
private Long contactNumber;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
@ExcelProperty(value = "会议室照片")
|
||||
private String pictures;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
@ExcelProperty(value = "会议室描述")
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
@ExcelProperty(value = "是否需要审核", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:需要审核,1:不需要审核")
|
||||
private Long review;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
@ExcelProperty(value = "启用状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:禁用,1:启用")
|
||||
private Long enabledStatus;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
@ExcelProperty(value = "开放星期", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "1=:星期一,2:星期二")
|
||||
private Long openingWeek;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
@ExcelProperty(value = "开放开始时间")
|
||||
private Date openingBeginTime;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
@ExcelProperty(value = "开放结束时间")
|
||||
private Date openingEndTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,70 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbE8Config;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* E8服务地址视图对象 tb_e8_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbE8Config.class)
|
||||
public class TbE8ConfigVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ExcelProperty(value = "")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
@ExcelProperty(value = "E8 名称")
|
||||
private String e8Name;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
@ExcelProperty(value = "E8服务地址")
|
||||
private String e8ServerUrl;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
@ExcelProperty(value = "E8服务提供的secret")
|
||||
private String e8Secret;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@ExcelProperty(value = "组织编码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,76 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbFloor;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 楼层视图对象 tb_floor
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbFloor.class)
|
||||
public class TbFloorVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@ExcelProperty(value = "数据库id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
@ExcelProperty(value = "社区编码")
|
||||
private String communityCode;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
@ExcelProperty(value = "建筑名称")
|
||||
private String buildingCode;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
@ExcelProperty(value = "楼层编码")
|
||||
private Long floorCode;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
@ExcelProperty(value = "楼层数名称")
|
||||
private String floorName;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
@ExcelProperty(value = "组织编码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,158 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbRoomBooking;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 会议管理视图对象 tb_room_booking
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbRoomBooking.class)
|
||||
public class TbRoomBookingVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
@ExcelProperty(value = "会议室id")
|
||||
private Long tbConferenceId;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
@ExcelProperty(value = "预约状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:未预定,1=:使用中,2=:已预订")
|
||||
private Long bookingStatus;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
@ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:未审核,1=:通过,2=:未通过")
|
||||
private Long reviewStatus;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
@ExcelProperty(value = "会议预订人")
|
||||
private String bookingName;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
@ExcelProperty(value = "使用单位")
|
||||
private String userUnit;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
@ExcelProperty(value = "会议主题")
|
||||
private String conferenceTheme;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
@ExcelProperty(value = "预约日期")
|
||||
private Date appointmentDate;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
@ExcelProperty(value = "预约开始时段")
|
||||
private Date appointmentBeginTime;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
@ExcelProperty(value = "预约结束时段")
|
||||
private Date appointmentEndTime;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
@ExcelProperty(value = "参会人员")
|
||||
private String attendeesName;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
@ExcelProperty(value = "参会人数")
|
||||
private Long approverCount;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
@ExcelProperty(value = "签到开始时间")
|
||||
private Date checkInStartTime;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
@ExcelProperty(value = "签到结束时间")
|
||||
private Date checkInEndTime;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
@ExcelProperty(value = "审批人")
|
||||
private String approver;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
@ExcelProperty(value = "审批时间")
|
||||
private Date approverTime;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
@ExcelProperty(value = "评价")
|
||||
private String evaluate;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
@ExcelProperty(value = "是否需要增值服务", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:需要,1:不需要")
|
||||
private Long addServices;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "模=拟删除,0=:未删除,1=:删除")
|
||||
private Long dataStatus;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,63 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import org.dromara.property.domain.TbServiceClassification;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 分类管理视图对象 tb_service_classification
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbServiceClassification.class)
|
||||
public class TbServiceClassificationVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
@ExcelProperty(value = "分类")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@ExcelProperty(value = "分类名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ExcelProperty(value = "排序")
|
||||
private Long sort;
|
||||
|
||||
/**
|
||||
* 分类状态(0:禁用,1:启用)
|
||||
*/
|
||||
@ExcelProperty(value = "分类状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:禁用,1:启用")
|
||||
private Long status;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,96 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TbVisitorManagement;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 访客管理视图对象 tb_visitor_management
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TbVisitorManagement.class)
|
||||
public class TbVisitorManagementVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ExcelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
@ExcelProperty(value = "访客姓名")
|
||||
private String visitorName;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
@ExcelProperty(value = "访客电话")
|
||||
private String visitorPhone;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
@ExcelProperty(value = "拜访事由")
|
||||
private String visitingReason;
|
||||
|
||||
/**
|
||||
* 拜访开始时间
|
||||
*/
|
||||
@ExcelProperty(value = "拜访开始时间")
|
||||
private Date visitingBeginTime;
|
||||
|
||||
/**
|
||||
* 拜访结束时间
|
||||
*/
|
||||
@ExcelProperty(value = "拜访结束时间")
|
||||
private Date visitingEndTime;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
@ExcelProperty(value = "预约车位", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:预约,1:不预约")
|
||||
private Long bookingParkingSpace;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
@ExcelProperty(value = "车牌号")
|
||||
private String licensePlate;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
@ExcelProperty(value = "人脸图片")
|
||||
private String facePictures;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
@ExcelProperty(value = "预约状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:待确认,1:已确认,2:已取消,3:已完成")
|
||||
private Long serveStatus;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,70 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TdDeviceType;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 设备类型视图对象 td_device_type
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TdDeviceType.class)
|
||||
public class TdDeviceTypeVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
@ExcelProperty(value = "数据库id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
@ExcelProperty(value = "设备类型编码")
|
||||
private String dvNo;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
@ExcelProperty(value = "设备类型名称")
|
||||
private String dvName;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
@ExcelProperty(value = "设备厂商名称")
|
||||
private String factoryNo;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
|
||||
}
|
@@ -1,8 +1,8 @@
|
||||
package org.dromara.Property.domain.vo;
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.Property.domain.TdFactory;
|
||||
import org.dromara.property.domain.TdFactory;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
@@ -17,9 +17,9 @@ import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* Property视图对象 td_factory
|
||||
* 厂商管理视图对象 td_factory
|
||||
*
|
||||
* @author LionLi
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@@ -31,9 +31,9 @@ public class TdFactoryVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
* 数据库id
|
||||
*/
|
||||
@ExcelProperty(value = "")
|
||||
@ExcelProperty(value = "数据库id")
|
||||
private Long id;
|
||||
|
||||
/**
|
@@ -0,0 +1,118 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TsConfig;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 代码配置视图对象 ts_config
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TsConfig.class)
|
||||
public class TsConfigVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 代码标识
|
||||
*/
|
||||
@ExcelProperty(value = "代码标识")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 代码分类
|
||||
*/
|
||||
@ExcelProperty(value = "代码分类")
|
||||
private String codeKind;
|
||||
|
||||
/**
|
||||
* 代码取值
|
||||
*/
|
||||
@ExcelProperty(value = "代码取值")
|
||||
private String codeValue;
|
||||
|
||||
/**
|
||||
* 类型名称
|
||||
*/
|
||||
@ExcelProperty(value = "类型名称")
|
||||
private String codeName;
|
||||
|
||||
/**
|
||||
* 代码取值名称
|
||||
*/
|
||||
@ExcelProperty(value = "代码取值名称")
|
||||
private String codeValueName;
|
||||
|
||||
/**
|
||||
* 代码取值别名
|
||||
*/
|
||||
@ExcelProperty(value = "代码取值别名")
|
||||
private String codeValueAlias;
|
||||
|
||||
/**
|
||||
* 代码取值描述
|
||||
*/
|
||||
@ExcelProperty(value = "代码取值描述")
|
||||
private String codeValueDesc;
|
||||
|
||||
/**
|
||||
* 代码取值排序
|
||||
*/
|
||||
@ExcelProperty(value = "代码取值排序")
|
||||
private Long codeValueOrder;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@ExcelProperty(value = "创建人")
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
@ExcelProperty(value = "创建人名称")
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@ExcelProperty(value = "修改人")
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
@ExcelProperty(value = "修改人名称")
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@ExcelProperty(value = "修改时间")
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,142 @@
|
||||
package org.dromara.property.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.property.domain.TsOperationLog;
|
||||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 请求日志视图对象 ts_operation_log
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = TsOperationLog.class)
|
||||
public class TsOperationLogVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ExcelProperty(value = "主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 操作员code
|
||||
*/
|
||||
@ExcelProperty(value = "操作员code")
|
||||
private String userCode;
|
||||
|
||||
/**
|
||||
* 操作员姓名
|
||||
*/
|
||||
@ExcelProperty(value = "操作员姓名")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 域名
|
||||
*/
|
||||
@ExcelProperty(value = "域名")
|
||||
private String sysArea;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
@ExcelProperty(value = "方法")
|
||||
private String method;
|
||||
|
||||
/**
|
||||
* 方法
|
||||
*/
|
||||
@ExcelProperty(value = "方法")
|
||||
private String methodDesc;
|
||||
|
||||
/**
|
||||
* 类方法
|
||||
*/
|
||||
@ExcelProperty(value = "类方法")
|
||||
private String classMethod;
|
||||
|
||||
/**
|
||||
* ip地址
|
||||
*/
|
||||
@ExcelProperty(value = "ip地址")
|
||||
private String requestIp;
|
||||
|
||||
/**
|
||||
* 请求入参
|
||||
*/
|
||||
@ExcelProperty(value = "请求入参")
|
||||
private String requestArgs;
|
||||
|
||||
/**
|
||||
* 响应类型 0 正常 1 异常
|
||||
*/
|
||||
@ExcelProperty(value = "响应类型 0 正常 1 异常")
|
||||
private Long responseType;
|
||||
|
||||
/**
|
||||
* 响应原始数据-包含正常异常
|
||||
*/
|
||||
@ExcelProperty(value = "响应原始数据-包含正常异常")
|
||||
private String responseBody;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
@ExcelProperty(value = "数据状态:1有效,0无效")
|
||||
private Long dataState;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@ExcelProperty(value = "创建人")
|
||||
private String createEmpId;
|
||||
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
@ExcelProperty(value = "创建人名称")
|
||||
private String createEmpName;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@ExcelProperty(value = "修改人")
|
||||
private String modifyEmpId;
|
||||
|
||||
/**
|
||||
* 修改人名称
|
||||
*/
|
||||
@ExcelProperty(value = "修改人名称")
|
||||
private String modifyEmpName;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@ExcelProperty(value = "修改时间")
|
||||
private Date modifyTime;
|
||||
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbAccessControl;
|
||||
import org.dromara.property.domain.vo.TbAccessControlVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 门禁管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbAccessControlMapper extends BaseMapperPlus<TbAccessControl, TbAccessControlVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbBuilding;
|
||||
import org.dromara.property.domain.vo.TbBuildingVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 建筑管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbBuildingMapper extends BaseMapperPlus<TbBuilding, TbBuildingVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialServe;
|
||||
import org.dromara.property.domain.vo.TbCeremonialServeVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 服务Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbCeremonialServeMapper extends BaseMapperPlus<TbCeremonialServe, TbCeremonialServeVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialserveRoombooking;
|
||||
import org.dromara.property.domain.vo.TbCeremonialserveRoombookingVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 服务订阅Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbCeremonialserveRoombookingMapper extends BaseMapperPlus<TbCeremonialserveRoombooking, TbCeremonialserveRoombookingVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbCityArea;
|
||||
import org.dromara.property.domain.vo.TbCityAreaVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbCityAreaMapper extends BaseMapperPlus<TbCityArea, TbCityAreaVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbCommunity;
|
||||
import org.dromara.property.domain.vo.TbCommunityVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 小区管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbCommunityMapper extends BaseMapperPlus<TbCommunity, TbCommunityVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbConference;
|
||||
import org.dromara.property.domain.vo.TbConferenceVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 会议室管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbConferenceMapper extends BaseMapperPlus<TbConference, TbConferenceVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbE8Config;
|
||||
import org.dromara.property.domain.vo.TbE8ConfigVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* E8服务地址Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbE8ConfigMapper extends BaseMapperPlus<TbE8Config, TbE8ConfigVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbFloor;
|
||||
import org.dromara.property.domain.vo.TbFloorVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 楼层Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbFloorMapper extends BaseMapperPlus<TbFloor, TbFloorVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbRoomBooking;
|
||||
import org.dromara.property.domain.vo.TbRoomBookingVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 会议管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbRoomBookingMapper extends BaseMapperPlus<TbRoomBooking, TbRoomBookingVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbServiceClassification;
|
||||
import org.dromara.property.domain.vo.TbServiceClassificationVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 分类管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbServiceClassificationMapper extends BaseMapperPlus<TbServiceClassification, TbServiceClassificationVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TbVisitorManagement;
|
||||
import org.dromara.property.domain.vo.TbVisitorManagementVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 访客管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TbVisitorManagementMapper extends BaseMapperPlus<TbVisitorManagement, TbVisitorManagementVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TdDeviceType;
|
||||
import org.dromara.property.domain.vo.TdDeviceTypeVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 设备类型Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TdDeviceTypeMapper extends BaseMapperPlus<TdDeviceType, TdDeviceTypeVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TdFactory;
|
||||
import org.dromara.property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 厂商管理Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TdFactoryMapper extends BaseMapperPlus<TdFactory, TdFactoryVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TsConfig;
|
||||
import org.dromara.property.domain.vo.TsConfigVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 代码配置Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TsConfigMapper extends BaseMapperPlus<TsConfig, TsConfigVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.dromara.property.mapper;
|
||||
|
||||
import org.dromara.property.domain.TsOperationLog;
|
||||
import org.dromara.property.domain.vo.TsOperationLogVo;
|
||||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
||||
|
||||
/**
|
||||
* 请求日志Mapper接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface TsOperationLogMapper extends BaseMapperPlus<TsOperationLog, TsOperationLogVo> {
|
||||
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbAccessControl;
|
||||
import org.dromara.property.domain.vo.TbAccessControlVo;
|
||||
import org.dromara.property.domain.bo.TbAccessControlBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 门禁管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbAccessControlService {
|
||||
|
||||
/**
|
||||
* 查询门禁管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 门禁管理
|
||||
*/
|
||||
TbAccessControlVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询门禁管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 门禁管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbAccessControlVo> queryPageList(TbAccessControlBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的门禁管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 门禁管理列表
|
||||
*/
|
||||
List<TbAccessControlVo> queryList(TbAccessControlBo bo);
|
||||
|
||||
/**
|
||||
* 新增门禁管理
|
||||
*
|
||||
* @param bo 门禁管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbAccessControlBo bo);
|
||||
|
||||
/**
|
||||
* 修改门禁管理
|
||||
*
|
||||
* @param bo 门禁管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbAccessControlBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除门禁管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbBuilding;
|
||||
import org.dromara.property.domain.vo.TbBuildingVo;
|
||||
import org.dromara.property.domain.bo.TbBuildingBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 建筑管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbBuildingService {
|
||||
|
||||
/**
|
||||
* 查询建筑管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 建筑管理
|
||||
*/
|
||||
TbBuildingVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询建筑管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 建筑管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbBuildingVo> queryPageList(TbBuildingBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的建筑管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 建筑管理列表
|
||||
*/
|
||||
List<TbBuildingVo> queryList(TbBuildingBo bo);
|
||||
|
||||
/**
|
||||
* 新增建筑管理
|
||||
*
|
||||
* @param bo 建筑管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbBuildingBo bo);
|
||||
|
||||
/**
|
||||
* 修改建筑管理
|
||||
*
|
||||
* @param bo 建筑管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbBuildingBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除建筑管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialServe;
|
||||
import org.dromara.property.domain.vo.TbCeremonialServeVo;
|
||||
import org.dromara.property.domain.bo.TbCeremonialServeBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 服务Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbCeremonialServeService {
|
||||
|
||||
/**
|
||||
* 查询服务
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 服务
|
||||
*/
|
||||
TbCeremonialServeVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询服务列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 服务分页列表
|
||||
*/
|
||||
TableDataInfo<TbCeremonialServeVo> queryPageList(TbCeremonialServeBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的服务列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 服务列表
|
||||
*/
|
||||
List<TbCeremonialServeVo> queryList(TbCeremonialServeBo bo);
|
||||
|
||||
/**
|
||||
* 新增服务
|
||||
*
|
||||
* @param bo 服务
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbCeremonialServeBo bo);
|
||||
|
||||
/**
|
||||
* 修改服务
|
||||
*
|
||||
* @param bo 服务
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbCeremonialServeBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除服务信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbCeremonialserveRoombooking;
|
||||
import org.dromara.property.domain.vo.TbCeremonialserveRoombookingVo;
|
||||
import org.dromara.property.domain.bo.TbCeremonialserveRoombookingBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 服务订阅Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbCeremonialserveRoombookingService {
|
||||
|
||||
/**
|
||||
* 查询服务订阅
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 服务订阅
|
||||
*/
|
||||
TbCeremonialserveRoombookingVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询服务订阅列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 服务订阅分页列表
|
||||
*/
|
||||
TableDataInfo<TbCeremonialserveRoombookingVo> queryPageList(TbCeremonialserveRoombookingBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的服务订阅列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 服务订阅列表
|
||||
*/
|
||||
List<TbCeremonialserveRoombookingVo> queryList(TbCeremonialserveRoombookingBo bo);
|
||||
|
||||
/**
|
||||
* 新增服务订阅
|
||||
*
|
||||
* @param bo 服务订阅
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbCeremonialserveRoombookingBo bo);
|
||||
|
||||
/**
|
||||
* 修改服务订阅
|
||||
*
|
||||
* @param bo 服务订阅
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbCeremonialserveRoombookingBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除服务订阅信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,81 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbCityArea;
|
||||
import org.dromara.property.domain.vo.TbCityAreaVo;
|
||||
import org.dromara.property.domain.bo.TbCityAreaBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 行政区划
|
||||
Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbCityAreaService {
|
||||
|
||||
/**
|
||||
* 查询行政区划
|
||||
|
||||
*
|
||||
* @param areaCode 主键
|
||||
* @return 行政区划
|
||||
|
||||
*/
|
||||
TbCityAreaVo queryById(String areaCode);
|
||||
|
||||
/**
|
||||
* 分页查询行政区划
|
||||
列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 行政区划
|
||||
分页列表
|
||||
*/
|
||||
TableDataInfo<TbCityAreaVo> queryPageList(TbCityAreaBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的行政区划
|
||||
列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 行政区划
|
||||
列表
|
||||
*/
|
||||
List<TbCityAreaVo> queryList(TbCityAreaBo bo);
|
||||
|
||||
/**
|
||||
* 新增行政区划
|
||||
|
||||
*
|
||||
* @param bo 行政区划
|
||||
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbCityAreaBo bo);
|
||||
|
||||
/**
|
||||
* 修改行政区划
|
||||
|
||||
*
|
||||
* @param bo 行政区划
|
||||
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbCityAreaBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除行政区划
|
||||
信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbCommunity;
|
||||
import org.dromara.property.domain.vo.TbCommunityVo;
|
||||
import org.dromara.property.domain.bo.TbCommunityBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 小区管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbCommunityService {
|
||||
|
||||
/**
|
||||
* 查询小区管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 小区管理
|
||||
*/
|
||||
TbCommunityVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询小区管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 小区管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbCommunityVo> queryPageList(TbCommunityBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的小区管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 小区管理列表
|
||||
*/
|
||||
List<TbCommunityVo> queryList(TbCommunityBo bo);
|
||||
|
||||
/**
|
||||
* 新增小区管理
|
||||
*
|
||||
* @param bo 小区管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbCommunityBo bo);
|
||||
|
||||
/**
|
||||
* 修改小区管理
|
||||
*
|
||||
* @param bo 小区管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbCommunityBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除小区管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbConference;
|
||||
import org.dromara.property.domain.vo.TbConferenceVo;
|
||||
import org.dromara.property.domain.bo.TbConferenceBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会议室管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbConferenceService {
|
||||
|
||||
/**
|
||||
* 查询会议室管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 会议室管理
|
||||
*/
|
||||
TbConferenceVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询会议室管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 会议室管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbConferenceVo> queryPageList(TbConferenceBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的会议室管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 会议室管理列表
|
||||
*/
|
||||
List<TbConferenceVo> queryList(TbConferenceBo bo);
|
||||
|
||||
/**
|
||||
* 新增会议室管理
|
||||
*
|
||||
* @param bo 会议室管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbConferenceBo bo);
|
||||
|
||||
/**
|
||||
* 修改会议室管理
|
||||
*
|
||||
* @param bo 会议室管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbConferenceBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除会议室管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbE8Config;
|
||||
import org.dromara.property.domain.vo.TbE8ConfigVo;
|
||||
import org.dromara.property.domain.bo.TbE8ConfigBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* E8服务地址Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbE8ConfigService {
|
||||
|
||||
/**
|
||||
* 查询E8服务地址
|
||||
*
|
||||
* @param id 主键
|
||||
* @return E8服务地址
|
||||
*/
|
||||
TbE8ConfigVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询E8服务地址列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return E8服务地址分页列表
|
||||
*/
|
||||
TableDataInfo<TbE8ConfigVo> queryPageList(TbE8ConfigBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的E8服务地址列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return E8服务地址列表
|
||||
*/
|
||||
List<TbE8ConfigVo> queryList(TbE8ConfigBo bo);
|
||||
|
||||
/**
|
||||
* 新增E8服务地址
|
||||
*
|
||||
* @param bo E8服务地址
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbE8ConfigBo bo);
|
||||
|
||||
/**
|
||||
* 修改E8服务地址
|
||||
*
|
||||
* @param bo E8服务地址
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbE8ConfigBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除E8服务地址信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbFloor;
|
||||
import org.dromara.property.domain.vo.TbFloorVo;
|
||||
import org.dromara.property.domain.bo.TbFloorBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 楼层Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbFloorService {
|
||||
|
||||
/**
|
||||
* 查询楼层
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 楼层
|
||||
*/
|
||||
TbFloorVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询楼层列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 楼层分页列表
|
||||
*/
|
||||
TableDataInfo<TbFloorVo> queryPageList(TbFloorBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的楼层列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 楼层列表
|
||||
*/
|
||||
List<TbFloorVo> queryList(TbFloorBo bo);
|
||||
|
||||
/**
|
||||
* 新增楼层
|
||||
*
|
||||
* @param bo 楼层
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbFloorBo bo);
|
||||
|
||||
/**
|
||||
* 修改楼层
|
||||
*
|
||||
* @param bo 楼层
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbFloorBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除楼层信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbRoomBooking;
|
||||
import org.dromara.property.domain.vo.TbRoomBookingVo;
|
||||
import org.dromara.property.domain.bo.TbRoomBookingBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会议管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbRoomBookingService {
|
||||
|
||||
/**
|
||||
* 查询会议管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 会议管理
|
||||
*/
|
||||
TbRoomBookingVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询会议管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 会议管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbRoomBookingVo> queryPageList(TbRoomBookingBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的会议管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 会议管理列表
|
||||
*/
|
||||
List<TbRoomBookingVo> queryList(TbRoomBookingBo bo);
|
||||
|
||||
/**
|
||||
* 新增会议管理
|
||||
*
|
||||
* @param bo 会议管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbRoomBookingBo bo);
|
||||
|
||||
/**
|
||||
* 修改会议管理
|
||||
*
|
||||
* @param bo 会议管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbRoomBookingBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除会议管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbServiceClassification;
|
||||
import org.dromara.property.domain.vo.TbServiceClassificationVo;
|
||||
import org.dromara.property.domain.bo.TbServiceClassificationBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分类管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbServiceClassificationService {
|
||||
|
||||
/**
|
||||
* 查询分类管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 分类管理
|
||||
*/
|
||||
TbServiceClassificationVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询分类管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 分类管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbServiceClassificationVo> queryPageList(TbServiceClassificationBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的分类管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 分类管理列表
|
||||
*/
|
||||
List<TbServiceClassificationVo> queryList(TbServiceClassificationBo bo);
|
||||
|
||||
/**
|
||||
* 新增分类管理
|
||||
*
|
||||
* @param bo 分类管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbServiceClassificationBo bo);
|
||||
|
||||
/**
|
||||
* 修改分类管理
|
||||
*
|
||||
* @param bo 分类管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbServiceClassificationBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除分类管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TbVisitorManagement;
|
||||
import org.dromara.property.domain.vo.TbVisitorManagementVo;
|
||||
import org.dromara.property.domain.bo.TbVisitorManagementBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 访客管理Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITbVisitorManagementService {
|
||||
|
||||
/**
|
||||
* 查询访客管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 访客管理
|
||||
*/
|
||||
TbVisitorManagementVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询访客管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 访客管理分页列表
|
||||
*/
|
||||
TableDataInfo<TbVisitorManagementVo> queryPageList(TbVisitorManagementBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的访客管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 访客管理列表
|
||||
*/
|
||||
List<TbVisitorManagementVo> queryList(TbVisitorManagementBo bo);
|
||||
|
||||
/**
|
||||
* 新增访客管理
|
||||
*
|
||||
* @param bo 访客管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TbVisitorManagementBo bo);
|
||||
|
||||
/**
|
||||
* 修改访客管理
|
||||
*
|
||||
* @param bo 访客管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TbVisitorManagementBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除访客管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TdDeviceType;
|
||||
import org.dromara.property.domain.vo.TdDeviceTypeVo;
|
||||
import org.dromara.property.domain.bo.TdDeviceTypeBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 设备类型Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITdDeviceTypeService {
|
||||
|
||||
/**
|
||||
* 查询设备类型
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 设备类型
|
||||
*/
|
||||
TdDeviceTypeVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询设备类型列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 设备类型分页列表
|
||||
*/
|
||||
TableDataInfo<TdDeviceTypeVo> queryPageList(TdDeviceTypeBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的设备类型列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 设备类型列表
|
||||
*/
|
||||
List<TdDeviceTypeVo> queryList(TdDeviceTypeBo bo);
|
||||
|
||||
/**
|
||||
* 新增设备类型
|
||||
*
|
||||
* @param bo 设备类型
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TdDeviceTypeBo bo);
|
||||
|
||||
/**
|
||||
* 修改设备类型
|
||||
*
|
||||
* @param bo 设备类型
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TdDeviceTypeBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除设备类型信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -1,8 +1,8 @@
|
||||
package org.dromara.Property.service;
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.Property.domain.TdFactory;
|
||||
import org.dromara.Property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.Property.domain.bo.TdFactoryBo;
|
||||
import org.dromara.property.domain.TdFactory;
|
||||
import org.dromara.property.domain.vo.TdFactoryVo;
|
||||
import org.dromara.property.domain.bo.TdFactoryBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
@@ -10,56 +10,56 @@ import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* PropertyService接口
|
||||
* 厂商管理Service接口
|
||||
*
|
||||
* @author LionLi
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITdFactoryService {
|
||||
|
||||
/**
|
||||
* 查询Property
|
||||
* 查询厂商管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return Property
|
||||
* @return 厂商管理
|
||||
*/
|
||||
TdFactoryVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询Property列表
|
||||
* 分页查询厂商管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return Property分页列表
|
||||
* @return 厂商管理分页列表
|
||||
*/
|
||||
TableDataInfo<TdFactoryVo> queryPageList(TdFactoryBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的Property列表
|
||||
* 查询符合条件的厂商管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return Property列表
|
||||
* @return 厂商管理列表
|
||||
*/
|
||||
List<TdFactoryVo> queryList(TdFactoryBo bo);
|
||||
|
||||
/**
|
||||
* 新增Property
|
||||
* 新增厂商管理
|
||||
*
|
||||
* @param bo Property
|
||||
* @param bo 厂商管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TdFactoryBo bo);
|
||||
|
||||
/**
|
||||
* 修改Property
|
||||
* 修改厂商管理
|
||||
*
|
||||
* @param bo Property
|
||||
* @param bo 厂商管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TdFactoryBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除Property信息
|
||||
* 校验并批量删除厂商管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TsConfig;
|
||||
import org.dromara.property.domain.vo.TsConfigVo;
|
||||
import org.dromara.property.domain.bo.TsConfigBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 代码配置Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITsConfigService {
|
||||
|
||||
/**
|
||||
* 查询代码配置
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 代码配置
|
||||
*/
|
||||
TsConfigVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询代码配置列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 代码配置分页列表
|
||||
*/
|
||||
TableDataInfo<TsConfigVo> queryPageList(TsConfigBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的代码配置列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 代码配置列表
|
||||
*/
|
||||
List<TsConfigVo> queryList(TsConfigBo bo);
|
||||
|
||||
/**
|
||||
* 新增代码配置
|
||||
*
|
||||
* @param bo 代码配置
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TsConfigBo bo);
|
||||
|
||||
/**
|
||||
* 修改代码配置
|
||||
*
|
||||
* @param bo 代码配置
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TsConfigBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除代码配置信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package org.dromara.property.service;
|
||||
|
||||
import org.dromara.property.domain.TsOperationLog;
|
||||
import org.dromara.property.domain.vo.TsOperationLogVo;
|
||||
import org.dromara.property.domain.bo.TsOperationLogBo;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 请求日志Service接口
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
public interface ITsOperationLogService {
|
||||
|
||||
/**
|
||||
* 查询请求日志
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 请求日志
|
||||
*/
|
||||
TsOperationLogVo queryById(Long id);
|
||||
|
||||
/**
|
||||
* 分页查询请求日志列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 请求日志分页列表
|
||||
*/
|
||||
TableDataInfo<TsOperationLogVo> queryPageList(TsOperationLogBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询符合条件的请求日志列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 请求日志列表
|
||||
*/
|
||||
List<TsOperationLogVo> queryList(TsOperationLogBo bo);
|
||||
|
||||
/**
|
||||
* 新增请求日志
|
||||
*
|
||||
* @param bo 请求日志
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
Boolean insertByBo(TsOperationLogBo bo);
|
||||
|
||||
/**
|
||||
* 修改请求日志
|
||||
*
|
||||
* @param bo 请求日志
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
Boolean updateByBo(TsOperationLogBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除请求日志信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||||
}
|
@@ -0,0 +1,144 @@
|
||||
package org.dromara.property.service.impl;
|
||||
|
||||
import org.dromara.common.core.utils.MapstructUtils;
|
||||
import org.dromara.common.core.utils.StringUtils;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.dromara.property.domain.bo.TbAccessControlBo;
|
||||
import org.dromara.property.domain.vo.TbAccessControlVo;
|
||||
import org.dromara.property.domain.TbAccessControl;
|
||||
import org.dromara.property.mapper.TbAccessControlMapper;
|
||||
import org.dromara.property.service.ITbAccessControlService;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* 门禁管理Service业务层处理
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class TbAccessControlServiceImpl implements ITbAccessControlService {
|
||||
|
||||
private final TbAccessControlMapper baseMapper;
|
||||
|
||||
/**
|
||||
* 查询门禁管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 门禁管理
|
||||
*/
|
||||
@Override
|
||||
public TbAccessControlVo queryById(Long id){
|
||||
return baseMapper.selectVoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询门禁管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 门禁管理分页列表
|
||||
*/
|
||||
@Override
|
||||
public TableDataInfo<TbAccessControlVo> queryPageList(TbAccessControlBo bo, PageQuery pageQuery) {
|
||||
LambdaQueryWrapper<TbAccessControl> lqw = buildQueryWrapper(bo);
|
||||
Page<TbAccessControlVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
||||
return TableDataInfo.build(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询符合条件的门禁管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 门禁管理列表
|
||||
*/
|
||||
@Override
|
||||
public List<TbAccessControlVo> queryList(TbAccessControlBo bo) {
|
||||
LambdaQueryWrapper<TbAccessControl> lqw = buildQueryWrapper(bo);
|
||||
return baseMapper.selectVoList(lqw);
|
||||
}
|
||||
|
||||
private LambdaQueryWrapper<TbAccessControl> buildQueryWrapper(TbAccessControlBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<TbAccessControl> lqw = Wrappers.lambdaQuery();
|
||||
lqw.orderByAsc(TbAccessControl::getId);
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getAccessCode()), TbAccessControl::getAccessCode, bo.getAccessCode());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getAccessName()), TbAccessControl::getAccessName, bo.getAccessName());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getCommunityCode()), TbAccessControl::getCommunityCode, bo.getCommunityCode());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getBuildingCode()), TbAccessControl::getBuildingCode, bo.getBuildingCode());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getAccessIp()), TbAccessControl::getAccessIp, bo.getAccessIp());
|
||||
lqw.eq(bo.getAccessPort() != null, TbAccessControl::getAccessPort, bo.getAccessPort());
|
||||
lqw.eq(bo.getAccssType() != null, TbAccessControl::getAccssType, bo.getAccssType());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getFactoryCode()), TbAccessControl::getFactoryCode, bo.getFactoryCode());
|
||||
lqw.eq(bo.getControlType() != null, TbAccessControl::getControlType, bo.getControlType());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getControlCode()), TbAccessControl::getControlCode, bo.getControlCode());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getOutCode()), TbAccessControl::getOutCode, bo.getOutCode());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getOrgCode()), TbAccessControl::getOrgCode, bo.getOrgCode());
|
||||
lqw.eq(bo.getDataState() != null, TbAccessControl::getDataState, bo.getDataState());
|
||||
return lqw;
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增门禁管理
|
||||
*
|
||||
* @param bo 门禁管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean insertByBo(TbAccessControlBo bo) {
|
||||
TbAccessControl add = MapstructUtils.convert(bo, TbAccessControl.class);
|
||||
validEntityBeforeSave(add);
|
||||
boolean flag = baseMapper.insert(add) > 0;
|
||||
if (flag) {
|
||||
bo.setId(add.getId());
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改门禁管理
|
||||
*
|
||||
* @param bo 门禁管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean updateByBo(TbAccessControlBo bo) {
|
||||
TbAccessControl update = MapstructUtils.convert(bo, TbAccessControl.class);
|
||||
validEntityBeforeSave(update);
|
||||
return baseMapper.updateById(update) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存前的数据校验
|
||||
*/
|
||||
private void validEntityBeforeSave(TbAccessControl entity){
|
||||
//TODO 做一些数据校验,如唯一约束
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验并批量删除门禁管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid) {
|
||||
if(isValid){
|
||||
//TODO 做一些业务上的校验,判断是否需要校验
|
||||
}
|
||||
return baseMapper.deleteByIds(ids) > 0;
|
||||
}
|
||||
}
|
@@ -0,0 +1,144 @@
|
||||
package org.dromara.property.service.impl;
|
||||
|
||||
import org.dromara.common.core.utils.MapstructUtils;
|
||||
import org.dromara.common.core.utils.StringUtils;
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.dromara.property.domain.bo.TbBuildingBo;
|
||||
import org.dromara.property.domain.vo.TbBuildingVo;
|
||||
import org.dromara.property.domain.TbBuilding;
|
||||
import org.dromara.property.mapper.TbBuildingMapper;
|
||||
import org.dromara.property.service.ITbBuildingService;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* 建筑管理Service业务层处理
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-06-17
|
||||
*/
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
@Service
|
||||
public class TbBuildingServiceImpl implements ITbBuildingService {
|
||||
|
||||
private final TbBuildingMapper baseMapper;
|
||||
|
||||
/**
|
||||
* 查询建筑管理
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 建筑管理
|
||||
*/
|
||||
@Override
|
||||
public TbBuildingVo queryById(Long id){
|
||||
return baseMapper.selectVoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询建筑管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @param pageQuery 分页参数
|
||||
* @return 建筑管理分页列表
|
||||
*/
|
||||
@Override
|
||||
public TableDataInfo<TbBuildingVo> queryPageList(TbBuildingBo bo, PageQuery pageQuery) {
|
||||
LambdaQueryWrapper<TbBuilding> lqw = buildQueryWrapper(bo);
|
||||
Page<TbBuildingVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
||||
return TableDataInfo.build(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询符合条件的建筑管理列表
|
||||
*
|
||||
* @param bo 查询条件
|
||||
* @return 建筑管理列表
|
||||
*/
|
||||
@Override
|
||||
public List<TbBuildingVo> queryList(TbBuildingBo bo) {
|
||||
LambdaQueryWrapper<TbBuilding> lqw = buildQueryWrapper(bo);
|
||||
return baseMapper.selectVoList(lqw);
|
||||
}
|
||||
|
||||
private LambdaQueryWrapper<TbBuilding> buildQueryWrapper(TbBuildingBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<TbBuilding> lqw = Wrappers.lambdaQuery();
|
||||
lqw.orderByAsc(TbBuilding::getId);
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getCommunityCode()), TbBuilding::getCommunityCode, bo.getCommunityCode());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getBuildingCode()), TbBuilding::getBuildingCode, bo.getBuildingCode());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getBuildingName()), TbBuilding::getBuildingName, bo.getBuildingName());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getProvince()), TbBuilding::getProvince, bo.getProvince());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getCity()), TbBuilding::getCity, bo.getCity());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getDistrict()), TbBuilding::getDistrict, bo.getDistrict());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getAddr()), TbBuilding::getAddr, bo.getAddr());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getLon()), TbBuilding::getLon, bo.getLon());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getLat()), TbBuilding::getLat, bo.getLat());
|
||||
lqw.eq(bo.getCqxz() != null, TbBuilding::getCqxz, bo.getCqxz());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getBdcbh()), TbBuilding::getBdcbh, bo.getBdcbh());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getCqbh()), TbBuilding::getCqbh, bo.getCqbh());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getOrgCode()), TbBuilding::getOrgCode, bo.getOrgCode());
|
||||
return lqw;
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增建筑管理
|
||||
*
|
||||
* @param bo 建筑管理
|
||||
* @return 是否新增成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean insertByBo(TbBuildingBo bo) {
|
||||
TbBuilding add = MapstructUtils.convert(bo, TbBuilding.class);
|
||||
validEntityBeforeSave(add);
|
||||
boolean flag = baseMapper.insert(add) > 0;
|
||||
if (flag) {
|
||||
bo.setId(add.getId());
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改建筑管理
|
||||
*
|
||||
* @param bo 建筑管理
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean updateByBo(TbBuildingBo bo) {
|
||||
TbBuilding update = MapstructUtils.convert(bo, TbBuilding.class);
|
||||
validEntityBeforeSave(update);
|
||||
return baseMapper.updateById(update) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存前的数据校验
|
||||
*/
|
||||
private void validEntityBeforeSave(TbBuilding entity){
|
||||
//TODO 做一些数据校验,如唯一约束
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验并批量删除建筑管理信息
|
||||
*
|
||||
* @param ids 待删除的主键集合
|
||||
* @param isValid 是否进行有效性校验
|
||||
* @return 是否删除成功
|
||||
*/
|
||||
@Override
|
||||
public Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid) {
|
||||
if(isValid){
|
||||
//TODO 做一些业务上的校验,判断是否需要校验
|
||||
}
|
||||
return baseMapper.deleteByIds(ids) > 0;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user