知识图谱功能-删除无用的文件

dev
wish 1 year ago
parent ed6b4d3abf
commit c58694b2b3
  1. 37
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/controller/CreateTP.java
  2. 117
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/Gxlx.java
  3. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/NodeName.java
  4. 125
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/SkillType.java
  5. 117
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/TaskSkill.java
  6. 165
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/Tppronext.java
  7. 18
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YGxlxMapper.java
  8. 18
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YSkillTypeMapper.java
  9. 18
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YTaskSkillMapper.java
  10. 18
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YTppronextMapper.java
  11. 5
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/xml/XmtpMapper.xml
  12. 13
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/TaskSkillService.java
  13. 13
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YGxlxService.java
  14. 13
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YSkillTypeService.java
  15. 17
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YTppronextService.java
  16. 22
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YGxlxServiceImpl.java
  17. 22
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YSkillTypeServiceImpl.java
  18. 22
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YTaskSkillServiceImpl.java
  19. 32
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YTppronextServiceImpl.java
  20. 30
      jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/SkillPointsMapper.xml
  21. 23
      jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YGxlxMapper.xml
  22. 24
      jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YSkillTypeMapper.xml
  23. 23
      jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YTaskSkillMapper.xml
  24. 31
      jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YTppronextMapper.xml

@ -9,9 +9,13 @@ import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.modules.demo.gxlx.entity.Gxlx;
import org.jeecg.modules.demo.gxlx.service.IGxlxService;
import org.jeecg.modules.demo.xmtp.entity.*;
import org.jeecg.modules.demo.tppronext.entity.Tppronext;
import org.jeecg.modules.demo.tppronext.service.ITppronextService;
import org.jeecg.modules.demo.xmtp.entity.Exports;
import org.jeecg.modules.demo.xmtp.entity.NodeList;
import org.jeecg.modules.demo.xmtp.entity.NodeName;
import org.jeecg.modules.demo.xmtp.entity.Xmtp;
import org.jeecg.modules.demo.xmtp.service.IXmtpService;
import org.jeecg.modules.demo.xmtp.service.YTppronextService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@ -33,7 +37,7 @@ public class CreateTP {
private IXmtpService xmtpService;
@Autowired
private YTppronextService tppronextService;
private ITppronextService tppronextService;
@Autowired
private IGxlxService gxlxService;
@ -79,9 +83,6 @@ public class CreateTP {
nodeList.setValue(gxlx.getWidle().toString());
knowledgeRelationshipList.add(nodeList);
});
/* getAllSubKnowledgePoint(centerNode,
knowledgeList,
knowledgeRelationshipList);*/
Set<NodeName> knowledgeSet = new HashSet<>(knowledgeList);
Set<NodeList> knowledgeRelationshipSet = new HashSet<>(knowledgeRelationshipList);
// 封装最终结果
@ -90,28 +91,4 @@ public class CreateTP {
exports.setLinks(new ArrayList<>(knowledgeRelationshipSet));
return Result.OK(exports);
}
/* private void getAllSubKnowledgePoint(NodeName node,
List<NodeName> nameList,
List<NodeList> relationshipList) {
//查询指定知识点的所有后知识点
List<Tppronext> tppronextList = tppronextService.querySubKnowledgePoints(node);
if (tppronextList.size() > 0) {
tppronextList.forEach(tppronext -> {
// 构建知识点
NodeName nodeName = new NodeName();
nodeName.setName(tppronext.getHoupoint());
nameList.add(nodeName);
// 构建知识点关系
NodeList nodeList = new NodeList();
nodeList.setSource(tppronext.getQianpoint());
nodeList.setTarget(tppronext.getHoupoint());
nodeList.setValue("1");
relationshipList.add(nodeList);
getAllSubKnowledgePoint(nodeName, nameList, relationshipList);
});
}
}*/
}

@ -1,117 +0,0 @@
package org.jeecg.modules.demo.xmtp.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
*
* @TableName gxlx
*/
@TableName(value ="gxlx")
@Data
public class Gxlx implements Serializable {
/**
*
*/
@TableId
private String id;
/**
* 创建人
*/
private String createBy;
/**
* 创建日期
*/
private Date createTime;
/**
* 更新人
*/
private String updateBy;
/**
* 更新日期
*/
private Date updateTime;
/**
* 所属部门
*/
private String sysOrgCode;
/**
* 关系名称
*/
private String gxname;
/**
* 权值
*/
private Double widle;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Gxlx other = (Gxlx) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getSysOrgCode() == null ? other.getSysOrgCode() == null : this.getSysOrgCode().equals(other.getSysOrgCode()))
&& (this.getGxname() == null ? other.getGxname() == null : this.getGxname().equals(other.getGxname()))
&& (this.getWidle() == null ? other.getWidle() == null : this.getWidle().equals(other.getWidle()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getSysOrgCode() == null) ? 0 : getSysOrgCode().hashCode());
result = prime * result + ((getGxname() == null) ? 0 : getGxname().hashCode());
result = prime * result + ((getWidle() == null) ? 0 : getWidle().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", sysOrgCode=").append(sysOrgCode);
sb.append(", gxname=").append(gxname);
sb.append(", widle=").append(widle);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -4,6 +4,6 @@ import lombok.Data;
@Data
public class NodeName {
private String name;
private String name;
}

@ -1,125 +0,0 @@
package org.jeecg.modules.demo.xmtp.entity;
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 skill_type
*/
@TableName(value ="skill_type")
@Data
public class SkillType implements Serializable {
/**
* 主键
*/
@TableId
private String id;
/**
* 类型名称
*/
private String typeName;
/**
* 父类型id
*/
private String supertypeId;
/**
* 描述
*/
private String skillDesc;
/**
* 图标
*/
private String skillIcon;
/**
* 创建人
*/
private String createBy;
/**
* 创建时间
*/
private Date createTime;
/**
* 修改人
*/
private String updateBy;
/**
* 修改时间
*/
private Date updateTime;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
SkillType other = (SkillType) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTypeName() == null ? other.getTypeName() == null : this.getTypeName().equals(other.getTypeName()))
&& (this.getSupertypeId() == null ? other.getSupertypeId() == null : this.getSupertypeId().equals(other.getSupertypeId()))
&& (this.getSkillDesc() == null ? other.getSkillDesc() == null : this.getSkillDesc().equals(other.getSkillDesc()))
&& (this.getSkillIcon() == null ? other.getSkillIcon() == null : this.getSkillIcon().equals(other.getSkillIcon()))
&& (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTypeName() == null) ? 0 : getTypeName().hashCode());
result = prime * result + ((getSupertypeId() == null) ? 0 : getSupertypeId().hashCode());
result = prime * result + ((getSkillDesc() == null) ? 0 : getSkillDesc().hashCode());
result = prime * result + ((getSkillIcon() == null) ? 0 : getSkillIcon().hashCode());
result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", typeName=").append(typeName);
sb.append(", supertypeId=").append(supertypeId);
sb.append(", skillDesc=").append(skillDesc);
sb.append(", skillIcon=").append(skillIcon);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -1,117 +0,0 @@
package org.jeecg.modules.demo.xmtp.entity;
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 task_skill
*/
@TableName(value ="task_skill")
@Data
public class TaskSkill implements Serializable {
/**
*
*/
@TableId
private String id;
/**
* 技能点id
*/
private String skillId;
/**
* 任务类型
*/
private Integer taskType;
/**
* 任务id
*/
private String taskId;
/**
* 创建人
*/
private String createBy;
/**
* 创建时间
*/
private Date createTime;
/**
* 修改人
*/
private String updateBy;
/**
* 修改时间
*/
private Date updateTime;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
TaskSkill other = (TaskSkill) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getSkillId() == null ? other.getSkillId() == null : this.getSkillId().equals(other.getSkillId()))
&& (this.getTaskType() == null ? other.getTaskType() == null : this.getTaskType().equals(other.getTaskType()))
&& (this.getTaskId() == null ? other.getTaskId() == null : this.getTaskId().equals(other.getTaskId()))
&& (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getSkillId() == null) ? 0 : getSkillId().hashCode());
result = prime * result + ((getTaskType() == null) ? 0 : getTaskType().hashCode());
result = prime * result + ((getTaskId() == null) ? 0 : getTaskId().hashCode());
result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", skillId=").append(skillId);
sb.append(", taskType=").append(taskType);
sb.append(", taskId=").append(taskId);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -1,165 +0,0 @@
package org.jeecg.modules.demo.xmtp.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
*
* @TableName tppronext
*/
@TableName(value ="tppronext")
@Data
public class Tppronext implements Serializable {
/**
* 主键
*/
@TableId
private String id;
/**
* 创建人
*/
private String createBy;
/**
* 创建日期
*/
private Date createTime;
/**
* 更新人
*/
private String updateBy;
/**
* 更新日期
*/
private Date updateTime;
/**
* 所属部门
*/
private String sysOrgCode;
/**
* 中心知识点
*/
private String zxpoint;
/**
* 前知识点
*/
private String qianpoint;
/**
* 前知识点来源
*/
private String qianly;
/**
* 后知识点
*/
private String houpoint;
/**
* 后知识点来源
*/
private String houly;
/**
* 知识点关系类型
*/
private String zsdgx;
/**
* 前知识点
*/
private String temp1;
/**
* 后知识点
*/
private String temp2;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Tppronext other = (Tppronext) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getSysOrgCode() == null ? other.getSysOrgCode() == null : this.getSysOrgCode().equals(other.getSysOrgCode()))
&& (this.getZxpoint() == null ? other.getZxpoint() == null : this.getZxpoint().equals(other.getZxpoint()))
&& (this.getQianpoint() == null ? other.getQianpoint() == null : this.getQianpoint().equals(other.getQianpoint()))
&& (this.getQianly() == null ? other.getQianly() == null : this.getQianly().equals(other.getQianly()))
&& (this.getHoupoint() == null ? other.getHoupoint() == null : this.getHoupoint().equals(other.getHoupoint()))
&& (this.getHouly() == null ? other.getHouly() == null : this.getHouly().equals(other.getHouly()))
&& (this.getZsdgx() == null ? other.getZsdgx() == null : this.getZsdgx().equals(other.getZsdgx()))
&& (this.getTemp1() == null ? other.getTemp1() == null : this.getTemp1().equals(other.getTemp1()))
&& (this.getTemp2() == null ? other.getTemp2() == null : this.getTemp2().equals(other.getTemp2()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getSysOrgCode() == null) ? 0 : getSysOrgCode().hashCode());
result = prime * result + ((getZxpoint() == null) ? 0 : getZxpoint().hashCode());
result = prime * result + ((getQianpoint() == null) ? 0 : getQianpoint().hashCode());
result = prime * result + ((getQianly() == null) ? 0 : getQianly().hashCode());
result = prime * result + ((getHoupoint() == null) ? 0 : getHoupoint().hashCode());
result = prime * result + ((getHouly() == null) ? 0 : getHouly().hashCode());
result = prime * result + ((getZsdgx() == null) ? 0 : getZsdgx().hashCode());
result = prime * result + ((getTemp1() == null) ? 0 : getTemp1().hashCode());
result = prime * result + ((getTemp2() == null) ? 0 : getTemp2().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", sysOrgCode=").append(sysOrgCode);
sb.append(", zxpoint=").append(zxpoint);
sb.append(", qianpoint=").append(qianpoint);
sb.append(", qianly=").append(qianly);
sb.append(", houpoint=").append(houpoint);
sb.append(", houly=").append(houly);
sb.append(", zsdgx=").append(zsdgx);
sb.append(", temp1=").append(temp1);
sb.append(", temp2=").append(temp2);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -1,18 +0,0 @@
package org.jeecg.modules.demo.xmtp.mapper;
import org.jeecg.modules.demo.xmtp.entity.Gxlx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author You do
* @description 针对表gxlx的数据库操作Mapper
* @createDate 2023-06-30 15:57:18
* @Entity org.jeecg.modules.demo.xmtp.entity.Gxlx
*/
public interface YGxlxMapper extends BaseMapper<Gxlx> {
}

