|
|
@@ -197,6 +197,9 @@
|
|
|
AND pa.id IN ( SELECT DISTINCT agreement_id FROM ptl_agreement_dept WHERE dept_id LIKE
|
|
|
concat(#{vo.deptId},'%') )
|
|
|
</if>
|
|
|
+ <if test="vo.isExternal !=null and vo.isExternal != ''">
|
|
|
+ and pa.is_external =#{vo.isExternal}
|
|
|
+ </if>
|
|
|
|
|
|
<if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
|
|
|
AND pa.id IN ( SELECT DISTINCT agreement_id FROM ptl_agreement_dept WHERE dept_id in
|