mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-29 10:57:14 +08:00
15 lines
609 B
XML
15 lines
609 B
XML
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
<mapper namespace="top.charles7c.cnadmin.system.mapper.MessageMapper">
|
|
<select id="selectPageByUserId" resultType="top.charles7c.cnadmin.system.model.resp.MessageResp">
|
|
SELECT
|
|
t1.*,
|
|
t2.`user_id`,
|
|
t2.`is_read`,
|
|
t2.`read_time`
|
|
FROM `sys_message` AS t1
|
|
LEFT JOIN `sys_message_user` AS t2 ON t2.`message_id` = t1.`id`
|
|
${ew.getCustomSqlSegment}
|
|
</select>
|
|
</mapper>
|