库内(移位、盘点)批次属性修改

出库管理调整修改
This commit is contained in:
秦鸿展
2026-02-02 13:31:29 +08:00
parent d91779cf5c
commit 2190fcf623
15 changed files with 967 additions and 21 deletions
@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="batchRefNo" column="BATCH_REF_NO" />
<result property="sheetRefNo" column="SHEET_REF_NO" />
<result property="countryOfOrigin" column="COUNTRY_OF_ORIGIN" />
<result property="casePalletNo" column="CASE_PALLET_NO" />
<result property="boxPalletNo" column="BOX_PALLET_NO" />
<result property="currency" column="CURRENCY" />
<result property="declareQuantity" column="DECLARE_QUANTITY" />
<result property="caseCount" column="CASE_COUNT" />
@@ -98,7 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.BATCH_REF_NO,
a.SHEET_REF_NO,
a.COUNTRY_OF_ORIGIN,
a.CASE_PALLET_NO,
a.BOX_PALLET_NO,
a.CURRENCY,
a.DECLARE_QUANTITY,
a.CASE_COUNT,
@@ -44,6 +44,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateByName" column="update_by_name" />
<result property="delFlag" column="del_flag" />
<result property="isAble" column="is_able" />
<result property="unit" column="unit" />
<result property="netWeight" column="net_weight" />
<result property="grossWeight" column="gross_weight" />
<result property="volume" column="volume" />
<result property="area" column="area" />
<result property="extAttr1" column="ext_attr_1" />
<result property="extAttr2" column="ext_attr_2" />
<result property="extAttr3" column="ext_attr_3" />
<result property="extAttr4" column="ext_attr_4" />
<result property="productionDate" column="production_date" />
<result property="expiryDate" column="expiry_date" />
<result property="inventoryDate" column="inventory_date" />
<result property="batchRefNo" column="batch_ref_no" />
<result property="sheetRefNo" column="sheet_ref_no" />
<result property="boxPalletNo" column="box_pallet_no" />
</resultMap>
@@ -718,4 +733,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.BATCH_REF_NO = #{batchRefNo}
</if>
</select>
<!-- 根据库存ID查询库存信息(包含批次属性字段) -->
<select id="selectByIdWithBatchAttributes" parameterType="java.lang.Long" resultMap="MaterialInventoryResult">
SELECT
material_inventory_id, organization_id, organization_name, top_organization_id,
material_base_info_id, shipper_id, shipper_code, shipper_name, material_detail_id,
warehouse_id, warehouse_code, warehouse_name,
storage_section_id, storage_code, storage_name, storage_location_id, storage_location_code, storage_location_name,
batch_number, material_status_code, material_status_name,
container_id, container_code, container_type, container_type_name,
inventory_quantity, allocation_quantity, freeze_quantity, remark, is_able, unit,
net_weight, gross_weight, volume, area,
ext_attr_1, ext_attr_2, ext_attr_3, ext_attr_4,
production_date, expiry_date, inventory_date,
batch_ref_no, sheet_ref_no, box_pallet_no,
create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag
FROM material_inventory
WHERE material_inventory_id = #{materialInventoryId} AND del_flag = 1
</select>
</mapper>