|
|
@@ -72,6 +72,9 @@
|
|
|
<if test="info.planName != '' and info.planName != null">
|
|
|
and a.plan_name LIKE CONCAT('%', #{info.planName}, '%' )
|
|
|
</if>
|
|
|
+<!-- <if test="info.resumptionRole != '' and info.resumptionRole != null">-->
|
|
|
+<!-- and r.role_id =#{info.resumptionRole}-->
|
|
|
+<!-- </if>-->
|
|
|
<if test="info.planStatus != null">
|
|
|
and a.plan_status = #{info.planStatus}
|
|
|
</if>
|
|
|
@@ -84,6 +87,9 @@
|
|
|
<if test="info.orgType != null">
|
|
|
and a.exec_org_type = #{info.orgType}
|
|
|
</if>
|
|
|
+ <if test="info.planType != null">
|
|
|
+ and a.plan_type = #{info.planType}
|
|
|
+ </if>
|
|
|
<if test="info.roleList != null and info.roleList.size > 0">
|
|
|
and a.id in (select plan_id from core_resumption_plan_to_role where role_id in
|
|
|
<foreach collection="info.roleList" item="roleId" index="index" open="(" separator="," close=")">
|
|
|
@@ -297,8 +303,7 @@
|
|
|
select *
|
|
|
from core_resumption_plan
|
|
|
where plan_name like CONCAT('%', #{planName}, '%')
|
|
|
- and deleted = 0
|
|
|
- limit 1
|
|
|
+ and deleted = 0 limit 1
|
|
|
</select>
|
|
|
<select id="selectPlanNameById" resultType="java.lang.String">
|
|
|
select plan_name
|