|
@@ -75,26 +75,27 @@
|
|
|
<!-- 查询库位信息 -->
|
|
|
<select id="storageLocation" resultType="java.util.Map">
|
|
|
SELECT
|
|
|
- a.id,
|
|
|
- a.storage_location_code as storageLocationCode,
|
|
|
- a.material_id as materialId,
|
|
|
- sum( a.amount ) AS sum,
|
|
|
- a.serial,
|
|
|
- a.wbs as wbs,
|
|
|
- a.produc_batch as producBatch,
|
|
|
- a.supplier_id as supplierId,
|
|
|
- b.storage_location_name as storageLocationName ,
|
|
|
- b.warehouse_where as warehouseWhere,
|
|
|
- b.storage_location_type as storageLocationType,
|
|
|
- b.storage_location_capacity as storageLocationCapacity,
|
|
|
- b.is_not_disable as isNotDisable,
|
|
|
- b.create_time as createTime,
|
|
|
- b.is_product as isProduct,
|
|
|
- c.name as name,
|
|
|
- c.code as code,
|
|
|
- e.name as supplierName,
|
|
|
- f.name as warehouseName,
|
|
|
- p.name as companyName
|
|
|
+ a.id,
|
|
|
+ a.storage_location_code as storageLocationCode,
|
|
|
+ a.material_id as materialId,
|
|
|
+ sum( a.amount ) AS sum,
|
|
|
+ a.serial,
|
|
|
+ a.wbs as wbs,
|
|
|
+ a.produc_batch as producBatch,
|
|
|
+ a.supplier_id as supplierId,
|
|
|
+ b.storage_location_name as storageLocationName ,
|
|
|
+ b.warehouse_where as warehouseWhere,
|
|
|
+ b.storage_location_type as storageLocationType,
|
|
|
+ b.storage_location_capacity as storageLocationCapacity,
|
|
|
+ b.is_not_disable as isNotDisable,
|
|
|
+ b.create_time as createTime,
|
|
|
+ b.is_product as isProduct,
|
|
|
+ c.name as name,
|
|
|
+ c.code as code,
|
|
|
+ e.name as supplierName,
|
|
|
+ f.name as warehouseName,
|
|
|
+ p.name as companyName,
|
|
|
+ a.account_sleeve as accountSleeve
|
|
|
FROM
|
|
|
tld_inventory a
|
|
|
LEFT JOIN tld_storage_location b ON a.storage_location_code = b.storage_location_code
|