|
@@ -670,6 +670,7 @@
|
|
LEFT JOIN
|
|
LEFT JOIN
|
|
sys_user g ON a.create_id = g.id
|
|
sys_user g ON a.create_id = g.id
|
|
<where>
|
|
<where>
|
|
|
|
+ and a.school_id = #{schoolId}
|
|
and a.status = #{printPlanStatus}
|
|
and a.status = #{printPlanStatus}
|
|
AND (d.status = 'SUBMIT' and (ffa.status = 'FINISH' or ffa.status is null))
|
|
AND (d.status = 'SUBMIT' and (ffa.status = 'FINISH' or ffa.status is null))
|
|
and LOCATE('PAPER', a.print_content) > 0
|
|
and LOCATE('PAPER', a.print_content) > 0
|