Browse Source

1.老系统同步数据库位信息清空

dist.1.3.0
zhenghaoyu 8 months ago
parent
commit
ddbb7c7814
  1. 12
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/mapper/AdvanceDetailMapper.xml

12
blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/mapper/AdvanceDetailMapper.xml

@ -122,9 +122,6 @@
<select id="getByUnitNoByPyl" resultType="com.logpm.oldproject.vo.DistributionParcelListEntityVO">
select w.title warehouse,
od.unitNo packetBarCode,
c.title cargoTitle,
s.title shelfTitle,
l.title goodsAllocation,
ad.firstPackName firsts,
ad.secondPackName `second`,
ad.thirdPackName thirdProduct,
@ -138,9 +135,6 @@
from ht_order_detail od
left join ht_advance_detail ad on ad.unitNo = od.unitNo
left join ht_warehouse w on w.id = od.now_warehouse_id
left join ht_location l on od.location_id = l.id
left join ht_shelf s on l.shelf_id = s.id
left join ht_cargo c on s.cargo_id = c.id
where od.unitNo = #{unitNo}
</select>
@ -171,9 +165,6 @@
<select id="getByUnitNoAndWarehouseId" resultType="com.logpm.oldproject.vo.DistributionParcelListEntityVO">
select w.title warehouse,
od.unitNo packetBarCode,
c.title cargoTitle,
s.title shelfTitle,
l.title goodsAllocation,
ad.firstPackName firsts,
ad.secondPackName `second`,
ad.thirdPackName thirdProduct,
@ -189,9 +180,6 @@
from ht_order_detail od
left join ht_advance_detail ad on ad.unitNo = od.unitNo
left join ht_warehouse w on w.id = od.now_warehouse_id
left join ht_location l on od.location_id = l.id
left join ht_shelf s on l.shelf_id = s.id
left join ht_cargo c on s.cargo_id = c.id
left join ht_detail_product hdp on hdp.unit_no = od.unitNo
where od.unitNo = #{unitNo}
and od.now_warehouse_id = #{oldWarehouseId}

Loading…
Cancel
Save