feat(cargoSpace): 新增货位锁定功能并优化UI显示
- 在BasCargoSpaceMapper中新增lockedCargoSpace方法用于批量锁定货位 - 在BasCargoSpaceMapper.xml中实现根据货位ID锁定同一通道货位的SQL逻辑 - 在BasCargoSpaceServiceImpl中增加锁定状态变更时的业务处理逻辑 - 注释掉index.vue中的巷道ID列以优化界面展示 - 修改空间计划图表中出库分配的颜色配置提升可视化效果
This commit is contained in:
@@ -158,6 +158,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</trim>
|
||||
where cargo_space_id = #{cargoSpaceId}
|
||||
</update>
|
||||
<update id="lockedCargoSpace">
|
||||
update bas_cargo_space
|
||||
set locked = #{locked}
|
||||
where group_coding_no in (
|
||||
select group_coding_no from bas_cargo_space where cargo_space_id = #{cargoSpaceId}
|
||||
)
|
||||
and group_coding > #{groupCoding}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBasCargoSpaceByCargoSpaceId" parameterType="String">
|
||||
delete from bas_cargo_space where cargo_space_id = #{cargoSpaceId}
|
||||
|
||||
Reference in New Issue
Block a user