|
|
@ -78,6 +78,31 @@ |
|
|
</if> |
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="selectByUnitIdNoLock" resultType="com.gaotao.modules.handlingunit.entity.HandlingUnit"> |
|
|
|
|
|
SELECT unit_id, |
|
|
|
|
|
site, |
|
|
|
|
|
parent_unit_id, |
|
|
|
|
|
unit_type, |
|
|
|
|
|
unit_type_db, |
|
|
|
|
|
part_no, |
|
|
|
|
|
part_desc, |
|
|
|
|
|
qty, |
|
|
|
|
|
batch_no, |
|
|
|
|
|
location_id, |
|
|
|
|
|
warehouse_id, |
|
|
|
|
|
wdr, |
|
|
|
|
|
availability_control_id, |
|
|
|
|
|
status, |
|
|
|
|
|
status_db, |
|
|
|
|
|
freeze_flag, |
|
|
|
|
|
merged_flag, |
|
|
|
|
|
in_stock_flag, |
|
|
|
|
|
supplier_manufacture_date, |
|
|
|
|
|
supplier_batch_no |
|
|
|
|
|
FROM handling_unit WITH (NOLOCK) |
|
|
|
|
|
WHERE unit_id = #{unitId} |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
<!-- 查询子处理单元 --> |
|
|
<!-- 查询子处理单元 --> |
|
|
<!-- 注意:不能用NOLOCK,结果用于装箱/拆箱后updateHandlingUnit,脏读可能导致数据不一致 - rqrq --> |
|
|
<!-- 注意:不能用NOLOCK,结果用于装箱/拆箱后updateHandlingUnit,脏读可能导致数据不一致 - rqrq --> |
|
|
<select id="selectChildUnits" resultType="com.gaotao.modules.handlingunit.entity.dto.HandlingUnitDto"> |
|
|
<select id="selectChildUnits" resultType="com.gaotao.modules.handlingunit.entity.dto.HandlingUnitDto"> |
|
|
|