供应商澄清信息待办接口

This commit is contained in:
zhangqinbin
2024-12-06 09:45:02 +08:00
parent c4a82c38b7
commit d25ab1445c

View File

@ -140,7 +140,7 @@
<select id="supplierClearMsgRead" resultType="com.chinaunicom.mall.ebtp.extend.bizmessage.entity.Message">
SELECT
biz_message.id,
'' AS companyId,
null AS companyId,
authorize.user_id AS userId,
'0' AS type,
biz_message.title AS title,
@ -156,7 +156,12 @@
<if test="vo.state !=null and vo.state !=''">
AND authorize.state = #{vo.state}
</if>
<if test="vo.companyObjs !=null and vo.companyObjs.size() > 0">
AND authorize.user_id in
<foreach item="companyObj" collection="vo.companyObjs" separator="," open="(" close=")" index="">
#{companyObj.userId, jdbcType=NUMERIC}
</foreach>
</if>
and biz_message.createtime &gt;= #{vo.startTime}
and biz_message.createtime &lt;= #{vo.endTime}
</select>