| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.mes.common.config.Const; |
| | | import com.mes.edgstoragecage.entity.EdgStorageCage; |
| | | import com.mes.edgstoragecage.entity.EdgStorageCageDetails; |
| | |
| | | //获取笼内的详情数据 |
| | | List<EdgSlotRemainVO> edgSlotRemainVOS = edgStorageCageDetailsService.querySlotRemainWidth(cellLength, glassGap); |
| | | //按照查询结果对笼内现有玻璃的格子尺寸进行更新 |
| | | edgStorageCageService.resetSlotRemainWidth(edgSlotRemainVOS); |
| | | if(CollectionUtils.isNotEmpty(edgSlotRemainVOS)){ |
| | | edgStorageCageService.resetSlotRemainWidth(edgSlotRemainVOS); |
| | | } |
| | | return Boolean.TRUE; |
| | | } |
| | | } |