|
@@ -8,7 +8,7 @@
|
8
|
8
|
FROM business_delivery_storage_notice a
|
9
|
9
|
LEFT JOIN business_store_ware_detail b on b.zid=a.id AND b.type='notice'
|
10
|
10
|
LEFT JOIN business_contract_receive c on c.htbh=a.contract
|
11
|
|
- WHERE 1=1
|
|
11
|
+ WHERE 1=1 and a.audit_state=2 and a.in_Application in (1,3,4)
|
12
|
12
|
AND a.contract = #{obj.htbh,jdbcType=VARCHAR}
|
13
|
13
|
AND a.org_id = #{obj.orgId,jdbcType=INTEGER}
|
14
|
14
|
ORDER BY a.create_time DESC
|