大屏项目初始化
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package com.mini.mybigscreen.Auth.Home;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.mini.mybigscreen.Model.Result;
|
||||
import com.mini.mybigscreen.biz.domain.Notes;
|
||||
import com.mini.mybigscreen.biz.domain.QuickLogin;
|
||||
import com.mini.mybigscreen.biz.domain.WarningAlert;
|
||||
import com.mini.mybigscreen.biz.service.NotesService;
|
||||
import com.mini.mybigscreen.biz.service.QuickLoginService;
|
||||
import com.mini.mybigscreen.biz.service.WarningAlertService;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/biz/homeDesktop")
|
||||
public class desktopController {
|
||||
|
||||
@Resource
|
||||
private NotesService notesService;
|
||||
|
||||
@Resource
|
||||
private QuickLoginService loginService;
|
||||
|
||||
@Resource
|
||||
private WarningAlertService alertService;
|
||||
|
||||
|
||||
@GetMapping("alertList")
|
||||
public Result<?> getAlertList() {
|
||||
LambdaQueryWrapper<WarningAlert> query = new LambdaQueryWrapper<WarningAlert>()
|
||||
.eq(WarningAlert::getAlertStatus, "0")
|
||||
.orderByDesc(WarningAlert::getCreateTime);
|
||||
return Result.success(alertService.list(query));
|
||||
}
|
||||
|
||||
@GetMapping("noteList")
|
||||
public Result<?> getNoteList() {
|
||||
LambdaQueryWrapper<Notes> query = new LambdaQueryWrapper<Notes>()
|
||||
.notIn(Notes::getUstatus, "done")
|
||||
.orderByDesc(Notes::getCreateUser);
|
||||
return Result.success(notesService.list(query));
|
||||
}
|
||||
|
||||
@GetMapping("quickList")
|
||||
public Result<?> getQuickList() {
|
||||
LambdaQueryWrapper<QuickLogin> query = new LambdaQueryWrapper<QuickLogin>()
|
||||
.eq(QuickLogin::getSystemType, "2")
|
||||
.orderByDesc(QuickLogin::getCreateTime);
|
||||
return Result.success(loginService.list(query));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.mini.mybigscreen.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 便签管理表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/notes")
|
||||
public class NotesController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.mini.mybigscreen.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/quickLogin")
|
||||
public class QuickLoginController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.mini.mybigscreen.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 预警提示表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/warningAlert")
|
||||
public class WarningAlertController {
|
||||
|
||||
}
|
||||
98
src/main/java/com/mini/mybigscreen/biz/domain/Notes.java
Normal file
98
src/main/java/com/mini/mybigscreen/biz/domain/Notes.java
Normal file
@@ -0,0 +1,98 @@
|
||||
package com.mini.mybigscreen.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 便签管理表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_notes")
|
||||
public class Notes implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private String createTime;
|
||||
|
||||
/**
|
||||
* 便签唯一标识
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@TableField("title")
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 便签内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 级别
|
||||
*/
|
||||
@TableField("priority")
|
||||
private String priority;
|
||||
|
||||
/**
|
||||
* 便签状态:todo-待开始,doing-进行中,done-已完成
|
||||
*/
|
||||
@TableField("ustatus")
|
||||
private String ustatus;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@TableField("start_time")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@TableField("end_time")
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
@TableField("type")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 截至时间
|
||||
*/
|
||||
@TableField("deadline")
|
||||
private String deadline;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private String updateTime;
|
||||
|
||||
/**
|
||||
* 创建用户
|
||||
*/
|
||||
@TableField("create_user")
|
||||
private String createUser;
|
||||
}
|
||||
122
src/main/java/com/mini/mybigscreen/biz/domain/QuickLogin.java
Normal file
122
src/main/java/com/mini/mybigscreen/biz/domain/QuickLogin.java
Normal file
@@ -0,0 +1,122 @@
|
||||
package com.mini.mybigscreen.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_quick_login")
|
||||
public class QuickLogin implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private String createTime;
|
||||
|
||||
/**
|
||||
* 自增主键
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 系统名称
|
||||
*/
|
||||
@TableField("system_name")
|
||||
private String systemName;
|
||||
|
||||
/**
|
||||
* 系统类型
|
||||
*/
|
||||
@TableField("system_type")
|
||||
private String systemType;
|
||||
|
||||
/**
|
||||
* 首页地址
|
||||
*/
|
||||
@TableField("homepage_url")
|
||||
private String homepageUrl;
|
||||
|
||||
/**
|
||||
* 图标地址
|
||||
*/
|
||||
@TableField("icon_class")
|
||||
private String iconClass;
|
||||
|
||||
/**
|
||||
* 图标颜色(关联Tailwind配置)
|
||||
*/
|
||||
@TableField("icon_color")
|
||||
private String iconColor;
|
||||
|
||||
/**
|
||||
* 排序序号(升序排列)
|
||||
*/
|
||||
@TableField("sort_order")
|
||||
private Integer sortOrder;
|
||||
|
||||
/**
|
||||
* 图标背景色
|
||||
*/
|
||||
@TableField("bg_color")
|
||||
private String bgColor;
|
||||
|
||||
/**
|
||||
* 悬浮遮罩色
|
||||
*/
|
||||
@TableField("mask_color")
|
||||
private String maskColor;
|
||||
|
||||
/**
|
||||
* 是否启用(1:启用 0:禁用)
|
||||
*/
|
||||
@TableField("is_enabled")
|
||||
private Integer isEnabled;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
110
src/main/java/com/mini/mybigscreen/biz/domain/WarningAlert.java
Normal file
110
src/main/java/com/mini/mybigscreen/biz/domain/WarningAlert.java
Normal file
@@ -0,0 +1,110 @@
|
||||
package com.mini.mybigscreen.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 预警提示表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_warning_alert")
|
||||
public class WarningAlert implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private String createTime;
|
||||
|
||||
/**
|
||||
* 预警标识
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 预警编码
|
||||
*/
|
||||
@TableField("alert_code")
|
||||
private String alertCode;
|
||||
|
||||
/**
|
||||
* 预警类型
|
||||
*/
|
||||
@TableField("alert_type")
|
||||
private String alertType;
|
||||
|
||||
/**
|
||||
* 预警级别(1-紧急 2-高 3-中 4-低)
|
||||
*/
|
||||
@TableField("alert_level")
|
||||
private Byte alertLevel;
|
||||
|
||||
/**
|
||||
* 预警标题
|
||||
*/
|
||||
@TableField("alert_title")
|
||||
private String alertTitle;
|
||||
|
||||
/**
|
||||
* 预警详细内容
|
||||
*/
|
||||
@TableField("alert_content")
|
||||
private String alertContent;
|
||||
|
||||
/**
|
||||
* 预警触发时间
|
||||
*/
|
||||
@TableField("trigger_time")
|
||||
private LocalDateTime triggerTime;
|
||||
|
||||
/**
|
||||
* 来源系统(如:订单系统、监控平台、支付系统)
|
||||
*/
|
||||
@TableField("source_system")
|
||||
private String sourceSystem;
|
||||
|
||||
/**
|
||||
* 预警状态(0-未处理 1-处理中 2-已解决 3-已忽略 4-已关闭)
|
||||
*/
|
||||
@TableField("alert_status")
|
||||
private String alertStatus;
|
||||
|
||||
/**
|
||||
* 处理人员
|
||||
*/
|
||||
@TableField("handler_user")
|
||||
private String handlerUser;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@TableField("handle_time")
|
||||
private LocalDateTime handleTime;
|
||||
|
||||
/**
|
||||
* 处理备注
|
||||
*/
|
||||
@TableField("handle_note")
|
||||
private String handleNote;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mini.mybigscreen.biz.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.mini.mybigscreen.biz.domain.Notes;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 便签管理表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface NotesMapper extends MPJBaseMapper<Notes> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.mini.mybigscreen.biz.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.mini.mybigscreen.biz.domain.QuickLogin;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface QuickLoginMapper extends MPJBaseMapper<QuickLogin> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mini.mybigscreen.biz.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.mini.mybigscreen.biz.domain.WarningAlert;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 预警提示表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface WarningAlertMapper extends MPJBaseMapper<WarningAlert> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mini.mybigscreen.biz.service;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.Notes;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 便签管理表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface NotesService extends IService<Notes> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mini.mybigscreen.biz.service;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.QuickLogin;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface QuickLoginService extends IService<QuickLogin> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mini.mybigscreen.biz.service;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.WarningAlert;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 预警提示表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
public interface WarningAlertService extends IService<WarningAlert> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.mini.mybigscreen.biz.service.impl;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.Notes;
|
||||
import com.mini.mybigscreen.biz.mapper.NotesMapper;
|
||||
import com.mini.mybigscreen.biz.service.NotesService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 便签管理表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Service
|
||||
public class NotesServiceImpl extends ServiceImpl<NotesMapper, Notes> implements NotesService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.mini.mybigscreen.biz.service.impl;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.QuickLogin;
|
||||
import com.mini.mybigscreen.biz.mapper.QuickLoginMapper;
|
||||
import com.mini.mybigscreen.biz.service.QuickLoginService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Service
|
||||
public class QuickLoginServiceImpl extends ServiceImpl<QuickLoginMapper, QuickLogin> implements QuickLoginService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.mini.mybigscreen.biz.service.impl;
|
||||
|
||||
import com.mini.mybigscreen.biz.domain.WarningAlert;
|
||||
import com.mini.mybigscreen.biz.mapper.WarningAlertMapper;
|
||||
import com.mini.mybigscreen.biz.service.WarningAlertService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 预警提示表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2026-03-08
|
||||
*/
|
||||
@Service
|
||||
public class WarningAlertServiceImpl extends ServiceImpl<WarningAlertMapper, WarningAlert> implements WarningAlertService {
|
||||
|
||||
}
|
||||
26
src/main/resources/mapper/NotesMapper.xml
Normal file
26
src/main/resources/mapper/NotesMapper.xml
Normal 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="com.mini.mybigscreen.biz.mapper.NotesMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.mini.mybigscreen.biz.domain.Notes">
|
||||
<id column="id" property="id" />
|
||||
<result column="create_time" property="createTime" />
|
||||
<result column="title" property="title" />
|
||||
<result column="content" property="content" />
|
||||
<result column="priority" property="priority" />
|
||||
<result column="ustatus" property="ustatus" />
|
||||
<result column="start_time" property="startTime" />
|
||||
<result column="end_time" property="endTime" />
|
||||
<result column="type" property="type" />
|
||||
<result column="deadline" property="deadline" />
|
||||
<result column="update_time" property="updateTime" />
|
||||
<result column="create_user" property="createUser" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
create_time, id, title, content, priority, ustatus, start_time, end_time, type, deadline, update_time, create_user
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
30
src/main/resources/mapper/QuickLoginMapper.xml
Normal file
30
src/main/resources/mapper/QuickLoginMapper.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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="com.mini.mybigscreen.biz.mapper.QuickLoginMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.mini.mybigscreen.biz.domain.QuickLogin">
|
||||
<id column="id" property="id" />
|
||||
<result column="create_time" property="createTime" />
|
||||
<result column="system_name" property="systemName" />
|
||||
<result column="system_type" property="systemType" />
|
||||
<result column="homepage_url" property="homepageUrl" />
|
||||
<result column="icon_class" property="iconClass" />
|
||||
<result column="icon_color" property="iconColor" />
|
||||
<result column="sort_order" property="sortOrder" />
|
||||
<result column="bg_color" property="bgColor" />
|
||||
<result column="mask_color" property="maskColor" />
|
||||
<result column="is_enabled" property="isEnabled" />
|
||||
<result column="update_time" property="updateTime" />
|
||||
<result column="f_tenant_id" property="fTenantId" />
|
||||
<result column="f_flow_id" property="fFlowId" />
|
||||
<result column="f_flow_task_id" property="fFlowTaskId" />
|
||||
<result column="f_flow_state" property="fFlowState" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
create_time, id, system_name, system_type, homepage_url, icon_class, icon_color, sort_order, bg_color, mask_color, is_enabled, update_time, f_tenant_id, f_flow_id, f_flow_task_id, f_flow_state
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
28
src/main/resources/mapper/WarningAlertMapper.xml
Normal file
28
src/main/resources/mapper/WarningAlertMapper.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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="com.mini.mybigscreen.biz.mapper.WarningAlertMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.mini.mybigscreen.biz.domain.WarningAlert">
|
||||
<id column="id" property="id" />
|
||||
<result column="create_time" property="createTime" />
|
||||
<result column="alert_code" property="alertCode" />
|
||||
<result column="alert_type" property="alertType" />
|
||||
<result column="alert_level" property="alertLevel" />
|
||||
<result column="alert_title" property="alertTitle" />
|
||||
<result column="alert_content" property="alertContent" />
|
||||
<result column="trigger_time" property="triggerTime" />
|
||||
<result column="source_system" property="sourceSystem" />
|
||||
<result column="alert_status" property="alertStatus" />
|
||||
<result column="handler_user" property="handlerUser" />
|
||||
<result column="handle_time" property="handleTime" />
|
||||
<result column="handle_note" property="handleNote" />
|
||||
<result column="update_time" property="updateTime" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
create_time, id, alert_code, alert_type, alert_level, alert_title, alert_content, trigger_time, source_system, alert_status, handler_user, handle_time, handle_note, update_time
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user