Commit 301de43d by 春觉晓

修改课程查询字段展示逻辑

1 parent 7296ef32
...@@ -223,6 +223,7 @@ public class LearningCenterCourseService { ...@@ -223,6 +223,7 @@ public class LearningCenterCourseService {
if (staff != null) { if (staff != null) {
x.setUserName(staff.getName()); x.setUserName(staff.getName());
x.setPhone(staff.getMobilePhone()); x.setPhone(staff.getMobilePhone());
x.setEmpStatus(staff.getZzStatus());
//设置部门信息 //设置部门信息
BeiSenOrganization department = departmentMap.get(staff.getOIdDepartmentId()); BeiSenOrganization department = departmentMap.get(staff.getOIdDepartmentId());
if (department != null) { if (department != null) {
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
</sql> </sql>
<select id="listCoursePageInfo" resultMap="CoursePageMap" parameterType="cn.com.glsx.dj.riskmanage.dto.learningcenter.CourseSearchDTO" > <select id="listCoursePageInfo" resultMap="CoursePageMap" parameterType="cn.com.glsx.dj.riskmanage.dto.learningcenter.CourseSearchDTO" >
select bc.id, bc.title, bc.course_file_type, bc.total_duration, bc.course_status, select bc.id, bc.title, bc.course_file_type,round(bc.total_duration) as total_duration, bc.course_status,
cc.category_name as categoryName, ccr.category_id as categoryId, ccr.parent_id as parentId, cc.category_name as categoryName, ccr.category_id as categoryId, ccr.parent_id as parentId,
bo.name as organizationName, bc.learn_total, bc.total_star, bc.beisen_created_by, bc.beisen_created_time bo.name as organizationName, bc.learn_total, bc.total_star, bc.beisen_created_by, bc.beisen_created_time
from dj_beisen_course bc from dj_beisen_course bc
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!