diff --git a/web-infrastructure/src/main/resources/mapper/TrainingUserMapper.xml b/web-infrastructure/src/main/resources/mapper/TrainingUserMapper.xml index 6459041..038868a 100644 --- a/web-infrastructure/src/main/resources/mapper/TrainingUserMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/TrainingUserMapper.xml @@ -135,6 +135,7 @@ u.main_corp_flag, u.user_type, u.department_id, + d.name as departmentName, u.post_id, u.post_name, u.role_id, @@ -179,6 +180,7 @@ from user u left join training_user tu on tu.phone = u.username and tu.delete_enum = 'FALSE' + left join department d on d.id = u.department_id and u.delete_enum = 'FALSE' and tu.start_time < now()