Browse Source

PDA签收订制品BUG修复

dist.1.3.0
汤建军 8 months ago
parent
commit
9c9b28ae3b
  1. 18
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml
  2. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

18
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml

@ -806,23 +806,23 @@
</select> </select>
<select id="selectAppDeliveryInventoryPage" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> <select id="selectAppDeliveryInventoryPage" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO">
SELECT SELECT
distinct ldsl.id id, ldsl.id id,
ldsl.sku sku, ldsl.sku sku,
ldsl.cargo_number cargoNumber, ldsl.cargo_number cargoNumber,
ldsl.description_goods descriptionGoods, ldsl.description_goods descriptionGoods,
ldl.signfor_state signforState, ldl.signfor_state signforState,
ldl.order_package_code orderPackageCode, ldl.order_package_code orderPackageCode,
lbm.specification specification, lbm.specification specification,
lbm.logpm_unit logpmUnit lbm.logpm_unit logpmUnit,
if(ldl.id is not null,IF(ldl.signfor_state = 2,1,0),0) AS signforNub
FROM FROM
logpm_distribution_reservation ldr logpm_dis_stock_list_detail AS ldsld
join logpm_distribution_reservation_stocklist ldrs on ldr.id = ldrs.reservation_id LEFT JOIN logpm_distribution_stock_list AS ldsl ON ldsld.stock_list_id = ldsl.id
join logpm_distribution_stock_list ldsl on ldsl.id = ldrs.stocklist_id LEFT JOIN logpm_distribution_loadscaninvn ldl ON ldsl.id = ldl.inventory_id AND ldsld.id = ldl.inventory_package_id
LEFT JOIN logpm_distribution_loadscaninvn ldl on ldsl.id = ldl.inventory_id LEFT JOIN logpm_basicdata_material lbm ON ldsl.material_id = lbm.id
left join logpm_basicdata_material lbm on ldsl.material_id = lbm.id
<where> <where>
ldr.is_deleted = 0 ldsld.is_deleted = 0
AND ldr.id = #{param.reservationId} AND ldsld.reservation_id = #{param.reservationId}
</where> </where>
</select> </select>
<select id="selectListbyink" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO"> <select id="selectListbyink" resultType="com.logpm.distribution.vo.app.DistributionAppStockArticleVO">

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -3889,7 +3889,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
} }
} }
return orderVos; return orderVos;
} }

Loading…
Cancel
Save