|
@@ -4,11 +4,21 @@
|
|
|
|
|
|
<select id="findByBatchNo" resultType="com.qmth.distributed.print.business.entity.TCStatistics">
|
|
|
select
|
|
|
- tcs.id,
|
|
|
+ distinct tcs.id,
|
|
|
+ tcs.college_id as collegeId,
|
|
|
+ tcs.college_name as collegeName,
|
|
|
+ tcs.course_name as courseName,
|
|
|
+ tcs.course_code as courseCode,
|
|
|
+ tcs.teaching_room_id as teachingRoomId,
|
|
|
+ tcs.teaching_room_name as teachingRoomName,
|
|
|
+ tcs.teacher_name as teacherName,
|
|
|
+ tcs.clazz_id as clazzId,
|
|
|
+ tcs.clazz_name as clazzName,
|
|
|
+ tcs.paper_number as paperNumber,
|
|
|
+ tcs.batch_no as batchNo,
|
|
|
epp.id as printPlanId,
|
|
|
edc.id as examDetailCourseId,
|
|
|
- etd.id as examTaskDetailId,
|
|
|
- et.paper_number as paperNumber
|
|
|
+ etd.id as examTaskDetailId
|
|
|
from
|
|
|
t_c_statistics tcs
|
|
|
join exam_task et on
|