|
|
@ -4,12 +4,12 @@ |
|
|
|
|
|
|
|
<select id="queryReport" resultType="org.nl.wms.sch.report.service.dto.ReportDto"> |
|
|
|
SELECT |
|
|
|
p.point_code as pointCode, |
|
|
|
DISTINCT p.point_code as pointCode, |
|
|
|
m.productDescription, |
|
|
|
m.supplierName |
|
|
|
FROM |
|
|
|
sch_base_point p |
|
|
|
LEFT JOIN sch_base_material m ON p.vehicle_code2 = m.lotSN |
|
|
|
LEFT JOIN sch_base_material m ON p.vehicle_code2 = m.PalletSN |
|
|
|
WHERE |
|
|
|
region_code IN ( 'HW', 'HWK' ) |
|
|
|
AND vehicle_code2 IS NOT NULL |
|
|
|