diff --git a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java index 43030a4..fe8e844 100644 --- a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java @@ -119,6 +119,7 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic List list= new ArrayList<>(); String applyCardNumber = page.getParams().get("applyCardNumber").toString(); String projectCatalogId = page.getParams().get("projectCatalogId").toString(); + page.getParams().put("repotType",2); if(StringUtils.isBlank(applyCardNumber)){ throw new ParamsException("请填写证件号"); } diff --git a/src/main/resources/mybatis/mapper/classplan/class-plan-mapper.xml b/src/main/resources/mybatis/mapper/classplan/class-plan-mapper.xml index 4a7cc41..05f6438 100644 --- a/src/main/resources/mybatis/mapper/classplan/class-plan-mapper.xml +++ b/src/main/resources/mybatis/mapper/classplan/class-plan-mapper.xml @@ -292,6 +292,9 @@ AND t1.org_id = #{orgId} + + AND t1.report_type = #{repotType} + AND ( t1.id LIKE CONCAT('%', #{keywords}, '%') @@ -392,7 +395,7 @@ INSERT INTO e_class_plan_lesson (class_plan_id,lesson_id,teacher_id,is_delete) VALUES - (#{classPlanId},#{lessonId},#{teacherId},#{isDelete}) + (#{classPlanId},#{lessonId},#{teacherId},0) \ No newline at end of file