diff --git a/Dao/MyBatis/Maps/Lect.xml b/Dao/MyBatis/Maps/Lect.xml
index 23983aa..a81b8df 100644
--- a/Dao/MyBatis/Maps/Lect.xml
+++ b/Dao/MyBatis/Maps/Lect.xml
@@ -1556,7 +1556,7 @@
select no lectno,substr(a.cshape,1,3) cshapename2,a.cgname cname,a.ssdate sstime,a.sedate setime
,case when a.rprice> 0 then 1 else 0 end isrebate
from docprintpast a
- inner join users b on CAST(AES_DECRYPT(UNHEX(b.userpno), ) AS char) = a.userpno
+ inner join users b on CAST(AES_DECRYPT(UNHEX(b.userpno), ) AS char) = replace(a.userpno,'-','')
where userno = #userno#