From aa87f6762716770e5014182ce7577607f5008d38 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 21 Nov 2024 15:24:43 +0800 Subject: [PATCH] =?UTF-8?q?GST002=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/basicsskill/entity/Basicsskill.java | 77 ------ .../basicsskill/mapper/BasicsskillMapper.java | 35 --- .../mapper/xml/BasicsskillMapper.xml | 25 -- .../service/IBasicsskillService.java | 74 ------ .../service/impl/BasicsskillServiceImpl.java | 219 ------------------ .../demo/compskill/entity/Compskill.java | 71 ------ .../demo/compskill/entity/Compskillvo.java | 53 ----- .../compskill/mapper/CompskillMapper.java | 17 -- .../compskill/mapper/xml/CompskillMapper.xml | 5 - .../compskill/service/ICompskillService.java | 14 -- .../service/impl/CompskillServiceImpl.java | 19 -- 11 files changed, 609 deletions(-) delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/entity/Basicsskill.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/BasicsskillMapper.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/xml/BasicsskillMapper.xml delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/IBasicsskillService.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/impl/BasicsskillServiceImpl.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskill.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskillvo.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/CompskillMapper.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/xml/CompskillMapper.xml delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/ICompskillService.java delete mode 100644 jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/impl/CompskillServiceImpl.java diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/entity/Basicsskill.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/entity/Basicsskill.java deleted file mode 100644 index d349d3d3..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/entity/Basicsskill.java +++ /dev/null @@ -1,77 +0,0 @@ -package org.jeecg.modules.demo.basicsskill.entity; - -import java.io.Serializable; -import java.util.Date; -import java.math.BigDecimal; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import com.baomidou.mybatisplus.annotation.TableLogic; -import lombok.Data; -import com.fasterxml.jackson.annotation.JsonFormat; -import org.springframework.format.annotation.DateTimeFormat; -import org.jeecgframework.poi.excel.annotation.Excel; -import org.jeecg.common.aspect.annotation.Dict; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.UnsupportedEncodingException; - -/** - * @Description: 基础能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -@Data -@TableName("basicsskill") -@ApiModel(value="basicsskill对象", description="基础能力设置") -public class Basicsskill implements Serializable { - private static final long serialVersionUID = 1L; - - /**主键*/ - @TableId(type = IdType.ASSIGN_ID) - @ApiModelProperty(value = "主键") - private String id; - /**创建人*/ - @ApiModelProperty(value = "创建人") - private String createBy; - /**创建日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "创建日期") - private Date createTime; - /**更新人*/ - @ApiModelProperty(value = "更新人") - private String updateBy; - /**更新日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "更新日期") - private Date updateTime; - /**所属部门*/ - @ApiModelProperty(value = "所属部门") - private String sysOrgCode; - /**上级*/ - /*@Excel(name = "上级", width = 15)*/ - @ApiModelProperty(value = "上级") - private String pid; - /**名称*/ - @Excel(name = "名称", width = 15) - @ApiModelProperty(value = "名称") - private String name; - /**备注*/ - @Excel(name = "备注", width = 15) - @ApiModelProperty(value = "备注") - private String remark; - /**是否有子节点*/ - @Excel(name = "是否有子节点", width = 15, dicCode = "yn") - @Dict(dicCode = "yn") - @ApiModelProperty(value = "是否有子节点") - private String hasChild; - /** - * 启停 - */ - @Excel(name = "启停", width = 15) - @ApiModelProperty(value = "启停") - private String startstop; -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/BasicsskillMapper.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/BasicsskillMapper.java deleted file mode 100644 index 67b74d48..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/BasicsskillMapper.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.jeecg.modules.demo.basicsskill.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import org.apache.ibatis.annotations.Param; -import org.jeecg.common.system.vo.SelectTreeModel; -import org.jeecg.modules.demo.basicsskill.entity.Basicsskill; - -import java.util.List; -import java.util.Map; - -/** - * @Description: 基础能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -public interface BasicsskillMapper extends BaseMapper { - - /** - * 编辑节点状态 - * @param id - * @param status - */ - void updateTreeNodeStatus(@Param("id") String id,@Param("status") String status); - - /** - * 【vue3专用】根据父级ID查询树节点数据 - * - * @param pid - * @param query - * @return - */ - List queryListByPid(@Param("pid") String pid, @Param("query") Map query); - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/xml/BasicsskillMapper.xml b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/xml/BasicsskillMapper.xml deleted file mode 100644 index 12e557d8..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/mapper/xml/BasicsskillMapper.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - update basicsskill set has_child = #{status} where id = #{id} - - - - - - \ No newline at end of file diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/IBasicsskillService.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/IBasicsskillService.java deleted file mode 100644 index bd440ade..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/IBasicsskillService.java +++ /dev/null @@ -1,74 +0,0 @@ -package org.jeecg.modules.demo.basicsskill.service; - -import org.jeecg.common.system.vo.SelectTreeModel; -import org.jeecg.modules.demo.basicsskill.entity.Basicsskill; -import com.baomidou.mybatisplus.extension.service.IService; -import org.jeecg.common.exception.JeecgBootException; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import java.util.List; - -/** - * @Description: 基础能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -public interface IBasicsskillService extends IService { - - /**根节点父ID的值*/ - public static final String ROOT_PID_VALUE = "0"; - - /**树节点有子节点状态值*/ - public static final String HASCHILD = "1"; - - /**树节点无子节点状态值*/ - public static final String NOCHILD = "0"; - - /** - * 新增节点 - * - * @param basicsskill - */ - void addBasicsskill(Basicsskill basicsskill); - - /** - * 修改节点 - * - * @param basicsskill - * @throws JeecgBootException - */ - void updateBasicsskill(Basicsskill basicsskill) throws JeecgBootException; - - /** - * 删除节点 - * - * @param id - * @throws JeecgBootException - */ - void deleteBasicsskill(String id) throws JeecgBootException; - - /** - * 查询所有数据,无分页 - * - * @param queryWrapper - * @return List - */ - List queryTreeListNoPage(QueryWrapper queryWrapper); - - /** - * 【vue3专用】根据父级编码加载分类字典的数据 - * - * @param parentCode - * @return - */ - List queryListByCode(String parentCode); - - /** - * 【vue3专用】根据pid查询子节点集合 - * - * @param pid - * @return - */ - List queryListByPid(String pid); - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/impl/BasicsskillServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/impl/BasicsskillServiceImpl.java deleted file mode 100644 index 2aa4dbff..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/service/impl/BasicsskillServiceImpl.java +++ /dev/null @@ -1,219 +0,0 @@ -package org.jeecg.modules.demo.basicsskill.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import org.jeecg.common.exception.JeecgBootException; -import org.jeecg.common.util.oConvertUtils; -import org.jeecg.common.system.vo.SelectTreeModel; -import org.jeecg.modules.demo.basicsskill.entity.Basicsskill; -import org.jeecg.modules.demo.basicsskill.mapper.BasicsskillMapper; -import org.jeecg.modules.demo.basicsskill.service.IBasicsskillService; -import org.springframework.stereotype.Service; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import org.springframework.transaction.annotation.Transactional; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; - -/** - * @Description: 基础能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -@Service -public class BasicsskillServiceImpl extends ServiceImpl implements IBasicsskillService { - - @Override - public void addBasicsskill(Basicsskill basicsskill) { - //新增时设置hasChild为0 - basicsskill.setHasChild(IBasicsskillService.NOCHILD); - if(oConvertUtils.isEmpty(basicsskill.getPid())){ - basicsskill.setPid(IBasicsskillService.ROOT_PID_VALUE); - }else{ - //如果当前节点父ID不为空 则设置父节点的hasChildren 为1 - Basicsskill parent = baseMapper.selectById(basicsskill.getPid()); - if(parent!=null && !"1".equals(parent.getHasChild())){ - parent.setHasChild("1"); - baseMapper.updateById(parent); - } - } - baseMapper.insert(basicsskill); - } - - @Override - public void updateBasicsskill(Basicsskill basicsskill) { - Basicsskill entity = this.getById(basicsskill.getId()); - if(entity==null) { - throw new JeecgBootException("未找到对应实体"); - } - String old_pid = entity.getPid(); - String new_pid = basicsskill.getPid(); - if(!old_pid.equals(new_pid)) { - updateOldParentNode(old_pid); - if(oConvertUtils.isEmpty(new_pid)){ - basicsskill.setPid(IBasicsskillService.ROOT_PID_VALUE); - } - if(!IBasicsskillService.ROOT_PID_VALUE.equals(basicsskill.getPid())) { - baseMapper.updateTreeNodeStatus(basicsskill.getPid(), IBasicsskillService.HASCHILD); - } - } - baseMapper.updateById(basicsskill); - } - - @Override - @Transactional(rollbackFor = Exception.class) - public void deleteBasicsskill(String id) throws JeecgBootException { - //查询选中节点下所有子节点一并删除 - id = this.queryTreeChildIds(id); - if(id.indexOf(",")>0) { - StringBuffer sb = new StringBuffer(); - String[] idArr = id.split(","); - for (String idVal : idArr) { - if(idVal != null){ - Basicsskill basicsskill = this.getById(idVal); - String pidVal = basicsskill.getPid(); - //查询此节点上一级是否还有其他子节点 - List dataList = baseMapper.selectList(new QueryWrapper().eq("pid", pidVal).notIn("id",Arrays.asList(idArr))); - boolean flag = (dataList == null || dataList.size() == 0) && !Arrays.asList(idArr).contains(pidVal) && !sb.toString().contains(pidVal); - if(flag){ - //如果当前节点原本有子节点 现在木有了,更新状态 - sb.append(pidVal).append(","); - } - } - } - //批量删除节点 - baseMapper.deleteBatchIds(Arrays.asList(idArr)); - //修改已无子节点的标识 - String[] pidArr = sb.toString().split(","); - for(String pid : pidArr){ - this.updateOldParentNode(pid); - } - }else{ - Basicsskill basicsskill = this.getById(id); - if(basicsskill==null) { - throw new JeecgBootException("未找到对应实体"); - } - updateOldParentNode(basicsskill.getPid()); - baseMapper.deleteById(id); - } - } - - @Override - public List queryTreeListNoPage(QueryWrapper queryWrapper) { - List dataList = baseMapper.selectList(queryWrapper); - List mapList = new ArrayList<>(); - for(Basicsskill data : dataList){ - String pidVal = data.getPid(); - //递归查询子节点的根节点 - if(pidVal != null && !IBasicsskillService.NOCHILD.equals(pidVal)){ - Basicsskill rootVal = this.getTreeRoot(pidVal); - if(rootVal != null && !mapList.contains(rootVal)){ - mapList.add(rootVal); - } - }else{ - if(!mapList.contains(data)){ - mapList.add(data); - } - } - } - return mapList; - } - - @Override - public List queryListByCode(String parentCode) { - String pid = ROOT_PID_VALUE; - if (oConvertUtils.isNotEmpty(parentCode)) { - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(Basicsskill::getPid, parentCode); - List list = baseMapper.selectList(queryWrapper); - if (list == null || list.size() == 0) { - throw new JeecgBootException("该编码【" + parentCode + "】不存在,请核实!"); - } - if (list.size() > 1) { - throw new JeecgBootException("该编码【" + parentCode + "】存在多个,请核实!"); - } - pid = list.get(0).getId(); - } - return baseMapper.queryListByPid(pid, null); - } - - @Override - public List queryListByPid(String pid) { - if (oConvertUtils.isEmpty(pid)) { - pid = ROOT_PID_VALUE; - } - return baseMapper.queryListByPid(pid, null); - } - - /** - * 根据所传pid查询旧的父级节点的子节点并修改相应状态值 - * @param pid - */ - private void updateOldParentNode(String pid) { - if(!IBasicsskillService.ROOT_PID_VALUE.equals(pid)) { - Long count = baseMapper.selectCount(new QueryWrapper().eq("pid", pid)); - if(count==null || count<=1) { - baseMapper.updateTreeNodeStatus(pid, IBasicsskillService.NOCHILD); - } - } - } - - /** - * 递归查询节点的根节点 - * @param pidVal - * @return - */ - private Basicsskill getTreeRoot(String pidVal){ - Basicsskill data = baseMapper.selectById(pidVal); - if(data != null && !IBasicsskillService.ROOT_PID_VALUE.equals(data.getPid())){ - return this.getTreeRoot(data.getPid()); - }else{ - return data; - } - } - - /** - * 根据id查询所有子节点id - * @param ids - * @return - */ - private String queryTreeChildIds(String ids) { - //获取id数组 - String[] idArr = ids.split(","); - StringBuffer sb = new StringBuffer(); - for (String pidVal : idArr) { - if(pidVal != null){ - if(!sb.toString().contains(pidVal)){ - if(sb.toString().length() > 0){ - sb.append(","); - } - sb.append(pidVal); - this.getTreeChildIds(pidVal,sb); - } - } - } - return sb.toString(); - } - - /** - * 递归查询所有子节点 - * @param pidVal - * @param sb - * @return - */ - private StringBuffer getTreeChildIds(String pidVal,StringBuffer sb){ - List dataList = baseMapper.selectList(new QueryWrapper().eq("pid", pidVal)); - if(dataList != null && dataList.size()>0){ - for(Basicsskill tree : dataList) { - if(!sb.toString().contains(tree.getId())){ - sb.append(",").append(tree.getId()); - } - this.getTreeChildIds(tree.getId(),sb); - } - } - return sb; - } - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskill.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskill.java deleted file mode 100644 index 43c0e2cc..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskill.java +++ /dev/null @@ -1,71 +0,0 @@ -package org.jeecg.modules.demo.compskill.entity; - -import java.io.Serializable; -import java.io.UnsupportedEncodingException; -import java.util.Date; -import java.math.BigDecimal; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import com.baomidou.mybatisplus.annotation.TableLogic; -import lombok.Data; -import com.fasterxml.jackson.annotation.JsonFormat; -import org.springframework.format.annotation.DateTimeFormat; -import org.jeecgframework.poi.excel.annotation.Excel; -import org.jeecg.common.aspect.annotation.Dict; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.EqualsAndHashCode; -import lombok.experimental.Accessors; - -/** - * @Description: 项目能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -@Data -@TableName("compskill") -@Accessors(chain = true) -@EqualsAndHashCode(callSuper = false) -@ApiModel(value="compskill对象", description="项目能力设置") -public class Compskill implements Serializable { - private static final long serialVersionUID = 1L; - - /**主键*/ - @TableId(type = IdType.ASSIGN_ID) - @ApiModelProperty(value = "主键") - private String id; - /**创建人*/ - @ApiModelProperty(value = "创建人") - private String createBy; - /**创建日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "创建日期") - private Date createTime; - /**更新人*/ - @ApiModelProperty(value = "更新人") - private String updateBy; - /**更新日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "更新日期") - private Date updateTime; - /**所属部门*/ - @ApiModelProperty(value = "所属部门") - private String sysOrgCode; - /**年度比赛项目id*/ - @Excel(name = "年度比赛项目id", width = 15) - @ApiModelProperty(value = "年度比赛项目id") - private String annucompid; - /**能力id*/ - @Excel(name = "能力id", width = 15) - @ApiModelProperty(value = "能力id") - private String capacityid; - /**权值*/ - @Excel(name = "权值", width = 15) - @ApiModelProperty(value = "权值") - private Integer weight; - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskillvo.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskillvo.java deleted file mode 100644 index 3e924da3..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/entity/Compskillvo.java +++ /dev/null @@ -1,53 +0,0 @@ -package org.jeecg.modules.demo.compskill.entity; - -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.jeecgframework.poi.excel.annotation.Excel; -import org.springframework.format.annotation.DateTimeFormat; - -import java.util.Date; -@Data -public class Compskillvo { - private static final long serialVersionUID = 1L; - - /**主键*/ - @TableId(type = IdType.ASSIGN_ID) - @ApiModelProperty(value = "主键") - private String id; - /**创建人*/ - @ApiModelProperty(value = "创建人") - private String createBy; - /**创建日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "创建日期") - private Date createTime; - /**更新人*/ - @ApiModelProperty(value = "更新人") - private String updateBy; - /**更新日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @ApiModelProperty(value = "更新日期") - private Date updateTime; - /**所属部门*/ - @ApiModelProperty(value = "所属部门") - private String sysOrgCode; - /**年度比赛项目id*/ - @Excel(name = "年度比赛项目id", width = 15) - @ApiModelProperty(value = "年度比赛项目id") - private String annucompid; - /**能力id*/ - @Excel(name = "能力id", width = 15) - @ApiModelProperty(value = "能力id") - private String capacityid; - /**权值*/ - @Excel(name = "权值", width = 15) - @ApiModelProperty(value = "权值") - private Integer weight; - private String annual; - private String comp; -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/CompskillMapper.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/CompskillMapper.java deleted file mode 100644 index 703846d5..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/CompskillMapper.java +++ /dev/null @@ -1,17 +0,0 @@ -package org.jeecg.modules.demo.compskill.mapper; - -import java.util.List; - -import org.apache.ibatis.annotations.Param; -import org.jeecg.modules.demo.compskill.entity.Compskill; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; - -/** - * @Description: 项目能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -public interface CompskillMapper extends BaseMapper { - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/xml/CompskillMapper.xml b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/xml/CompskillMapper.xml deleted file mode 100644 index 82cca4e6..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/mapper/xml/CompskillMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/ICompskillService.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/ICompskillService.java deleted file mode 100644 index 1dbf8882..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/ICompskillService.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.jeecg.modules.demo.compskill.service; - -import org.jeecg.modules.demo.compskill.entity.Compskill; -import com.baomidou.mybatisplus.extension.service.IService; - -/** - * @Description: 项目能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -public interface ICompskillService extends IService { - -} diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/impl/CompskillServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/impl/CompskillServiceImpl.java deleted file mode 100644 index 6854e321..00000000 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/compskill/service/impl/CompskillServiceImpl.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.jeecg.modules.demo.compskill.service.impl; - -import org.jeecg.modules.demo.compskill.entity.Compskill; -import org.jeecg.modules.demo.compskill.mapper.CompskillMapper; -import org.jeecg.modules.demo.compskill.service.ICompskillService; -import org.springframework.stereotype.Service; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; - -/** - * @Description: 项目能力设置 - * @Author: jeecg-boot - * @Date: 2023-08-17 - * @Version: V1.0 - */ -@Service -public class CompskillServiceImpl extends ServiceImpl implements ICompskillService { - -}