PDA抄码修改

This commit is contained in:
秦鸿展
2026-04-17 18:06:16 +08:00
parent 5d78a94f29
commit dfb360e123
12 changed files with 477 additions and 6 deletions
@@ -63,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="totalVolume" column="total_volume" />
<result property="outUniqueId" column="out_unique_id" />
<result property="copyCodeReferenceIds" column="COPY_CODE_REFERENCE_IDS" />
<result property="pickedCopyCodeReferenceIds" column="picked_copy_code_reference_ids" />
</resultMap>
@@ -79,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.create_time, a.create_by, a.create_by_name, a.update_time, a.update_by, a.update_by_name, a.del_flag,
a.total_area, a.total_gross_weight, a.total_net_weight, a.total_volume, a.out_unique_id,
a.COPY_CODE_REFERENCE_IDS,
a.picked_copy_code_reference_ids,
omd.in_order_number, omd.lot_no as lot_number
</sql>
@@ -265,6 +267,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHEN #{item.uniqueId} THEN COALESCE(#{item.totalArea}, total_area)
</foreach>
</trim>
<trim prefix="picked_copy_code_reference_ids = CASE unique_id" suffix="END,">
<foreach collection="pickingMaterialDetailList" item="item" index="index">
WHEN #{item.uniqueId} THEN COALESCE(#{item.pickedCopyCodeReferenceIds}, picked_copy_code_reference_ids)
</foreach>
</trim>
update_by = #{updateBy},
update_by_name = #{updateByName},
update_time = #{updateTime}