|
|
@@ -1779,9 +1779,8 @@
|
|
|
where db.MATERIAL_ID = #{materialId}
|
|
|
and apo.SUPPLIER_UNIT_ID = #{supplierId}
|
|
|
and apo.deleted = 0
|
|
|
- <if test="purchaseOrgId != null">
|
|
|
- and apo.purchasing_organization_id = #{purchaseOrgId}
|
|
|
- </if>
|
|
|
+ <!-- 只有达兴能源在用,默认采购组织ID为2 -->
|
|
|
+ and apo.purchasing_organization_id = 2
|
|
|
<if test="remark != null">
|
|
|
and instr(db.RESULT_FOREIGN_SHIP_NAME, #{remark}) > 0
|
|
|
</if>
|