|
@@ -330,7 +330,7 @@
|
|
|
<select id="getFilePageUrlList" resultType="java.lang.String">
|
|
|
select pdf_page_url
|
|
|
from u_archive_file
|
|
|
- where is_deleted = 0
|
|
|
+ where is_deleted = 0 and pdf_page_url!= file_url
|
|
|
and archive_id in (
|
|
|
select id
|
|
|
from u_archives_auto
|
|
@@ -345,7 +345,7 @@
|
|
|
<select id="getFilePageUrlListByContract" resultType="java.lang.String">
|
|
|
select pdf_page_url
|
|
|
from u_archive_file
|
|
|
- where is_deleted = 0
|
|
|
+ where is_deleted = 0 and pdf_page_url!= file_url
|
|
|
and archive_id in (
|
|
|
select id
|
|
|
from u_archives_auto
|
|
@@ -367,7 +367,7 @@
|
|
|
<select id="getFilePageUrlListByNode" resultType="java.lang.String">
|
|
|
select pdf_page_url
|
|
|
from u_archive_file
|
|
|
- where is_deleted = 0
|
|
|
+ where is_deleted = 0 and pdf_page_url!= file_url
|
|
|
and archive_id in (
|
|
|
SELECT id
|
|
|
FROM u_archives_auto
|