员工培训

This commit is contained in:
bianyadong
2024-05-06 18:30:03 +08:00
parent 3c0c5c1cd3
commit 253ea49237
11 changed files with 80 additions and 75 deletions

View File

@@ -36,6 +36,7 @@
u.region_id as regionId,
u.role_id as roleId,
u.shop_id as shopId,
u.register_time as registerTime,
s.shop_name as shopName,
e.id as employeeTrainingId,
e.assessment_num as assessmentNum,
@@ -45,6 +46,7 @@
e.practical_exam_status as practicalExamStatus,
e.practical_exam_score as practicalExamScore,
e.assessment_status as assessmentStatus
from xfsg_temp_user_detail u
left join xfsg_employee_training e on e.xfsg_user_detail_id = u.id
left join xfsg_shop_info s on s.id = u.shop_id
@@ -68,10 +70,10 @@
and e.assign_flag = #{assignFlag}
</if>
<if test="beginTime != null and beginTime != ''">
and e.register_time &gt;= #{beginTime}
and u.register_time &gt;= #{beginTime}
</if>
<if test="endTime != null and endTime != ''">
and e.register_time &lt;= #{endTime}
and u.register_time &lt;= #{endTime}
</if>
<if test="shopIdList != null and shopIdList.size() > 0">
and u.shop_id in