@ -1,18 +0,0 @@
package org.jeecg.modules.demo.xmtp.mapper;
import org.jeecg.modules.demo.xmtp.entity.SkillType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author You do
* @description 针对表skill_type的数据库操作Mapper
* @createDate 2023-06-30 15:58:43
* @Entity org.jeecg.modules.demo.xmtp.entity.SkillType
*/
public interface YSkillTypeMapper extends BaseMapper<SkillType> {
}

@ -1,18 +0,0 @@
package org.jeecg.modules.demo.xmtp.mapper;
import org.jeecg.modules.demo.xmtp.entity.TaskSkill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author You do
* @description 针对表task_skill的数据库操作Mapper
* @createDate 2023-06-30 15:56:39
* @Entity org.jeecg.modules.demo.xmtp.entity.TaskSkill
*/
public interface YTaskSkillMapper extends BaseMapper<TaskSkill> {
}

@ -1,18 +0,0 @@
package org.jeecg.modules.demo.xmtp.mapper;
import org.jeecg.modules.demo.xmtp.entity.Tppronext;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author You do
* @description 针对表tppronext的数据库操作Mapper
* @createDate 2023-06-30 15:56:07
* @Entity org.jeecg.modules.demo.xmtp.entity.Tppronext
*/
public interface YTppronextMapper extends BaseMapper<Tppronext> {
}

