zhongrj
2023-11-06 407f300afe3898d0d7ceb920ac0d94e122175d3e
任务相关基础代码生成
54 files added
3306 ■■■■■ changed files
src/main/java/org/springblade/modules/task/controller/TaskBailReportingEventController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskCampusReportingEventController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskHotelReportingController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskLabelReportingEventController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskReportForRepairsController.java 126 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskBailReportingEventDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskCampusReportingEventDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskHotelReportingDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskLabelReportingEventDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/dto/TaskReportForRepairsDTO.java 34 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskBailReportingEventEntity.java 175 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskCampusReportingEventEntity.java 205 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskEntity.java 60 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskHotelReportingEntity.java 175 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java 166 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/entity/TaskReportForRepairsEntity.java 65 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskBailReportingEventMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskBailReportingEventMapper.xml 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskCampusReportingEventMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskCampusReportingEventMapper.xml 49 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskHotelReportingMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskHotelReportingMapper.xml 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml 41 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml 26 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskReportForRepairsMapper.java 43 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskReportForRepairsMapper.xml 26 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskBailReportingEventService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskCampusReportingEventService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskHotelReportingService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskLabelReportingEventService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskReportForRepairsService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/ITaskService.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskBailReportingEventServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskCampusReportingEventServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskHotelReportingServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskLabelReportingEventServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskReportForRepairsServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskServiceImpl.java 42 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskBailReportingEventVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskCampusReportingEventVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskHotelReportingVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskLabelReportingEventVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskReportForRepairsVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/vo/TaskVO.java 35 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskBailReportingEventWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskCampusReportingEventWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskHotelReportingWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskLabelReportingEventWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskReportForRepairsWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/wrapper/TaskWrapper.java 50 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/controller/TaskBailReportingEventController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.modules.task.vo.TaskBailReportingEventVO;
import org.springblade.modules.task.wrapper.TaskBailReportingEventWrapper;
import org.springblade.modules.task.service.ITaskBailReportingEventService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 取保候审任务 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-taskBailReportingEvent/taskBailReportingEvent")
@Api(value = "取保候审任务", tags = "取保候审任务接口")
public class TaskBailReportingEventController extends BladeController {
    private final ITaskBailReportingEventService taskBailReportingEventService;
    /**
     * 取保候审任务 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入taskBailReportingEvent")
    public R<TaskBailReportingEventVO> detail(TaskBailReportingEventEntity taskBailReportingEvent) {
        TaskBailReportingEventEntity detail = taskBailReportingEventService.getOne(Condition.getQueryWrapper(taskBailReportingEvent));
        return R.data(TaskBailReportingEventWrapper.build().entityVO(detail));
    }
    /**
     * 取保候审任务 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入taskBailReportingEvent")
    public R<IPage<TaskBailReportingEventVO>> list(TaskBailReportingEventEntity taskBailReportingEvent, Query query) {
        IPage<TaskBailReportingEventEntity> pages = taskBailReportingEventService.page(Condition.getPage(query), Condition.getQueryWrapper(taskBailReportingEvent));
        return R.data(TaskBailReportingEventWrapper.build().pageVO(pages));
    }
    /**
     * 取保候审任务 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入taskBailReportingEvent")
    public R<IPage<TaskBailReportingEventVO>> page(TaskBailReportingEventVO taskBailReportingEvent, Query query) {
        IPage<TaskBailReportingEventVO> pages = taskBailReportingEventService.selectTaskBailReportingEventPage(Condition.getPage(query), taskBailReportingEvent);
        return R.data(pages);
    }
    /**
     * 取保候审任务 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入taskBailReportingEvent")
    public R save(@Valid @RequestBody TaskBailReportingEventEntity taskBailReportingEvent) {
        return R.status(taskBailReportingEventService.save(taskBailReportingEvent));
    }
    /**
     * 取保候审任务 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入taskBailReportingEvent")
    public R update(@Valid @RequestBody TaskBailReportingEventEntity taskBailReportingEvent) {
        return R.status(taskBailReportingEventService.updateById(taskBailReportingEvent));
    }
    /**
     * 取保候审任务 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入taskBailReportingEvent")
    public R submit(@Valid @RequestBody TaskBailReportingEventEntity taskBailReportingEvent) {
        return R.status(taskBailReportingEventService.saveOrUpdate(taskBailReportingEvent));
    }
    /**
     * 取保候审任务 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskBailReportingEventService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/controller/TaskCampusReportingEventController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.modules.task.vo.TaskCampusReportingEventVO;
import org.springblade.modules.task.wrapper.TaskCampusReportingEventWrapper;
import org.springblade.modules.task.service.ITaskCampusReportingEventService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 校园安全检查任务表 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-taskCampusReportingEvent/taskCampusReportingEvent")
@Api(value = "校园安全检查任务表", tags = "校园安全检查任务表接口")
public class TaskCampusReportingEventController extends BladeController {
    private final ITaskCampusReportingEventService taskCampusReportingEventService;
    /**
     * 校园安全检查任务表 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入taskCampusReportingEvent")
    public R<TaskCampusReportingEventVO> detail(TaskCampusReportingEventEntity taskCampusReportingEvent) {
        TaskCampusReportingEventEntity detail = taskCampusReportingEventService.getOne(Condition.getQueryWrapper(taskCampusReportingEvent));
        return R.data(TaskCampusReportingEventWrapper.build().entityVO(detail));
    }
    /**
     * 校园安全检查任务表 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入taskCampusReportingEvent")
    public R<IPage<TaskCampusReportingEventVO>> list(TaskCampusReportingEventEntity taskCampusReportingEvent, Query query) {
        IPage<TaskCampusReportingEventEntity> pages = taskCampusReportingEventService.page(Condition.getPage(query), Condition.getQueryWrapper(taskCampusReportingEvent));
        return R.data(TaskCampusReportingEventWrapper.build().pageVO(pages));
    }
    /**
     * 校园安全检查任务表 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入taskCampusReportingEvent")
    public R<IPage<TaskCampusReportingEventVO>> page(TaskCampusReportingEventVO taskCampusReportingEvent, Query query) {
        IPage<TaskCampusReportingEventVO> pages = taskCampusReportingEventService.selectTaskCampusReportingEventPage(Condition.getPage(query), taskCampusReportingEvent);
        return R.data(pages);
    }
    /**
     * 校园安全检查任务表 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入taskCampusReportingEvent")
    public R save(@Valid @RequestBody TaskCampusReportingEventEntity taskCampusReportingEvent) {
        return R.status(taskCampusReportingEventService.save(taskCampusReportingEvent));
    }
    /**
     * 校园安全检查任务表 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入taskCampusReportingEvent")
    public R update(@Valid @RequestBody TaskCampusReportingEventEntity taskCampusReportingEvent) {
        return R.status(taskCampusReportingEventService.updateById(taskCampusReportingEvent));
    }
    /**
     * 校园安全检查任务表 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入taskCampusReportingEvent")
    public R submit(@Valid @RequestBody TaskCampusReportingEventEntity taskCampusReportingEvent) {
        return R.status(taskCampusReportingEventService.saveOrUpdate(taskCampusReportingEvent));
    }
    /**
     * 校园安全检查任务表 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskCampusReportingEventService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/controller/TaskController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.modules.task.vo.TaskVO;
import org.springblade.modules.task.wrapper.TaskWrapper;
import org.springblade.modules.task.service.ITaskService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 任务表 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-task/task")
@Api(value = "任务表", tags = "任务表接口")
public class TaskController extends BladeController {
    private final ITaskService taskService;
    /**
     * 任务表 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入task")
    public R<TaskVO> detail(TaskEntity task) {
        TaskEntity detail = taskService.getOne(Condition.getQueryWrapper(task));
        return R.data(TaskWrapper.build().entityVO(detail));
    }
    /**
     * 任务表 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入task")
    public R<IPage<TaskVO>> list(TaskEntity task, Query query) {
        IPage<TaskEntity> pages = taskService.page(Condition.getPage(query), Condition.getQueryWrapper(task));
        return R.data(TaskWrapper.build().pageVO(pages));
    }
    /**
     * 任务表 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入task")
    public R<IPage<TaskVO>> page(TaskVO task, Query query) {
        IPage<TaskVO> pages = taskService.selectTaskPage(Condition.getPage(query), task);
        return R.data(pages);
    }
    /**
     * 任务表 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入task")
    public R save(@Valid @RequestBody TaskEntity task) {
        return R.status(taskService.save(task));
    }
    /**
     * 任务表 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入task")
    public R update(@Valid @RequestBody TaskEntity task) {
        return R.status(taskService.updateById(task));
    }
    /**
     * 任务表 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入task")
    public R submit(@Valid @RequestBody TaskEntity task) {
        return R.status(taskService.saveOrUpdate(task));
    }
    /**
     * 任务表 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/controller/TaskHotelReportingController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.modules.task.vo.TaskHotelReportingVO;
import org.springblade.modules.task.wrapper.TaskHotelReportingWrapper;
import org.springblade.modules.task.service.ITaskHotelReportingService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 旅馆安全自查任务 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-taskHotelReporting/taskHotelReporting")
@Api(value = "旅馆安全自查任务", tags = "旅馆安全自查任务接口")
public class TaskHotelReportingController extends BladeController {
    private final ITaskHotelReportingService taskHotelReportingService;
    /**
     * 旅馆安全自查任务 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入taskHotelReporting")
    public R<TaskHotelReportingVO> detail(TaskHotelReportingEntity taskHotelReporting) {
        TaskHotelReportingEntity detail = taskHotelReportingService.getOne(Condition.getQueryWrapper(taskHotelReporting));
        return R.data(TaskHotelReportingWrapper.build().entityVO(detail));
    }
    /**
     * 旅馆安全自查任务 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入taskHotelReporting")
    public R<IPage<TaskHotelReportingVO>> list(TaskHotelReportingEntity taskHotelReporting, Query query) {
        IPage<TaskHotelReportingEntity> pages = taskHotelReportingService.page(Condition.getPage(query), Condition.getQueryWrapper(taskHotelReporting));
        return R.data(TaskHotelReportingWrapper.build().pageVO(pages));
    }
    /**
     * 旅馆安全自查任务 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入taskHotelReporting")
    public R<IPage<TaskHotelReportingVO>> page(TaskHotelReportingVO taskHotelReporting, Query query) {
        IPage<TaskHotelReportingVO> pages = taskHotelReportingService.selectTaskHotelReportingPage(Condition.getPage(query), taskHotelReporting);
        return R.data(pages);
    }
    /**
     * 旅馆安全自查任务 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入taskHotelReporting")
    public R save(@Valid @RequestBody TaskHotelReportingEntity taskHotelReporting) {
        return R.status(taskHotelReportingService.save(taskHotelReporting));
    }
    /**
     * 旅馆安全自查任务 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入taskHotelReporting")
    public R update(@Valid @RequestBody TaskHotelReportingEntity taskHotelReporting) {
        return R.status(taskHotelReportingService.updateById(taskHotelReporting));
    }
    /**
     * 旅馆安全自查任务 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入taskHotelReporting")
    public R submit(@Valid @RequestBody TaskHotelReportingEntity taskHotelReporting) {
        return R.status(taskHotelReportingService.saveOrUpdate(taskHotelReporting));
    }
    /**
     * 旅馆安全自查任务 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskHotelReportingService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/controller/TaskLabelReportingEventController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.modules.task.vo.TaskLabelReportingEventVO;
import org.springblade.modules.task.wrapper.TaskLabelReportingEventWrapper;
import org.springblade.modules.task.service.ITaskLabelReportingEventService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 打金店报事 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-taskLabelReportingEvent/taskLabelReportingEvent")
@Api(value = "打金店报事", tags = "打金店报事接口")
public class TaskLabelReportingEventController extends BladeController {
    private final ITaskLabelReportingEventService taskLabelReportingEventService;
    /**
     * 打金店报事 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入taskLabelReportingEvent")
    public R<TaskLabelReportingEventVO> detail(TaskLabelReportingEventEntity taskLabelReportingEvent) {
        TaskLabelReportingEventEntity detail = taskLabelReportingEventService.getOne(Condition.getQueryWrapper(taskLabelReportingEvent));
        return R.data(TaskLabelReportingEventWrapper.build().entityVO(detail));
    }
    /**
     * 打金店报事 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入taskLabelReportingEvent")
    public R<IPage<TaskLabelReportingEventVO>> list(TaskLabelReportingEventEntity taskLabelReportingEvent, Query query) {
        IPage<TaskLabelReportingEventEntity> pages = taskLabelReportingEventService.page(Condition.getPage(query), Condition.getQueryWrapper(taskLabelReportingEvent));
        return R.data(TaskLabelReportingEventWrapper.build().pageVO(pages));
    }
    /**
     * 打金店报事 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入taskLabelReportingEvent")
    public R<IPage<TaskLabelReportingEventVO>> page(TaskLabelReportingEventVO taskLabelReportingEvent, Query query) {
        IPage<TaskLabelReportingEventVO> pages = taskLabelReportingEventService.selectTaskLabelReportingEventPage(Condition.getPage(query), taskLabelReportingEvent);
        return R.data(pages);
    }
    /**
     * 打金店报事 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入taskLabelReportingEvent")
    public R save(@Valid @RequestBody TaskLabelReportingEventEntity taskLabelReportingEvent) {
        return R.status(taskLabelReportingEventService.save(taskLabelReportingEvent));
    }
    /**
     * 打金店报事 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入taskLabelReportingEvent")
    public R update(@Valid @RequestBody TaskLabelReportingEventEntity taskLabelReportingEvent) {
        return R.status(taskLabelReportingEventService.updateById(taskLabelReportingEvent));
    }
    /**
     * 打金店报事 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入taskLabelReportingEvent")
    public R submit(@Valid @RequestBody TaskLabelReportingEventEntity taskLabelReportingEvent) {
        return R.status(taskLabelReportingEventService.saveOrUpdate(taskLabelReportingEvent));
    }
    /**
     * 打金店报事 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskLabelReportingEventService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/controller/TaskReportForRepairsController.java
New file
@@ -0,0 +1,126 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.modules.task.vo.TaskReportForRepairsVO;
import org.springblade.modules.task.wrapper.TaskReportForRepairsWrapper;
import org.springblade.modules.task.service.ITaskReportForRepairsService;
import org.springblade.core.boot.ctrl.BladeController;
/**
 * 报事报修任务表 控制器
 *
 * @author BladeX
 * @since 2023-11-06
 */
@RestController
@AllArgsConstructor
@RequestMapping("blade-taskReportForRepairs/taskReportForRepairs")
@Api(value = "报事报修任务表", tags = "报事报修任务表接口")
public class TaskReportForRepairsController extends BladeController {
    private final ITaskReportForRepairsService taskReportForRepairsService;
    /**
     * 报事报修任务表 详情
     */
    @GetMapping("/detail")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "详情", notes = "传入taskReportForRepairs")
    public R<TaskReportForRepairsVO> detail(TaskReportForRepairsEntity taskReportForRepairs) {
        TaskReportForRepairsEntity detail = taskReportForRepairsService.getOne(Condition.getQueryWrapper(taskReportForRepairs));
        return R.data(TaskReportForRepairsWrapper.build().entityVO(detail));
    }
    /**
     * 报事报修任务表 分页
     */
    @GetMapping("/list")
    @ApiOperationSupport(order = 2)
    @ApiOperation(value = "分页", notes = "传入taskReportForRepairs")
    public R<IPage<TaskReportForRepairsVO>> list(TaskReportForRepairsEntity taskReportForRepairs, Query query) {
        IPage<TaskReportForRepairsEntity> pages = taskReportForRepairsService.page(Condition.getPage(query), Condition.getQueryWrapper(taskReportForRepairs));
        return R.data(TaskReportForRepairsWrapper.build().pageVO(pages));
    }
    /**
     * 报事报修任务表 自定义分页
     */
    @GetMapping("/page")
    @ApiOperationSupport(order = 3)
    @ApiOperation(value = "分页", notes = "传入taskReportForRepairs")
    public R<IPage<TaskReportForRepairsVO>> page(TaskReportForRepairsVO taskReportForRepairs, Query query) {
        IPage<TaskReportForRepairsVO> pages = taskReportForRepairsService.selectTaskReportForRepairsPage(Condition.getPage(query), taskReportForRepairs);
        return R.data(pages);
    }
    /**
     * 报事报修任务表 新增
     */
    @PostMapping("/save")
    @ApiOperationSupport(order = 4)
    @ApiOperation(value = "新增", notes = "传入taskReportForRepairs")
    public R save(@Valid @RequestBody TaskReportForRepairsEntity taskReportForRepairs) {
        return R.status(taskReportForRepairsService.save(taskReportForRepairs));
    }
    /**
     * 报事报修任务表 修改
     */
    @PostMapping("/update")
    @ApiOperationSupport(order = 5)
    @ApiOperation(value = "修改", notes = "传入taskReportForRepairs")
    public R update(@Valid @RequestBody TaskReportForRepairsEntity taskReportForRepairs) {
        return R.status(taskReportForRepairsService.updateById(taskReportForRepairs));
    }
    /**
     * 报事报修任务表 新增或修改
     */
    @PostMapping("/submit")
    @ApiOperationSupport(order = 6)
    @ApiOperation(value = "新增或修改", notes = "传入taskReportForRepairs")
    public R submit(@Valid @RequestBody TaskReportForRepairsEntity taskReportForRepairs) {
        return R.status(taskReportForRepairsService.saveOrUpdate(taskReportForRepairs));
    }
    /**
     * 报事报修任务表 删除
     */
    @PostMapping("/remove")
    @ApiOperationSupport(order = 7)
    @ApiOperation(value = "逻辑删除", notes = "传入ids")
    public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
        return R.status(taskReportForRepairsService.deleteLogic(Func.toLongList(ids)));
    }
}
src/main/java/org/springblade/modules/task/dto/TaskBailReportingEventDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 取保候审任务 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskBailReportingEventDTO extends TaskBailReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/dto/TaskCampusReportingEventDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 校园安全检查任务表 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskCampusReportingEventDTO extends TaskCampusReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/dto/TaskDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 任务表 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskDTO extends TaskEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/dto/TaskHotelReportingDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 旅馆安全自查任务 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskHotelReportingDTO extends TaskHotelReportingEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/dto/TaskLabelReportingEventDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 打金店报事 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskLabelReportingEventDTO extends TaskLabelReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/dto/TaskReportForRepairsDTO.java
New file
@@ -0,0 +1,34 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.dto;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 报事报修任务表 数据传输对象实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskReportForRepairsDTO extends TaskReportForRepairsEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/entity/TaskBailReportingEventEntity.java
New file
@@ -0,0 +1,175 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 取保候审任务 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_bail_reporting_event")
@ApiModel(value = "TaskBailReportingEvent对象", description = "取保候审任务")
@EqualsAndHashCode(callSuper = true)
public class TaskBailReportingEventEntity extends TenantEntity {
    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private Long taskId;
    /**
     * 小区ID
     */
    @ApiModelProperty(value = "小区ID")
    private String districtId;
    /**
     * 小区名称
     */
    @ApiModelProperty(value = "小区名称")
    private String districtName;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private Integer checkUserId;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private String checkUserName;
    /**
     * 自查人手机
     */
    @ApiModelProperty(value = "自查人手机")
    private String checkTelephone;
    /**
     * 自查位置
     */
    @ApiModelProperty(value = "自查位置")
    private String location;
    /**
     * 确认时间
     */
    @ApiModelProperty(value = "确认时间")
    private Date confirmTime;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private Integer confirmUserId;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private String confirmUserName;
    /**
     * 确认意见
     */
    @ApiModelProperty(value = "确认意见")
    private String confirmNotion;
    /**
     * 确认标记
     */
    @ApiModelProperty(value = "确认标记")
    private String confirmFlag;
    /**
     * 申请时间
     */
    @ApiModelProperty(value = "申请时间")
    private Date applyTime;
    /**
     * 外出原因
     */
    @ApiModelProperty(value = "外出原因")
    private String applyName;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    private String idCard;
    /**
     * 标签人员
     */
    @ApiModelProperty(value = "标签人员")
    private String personLabels;
    /**
     * 位置图片
     */
    @ApiModelProperty(value = "位置图片")
    private String locationImageUrls;
    /**
     * 确认用户电话
     */
    @ApiModelProperty(value = "确认用户电话")
    private String confirmUserTelephone;
    /**
     * 出发-当前时间
     */
    @ApiModelProperty(value = "出发-当前时间")
    private Date startTime;
    /**
     * 出发-报备位置
     */
    @ApiModelProperty(value = "出发-报备位置")
    private String startLocation;
    /**
     * 出发-位置图片
     */
    @ApiModelProperty(value = "出发-位置图片")
    private String startImageUrls;
    /**
     * 到达-当前时间
     */
    @ApiModelProperty(value = "到达-当前时间")
    private Date reachTime;
    /**
     * 到达-报备位置
     */
    @ApiModelProperty(value = "到达-报备位置")
    private String reachLocation;
    /**
     * 到达-位置图片
     */
    @ApiModelProperty(value = "到达-位置图片")
    private String reachImageUrls;
    /**
     * 返回-当前时间
     */
    @ApiModelProperty(value = "返回-当前时间")
    private Date returnTime;
    /**
     * 返回-报备位置
     */
    @ApiModelProperty(value = "返回-报备位置")
    private String returnLocation;
    /**
     * 返回-位置图片
     */
    @ApiModelProperty(value = "返回-位置图片")
    private String returnImageUrls;
}
src/main/java/org/springblade/modules/task/entity/TaskCampusReportingEventEntity.java
New file
@@ -0,0 +1,205 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 校园安全检查任务表 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_campus_reporting_event")
@ApiModel(value = "TaskCampusReportingEvent对象", description = "校园安全检查任务表")
@EqualsAndHashCode(callSuper = true)
public class TaskCampusReportingEventEntity extends TenantEntity {
    /**
     * 任务ID
     */
    @ApiModelProperty(value = "任务ID")
    private Long taskId;
    /**
     * 场所ID
     */
    @ApiModelProperty(value = "场所ID")
    private Integer placeId;
    /**
     * 小区ID
     */
    @ApiModelProperty(value = "小区ID")
    private String districtId;
    /**
     * 小区名称
     */
    @ApiModelProperty(value = "小区名称")
    private String districtName;
    /**
     * 自查时间
     */
    @ApiModelProperty(value = "自查时间")
    private Date checkTime;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private Integer checkUserId;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private String checkUserName;
    /**
     * 自查人手机
     */
    @ApiModelProperty(value = "自查人手机")
    private String checkTelephone;
    /**
     * 自查位置
     */
    @ApiModelProperty(value = "自查位置")
    private String location;
    /**
     * 安全通道状态
     */
    @ApiModelProperty(value = "安全通道状态")
    private String scStatus;
    /**
     * 安全通道图片
     */
    @ApiModelProperty(value = "安全通道图片")
    private String scImageUrls;
    /**
     * 未成年人入住登记本照片
     */
    @ApiModelProperty(value = "未成年人入住登记本照片")
    private String uanImageUrls;
    /**
     * 确认时间
     */
    @ApiModelProperty(value = "确认时间")
    private Date confirmTime;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private Integer confirmUserId;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private String confirmUserName;
    /**
     * 确认意见
     */
    @ApiModelProperty(value = "确认意见")
    private String confirmNotion;
    /**
     * 确认标记
     */
    @ApiModelProperty(value = "确认标记")
    private String confirmFlag;
    /**
     * 校园名称
     */
    @ApiModelProperty(value = "校园名称")
    private String campusName;
    /**
     * 四个一
     */
    @ApiModelProperty(value = "四个一")
    private String fourOne;
    /**
     * 消防器材数量
     */
    @ApiModelProperty(value = "消防器材数量")
    private Integer fireFacsNums;
    /**
     * 消防器材状态
     */
    @ApiModelProperty(value = "消防器材状态")
    private String fireFacsStatus;
    /**
     * 消防器材图片
     */
    @ApiModelProperty(value = "消防器材图片")
    private String fireFacsImageUrls;
    /**
     * 消防器材种类
     */
    @ApiModelProperty(value = "消防器材种类")
    private String fireFacsType;
    /**
     * 校园周边安全巡查照片
     */
    @ApiModelProperty(value = "校园周边安全巡查照片")
    private String patrolImageUrls;
    /**
     * 学校大门是否配备防撞装置
     */
    @ApiModelProperty(value = "学校大门是否配备防撞装置")
    private String antiCollision;
    /**
     * 校园防撞装置照片
     */
    @ApiModelProperty(value = "校园防撞装置照片")
    private String antiCollisionImageUrls;
    /**
     * 专职保安人数
     */
    @ApiModelProperty(value = "专职保安人数")
    private Integer fullSoNums;
    /**
     * 兼职保安人数
     */
    @ApiModelProperty(value = "兼职保安人数")
    private Integer partSoNums;
    /**
     * 学校监控总数
     */
    @ApiModelProperty(value = "学校监控总数")
    private Integer monitorNums;
    /**
     * 监控是否全覆盖
     */
    @ApiModelProperty(value = "监控是否全覆盖")
    private String monitorOver;
    /**
     * 高空抛物监控
     */
    @ApiModelProperty(value = "高空抛物监控")
    private String highAltitudeMonitor;
    /**
     * 高空抛物监控照片
     */
    @ApiModelProperty(value = "高空抛物监控照片")
    private String haImageUrls;
    /**
     * 四个一工程照片
     */
    @ApiModelProperty(value = "四个一工程照片")
    private String foImageUrls;
}
src/main/java/org/springblade/modules/task/entity/TaskEntity.java
New file
@@ -0,0 +1,60 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 任务表 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task")
@ApiModel(value = "Task对象", description = "任务表")
@EqualsAndHashCode(callSuper = true)
public class TaskEntity extends TenantEntity {
    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称")
    private String name;
    /**
     * 任务类型 1:综治任务 2: 住建任务  3: 公安任务
     */
    @ApiModelProperty(value = "任务类型 1:综治任务 2: 住建任务  3: 公安任务")
    private Integer type;
    /**
     * 任务频次 1:一次性  2:周期性
     */
    @ApiModelProperty(value = "任务频次 1:一次性  2:周期性")
    private Integer frequency;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
}
src/main/java/org/springblade/modules/task/entity/TaskHotelReportingEntity.java
New file
@@ -0,0 +1,175 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 旅馆安全自查任务 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_hotel_reporting")
@ApiModel(value = "TaskHotelReporting对象", description = "旅馆安全自查任务")
@EqualsAndHashCode(callSuper = true)
public class TaskHotelReportingEntity extends TenantEntity {
    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private Long taskId;
    /**
     * 酒店名称
     */
    @ApiModelProperty(value = "酒店名称")
    private String hotelName;
    /**
     * 场所ID
     */
    @ApiModelProperty(value = "场所ID")
    private Integer placeId;
    /**
     * 小区ID
     */
    @ApiModelProperty(value = "小区ID")
    private String districtId;
    /**
     * 小区名称
     */
    @ApiModelProperty(value = "小区名称")
    private String districtName;
    /**
     * 自查时间
     */
    @ApiModelProperty(value = "自查时间")
    private Date checkTime;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private Integer checkUserId;
    /**
     * 自查人姓名
     */
    @ApiModelProperty(value = "自查人姓名")
    private String checkUserName;
    /**
     * 自查人手机
     */
    @ApiModelProperty(value = "自查人手机")
    private String checkTelephone;
    /**
     * 自查位置
     */
    @ApiModelProperty(value = "自查位置")
    private String location;
    /**
     * 灭火器数量
     */
    @ApiModelProperty(value = "灭火器数量")
    private Integer fireNums;
    /**
     * 灭火器状态
     */
    @ApiModelProperty(value = "灭火器状态")
    private String fireStatus;
    /**
     * 灭火器图片
     */
    @ApiModelProperty(value = "灭火器图片")
    private String fireImageUrls;
    /**
     * 安全通道状态
     */
    @ApiModelProperty(value = "安全通道状态")
    private String scStatus;
    /**
     * 安全通道图片
     */
    @ApiModelProperty(value = "安全通道图片")
    private String scImageUrls;
    /**
     * 技防设施有无
     */
    @ApiModelProperty(value = "技防设施有无")
    private String pfFlag;
    /**
     * 技防设施名称
     */
    @ApiModelProperty(value = "技防设施名称")
    private String pfName;
    /**
     * 技防设施照片
     */
    @ApiModelProperty(value = "技防设施照片")
    private String pfImageUrls;
    /**
     * 接待未成年人需要做到五个必须
     */
    @ApiModelProperty(value = "接待未成年人需要做到五个必须")
    private String fiveMust;
    /**
     * 未成年人入住登记本照片
     */
    @ApiModelProperty(value = "未成年人入住登记本照片")
    private String uanImageUrls;
    /**
     * 是否完全实名制登记
     */
    @ApiModelProperty(value = "是否完全实名制登记")
    private String realName;
    /**
     * 确认时间
     */
    @ApiModelProperty(value = "确认时间")
    private Date confirmTime;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private Integer confirmUserId;
    /**
     * 确认用户ID
     */
    @ApiModelProperty(value = "确认用户ID")
    private String confirmUserName;
    /**
     * 安全通道有无
     */
    @ApiModelProperty(value = "安全通道有无")
    private String scFlag;
    /**
     * 确认意见
     */
    @ApiModelProperty(value = "确认意见")
    private String confirmNotion;
    /**
     * 确认标记
     */
    @ApiModelProperty(value = "确认标记")
    private String confirmFlag;
}
src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java
New file
@@ -0,0 +1,166 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.lang.Double;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 打金店报事 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_label_reporting_event")
@ApiModel(value = "TaskLabelReportingEvent对象", description = "打金店报事")
@EqualsAndHashCode(callSuper = true)
public class TaskLabelReportingEventEntity extends TenantEntity {
    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private Long taskId;
    /**
     * 场所ID
     */
    @ApiModelProperty(value = "场所ID")
    private Integer placeId;
    /**
     * 房屋ID
     */
    @ApiModelProperty(value = "房屋ID")
    private String houseId;
    /**
     * 社区ID
     */
    @ApiModelProperty(value = "社区ID")
    private String districtId;
    /**
     * 发生时间
     */
    @ApiModelProperty(value = "发生时间")
    private Date happenTime;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    /**
     * 身份证图片URLS
     */
    @ApiModelProperty(value = "身份证图片URLS")
    private String imageUrls;
    /**
     * 社区名称
     */
    @ApiModelProperty(value = "社区名称")
    private String districtName;
    /**
     * 事件类型
     */
    @ApiModelProperty(value = "事件类型")
    private String eventType;
    /**
     * 确认标记
     */
    @ApiModelProperty(value = "确认标记")
    private String confirmFlag;
    /**
     * 确认人ID
     */
    @ApiModelProperty(value = "确认人ID")
    private Integer confirmUserId;
    /**
     * 确认时间
     */
    @ApiModelProperty(value = "确认时间")
    private Date confirmTime;
    /**
     * 位置
     */
    @ApiModelProperty(value = "位置")
    private String localtion;
    /**
     * 确认意见
     */
    @ApiModelProperty(value = "确认意见")
    private String confirmNotion;
    /**
     * 业主
     */
    @ApiModelProperty(value = "业主")
    private String owner;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;
    /**
     * 房屋名称
     */
    @ApiModelProperty(value = "房屋名称")
    private String houseName;
    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    /**
     * 对象电话
     */
    @ApiModelProperty(value = "对象电话")
    private String transactionObjectTel;
    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额")
    private Double transactionMoney;
    /**
     * 物品数量
     */
    @ApiModelProperty(value = "物品数量")
    private Integer goodsNums;
    /**
     * 物品照片URLS
     */
    @ApiModelProperty(value = "物品照片URLS")
    private String goodsImageUrls;
    /**
     * 交易对象
     */
    @ApiModelProperty(value = "交易对象")
    private String transactionObject;
    /**
     * 交易过程
     */
    @ApiModelProperty(value = "交易过程")
    private String transactionProcess;
    /**
     * 标签名称
     */
    @ApiModelProperty(value = "标签名称")
    private String labelName;
}
src/main/java/org/springblade/modules/task/entity/TaskReportForRepairsEntity.java
New file
@@ -0,0 +1,65 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/**
 * 报事报修任务表 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_report_for_repairs")
@ApiModel(value = "TaskReportForRepairs对象", description = "报事报修任务表")
@EqualsAndHashCode(callSuper = true)
public class TaskReportForRepairsEntity extends TenantEntity {
    /**
     * 类型 1公共维修,2居家维修,3矛盾纠纷,4投诉举报
     */
    @ApiModelProperty(value = "类型 1公共维修,2居家维修,3矛盾纠纷,4投诉举报")
    private Integer type;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String realName;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 图片路径
     */
    @ApiModelProperty(value = "图片路径")
    private String imageUrls;
}
src/main/java/org/springblade/modules/task/mapper/TaskBailReportingEventMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.modules.task.vo.TaskBailReportingEventVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 取保候审任务 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskBailReportingEventMapper extends BaseMapper<TaskBailReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskBailReportingEvent
     * @return
     */
    List<TaskBailReportingEventVO> selectTaskBailReportingEventPage(IPage page, TaskBailReportingEventVO taskBailReportingEvent);
}
src/main/java/org/springblade/modules/task/mapper/TaskBailReportingEventMapper.xml
New file
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskBailReportingEventMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskBailReportingEventResultMap" type="org.springblade.modules.task.entity.TaskBailReportingEventEntity">
        <result column="id" property="id"/>
        <result column="task_id" property="taskId"/>
        <result column="district_id" property="districtId"/>
        <result column="district_name" property="districtName"/>
        <result column="check_user_id" property="checkUserId"/>
        <result column="check_user_name" property="checkUserName"/>
        <result column="check_telephone" property="checkTelephone"/>
        <result column="location" property="location"/>
        <result column="confirm_time" property="confirmTime"/>
        <result column="confirm_user_id" property="confirmUserId"/>
        <result column="confirm_user_name" property="confirmUserName"/>
        <result column="confirm_notion" property="confirmNotion"/>
        <result column="confirm_flag" property="confirmFlag"/>
        <result column="apply_time" property="applyTime"/>
        <result column="apply_name" property="applyName"/>
        <result column="id_card" property="idCard"/>
        <result column="person_labels" property="personLabels"/>
        <result column="location_image_urls" property="locationImageUrls"/>
        <result column="confirm_user_telephone" property="confirmUserTelephone"/>
        <result column="start_time" property="startTime"/>
        <result column="start_location" property="startLocation"/>
        <result column="start_image_urls" property="startImageUrls"/>
        <result column="reach_time" property="reachTime"/>
        <result column="reach_location" property="reachLocation"/>
        <result column="reach_image_urls" property="reachImageUrls"/>
        <result column="return_time" property="returnTime"/>
        <result column="return_location" property="returnLocation"/>
        <result column="return_image_urls" property="returnImageUrls"/>
    </resultMap>
    <select id="selectTaskBailReportingEventPage" resultMap="taskBailReportingEventResultMap">
        select * from jczz_task_bail_reporting_event where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/mapper/TaskCampusReportingEventMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.modules.task.vo.TaskCampusReportingEventVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 校园安全检查任务表 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskCampusReportingEventMapper extends BaseMapper<TaskCampusReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskCampusReportingEvent
     * @return
     */
    List<TaskCampusReportingEventVO> selectTaskCampusReportingEventPage(IPage page, TaskCampusReportingEventVO taskCampusReportingEvent);
}
src/main/java/org/springblade/modules/task/mapper/TaskCampusReportingEventMapper.xml
New file
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskCampusReportingEventMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskCampusReportingEventResultMap" type="org.springblade.modules.task.entity.TaskCampusReportingEventEntity">
        <result column="id" property="id"/>
        <result column="task_id" property="taskId"/>
        <result column="place_id" property="placeId"/>
        <result column="district_id" property="districtId"/>
        <result column="district_name" property="districtName"/>
        <result column="check_time" property="checkTime"/>
        <result column="check_user_id" property="checkUserId"/>
        <result column="check_user_name" property="checkUserName"/>
        <result column="check_telephone" property="checkTelephone"/>
        <result column="location" property="location"/>
        <result column="sc_status" property="scStatus"/>
        <result column="sc_image_urls" property="scImageUrls"/>
        <result column="uan_image_urls" property="uanImageUrls"/>
        <result column="confirm_time" property="confirmTime"/>
        <result column="confirm_user_id" property="confirmUserId"/>
        <result column="confirm_user_name" property="confirmUserName"/>
        <result column="confirm_notion" property="confirmNotion"/>
        <result column="confirm_flag" property="confirmFlag"/>
        <result column="campus_name" property="campusName"/>
        <result column="four_one" property="fourOne"/>
        <result column="fire_facs_nums" property="fireFacsNums"/>
        <result column="fire_facs_status" property="fireFacsStatus"/>
        <result column="fire_facs_image_urls" property="fireFacsImageUrls"/>
        <result column="fire_facs_type" property="fireFacsType"/>
        <result column="patrol_image_urls" property="patrolImageUrls"/>
        <result column="anti_collision" property="antiCollision"/>
        <result column="anti_collision_image_urls" property="antiCollisionImageUrls"/>
        <result column="full_so_nums" property="fullSoNums"/>
        <result column="part_so_nums" property="partSoNums"/>
        <result column="monitor_nums" property="monitorNums"/>
        <result column="monitor_over" property="monitorOver"/>
        <result column="high_altitude_monitor" property="highAltitudeMonitor"/>
        <result column="ha_image_urls" property="haImageUrls"/>
        <result column="fo_image_urls" property="foImageUrls"/>
    </resultMap>
    <select id="selectTaskCampusReportingEventPage" resultMap="taskCampusReportingEventResultMap">
        select * from jczz_task_campus_reporting_event where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/mapper/TaskHotelReportingMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.modules.task.vo.TaskHotelReportingVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 旅馆安全自查任务 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskHotelReportingMapper extends BaseMapper<TaskHotelReportingEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskHotelReporting
     * @return
     */
    List<TaskHotelReportingVO> selectTaskHotelReportingPage(IPage page, TaskHotelReportingVO taskHotelReporting);
}
src/main/java/org/springblade/modules/task/mapper/TaskHotelReportingMapper.xml
New file
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskHotelReportingMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskHotelReportingResultMap" type="org.springblade.modules.task.entity.TaskHotelReportingEntity">
        <result column="id" property="id"/>
        <result column="task_id" property="taskId"/>
        <result column="hotel_name" property="hotelName"/>
        <result column="place_id" property="placeId"/>
        <result column="district_id" property="districtId"/>
        <result column="district_name" property="districtName"/>
        <result column="check_time" property="checkTime"/>
        <result column="check_user_id" property="checkUserId"/>
        <result column="check_user_name" property="checkUserName"/>
        <result column="check_telephone" property="checkTelephone"/>
        <result column="location" property="location"/>
        <result column="fire_nums" property="fireNums"/>
        <result column="fire_status" property="fireStatus"/>
        <result column="fire_image_urls" property="fireImageUrls"/>
        <result column="sc_status" property="scStatus"/>
        <result column="sc_image_urls" property="scImageUrls"/>
        <result column="pf_flag" property="pfFlag"/>
        <result column="pf_name" property="pfName"/>
        <result column="pf_image_urls" property="pfImageUrls"/>
        <result column="five_must" property="fiveMust"/>
        <result column="uan_image_urls" property="uanImageUrls"/>
        <result column="real_name" property="realName"/>
        <result column="confirm_time" property="confirmTime"/>
        <result column="confirm_user_id" property="confirmUserId"/>
        <result column="confirm_user_name" property="confirmUserName"/>
        <result column="sc_flag" property="scFlag"/>
        <result column="confirm_notion" property="confirmNotion"/>
        <result column="confirm_flag" property="confirmFlag"/>
    </resultMap>
    <select id="selectTaskHotelReportingPage" resultMap="taskHotelReportingResultMap">
        select * from jczz_task_hotel_reporting where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.modules.task.vo.TaskLabelReportingEventVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 打金店报事 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskLabelReportingEventMapper extends BaseMapper<TaskLabelReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskLabelReportingEvent
     * @return
     */
    List<TaskLabelReportingEventVO> selectTaskLabelReportingEventPage(IPage page, TaskLabelReportingEventVO taskLabelReportingEvent);
}
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
New file
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskLabelReportingEventMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskLabelReportingEventResultMap" type="org.springblade.modules.task.entity.TaskLabelReportingEventEntity">
        <result column="id" property="id"/>
        <result column="task_id" property="taskId"/>
        <result column="place_id" property="placeId"/>
        <result column="house_id" property="houseId"/>
        <result column="district_id" property="districtId"/>
        <result column="happen_time" property="happenTime"/>
        <result column="user_id" property="userId"/>
        <result column="image_urls" property="imageUrls"/>
        <result column="district_name" property="districtName"/>
        <result column="event_type" property="eventType"/>
        <result column="confirm_flag" property="confirmFlag"/>
        <result column="confirm_user_id" property="confirmUserId"/>
        <result column="confirm_time" property="confirmTime"/>
        <result column="localtion" property="localtion"/>
        <result column="confirm_notion" property="confirmNotion"/>
        <result column="owner" property="owner"/>
        <result column="phone_number" property="phoneNumber"/>
        <result column="house_name" property="houseName"/>
        <result column="task_name" property="taskName"/>
        <result column="transaction_object_tel" property="transactionObjectTel"/>
        <result column="transaction_money" property="transactionMoney"/>
        <result column="goods_nums" property="goodsNums"/>
        <result column="goods_image_urls" property="goodsImageUrls"/>
        <result column="transaction_object" property="transactionObject"/>
        <result column="transaction_process" property="transactionProcess"/>
        <result column="label_name" property="labelName"/>
    </resultMap>
    <select id="selectTaskLabelReportingEventPage" resultMap="taskLabelReportingEventResultMap">
        select * from jczz_task_label_reporting_event where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/mapper/TaskMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.modules.task.vo.TaskVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 任务表 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskMapper extends BaseMapper<TaskEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param task
     * @return
     */
    List<TaskVO> selectTaskPage(IPage page, TaskVO task);
}
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
New file
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskResultMap" type="org.springblade.modules.task.entity.TaskEntity">
        <result column="id" property="id"/>
        <result column="name" property="name"/>
        <result column="type" property="type"/>
        <result column="frequency" property="frequency"/>
        <result column="remark" property="remark"/>
        <result column="create_time" property="createTime"/>
        <result column="create_user" property="createUser"/>
        <result column="update_time" property="updateTime"/>
        <result column="update_user" property="updateUser"/>
        <result column="status" property="status"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
    <select id="selectTaskPage" resultMap="taskResultMap">
        select * from jczz_task where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/mapper/TaskReportForRepairsMapper.java
