This commit is contained in:
parent
f790176fd4
commit
7a0547d7ff
|
|
@ -507,7 +507,7 @@
|
||||||
left outer join comcode cc on cc.ccode=c.studyplace
|
left outer join comcode cc on cc.ccode=c.studyplace
|
||||||
left outer join lect lect on lect.pino=b.pino and lect.ischanged=0
|
left outer join lect lect on lect.pino=b.pino and lect.ischanged=0
|
||||||
left outer join cminningscd cmis on cmis.cmisno=lect.cmisno
|
left outer join cminningscd cmis on cmis.cmisno=lect.cmisno
|
||||||
where a.userno=#userno# and a.pstatus in (1,21,22,51,55)
|
where a.userno=#userno# and a.pstatus in (1,21,22,51,55) and lect.status < 8
|
||||||
group by a.payno,a.isgroup,a.pstatus,a.rstatus
|
group by a.payno,a.isgroup,a.pstatus,a.rstatus
|
||||||
,b.pino,b.ptype,b.pcno,b.itemno,b.userno,b.pstatus,b.rstatus,b.isrebate
|
,b.pino,b.ptype,b.pcno,b.itemno,b.userno,b.pstatus,b.rstatus,b.isrebate
|
||||||
,c.cname,c.classno,c.rstime,c.retime,c.sstime,c.setime,c.cshape
|
,c.cname,c.classno,c.rstime,c.retime,c.sstime,c.setime,c.cshape
|
||||||
|
|
@ -882,7 +882,7 @@
|
||||||
,b.itemno
|
,b.itemno
|
||||||
from pay a
|
from pay a
|
||||||
inner join payitem b on b.payno=a.payno
|
inner join payitem b on b.payno=a.payno
|
||||||
where a.payno=#payno# and a.userno=#userno# and a.pstatus in (1,22,55)
|
where a.payno=#payno# and a.userno=#userno# and a.pstatus in (1,21,22)
|
||||||
</select>
|
</select>
|
||||||
<select id="pay.lectready" parameterClass="int" resultClass="int">
|
<select id="pay.lectready" parameterClass="int" resultClass="int">
|
||||||
select count(a.userno)
|
select count(a.userno)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue