知识点xiugai3

master
you hang 3 months ago committed by youhang20021127
parent 639c5af6c1
commit 8468b6de6a
  1. 4
      src/main/java/com/teaching/backend/controller/Know/KnowController.java
  2. 2
      src/main/java/com/teaching/backend/model/entity/know/Edge.java
  3. 2
      src/main/java/com/teaching/backend/model/entity/know/KnowJson.java
  4. 2
      src/main/java/com/teaching/backend/model/vo/knowGraph/KnowChapterVO.java
  5. 2
      src/main/java/com/teaching/backend/model/vo/knowGraph/KnowCourseVO.java
  6. 6
      src/main/java/com/teaching/backend/model/vo/knowGraph/KnowJsonListVO.java
  7. 2
      src/main/java/com/teaching/backend/model/vo/knowGraph/KnowPathVO.java
  8. 25
      src/main/java/com/teaching/backend/model/vo/knowGraph/KnowVO1.java
  9. 2
      src/main/java/com/teaching/backend/model/vo/knowGraph/RelsNodesVO.java
  10. 7
      src/main/java/com/teaching/backend/service/Know/KnowService.java
  11. 2
      src/main/java/com/teaching/backend/service/impl/know/knowServiceImpl.java

@ -8,11 +8,11 @@ package com.teaching.backend.controller.Know;
import com.teaching.backend.common.BaseResponse;
import com.teaching.backend.model.dto.Know.*;
import com.teaching.backend.model.entity.know.*;
import com.teaching.backend.model.entity.knowtmp.Knowtmp;
import com.teaching.backend.model.vo.knowGraph.KnowPathVO;
import com.teaching.backend.model.vo.knowGraph.KnowVO;
import com.teaching.backend.model.vo.knowGraph.RelsNodesVO;
import com.teaching.backend.service.Know.KnowService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.entity.know;
import lombok.AllArgsConstructor;
import lombok.Data;

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.entity.know;
import lombok.AllArgsConstructor;
import lombok.Data;

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.vo.knowGraph;
import lombok.Data;

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.vo.knowGraph;
import lombok.Data;

@ -1,8 +1,6 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.vo.knowGraph;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.teaching.backend.model.entity.know.KnowJson;
import java.io.Serializable;
import java.util.List;

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.vo.knowGraph;
import lombok.AllArgsConstructor;
import lombok.Data;

@ -1,25 +0,0 @@
package com.teaching.backend.model.vo.knowGraph;
import lombok.Data;
import java.io.Serializable;
@Data
public class KnowVO1 implements Serializable {
/**
* id
*/
private Long id;
/**
* 知识点名称
*/
private String label;
}

@ -1,4 +1,4 @@
package com.teaching.backend.controller.Know;
package com.teaching.backend.model.vo.knowGraph;
import lombok.AllArgsConstructor;
import lombok.Data;

@ -1,17 +1,12 @@
package com.teaching.backend.service.Know;
import com.teaching.backend.common.BaseResponse;
import com.teaching.backend.controller.Know.KnowPathVO;
import com.teaching.backend.model.vo.knowGraph.KnowPathVO;
import com.teaching.backend.model.dto.Know.*;
import com.teaching.backend.model.entity.know.*;
import com.teaching.backend.model.entity.knowtmp.Knowtmp;
import com.teaching.backend.model.entity.resource.Resources;
import com.teaching.backend.model.vo.knowGraph.KnowVO;
import com.teaching.backend.model.vo.knowGraph.KnowVO1;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
import java.util.Set;
/**
* @Author:youhang

@ -7,7 +7,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.teaching.backend.common.BaseResponse;
import com.teaching.backend.common.ErrorCode;
import com.teaching.backend.common.ResultUtils;
import com.teaching.backend.controller.Know.KnowPathVO;
import com.teaching.backend.model.vo.knowGraph.KnowPathVO;
import com.teaching.backend.mapper.Knowtemp.KnowstrMapper;
import com.teaching.backend.mapper.Knowtemp.KnowtmpMapper;
import com.teaching.backend.mapper.chapter.ChapterMapper;

Loading…
Cancel
Save