From 7a0547d7ff12ce2a8f95cb8a3da21aa47688f4a2 Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Fri, 27 Nov 2020 00:22:23 +0000 Subject: [PATCH] --- Dao/MyBatis/Maps/Pay.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dao/MyBatis/Maps/Pay.xml b/Dao/MyBatis/Maps/Pay.xml index ab909c0..a6926a0 100644 --- a/Dao/MyBatis/Maps/Pay.xml +++ b/Dao/MyBatis/Maps/Pay.xml @@ -507,7 +507,7 @@ 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 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 ,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 @@ -882,7 +882,7 @@ ,b.itemno from pay a 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)