@ -1,5 +0,0 @@
<?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=".xmtp.mapper.XmtpMapper">
</mapper>

@ -1,13 +0,0 @@
package org.jeecg.modules.demo.xmtp.service;
import org.jeecg.modules.demo.xmtp.entity.TaskSkill;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author You do
* @description 针对表task_skill的数据库操作Service
* @createDate 2023-06-30 15:56:39
*/
public interface TaskSkillService extends IService<TaskSkill> {
}

@ -1,13 +0,0 @@
package org.jeecg.modules.demo.xmtp.service;
import org.jeecg.modules.demo.xmtp.entity.Gxlx;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author You do
* @description 针对表gxlx的数据库操作Service
* @createDate 2023-06-30 15:57:18
*/
public interface YGxlxService extends IService<Gxlx> {
}

@ -1,13 +0,0 @@
package org.jeecg.modules.demo.xmtp.service;
import org.jeecg.modules.demo.xmtp.entity.SkillType;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author You do
* @description 针对表skill_type的数据库操作Service
* @createDate 2023-06-30 15:58:43
*/
public interface YSkillTypeService extends IService<SkillType> {
}

@ -1,17 +0,0 @@
package org.jeecg.modules.demo.xmtp.service;
import org.jeecg.modules.demo.xmtp.entity.NodeName;
import org.jeecg.modules.demo.xmtp.entity.Tppronext;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* @author You do
* @description 针对表tppronext的数据库操作Service
* @createDate 2023-06-30 15:56:07
*/
public interface YTppronextService extends IService<Tppronext> {
List<Tppronext> querySubKnowledgePoints(NodeName centerNode);
}

@ -1,22 +0,0 @@
package org.jeecg.modules.demo.xmtp.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.xmtp.entity.Gxlx;
import org.jeecg.modules.demo.xmtp.mapper.YGxlxMapper;
import org.jeecg.modules.demo.xmtp.service.YGxlxService;
import org.springframework.stereotype.Service;
/**
* @author You do
* @description 针对表gxlx的数据库操作Service实现
* @createDate 2023-06-30 15:57:18
*/
@Service
public class YGxlxServiceImpl extends ServiceImpl<YGxlxMapper, Gxlx>
implements YGxlxService {
}

@ -1,22 +0,0 @@
package org.jeecg.modules.demo.xmtp.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.xmtp.entity.SkillType;
import org.jeecg.modules.demo.xmtp.service.YSkillTypeService;
import org.jeecg.modules.demo.xmtp.mapper.YSkillTypeMapper;
import org.springframework.stereotype.Service;
/**
* @author You do
* @description 针对表skill_type的数据库操作Service实现
* @createDate 2023-06-30 15:58:43
*/
@Service
public class YSkillTypeServiceImpl extends ServiceImpl<YSkillTypeMapper, SkillType>
implements YSkillTypeService {
}

@ -1,22 +0,0 @@
package org.jeecg.modules.demo.xmtp.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.xmtp.entity.TaskSkill;
import org.jeecg.modules.demo.xmtp.service.TaskSkillService;
import org.jeecg.modules.demo.xmtp.mapper.YTaskSkillMapper;
import org.springframework.stereotype.Service;
/**
* @author You do
* @description 针对表task_skill的数据库操作Service实现
* @createDate 2023-06-30 15:56:39
*/
@Service
public class YTaskSkillServiceImpl extends ServiceImpl<YTaskSkillMapper, TaskSkill>
implements TaskSkillService{
}

@ -1,32 +0,0 @@
package org.jeecg.modules.demo.xmtp.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.xmtp.entity.NodeName;
import org.jeecg.modules.demo.xmtp.entity.Tppronext;
import org.jeecg.modules.demo.xmtp.service.YTppronextService;
import org.jeecg.modules.demo.xmtp.mapper.YTppronextMapper;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author You do
* @description 针对表tppronext的数据库操作Service实现
* @createDate 2023-06-30 15:56:07
*/
@Service
public class YTppronextServiceImpl extends ServiceImpl<YTppronextMapper, Tppronext>
implements YTppronextService {
@Override
public List<Tppronext> querySubKnowledgePoints(NodeName centerNode) {
LambdaQueryWrapper<Tppronext> tppronextWrapper = new LambdaQueryWrapper<>();
tppronextWrapper.eq(Tppronext::getQianpoint, centerNode.getName());
return this.list(tppronextWrapper);
}
}

@ -1,30 +0,0 @@
<?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.jeecg.modules.demo.xmtp.mapper.SkillPointsMapper">
<resultMap id="BaseResultMap" type="org.jeecg.modules.demo.xmtp.entity.SkillPoints">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="skillCode" column="skill_code" jdbcType="VARCHAR"/>
<result property="skillType" column="skill_type" jdbcType="VARCHAR"/>
<result property="skillName" column="skill_name" jdbcType="VARCHAR"/>
<result property="skillLevel" column="skill_level" jdbcType="INTEGER"/>
<result property="skillDesc" column="skill_desc" jdbcType="VARCHAR"/>
<result property="skillIcon" column="skill_icon" jdbcType="VARCHAR"/>
<result property="skillPic" column="skill_pic" jdbcType="VARCHAR"/>
<result property="skillStatus" column="skill_status" jdbcType="INTEGER"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,skill_code,skill_type,
skill_name,skill_level,skill_desc,
skill_icon,skill_pic,skill_status,
create_by,create_time,update_by,
update_time
</sql>
</mapper>

@ -1,23 +0,0 @@
<?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.jeecg.modules.demo.xmtp.mapper.YGxlxMapper">
<resultMap id="BaseResultMap" type="org.jeecg.modules.demo.xmtp.entity.Gxlx">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="sysOrgCode" column="sys_org_code" jdbcType="VARCHAR"/>
<result property="gxname" column="gxname" jdbcType="VARCHAR"/>
<result property="widle" column="widle" jdbcType="DOUBLE"/>
</resultMap>
<sql id="Base_Column_List">
id,create_by,create_time,
update_by,update_time,sys_org_code,
gxname,widle
</sql>
</mapper>

@ -1,24 +0,0 @@
<?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.jeecg.modules.demo.xmtp.mapper.YSkillTypeMapper">
<resultMap id="BaseResultMap" type="org.jeecg.modules.demo.xmtp.entity.SkillType">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="typeName" column="type_name" jdbcType="VARCHAR"/>
<result property="supertypeId" column="supertype_id" jdbcType="VARCHAR"/>
<result property="skillDesc" column="skill_desc" jdbcType="VARCHAR"/>
<result property="skillIcon" column="skill_icon" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,type_name,supertype_id,
skill_desc,skill_icon,create_by,
create_time,update_by,update_time
</sql>
</mapper>

@ -1,23 +0,0 @@
<?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.jeecg.modules.demo.xmtp.mapper.YTaskSkillMapper">
<resultMap id="BaseResultMap" type="org.jeecg.modules.demo.xmtp.entity.TaskSkill">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="skillId" column="skill_id" jdbcType="VARCHAR"/>
<result property="taskType" column="task_type" jdbcType="INTEGER"/>
<result property="taskId" column="task_id" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,skill_id,task_type,
task_id,create_by,create_time,
update_by,update_time
</sql>
</mapper>

@ -1,31 +0,0 @@
<?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.jeecg.modules.demo.xmtp.mapper.YTppronextMapper">
<resultMap id="BaseResultMap" type="org.jeecg.modules.demo.xmtp.entity.Tppronext">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="sysOrgCode" column="sys_org_code" jdbcType="VARCHAR"/>
<result property="zxpoint" column="zxpoint" jdbcType="VARCHAR"/>
<result property="qianpoint" column="qianpoint" jdbcType="VARCHAR"/>
<result property="qianly" column="qianly" jdbcType="VARCHAR"/>
<result property="houpoint" column="houpoint" jdbcType="VARCHAR"/>
<result property="houly" column="houly" jdbcType="VARCHAR"/>
<result property="zsdgx" column="zsdgx" jdbcType="VARCHAR"/>
<result property="temp1" column="temp1" jdbcType="VARCHAR"/>
<result property="temp2" column="temp2" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,create_by,create_time,
update_by,update_time,sys_org_code,
zxpoint,qianpoint,qianly,
houpoint,houly,zsdgx,
temp1,temp2
</sql>
</mapper>
Loading…
Cancel
Save