New file
@@ -0,0 +1,43 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.mapper;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.modules.task.vo.TaskReportForRepairsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
/**
 * 报事报修任务表 Mapper 接口
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface TaskReportForRepairsMapper extends BaseMapper<TaskReportForRepairsEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskReportForRepairs
     * @return
     */
    List<TaskReportForRepairsVO> selectTaskReportForRepairsPage(IPage page, TaskReportForRepairsVO taskReportForRepairs);
}
src/main/java/org/springblade/modules/task/mapper/TaskReportForRepairsMapper.xml
New file
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.task.mapper.TaskReportForRepairsMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="taskReportForRepairsResultMap" type="org.springblade.modules.task.entity.TaskReportForRepairsEntity">
        <result column="id" property="id"/>
        <result column="type" property="type"/>
        <result column="real_name" property="realName"/>
        <result column="phone" property="phone"/>
        <result column="remark" property="remark"/>
        <result column="image_urls" property="imageUrls"/>
        <result column="create_time" property="createTime"/>
        <result column="create_user" property="createUser"/>
        <result column="update_time" property="updateTime"/>
        <result column="update_user" property="updateUser"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
    <select id="selectTaskReportForRepairsPage" resultMap="taskReportForRepairsResultMap">
        select * from jczz_task_report_for_repairs where is_deleted = 0
    </select>
