@Select("select * from lms_pen where sender_id = #{senderId} and is_delete = 0 order by is_read asc,id desc")
@Select("select * from ums_user,lms_pen where sender_id = #{senderId} and is_delete = 0 and ums_user.id = lms_pen.sender_id order by is_read asc,id desc")
@Select("select * from lms_pen where sender_id = #{senderId} and receiver_Id = #{receiverId} and arrive_time > #{arriveTime} and is_delete = 0 order by is_read asc,arrive_time desc")
@Select("select * from ums_user,lms_pen where sender_id = #{senderId} and receiver_Id = #{receiverId} and arrive_time > #{arriveTime} and is_delete = 0 and ums_user.id = lms_pen.sender_id order by is_read asc,arrive_time desc")
@Select("select * from lms_pen,lms_incident,lms_letter_content where lms_pen.id = #{id} and lms_pen.incident_id = lms_incident.id and lms_pen.content_id = lms_letter_content.id")
@Select("select * from ums_user,lms_pen,lms_incident,lms_letter_content where lms_pen.id = #{id} and lms_pen.incident_id = lms_incident.id and lms_pen.content_id = lms_letter_content.id and ums_user.id = lms_pen.sender_id")