|
|
|
@ -85,9 +85,11 @@ |
|
|
|
from fact_grid_member_statistics_daily member |
|
|
|
<where> |
|
|
|
<if test="gridIds != null and gridIds.size() > 0"> |
|
|
|
<foreach collection="gridIds" item="gridId" separator="OR" open="(" close=")"> |
|
|
|
member.GRID_ID = #{gridId} |
|
|
|
member.GRID_ID in ( |
|
|
|
<foreach collection="gridIds" item="gridId" separator=","> |
|
|
|
#{gridId} |
|
|
|
</foreach> |
|
|
|
) |
|
|
|
</if> |
|
|
|
<if test="searchedStaffName != null and searchedStaffName != ''"> |
|
|
|
and member.STAFF_NAME like CONCAT('%',#{searchedStaffName},'%') |
|
|
|
|