</mapper>
src/main/java/org/springblade/modules/task/service/ITaskBailReportingEventService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.modules.task.vo.TaskBailReportingEventVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 取保候审任务 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskBailReportingEventService extends BaseService<TaskBailReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskBailReportingEvent
     * @return
     */
    IPage<TaskBailReportingEventVO> selectTaskBailReportingEventPage(IPage<TaskBailReportingEventVO> page, TaskBailReportingEventVO taskBailReportingEvent);
}
src/main/java/org/springblade/modules/task/service/ITaskCampusReportingEventService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.modules.task.vo.TaskCampusReportingEventVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 校园安全检查任务表 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskCampusReportingEventService extends BaseService<TaskCampusReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskCampusReportingEvent
     * @return
     */
    IPage<TaskCampusReportingEventVO> selectTaskCampusReportingEventPage(IPage<TaskCampusReportingEventVO> page, TaskCampusReportingEventVO taskCampusReportingEvent);
}
src/main/java/org/springblade/modules/task/service/ITaskHotelReportingService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.modules.task.vo.TaskHotelReportingVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 旅馆安全自查任务 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskHotelReportingService extends BaseService<TaskHotelReportingEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskHotelReporting
     * @return
     */
    IPage<TaskHotelReportingVO> selectTaskHotelReportingPage(IPage<TaskHotelReportingVO> page, TaskHotelReportingVO taskHotelReporting);
}
src/main/java/org/springblade/modules/task/service/ITaskLabelReportingEventService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.modules.task.vo.TaskLabelReportingEventVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 打金店报事 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskLabelReportingEventService extends BaseService<TaskLabelReportingEventEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskLabelReportingEvent
     * @return
     */
    IPage<TaskLabelReportingEventVO> selectTaskLabelReportingEventPage(IPage<TaskLabelReportingEventVO> page, TaskLabelReportingEventVO taskLabelReportingEvent);
}
src/main/java/org/springblade/modules/task/service/ITaskReportForRepairsService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.modules.task.vo.TaskReportForRepairsVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 报事报修任务表 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskReportForRepairsService extends BaseService<TaskReportForRepairsEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param taskReportForRepairs
     * @return
     */
    IPage<TaskReportForRepairsVO> selectTaskReportForRepairsPage(IPage<TaskReportForRepairsVO> page, TaskReportForRepairsVO taskReportForRepairs);
}
src/main/java/org/springblade/modules/task/service/ITaskService.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.modules.task.vo.TaskVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 任务表 服务类
 *
 * @author BladeX
 * @since 2023-11-06
 */
