|
@@ -342,7 +342,7 @@
|
342
|
342
|
<!--获取学生作业状态-->
|
343
|
343
|
<select id="getPaperState" resultType="java.util.Map">
|
344
|
344
|
select s.psid,s.paperid,s.classid,s.studentid,s.psstate,s.pschecked
|
345
|
|
- ,p.hasreport,p.papertype,p.hasfile,p.hearfile
|
|
345
|
+ ,p.hasreport,p.papertype,p.hasfile,p.hearfile,p.committype
|
346
|
346
|
,(case when s.psstate=3 then (select psb.comm from t_paper_student_back psb
|
347
|
347
|
where psb.psid=s.psid order by psbid desc limit 1) else null end)comm
|
348
|
348
|
from t_paper_student s left join t_paper p on s.paperid=p.paperid
|