数字孪生后台

This commit is contained in:
猫猫guowen
2025-12-24 13:06:45 +08:00
parent d427ebf6d0
commit bec185c139
10 changed files with 355 additions and 12 deletions

View File

@@ -195,6 +195,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
ORDER BY the_platoon, the_floor,the_column
</select>
<select id="selectCargoSpaceWithStock" resultMap="BasCargoSpaceResult">
select
bcs.cargo_space_id,
bcs.cargo_space_name,
bcs.the_platoon,
bcs.the_column,
bcs.the_floor,
bcs.status,
bs.tray_code,
bs.product_id,
bs.product_name
from bas_cargo_space bcs
left join bas_stock bs on bcs.cargo_space_id = bs.cargo_space_id
where bcs.status in ('1', '2')
</select>
<select id="selectBasCargoSpaceListByRoadway" parameterType="BasCargoSpace" resultMap="BasCargoSpaceResult">
select bcs.cargo_space_id, bcs.warehouse_id, bcs.roadway_id, bcs.cargo_space_name,
bcs.the_platoon, bcs.the_column, bcs.the_floor, bcs.status, bcs.locked, bs.tray_code, bs.product_id,