Commit 7cd573f8 by 林永健

fix(orm): 修复StaffBeisenSourseMapper中的查询字段问题

- 将查询字段从Base_Column_List改为bc.*以避免字段缺失
- 保留了tag_name的group_concat聚合功能
- 确保课程标签关联查询的完整性
1 parent 80c30329
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
<select id="findStaffTagCoursePage" parameterType="cn.com.glsx.dj.mindworkplate.model.course.CourseSearchReuqestDTO" <select id="findStaffTagCoursePage" parameterType="cn.com.glsx.dj.mindworkplate.model.course.CourseSearchReuqestDTO"
resultMap="BaseResultMap"> resultMap="BaseResultMap">
select select
<include refid="Base_Column_List" /> bc.*,
, group_concat(distinct bct.tag_name) as tag_name group_concat(distinct bct.tag_name) as tag_name
from staff_beisen_course bc from staff_beisen_course bc
left join staff_beisen_course_tag bct on bct.course_id = bc.course_id left join staff_beisen_course_tag bct on bct.course_id = bc.course_id
where 1=1 where 1=1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!