|
@@ -98,6 +98,18 @@
|
|
${ex.selected}
|
|
${ex.selected}
|
|
FROM admin_websit a
|
|
FROM admin_websit a
|
|
${ex.query}
|
|
${ex.query}
|
|
|
|
+ <if test="ex.companyIds != null and ex.companyIds.size > 0">
|
|
|
|
+ and company_id in
|
|
|
|
+ <foreach item="item" index="index" collection="ex.companyIds" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
|
|
+ <if test="ex.adminWebsitIds != null and ex.adminWebsitIds.size > 0">
|
|
|
|
+ and websit_id in
|
|
|
|
+ <foreach item="item" index="index" collection="ex.adminWebsitIds" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="ex.orderBy == null or ex.orderBy ==''">
|
|
<if test="ex.orderBy == null or ex.orderBy ==''">
|
|
ORDER BY a.create_time DESC
|
|
ORDER BY a.create_time DESC
|
|
</if>
|
|
</if>
|