添加model模块
parent
279c19c336
commit
771f7b6646
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>com.supervision</groupId>
|
||||||
|
<artifactId>know_sub</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>know_sub_model</artifactId>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
</project>
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeBaseInfo;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_base_info(知识基本信息表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.KnowledgeBaseInfo
|
||||||
|
*/
|
||||||
|
public interface KnowledgeBaseInfoMapper extends BaseMapper<KnowledgeBaseInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeContext;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_context(知识内容)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.KnowledgeContext
|
||||||
|
*/
|
||||||
|
public interface KnowledgeContextMapper extends BaseMapper<KnowledgeContext> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeFlowRecord;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_flow_record(知识报送审批记录表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.KnowledgeFlowRecord
|
||||||
|
*/
|
||||||
|
public interface KnowledgeFlowRecordMapper extends BaseMapper<KnowledgeFlowRecord> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.Knowledge;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge(知识表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.Knowledge
|
||||||
|
*/
|
||||||
|
public interface KnowledgeMapper extends BaseMapper<Knowledge> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemBaseDeptRelation;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base_dept_relation(子库与部门关系表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemBaseDeptRelation
|
||||||
|
*/
|
||||||
|
public interface SystemBaseDeptRelationMapper extends BaseMapper<SystemBaseDeptRelation> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemBase;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base(应用子库)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemBase
|
||||||
|
*/
|
||||||
|
public interface SystemBaseMapper extends BaseMapper<SystemBase> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemDept;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_dept(部门表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemDept
|
||||||
|
*/
|
||||||
|
public interface SystemDeptMapper extends BaseMapper<SystemDept> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlow;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow(流程配置表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemFlow
|
||||||
|
*/
|
||||||
|
public interface SystemFlowMapper extends BaseMapper<SystemFlow> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRule;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule(审批流流转规则)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemFlowRule
|
||||||
|
*/
|
||||||
|
public interface SystemFlowRuleMapper extends BaseMapper<SystemFlowRule> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRuleUser;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule_user(流程规则的审批人表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemFlowRuleUser
|
||||||
|
*/
|
||||||
|
public interface SystemFlowRuleUserMapper extends BaseMapper<SystemFlowRuleUser> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemRole;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_role(角色表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemRole
|
||||||
|
*/
|
||||||
|
public interface SystemRoleMapper extends BaseMapper<SystemRole> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.knowsub.mapper;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemUser;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_user(用户表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
* @Entity com.supervision.knowsub.model.SystemUser
|
||||||
|
*/
|
||||||
|
public interface SystemUserMapper extends BaseMapper<SystemUser> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,81 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识表
|
||||||
|
* @TableName ks_knowledge
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_knowledge")
|
||||||
|
@Data
|
||||||
|
public class Knowledge implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识标题
|
||||||
|
*/
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识内容ID
|
||||||
|
*/
|
||||||
|
private String contentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应用子库ID
|
||||||
|
*/
|
||||||
|
private String baseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发文部门ID
|
||||||
|
*/
|
||||||
|
private String publishDeptId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识来源 1人工添加
|
||||||
|
*/
|
||||||
|
private Integer knowledgeFrom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流转状态 1草稿 2待审批 3审批中 4已退回 5已失效
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 报送部门
|
||||||
|
*/
|
||||||
|
private String submittedDept;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,96 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识基本信息表
|
||||||
|
* @TableName ks_knowledge_base_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_knowledge_base_info")
|
||||||
|
@Data
|
||||||
|
public class KnowledgeBaseInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内容ID
|
||||||
|
*/
|
||||||
|
private String contextId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 封面ID
|
||||||
|
*/
|
||||||
|
private String coverId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 来源
|
||||||
|
*/
|
||||||
|
private String source;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属地域
|
||||||
|
*/
|
||||||
|
private String territory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发布时间
|
||||||
|
*/
|
||||||
|
private Date publishDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 时效性
|
||||||
|
*/
|
||||||
|
private String timeliness;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 执行期限开始
|
||||||
|
*/
|
||||||
|
private Date execTimeBegin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 执行期限结束
|
||||||
|
*/
|
||||||
|
private Date execTimeEnd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主题标签,直接输入内容,暂时用;分割
|
||||||
|
*/
|
||||||
|
private String schemaTag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公开范围
|
||||||
|
*/
|
||||||
|
private String publishScope;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,51 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识内容
|
||||||
|
* @TableName ks_knowledge_context
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_knowledge_context")
|
||||||
|
@Data
|
||||||
|
public class KnowledgeContext implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内容 html的文本
|
||||||
|
*/
|
||||||
|
private String context;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,76 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识报送审批记录表
|
||||||
|
* @TableName ks_knowledge_flow_record
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_knowledge_flow_record")
|
||||||
|
@Data
|
||||||
|
public class KnowledgeFlowRecord implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识ID(对应submitted_id)
|
||||||
|
*/
|
||||||
|
private String knowledgeId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程ID
|
||||||
|
*/
|
||||||
|
private String flowId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 操作名称
|
||||||
|
*/
|
||||||
|
private String processName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审批人ID
|
||||||
|
*/
|
||||||
|
private String processUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审批时间
|
||||||
|
*/
|
||||||
|
private Date processTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应用子库
|
||||||
|
* @TableName ks_system_base
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_base")
|
||||||
|
@Data
|
||||||
|
public class SystemBase implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子库名称
|
||||||
|
*/
|
||||||
|
private String baseName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子库编码
|
||||||
|
*/
|
||||||
|
private String baseCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子库与部门关系表
|
||||||
|
* @TableName ks_system_base_dept_relation
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_base_dept_relation")
|
||||||
|
@Data
|
||||||
|
public class SystemBaseDeptRelation implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子库ID
|
||||||
|
*/
|
||||||
|
private String baseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门ID
|
||||||
|
*/
|
||||||
|
private String deptId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门表
|
||||||
|
* @TableName ks_system_dept
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_dept")
|
||||||
|
@Data
|
||||||
|
public class SystemDept implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 机构名称
|
||||||
|
*/
|
||||||
|
private String deptName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 机构编码
|
||||||
|
*/
|
||||||
|
private String deptCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程配置表
|
||||||
|
* @TableName ks_system_flow
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_flow")
|
||||||
|
@Data
|
||||||
|
public class SystemFlow implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程名称
|
||||||
|
*/
|
||||||
|
private String flowName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程类型 1知识报送 2:知识撤回
|
||||||
|
*/
|
||||||
|
private Integer flowType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审批流流转规则
|
||||||
|
* @TableName ks_system_flow_rule
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_flow_rule")
|
||||||
|
@Data
|
||||||
|
public class SystemFlowRule implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程ID
|
||||||
|
*/
|
||||||
|
private String flowId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规则名称
|
||||||
|
*/
|
||||||
|
private String ruleName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规则排序 从1开始,越大越后
|
||||||
|
*/
|
||||||
|
private Integer ruleOrder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程规则的审批人表
|
||||||
|
* @TableName ks_system_flow_rule_user
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_flow_rule_user")
|
||||||
|
@Data
|
||||||
|
public class SystemFlowRuleUser implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程ID
|
||||||
|
*/
|
||||||
|
private String flowId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规则ID
|
||||||
|
*/
|
||||||
|
private String ruleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 对应的审批人ID(system_user:id)
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 角色表
|
||||||
|
* @TableName ks_system_role
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_role")
|
||||||
|
@Data
|
||||||
|
public class SystemRole implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 角色类型
|
||||||
|
*/
|
||||||
|
private String roleName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否是管理员角色 0否 1是
|
||||||
|
*/
|
||||||
|
private Integer manage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,76 @@
|
|||||||
|
package com.supervision.knowsub.model;
|
||||||
|
|
||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户表
|
||||||
|
* @TableName ks_system_user
|
||||||
|
*/
|
||||||
|
@TableName(value ="ks_system_user")
|
||||||
|
@Data
|
||||||
|
public class SystemUser implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 角色ID
|
||||||
|
*/
|
||||||
|
private String roleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户名
|
||||||
|
*/
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户名
|
||||||
|
*/
|
||||||
|
private String account;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户pw的编码值
|
||||||
|
*/
|
||||||
|
private String userPd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 人员所属部门ID
|
||||||
|
*/
|
||||||
|
private String deptId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeBaseInfo;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_base_info(知识基本信息表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface KnowledgeBaseInfoService extends IService<KnowledgeBaseInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeContext;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_context(知识内容)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface KnowledgeContextService extends IService<KnowledgeContext> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.KnowledgeFlowRecord;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_flow_record(知识报送审批记录表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface KnowledgeFlowRecordService extends IService<KnowledgeFlowRecord> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.Knowledge;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge(知识表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface KnowledgeService extends IService<Knowledge> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemBaseDeptRelation;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base_dept_relation(子库与部门关系表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemBaseDeptRelationService extends IService<SystemBaseDeptRelation> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemBase;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base(应用子库)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemBaseService extends IService<SystemBase> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemDept;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_dept(部门表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemDeptService extends IService<SystemDept> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRule;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule(审批流流转规则)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemFlowRuleService extends IService<SystemFlowRule> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRuleUser;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule_user(流程规则的审批人表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemFlowRuleUserService extends IService<SystemFlowRuleUser> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemFlow;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow(流程配置表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemFlowService extends IService<SystemFlow> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemRole;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_role(角色表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemRoleService extends IService<SystemRole> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.knowsub.service;
|
||||||
|
|
||||||
|
import com.supervision.knowsub.model.SystemUser;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_user(用户表)】的数据库操作Service
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
public interface SystemUserService extends IService<SystemUser> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.KnowledgeBaseInfo;
|
||||||
|
import com.supervision.knowsub.service.KnowledgeBaseInfoService;
|
||||||
|
import com.supervision.knowsub.mapper.KnowledgeBaseInfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_base_info(知识基本信息表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class KnowledgeBaseInfoServiceImpl extends ServiceImpl<KnowledgeBaseInfoMapper, KnowledgeBaseInfo>
|
||||||
|
implements KnowledgeBaseInfoService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.KnowledgeContext;
|
||||||
|
import com.supervision.knowsub.service.KnowledgeContextService;
|
||||||
|
import com.supervision.knowsub.mapper.KnowledgeContextMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_context(知识内容)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class KnowledgeContextServiceImpl extends ServiceImpl<KnowledgeContextMapper, KnowledgeContext>
|
||||||
|
implements KnowledgeContextService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.KnowledgeFlowRecord;
|
||||||
|
import com.supervision.knowsub.service.KnowledgeFlowRecordService;
|
||||||
|
import com.supervision.knowsub.mapper.KnowledgeFlowRecordMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge_flow_record(知识报送审批记录表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class KnowledgeFlowRecordServiceImpl extends ServiceImpl<KnowledgeFlowRecordMapper, KnowledgeFlowRecord>
|
||||||
|
implements KnowledgeFlowRecordService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.Knowledge;
|
||||||
|
import com.supervision.knowsub.service.KnowledgeService;
|
||||||
|
import com.supervision.knowsub.mapper.KnowledgeMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_knowledge(知识表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class KnowledgeServiceImpl extends ServiceImpl<KnowledgeMapper, Knowledge>
|
||||||
|
implements KnowledgeService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemBaseDeptRelation;
|
||||||
|
import com.supervision.knowsub.service.SystemBaseDeptRelationService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemBaseDeptRelationMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base_dept_relation(子库与部门关系表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemBaseDeptRelationServiceImpl extends ServiceImpl<SystemBaseDeptRelationMapper, SystemBaseDeptRelation>
|
||||||
|
implements SystemBaseDeptRelationService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemBase;
|
||||||
|
import com.supervision.knowsub.service.SystemBaseService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemBaseMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_base(应用子库)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemBaseServiceImpl extends ServiceImpl<SystemBaseMapper, SystemBase>
|
||||||
|
implements SystemBaseService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemDept;
|
||||||
|
import com.supervision.knowsub.service.SystemDeptService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemDeptMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_dept(部门表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemDeptServiceImpl extends ServiceImpl<SystemDeptMapper, SystemDept>
|
||||||
|
implements SystemDeptService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRule;
|
||||||
|
import com.supervision.knowsub.service.SystemFlowRuleService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemFlowRuleMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule(审批流流转规则)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemFlowRuleServiceImpl extends ServiceImpl<SystemFlowRuleMapper, SystemFlowRule>
|
||||||
|
implements SystemFlowRuleService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemFlowRuleUser;
|
||||||
|
import com.supervision.knowsub.service.SystemFlowRuleUserService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemFlowRuleUserMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow_rule_user(流程规则的审批人表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemFlowRuleUserServiceImpl extends ServiceImpl<SystemFlowRuleUserMapper, SystemFlowRuleUser>
|
||||||
|
implements SystemFlowRuleUserService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemFlow;
|
||||||
|
import com.supervision.knowsub.service.SystemFlowService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemFlowMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_flow(流程配置表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemFlowServiceImpl extends ServiceImpl<SystemFlowMapper, SystemFlow>
|
||||||
|
implements SystemFlowService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemRole;
|
||||||
|
import com.supervision.knowsub.service.SystemRoleService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemRoleMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_role(角色表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemRoleServiceImpl extends ServiceImpl<SystemRoleMapper, SystemRole>
|
||||||
|
implements SystemRoleService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.knowsub.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.knowsub.model.SystemUser;
|
||||||
|
import com.supervision.knowsub.service.SystemUserService;
|
||||||
|
import com.supervision.knowsub.mapper.SystemUserMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【ks_system_user(用户表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-06-24 11:35:15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemUser>
|
||||||
|
implements SystemUserService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,32 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.KnowledgeBaseInfoMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.KnowledgeBaseInfo">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="contextId" column="context_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="coverId" column="cover_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="source" column="source" jdbcType="VARCHAR"/>
|
||||||
|
<result property="territory" column="territory" jdbcType="VARCHAR"/>
|
||||||
|
<result property="publishDate" column="publish_date" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="timeliness" column="timeliness" jdbcType="VARCHAR"/>
|
||||||
|
<result property="execTimeBegin" column="exec_time_begin" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="execTimeEnd" column="exec_time_end" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="schemaTag" column="schema_tag" jdbcType="VARCHAR"/>
|
||||||
|
<result property="publishScope" column="publish_scope" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,context_id,cover_id,
|
||||||
|
source,territory,publish_date,
|
||||||
|
timeliness,exec_time_begin,exec_time_end,
|
||||||
|
schema_tag,publish_scope,create_user_id,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.KnowledgeContextMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.KnowledgeContext">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="context" column="context" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,context,create_user_id,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.KnowledgeFlowRecordMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.KnowledgeFlowRecord">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="knowledgeId" column="knowledge_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="flowId" column="flow_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processName" column="process_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processUserId" column="process_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processTime" column="process_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,knowledge_id,flow_id,
|
||||||
|
process_name,process_user_id,process_time,
|
||||||
|
remark,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -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.supervision.knowsub.mapper.KnowledgeMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.Knowledge">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="title" column="title" jdbcType="VARCHAR"/>
|
||||||
|
<result property="contentId" column="content_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="baseId" column="base_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="publishDeptId" column="publish_dept_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="knowledgeFrom" column="knowledge_from" jdbcType="INTEGER"/>
|
||||||
|
<result property="status" column="status" jdbcType="INTEGER"/>
|
||||||
|
<result property="submittedDept" column="submitted_dept" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,title,content_id,
|
||||||
|
base_id,publish_dept_id,knowledge_from,
|
||||||
|
status,submitted_dept,create_user_id,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,22 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemBaseDeptRelationMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemBaseDeptRelation">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="baseId" column="base_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deptId" column="dept_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,base_id,dept_id,
|
||||||
|
create_user_id,create_time,update_user_id,
|
||||||
|
update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,22 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemBaseMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemBase">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="baseName" column="base_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="baseCode" column="base_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,base_name,base_code,
|
||||||
|
create_user_id,create_time,update_user_id,
|
||||||
|
update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemDeptMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemDept">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deptName" column="dept_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deptCode" column="dept_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,dept_name,dept_code,
|
||||||
|
remark,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemFlowMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemFlow">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="flowName" column="flow_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="flowType" column="flow_type" jdbcType="INTEGER"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,flow_name,flow_type,
|
||||||
|
remark,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemFlowRuleMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemFlowRule">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="flowId" column="flow_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ruleName" column="rule_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ruleOrder" column="rule_order" jdbcType="INTEGER"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,flow_id,rule_name,
|
||||||
|
rule_order,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemFlowRuleUserMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemFlowRuleUser">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="flowId" column="flow_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ruleId" column="rule_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userId" column="user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,flow_id,rule_id,
|
||||||
|
user_id,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemRoleMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemRole">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="roleName" column="role_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="manage" column="manage" jdbcType="INTEGER"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,role_name,remark,
|
||||||
|
manage,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.supervision.knowsub.mapper.SystemUserMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.SystemUser">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="roleId" column="role_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="username" column="username" jdbcType="VARCHAR"/>
|
||||||
|
<result property="account" column="account" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userPd" column="user_pd" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deptId" column="dept_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,role_id,username,
|
||||||
|
account,user_pd,dept_id,
|
||||||
|
remark,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue