【修改】方法共用,改名处理
This commit is contained in:
@@ -10,7 +10,7 @@ import pc.exam.pp.module.exam.controller.admin.paper.vo.TreeEntity;
|
||||
* @author pengchen
|
||||
* @date 2025-03-24
|
||||
*/
|
||||
public class ExamKnowledgePoints extends TreeEntity
|
||||
public class ExamPaperKnowledgePoints extends TreeEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@@ -10,8 +10,9 @@ import pc.exam.pp.framework.mybatis.core.mapper.BaseMapperX;
|
||||
import pc.exam.pp.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||
import pc.exam.pp.framework.tenant.core.aop.TenantIgnore;
|
||||
import pc.exam.pp.module.exam.controller.admin.paper.vo.PaperTaskPageVo;
|
||||
import pc.exam.pp.module.exam.dal.dataobject.ExamKnowledgePoints;
|
||||
|
||||
import pc.exam.pp.module.exam.dal.dataobject.EducationPaperTask;
|
||||
import pc.exam.pp.module.exam.dal.dataobject.ExamPaperKnowledgePoints;
|
||||
|
||||
/**
|
||||
* 试卷任务Mapper接口
|
||||
@@ -88,7 +89,7 @@ public interface EducationPaperTaskMapper extends BaseMapperX<EducationPaperTask
|
||||
List<String> getKeywords();
|
||||
|
||||
|
||||
List<ExamKnowledgePoints> getPoints(@Param("id") Long id);
|
||||
List<ExamPaperKnowledgePoints> getPoints(@Param("id") Long id);
|
||||
|
||||
Integer getQuCount(@Param("taskSpecialty") String taskSpecialty
|
||||
,@Param("spName") String spName
|
||||
|
@@ -160,7 +160,7 @@ public class EducationPaperTaskServiceImpl implements IEducationPaperTaskService
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ExamKnowledgePoints> getPoints(String name) {
|
||||
public List<ExamPaperKnowledgePoints> getPoints(String name) {
|
||||
Long id= educationPaperTaskMapper.getPointIdByName(name);
|
||||
return educationPaperTaskMapper.getPoints(id);
|
||||
}
|
||||
|
@@ -5,8 +5,9 @@ import pc.exam.pp.framework.common.pojo.PageResult;
|
||||
import pc.exam.pp.module.exam.controller.admin.paper.dto.SchemeParam;
|
||||
import pc.exam.pp.module.exam.controller.admin.paper.dto.TempDto;
|
||||
import pc.exam.pp.module.exam.controller.admin.paper.vo.PaperTaskPageVo;
|
||||
import pc.exam.pp.module.exam.dal.dataobject.ExamKnowledgePoints;
|
||||
|
||||
import pc.exam.pp.module.exam.dal.dataobject.EducationPaperTask;
|
||||
import pc.exam.pp.module.exam.dal.dataobject.ExamPaperKnowledgePoints;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -73,7 +74,7 @@ public interface IEducationPaperTaskService
|
||||
List<String> getKeywords();
|
||||
|
||||
|
||||
List<ExamKnowledgePoints> getPoints(String name);
|
||||
List<ExamPaperKnowledgePoints> getPoints(String name);
|
||||
|
||||
Integer getQuCount(SchemeParam param);
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
<result property="deleted" column="deleted" />
|
||||
<result property="tenantId" column="tenant_id" />
|
||||
</resultMap>
|
||||
<resultMap type="ExamKnowledgePoints" id="ExamSpecialtyResult">
|
||||
<resultMap type="ExamPaperKnowledgePoints" id="ExamSpecialtyResult">
|
||||
<result property="spId" column="sp_id" />
|
||||
<result property="parentId" column="parent_id" />
|
||||
<result property="ancestors" column="ancestors" />
|
||||
@@ -26,7 +26,6 @@
|
||||
<result property="orderNum" column="order_num" />
|
||||
<result property="status" column="status" />
|
||||
<result property="delFlag" column="deleted" />
|
||||
<result property="tenantId" column="tenant_id" />
|
||||
<result property="unite" column="unite" />
|
||||
<result property="treeNum" column="tree_num" />
|
||||
</resultMap>
|
||||
|
Reference in New Issue
Block a user