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