|
@ -31,9 +31,11 @@ |
|
|
</if> |
|
|
</if> |
|
|
<if test="null != level and '' != level"> |
|
|
<if test="null != level and '' != level"> |
|
|
AND sca.`LEVEL` = #{level} |
|
|
AND sca.`LEVEL` = #{level} |
|
|
|
|
|
AND( |
|
|
<foreach collection="gridIds" item="gridId" separator=" OR "> |
|
|
<foreach collection="gridIds" item="gridId" separator=" OR "> |
|
|
AND sg.GRID_ID = #{gridId} |
|
|
sg.GRID_ID = #{gridId} |
|
|
</foreach> |
|
|
</foreach> |
|
|
|
|
|
) |
|
|
</if> |
|
|
</if> |
|
|
AND sg.CUSTOMER_ID = #{customerId} |
|
|
AND sg.CUSTOMER_ID = #{customerId} |
|
|
AND sg.DATE_ID = #{dateId} |
|
|
AND sg.DATE_ID = #{dateId} |
|
|