|
@@ -1055,7 +1055,7 @@
|
|
|
move_type as moveType,
|
|
|
scrq
|
|
|
from tld_return_gs_removal
|
|
|
- where document_id = #{removalCode}
|
|
|
+ where removal_code = #{removalCode}
|
|
|
</select>
|
|
|
<!--查询移库子表中的供货仓库仓库-->
|
|
|
<select id="getSupplyWarehouseWhere" resultType="java.lang.String">
|
|
@@ -1316,7 +1316,8 @@
|
|
|
SELECT DISTINCT b.warehouse_where as warehouseWhere
|
|
|
FROM tld_return_gs_removal_z a
|
|
|
JOIN tld_storage_location b ON a.storage_location_code = b.storage_location_code
|
|
|
- WHERE a.document_id = #{removalCode}
|
|
|
+ join tld_return_gs_removal c on a.document_id = c.document_id
|
|
|
+ WHERE c.removal_code = #{removalCode}
|
|
|
</select>
|
|
|
<!--查询其他发货父表信息-->
|
|
|
<select id="getCreateOtherDeliveryMaterialsParent" resultType="java.util.Map">
|