Browse Source

退料查询修改

master
shenzhouyu 1 month ago
parent
commit
90f04a9671
  1. 2
      src/main/resources/mapper/production/ProductionReturnMapper.xml

2
src/main/resources/mapper/production/ProductionReturnMapper.xml

@ -102,7 +102,7 @@
trans_header a
join trans_detail_sub b on a.trans_no = b.trans_no and a.site = b.site
left join handling_unit c on b.sub_no = c.unit_id and b.site = c.site
where b.part_no = #{request.partNo} and a.order_ref1 = #{request.orderNo} and a.site = #{request.site} and c.unit_id is not null
where b.part_no = #{request.partNo} and b.batch_no = #{request.batchNo} and a.order_ref1 = #{request.orderNo} and a.site = #{request.site} and c.unit_id is not null
</select>
<select id="getLocation" resultType="com.gaotao.modules.warehouse.entity.Location">
select top 1 LocationID,Site,LocationName,WareHouseID,Active,locationGroupId,locationType

Loading…
Cancel
Save