|
@@ -70,7 +70,7 @@
|
|
|
<if test="departId != null and departId != ''">
|
|
|
and (c.firstDepartId=#{departId} or c.secondDepartId=#{departId})
|
|
|
</if>
|
|
|
- <if test="departIds != null and departIds != ''">
|
|
|
+ <if test="departIds != null and departIds.size() > 0">
|
|
|
and c.firstDepartId in
|
|
|
<foreach collection="departIds" item="depId" separator="," open="(" close=")">
|
|
|
#{depId}
|