培训计划添加报备审核状态判断
This commit is contained in:
parent
a57a2b9a09
commit
f6c359bce0
@ -119,6 +119,7 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
|
|||||||
List<ApplyClassPlanDTO> list= new ArrayList<>();
|
List<ApplyClassPlanDTO> list= new ArrayList<>();
|
||||||
String applyCardNumber = page.getParams().get("applyCardNumber").toString();
|
String applyCardNumber = page.getParams().get("applyCardNumber").toString();
|
||||||
String projectCatalogId = page.getParams().get("projectCatalogId").toString();
|
String projectCatalogId = page.getParams().get("projectCatalogId").toString();
|
||||||
|
page.getParams().put("repotType",2);
|
||||||
if(StringUtils.isBlank(applyCardNumber)){
|
if(StringUtils.isBlank(applyCardNumber)){
|
||||||
throw new ParamsException("请填写证件号");
|
throw new ParamsException("请填写证件号");
|
||||||
}
|
}
|
||||||
|
@ -292,6 +292,9 @@
|
|||||||
<if test="orgId != null">
|
<if test="orgId != null">
|
||||||
AND t1.org_id = #{orgId}
|
AND t1.org_id = #{orgId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="repotType != null and repotType != ''">
|
||||||
|
AND t1.report_type = #{repotType}
|
||||||
|
</if>
|
||||||
<if test="keywords != null and keywords != ''">
|
<if test="keywords != null and keywords != ''">
|
||||||
AND (
|
AND (
|
||||||
t1.id LIKE CONCAT('%', #{keywords}, '%')
|
t1.id LIKE CONCAT('%', #{keywords}, '%')
|
||||||
@ -392,7 +395,7 @@
|
|||||||
INSERT INTO e_class_plan_lesson
|
INSERT INTO e_class_plan_lesson
|
||||||
(class_plan_id,lesson_id,teacher_id,is_delete)
|
(class_plan_id,lesson_id,teacher_id,is_delete)
|
||||||
VALUES
|
VALUES
|
||||||
(#{classPlanId},#{lessonId},#{teacherId},#{isDelete})
|
(#{classPlanId},#{lessonId},#{teacherId},0)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue
Block a user