public interface ITaskService extends BaseService<TaskEntity> {
    /**
     * 自定义分页
     *
     * @param page
     * @param task
     * @return
     */
    IPage<TaskVO> selectTaskPage(IPage<TaskVO> page, TaskVO task);
}
src/main/java/org/springblade/modules/task/service/impl/TaskBailReportingEventServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.modules.task.vo.TaskBailReportingEventVO;
import org.springblade.modules.task.mapper.TaskBailReportingEventMapper;
import org.springblade.modules.task.service.ITaskBailReportingEventService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 取保候审任务 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskBailReportingEventServiceImpl extends BaseServiceImpl<TaskBailReportingEventMapper, TaskBailReportingEventEntity> implements ITaskBailReportingEventService {
    @Override
    public IPage<TaskBailReportingEventVO> selectTaskBailReportingEventPage(IPage<TaskBailReportingEventVO> page, TaskBailReportingEventVO taskBailReportingEvent) {
        return page.setRecords(baseMapper.selectTaskBailReportingEventPage(page, taskBailReportingEvent));
    }
}
src/main/java/org/springblade/modules/task/service/impl/TaskCampusReportingEventServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.modules.task.vo.TaskCampusReportingEventVO;
import org.springblade.modules.task.mapper.TaskCampusReportingEventMapper;
import org.springblade.modules.task.service.ITaskCampusReportingEventService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 校园安全检查任务表 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskCampusReportingEventServiceImpl extends BaseServiceImpl<TaskCampusReportingEventMapper, TaskCampusReportingEventEntity> implements ITaskCampusReportingEventService {
    @Override
    public IPage<TaskCampusReportingEventVO> selectTaskCampusReportingEventPage(IPage<TaskCampusReportingEventVO> page, TaskCampusReportingEventVO taskCampusReportingEvent) {
        return page.setRecords(baseMapper.selectTaskCampusReportingEventPage(page, taskCampusReportingEvent));
    }
}
src/main/java/org/springblade/modules/task/service/impl/TaskHotelReportingServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.modules.task.vo.TaskHotelReportingVO;
import org.springblade.modules.task.mapper.TaskHotelReportingMapper;
import org.springblade.modules.task.service.ITaskHotelReportingService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 旅馆安全自查任务 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskHotelReportingServiceImpl extends BaseServiceImpl<TaskHotelReportingMapper, TaskHotelReportingEntity> implements ITaskHotelReportingService {
    @Override
    public IPage<TaskHotelReportingVO> selectTaskHotelReportingPage(IPage<TaskHotelReportingVO> page, TaskHotelReportingVO taskHotelReporting) {
        return page.setRecords(baseMapper.selectTaskHotelReportingPage(page, taskHotelReporting));
    }
}
src/main/java/org/springblade/modules/task/service/impl/TaskLabelReportingEventServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.modules.task.vo.TaskLabelReportingEventVO;
import org.springblade.modules.task.mapper.TaskLabelReportingEventMapper;
import org.springblade.modules.task.service.ITaskLabelReportingEventService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 打金店报事 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskLabelReportingEventServiceImpl extends BaseServiceImpl<TaskLabelReportingEventMapper, TaskLabelReportingEventEntity> implements ITaskLabelReportingEventService {
    @Override
    public IPage<TaskLabelReportingEventVO> selectTaskLabelReportingEventPage(IPage<TaskLabelReportingEventVO> page, TaskLabelReportingEventVO taskLabelReportingEvent) {
        return page.setRecords(baseMapper.selectTaskLabelReportingEventPage(page, taskLabelReportingEvent));
    }
}
src/main/java/org/springblade/modules/task/service/impl/TaskReportForRepairsServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.modules.task.vo.TaskReportForRepairsVO;
import org.springblade.modules.task.mapper.TaskReportForRepairsMapper;
import org.springblade.modules.task.service.ITaskReportForRepairsService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 报事报修任务表 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskReportForRepairsServiceImpl extends BaseServiceImpl<TaskReportForRepairsMapper, TaskReportForRepairsEntity> implements ITaskReportForRepairsService {
    @Override
    public IPage<TaskReportForRepairsVO> selectTaskReportForRepairsPage(IPage<TaskReportForRepairsVO> page, TaskReportForRepairsVO taskReportForRepairs) {
        return page.setRecords(baseMapper.selectTaskReportForRepairsPage(page, taskReportForRepairs));
    }
}
src/main/java/org/springblade/modules/task/service/impl/TaskServiceImpl.java
New file
@@ -0,0 +1,42 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.service.impl;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.modules.task.vo.TaskVO;
import org.springblade.modules.task.mapper.TaskMapper;
import org.springblade.modules.task.service.ITaskService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * 任务表 服务实现类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Service
public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, TaskEntity> implements ITaskService {
    @Override
    public IPage<TaskVO> selectTaskPage(IPage<TaskVO> page, TaskVO task) {
        return page.setRecords(baseMapper.selectTaskPage(page, task));
    }
}
src/main/java/org/springblade/modules/task/vo/TaskBailReportingEventVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 取保候审任务 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskBailReportingEventVO extends TaskBailReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/vo/TaskCampusReportingEventVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 校园安全检查任务表 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskCampusReportingEventVO extends TaskCampusReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/vo/TaskHotelReportingVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 旅馆安全自查任务 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskHotelReportingVO extends TaskHotelReportingEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/vo/TaskLabelReportingEventVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 打金店报事 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskLabelReportingEventVO extends TaskLabelReportingEventEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/vo/TaskReportForRepairsVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 报事报修任务表 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskReportForRepairsVO extends TaskReportForRepairsEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/vo/TaskVO.java
New file
@@ -0,0 +1,35 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.vo;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 任务表 视图实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskVO extends TaskEntity {
    private static final long serialVersionUID = 1L;
}
src/main/java/org/springblade/modules/task/wrapper/TaskBailReportingEventWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskBailReportingEventEntity;
import org.springblade.modules.task.vo.TaskBailReportingEventVO;
import java.util.Objects;
/**
 * 取保候审任务 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskBailReportingEventWrapper extends BaseEntityWrapper<TaskBailReportingEventEntity, TaskBailReportingEventVO>  {
    public static TaskBailReportingEventWrapper build() {
        return new TaskBailReportingEventWrapper();
     }
    @Override
    public TaskBailReportingEventVO entityVO(TaskBailReportingEventEntity taskBailReportingEvent) {
        TaskBailReportingEventVO taskBailReportingEventVO = Objects.requireNonNull(BeanUtil.copy(taskBailReportingEvent, TaskBailReportingEventVO.class));
        //User createUser = UserCache.getUser(taskBailReportingEvent.getCreateUser());
        //User updateUser = UserCache.getUser(taskBailReportingEvent.getUpdateUser());
        //taskBailReportingEventVO.setCreateUserName(createUser.getName());
        //taskBailReportingEventVO.setUpdateUserName(updateUser.getName());
        return taskBailReportingEventVO;
    }
}
src/main/java/org/springblade/modules/task/wrapper/TaskCampusReportingEventWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskCampusReportingEventEntity;
import org.springblade.modules.task.vo.TaskCampusReportingEventVO;
import java.util.Objects;
/**
 * 校园安全检查任务表 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskCampusReportingEventWrapper extends BaseEntityWrapper<TaskCampusReportingEventEntity, TaskCampusReportingEventVO>  {
    public static TaskCampusReportingEventWrapper build() {
        return new TaskCampusReportingEventWrapper();
     }
    @Override
    public TaskCampusReportingEventVO entityVO(TaskCampusReportingEventEntity taskCampusReportingEvent) {
        TaskCampusReportingEventVO taskCampusReportingEventVO = Objects.requireNonNull(BeanUtil.copy(taskCampusReportingEvent, TaskCampusReportingEventVO.class));
        //User createUser = UserCache.getUser(taskCampusReportingEvent.getCreateUser());
        //User updateUser = UserCache.getUser(taskCampusReportingEvent.getUpdateUser());
        //taskCampusReportingEventVO.setCreateUserName(createUser.getName());
        //taskCampusReportingEventVO.setUpdateUserName(updateUser.getName());
        return taskCampusReportingEventVO;
    }
}
src/main/java/org/springblade/modules/task/wrapper/TaskHotelReportingWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskHotelReportingEntity;
import org.springblade.modules.task.vo.TaskHotelReportingVO;
import java.util.Objects;
/**
 * 旅馆安全自查任务 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskHotelReportingWrapper extends BaseEntityWrapper<TaskHotelReportingEntity, TaskHotelReportingVO>  {
    public static TaskHotelReportingWrapper build() {
        return new TaskHotelReportingWrapper();
     }
    @Override
    public TaskHotelReportingVO entityVO(TaskHotelReportingEntity taskHotelReporting) {
        TaskHotelReportingVO taskHotelReportingVO = Objects.requireNonNull(BeanUtil.copy(taskHotelReporting, TaskHotelReportingVO.class));
        //User createUser = UserCache.getUser(taskHotelReporting.getCreateUser());
        //User updateUser = UserCache.getUser(taskHotelReporting.getUpdateUser());
        //taskHotelReportingVO.setCreateUserName(createUser.getName());
        //taskHotelReportingVO.setUpdateUserName(updateUser.getName());
        return taskHotelReportingVO;
    }
}
src/main/java/org/springblade/modules/task/wrapper/TaskLabelReportingEventWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskLabelReportingEventEntity;
import org.springblade.modules.task.vo.TaskLabelReportingEventVO;
import java.util.Objects;
/**
 * 打金店报事 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskLabelReportingEventWrapper extends BaseEntityWrapper<TaskLabelReportingEventEntity, TaskLabelReportingEventVO>  {
    public static TaskLabelReportingEventWrapper build() {
        return new TaskLabelReportingEventWrapper();
     }
    @Override
    public TaskLabelReportingEventVO entityVO(TaskLabelReportingEventEntity taskLabelReportingEvent) {
        TaskLabelReportingEventVO taskLabelReportingEventVO = Objects.requireNonNull(BeanUtil.copy(taskLabelReportingEvent, TaskLabelReportingEventVO.class));
        //User createUser = UserCache.getUser(taskLabelReportingEvent.getCreateUser());
        //User updateUser = UserCache.getUser(taskLabelReportingEvent.getUpdateUser());
        //taskLabelReportingEventVO.setCreateUserName(createUser.getName());
        //taskLabelReportingEventVO.setUpdateUserName(updateUser.getName());
        return taskLabelReportingEventVO;
    }
}
src/main/java/org/springblade/modules/task/wrapper/TaskReportForRepairsWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskReportForRepairsEntity;
import org.springblade.modules.task.vo.TaskReportForRepairsVO;
import java.util.Objects;
/**
 * 报事报修任务表 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskReportForRepairsWrapper extends BaseEntityWrapper<TaskReportForRepairsEntity, TaskReportForRepairsVO>  {
    public static TaskReportForRepairsWrapper build() {
        return new TaskReportForRepairsWrapper();
     }
    @Override
    public TaskReportForRepairsVO entityVO(TaskReportForRepairsEntity taskReportForRepairs) {
        TaskReportForRepairsVO taskReportForRepairsVO = Objects.requireNonNull(BeanUtil.copy(taskReportForRepairs, TaskReportForRepairsVO.class));
        //User createUser = UserCache.getUser(taskReportForRepairs.getCreateUser());
        //User updateUser = UserCache.getUser(taskReportForRepairs.getUpdateUser());
        //taskReportForRepairsVO.setCreateUserName(createUser.getName());
        //taskReportForRepairsVO.setUpdateUserName(updateUser.getName());
        return taskReportForRepairsVO;
    }
}
src/main/java/org/springblade/modules/task/wrapper/TaskWrapper.java
New file
@@ -0,0 +1,50 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.wrapper;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.task.entity.TaskEntity;
import org.springblade.modules.task.vo.TaskVO;
import java.util.Objects;
/**
 * 任务表 包装类,返回视图层所需的字段
 *
 * @author BladeX
 * @since 2023-11-06
 */
public class TaskWrapper extends BaseEntityWrapper<TaskEntity, TaskVO>  {
    public static TaskWrapper build() {
        return new TaskWrapper();
     }
    @Override
    public TaskVO entityVO(TaskEntity task) {
        TaskVO taskVO = Objects.requireNonNull(BeanUtil.copy(task, TaskVO.class));
        //User createUser = UserCache.getUser(task.getCreateUser());
        //User updateUser = UserCache.getUser(task.getUpdateUser());
        //taskVO.setCreateUserName(createUser.getName());
        //taskVO.setUpdateUserName(updateUser.getName());
        return taskVO;
    }
}