Browse Source

仓库报错调整

training
kilo 1 year ago
parent
commit
51c1233259
  1. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataGoodsAreaServiceImpl.java

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataGoodsAreaServiceImpl.java

@ -167,11 +167,13 @@ public class BasicdataGoodsAreaServiceImpl extends BaseServiceImpl<BasicdataGood
//查询当前登陆用户能够操作的仓库列表
// BladeUser user = AuthUtil.getUser();
List<BasicdataWarehouseVO> myWarehouseList = basicdataWarehouseService.getMyWarehouseList();
if (Func.isNotEmpty(myWarehouseList)){
myWarehouseList.forEach(w->{
LambdaQueryWrapper<BasicdataGoodsAreaEntity> qw = Wrappers.<BasicdataGoodsAreaEntity>query().lambda().eq(BasicdataGoodsAreaEntity::getWarehouseId, w.getId());
List<BasicdataGoodsAreaEntity> basicdataGoodsAreaEntities = basicdataGoodsAreaMapper.selectList(qw);
w.setChildren(basicdataGoodsAreaEntities);
});
}
// //查询一级仓库节点信息
// List<BasicdataNodeVO> basicdataWarehouseVOList = baseMapper.selectFirstNode();
// //获取二节点的货区

Loading…
Cancel
Save