@@ -416,7 +416,7 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> {
...
@@ -416,7 +416,7 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> {
" from tm_paper b "+
" from tm_paper b "+
" left join tm_examdata a on a.e_pid = b.p_id "+
" left join tm_examdata a on a.e_pid = b.p_id "+
" left join tm_paper_link_branch plb on plb.ln_pid = b.p_id "+
" left join tm_paper_link_branch plb on plb.ln_pid = b.p_id "+
" where plb.ln_buid= #{userId}"+
" where plb.ln_buid= #{personId}"+
" and corp_id = #{corpId}"+
" and corp_id = #{corpId}"+
"<if test= \" paperName != null and paperName != ''\">and b.p_name like concat('%',#{paperName},'%') </if> "+
"<if test= \" paperName != null and paperName != ''\">and b.p_name like concat('%',#{paperName},'%') </if> "+
"<if test= \" examType != null and examType != '' and examType == '0'.toString()\"> and b.p_id not in(select e_pid from tm_examdata where e_uid = #{userId}) and now() > b.p_endtime </if> "+
"<if test= \" examType != null and examType != '' and examType == '0'.toString()\"> and b.p_id not in(select e_pid from tm_examdata where e_uid = #{userId}) and now() > b.p_endtime </if> "+