|
|
@@ -19,9 +19,10 @@
|
|
|
<select id="getAttendanceClassesTaskDetailInfo" parameterType="Map" resultType="Map">
|
|
|
select t.check_time,t.check_time checkTime,t.detail_id,t.detail_id detailId,t.spec_cd,t.spec_cd
|
|
|
specCd,t.status_cd,t.status_cd statusCd,t.remark,t.face_path,t.face_path facePath,t.state,t.store_id,t.store_id
|
|
|
- storeId,t.value,t.task_id,t.task_id taskId,td.`name` specName
|
|
|
+ storeId,t.value,t.task_id,t.task_id taskId,td.`name` specName,td1.name stateName
|
|
|
from attendance_classes_task_detail t
|
|
|
left join t_dict td on t.spec_cd = td.status_cd and td.table_name = 'attendance_classes_attr' and td.table_columns = 'spec_cd'
|
|
|
+ left join t_dict td1 on t.state = td1.status_cd and td1.table_name = 'attendance_classes_task_detail' and td1.table_columns = 'state'
|
|
|
where 1 =1
|
|
|
<if test="checkTime !=null and checkTime != ''">
|
|
|
and t.check_time= #{checkTime}
|