oms-入仓通知单打印
This commit is contained in:
+63
@@ -456,4 +456,67 @@
|
||||
<select id="getGoodsInfoByMaterialBaseInfoIds" parameterType="java.lang.Long" resultType="com.mhd.oms.domain.reservationStockInOrder.repository.po.MaterialGoodsRulePO">
|
||||
select * from "NGWL_TEST_WMS".MATERIAL_GOODS_RULE where MATERIAL_BASE_INFO_ID = #{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 reservation_stock_in_order a
|
||||
WHERE a.del_flag = 1
|
||||
AND a.in_order_id = #{inOrderId}
|
||||
</select>
|
||||
|
||||
<!-- 入仓通知单打印-明细查询 -->
|
||||
<select id="queryNoticePrintDetail" resultMap="ReservationInMaterialDetailResult">
|
||||
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 reservation_in_material_detail b
|
||||
WHERE b.del_flag = 1
|
||||
AND b.in_order_number = #{inOrderNumber}
|
||||
ORDER BY b.material_code
|
||||
</select>
|
||||
|
||||
<!-- 明细结果映射 -->
|
||||
<resultMap type="com.mhd.oms.domain.reservationInMaterialDetail.repository.po.ReservationInMaterialDetailPO" id="ReservationInMaterialDetailResult">
|
||||
<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>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user