|
@@ -86,6 +86,7 @@
|
|
a.*
|
|
a.*
|
|
FROM
|
|
FROM
|
|
notice_websit a
|
|
notice_websit a
|
|
|
|
+ join notice_websit_record b on a.notice_websit_id = b.notice_websit_id
|
|
${ex.query}
|
|
${ex.query}
|
|
<if test="adminCompanyIds != null and adminCompanyIds.size > 0">
|
|
<if test="adminCompanyIds != null and adminCompanyIds.size > 0">
|
|
and a.company_wechat_id in
|
|
and a.company_wechat_id in
|
|
@@ -94,10 +95,18 @@
|
|
#{item}
|
|
#{item}
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="ex.adminWebsitIds != null and ex.adminWebsitIds.size > 0">
|
|
|
|
+ AND b.admin_websit_id IN
|
|
|
|
+ <foreach item="item" index="index" collection="ex.adminWebsitIds" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
${ex.orderBy}
|
|
${ex.orderBy}
|
|
|
|
+ group by a.notice_websit_id
|
|
<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>
|
|
|
|
+
|
|
</select>
|
|
</select>
|
|
<select id="listWebsit" resultType="com.gree.mall.manager.bean.notice.NoticeWebsitRecordVO">
|
|
<select id="listWebsit" resultType="com.gree.mall.manager.bean.notice.NoticeWebsitRecordVO">
|
|
SELECT
|
|
SELECT
|