wms 入仓单打印
This commit is contained in:
@@ -85,6 +85,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="salesmanId" column="SALESMAN_ID" />
|
||||
<result property="salesmanName" column="SALESMAN_NAME" />
|
||||
<result property="settlementCurrency" column="SETTLEMENT_CURRENCY" />
|
||||
<result property="materialQuantity" column="material_quantity" />
|
||||
<result property="materialCode" column="material_code" />
|
||||
<result property="materialName" column="material_name" />
|
||||
<result property="pieceCount" column="piece_count" />
|
||||
<result property="netWeight" column="net_weight" />
|
||||
<result property="grossWeight" column="gross_weight" />
|
||||
<result property="unitCode" column="unit_code" />
|
||||
<result property="packName" column="pack_name" />
|
||||
<result property="storageLocationName" column="storage_location_name" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectStockInOrderPo">
|
||||
@@ -466,4 +475,69 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ORDER BY imd.material_detail_id
|
||||
</select>
|
||||
|
||||
|
||||
<select id="queryNoticePrint" resultMap="StockInOrderResult">
|
||||
SELECT
|
||||
a.notice_number,
|
||||
a.in_order_number,
|
||||
a.status,
|
||||
a.warehouse_name,
|
||||
a.supplier_name,
|
||||
a.shipper_name,
|
||||
a.order_type_name,
|
||||
a.expect_time,
|
||||
a.material_quantity,
|
||||
a.manufacturer,
|
||||
a.contact_person,
|
||||
a.tel,
|
||||
a.vehicle_info,
|
||||
a.delivery_address,
|
||||
a.warehouse_date,
|
||||
a.remark,
|
||||
a.create_time
|
||||
FROM stock_in_order a
|
||||
WHERE a.del_flag = 1
|
||||
AND a.in_order_number = #{inOrderNumber}
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<resultMap type="com.mhd.wms.domain.inMaterialDetail.repository.po.InMaterialDetailPO" id="MaterialDetailResult">
|
||||
<result property="materialCode" column="material_code"/>
|
||||
<result property="materialName" column="material_name"/>
|
||||
<result property="pieceCount" column="piece_count"/>
|
||||
<result property="totalNetWeight" column="total_net_weight"/>
|
||||
<result property="totalGrossWeight" column="total_gross_weight"/>
|
||||
<result property="unitCode" column="unit_code"/>
|
||||
<result property="packName" column="pack_name"/>
|
||||
<result property="batchNumber" column="batch_number"/>
|
||||
<result property="storageLocationName" column="storage_location_name"/>
|
||||
<result property="quantity" column="quantity"/>
|
||||
<result property="inboundQuantity" column="inbound_quantity"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
<select id="queryNoticePrintDetail" resultMap="MaterialDetailResult">
|
||||
SELECT
|
||||
b.material_code,
|
||||
b.material_name,
|
||||
b.piece_count,
|
||||
b.total_net_weight,
|
||||
b.total_gross_weight,
|
||||
b.unit_code,
|
||||
b.pack_name,
|
||||
b.batch_number,
|
||||
b.storage_location_name,
|
||||
b.quantity,
|
||||
b.inbound_quantity
|
||||
FROM in_material_detail b
|
||||
WHERE b.del_flag = 1
|
||||
AND b.in_order_number = #{inOrderNumber}
|
||||
ORDER BY b.material_code
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user