|
@@ -5,6 +5,10 @@
|
|
|
<select id="list" resultType="com.qmth.distributed.print.business.bean.dto.TCStatisticsDto">
|
|
|
select
|
|
|
t.id,
|
|
|
+ t.collegeId,
|
|
|
+ t.collegeName,
|
|
|
+ t.teachingRoomId,
|
|
|
+ t.teachingRoomName,
|
|
|
t.courseName,
|
|
|
t.courseCode,
|
|
|
t.teacherName,
|
|
@@ -14,8 +18,8 @@
|
|
|
t.printPlanId,
|
|
|
IF(t.examStudentCount = 0,null,t.printPlanName) as printPlanName,
|
|
|
t.examStudentCount,
|
|
|
- IF(t.examStudentCount = 0,0,t.examStudentCount + (t.drawCount * t.backupCount)) as printSum,
|
|
|
- t.status
|
|
|
+ IF(t.examStudentCount = 0,null,t.examStudentCount + (t.drawCount * t.backupCount)) as printSum,
|
|
|
+ IF(t.examStudentCount = 0,null,t.status) as status
|
|
|
from
|
|
|
(
|
|
|
select
|