|
@@ -37,7 +37,7 @@
|
|
|
from sap_check_report a, sap_checkdate b, wx_user c
|
|
|
where a.checkinDay=b.checkinDay and a.userId = c.userId
|
|
|
<if test="departId != null and departId != ''">
|
|
|
- and (c.firstDepartId=#{departId} or c.secondDepartId=#{departId})
|
|
|
+ and (c.firstDepartId in (${departId}) or c.secondDepartId in (${departId}))
|
|
|
</if>
|
|
|
<if test="departIds != null and departIds.size() > 0">
|
|
|
and c.firstDepartId in
|
|
@@ -69,7 +69,7 @@
|
|
|
from sap_check_report a, sap_checkdate b, wx_user c
|
|
|
where a.checkinDay=b.checkinDay and a.userId = c.userId
|
|
|
<if test="departId != null and departId != ''">
|
|
|
- and (c.firstDepartId=#{departId} or c.secondDepartId=#{departId})
|
|
|
+ and (c.firstDepartId in (${departId}) or c.secondDepartId in (${departId}))
|
|
|
</if>
|
|
|
<if test="departIds != null and departIds.size() > 0">
|
|
|
and c.firstDepartId in
|