出库单新增字段查询;
This commit is contained in:
@@ -84,10 +84,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="inventoryDate" column="INVENTORY_DATE" />
|
||||
<result property="extAttr3" column="EXT_ATTR_3" />
|
||||
<result property="extAttr4" column="EXT_ATTR_4" />
|
||||
<result property="contractFee" column="contract_fee" />
|
||||
<result property="monthlyWarehouseFee" column="monthly_warehouse_fee" />
|
||||
<result property="halfMonthWhFee" column="half_month_wh_fee" />
|
||||
<result property="discountRate" column="discount_rate" />
|
||||
<result property="singleVolume" column="single_volume" />
|
||||
<result property="singleGrossWeight" column="single_gross_weight" />
|
||||
<result property="lotNo" column="lot_no" />
|
||||
<result property="inOrderNumber" column="in_order_number" />
|
||||
<result property="stockUnit" column="stock_unit" />
|
||||
<result property="stockQuantity" column="stock_quantity" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
<sql id="selectMaterialDetailPo">
|
||||
a.contract_fee ,
|
||||
a.monthly_warehouse_fee ,
|
||||
a.half_month_wh_fee ,
|
||||
a.discount_rate ,
|
||||
a.single_volume ,
|
||||
a.single_gross_weight ,
|
||||
a.lot_no ,
|
||||
a.stock_quantity ,
|
||||
a.stock_unit ,a.in_order_number ,
|
||||
a.material_detail_id, a.organization_id, a.organization_name, a.top_organization_id, a.unique_id, a.out_order_number, a.material_base_info_id, a.line_number, a.material_code, a.material_name, a.bar_code, a.weight_limit, a.volume_limit,
|
||||
a.quantity, a.already_allocation_quantity, a.allocation_quantity, a.picking_quantity, a.check_quantity, ROUND(GREATEST(0, IFNULL(a.quantity, 0) - IFNULL(a.check_quantity, 0), IFNULL(a.picking_quantity, 0) - IFNULL(a.check_quantity, 0)), 2) AS wait_check_quantity,
|
||||
a.pack_id, a.pack_code, a.pack_name, a.pack_detail_id, a.unit_code, a.unit_name, a.material_warehouse_control_id, a.serial_number_manage,
|
||||
|
||||
Reference in New Issue
Block a user