diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/basic/BmMessageMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/basic/BmMessageMapper.xml
index 44004ad..2d2c8c3 100644
--- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/basic/BmMessageMapper.xml
+++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/basic/BmMessageMapper.xml
@@ -9,7 +9,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
+
@@ -18,7 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select id, uuid, from_user, to_user, from_company, to_company, message_content, message_topic, message_type, create_time, update_time from bm_message
+ select bm.id, bm.uuid, bm.from_user, bm.to_user, bm.from_company, bm.to_company, bm.message_content, bm.message_topic,
+ bm.message_type, bm.create_time, bm.update_time, sd1.dept_name as from_company_name, sd2.dept_name as to_company_name
+ from bm_message bm
+ left join sys_dept sd1 on sd1.dept_id = bm.from_company
+ left join sys_dept sd2 on sd2.dept_id = bm.to_company