parent
82002ded51
commit
0c04963b0d
|
|
@ -924,7 +924,7 @@
|
|||
<select id="lect.lectsds" parameterClass="hashtable" resultClass="lectsd">
|
||||
select a.lectno,a.userno,a.cmno,a.isrebate
|
||||
,b.sdno
|
||||
,c.atext,c.fgno,c.copyrate,c.iscopy,c.cpoint,c.feedb,c.submittime,c.submitip,c.checktime,c.checkip
|
||||
,c.atext,c.fgno,round((f.MAX_SCORE/100)) copyrate,c.iscopy,c.cpoint,c.feedb,c.submittime,c.submitip,c.checktime,c.checkip
|
||||
,cf.fileno,cf.orgname,cf.fileurl
|
||||
,d.username,d.userid
|
||||
,e.asname
|
||||
|
|
@ -936,6 +936,7 @@
|
|||
left outer join fileinfo cf on cf.fgno=c.fgno and cf.isdel=0
|
||||
inner join users d on d.userno=a.userno
|
||||
left outer join assign e on e.asno=d.asno
|
||||
left outer join mch_source_v_lectsd_list f on f.DOC_ID = concat(b.sdno ,'_',a.lectno )
|
||||
where a.cmno=#cmno# and a.status=1 and a.ischanged=0
|
||||
<isNotNull property="isrebate">and a.isrebate=#isrebate#</isNotNull>
|
||||
<isNotNull property="sdstate">
|
||||
|
|
@ -946,7 +947,7 @@
|
|||
</select>
|
||||
<select id="lect.lectsd" parameterClass="hashtable" resultClass="lectsd">
|
||||
select a.sdno,a.tpoint sdtpoint
|
||||
,b.lectno,b.atext,b.fgno,b.copyrate,b.iscopy,b.cpoint,b.feedb,b.submittime,b.checktime
|
||||
,b.lectno,b.atext,b.fgno,round((g.MAX_SCORE/100)) copyrate,b.iscopy,b.cpoint,b.feedb,b.submittime,b.checktime
|
||||
,c.userno,c.username,c.userid
|
||||
,d.asname
|
||||
,f.fileno,f.orgname,f.fileurl
|
||||
|
|
@ -956,6 +957,7 @@
|
|||
left outer join assign d on d.asno=c.asno
|
||||
left outer join lectsd b on b.lectno=b2.lectno and b.sdno=a.sdno
|
||||
left outer join fileinfo f on f.fgno=b.fgno and f.isdel=0
|
||||
left outer join mch_source_v_lectsd_list g on g.DOC_ID = concat(b.sdno ,'_',b.lectno )
|
||||
where a.sdno=#sdno#
|
||||
</select>
|
||||
<update id="lect.lectsd.save" parameterClass="lectsd">
|
||||
|
|
|
|||
Loading…
Reference in New Issue