|
@@ -183,10 +183,11 @@
|
|
LEFT JOIN enterprise f ON b.customer_user_id = f.customer_id
|
|
LEFT JOIN enterprise f ON b.customer_user_id = f.customer_id
|
|
LEFT JOIN customs_declaration_file g ON a.bgdhgbh = g.customs_no
|
|
LEFT JOIN customs_declaration_file g ON a.bgdhgbh = g.customs_no
|
|
WHERE
|
|
WHERE
|
|
- g.customs_file_id IS NULL
|
|
|
|
- OR g.entrust_file_id IS NULL
|
|
|
|
|
|
+ (g.customs_file_id IS NULL
|
|
|
|
+ OR g.entrust_file_id IS NULL)
|
|
AND a.deleted = 0
|
|
AND a.deleted = 0
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
<select id="queryList4FilingDocBySearch"
|
|
<select id="queryList4FilingDocBySearch"
|
|
resultType="com.trade.service.trade.filingdoc.vo.CustomsDeclaration4FilingDocVO">
|
|
resultType="com.trade.service.trade.filingdoc.vo.CustomsDeclaration4FilingDocVO">
|
|
select
|
|
select
|