| | |
| | | QueryWrapper<Brand> wrapper = new QueryWrapper<>(brand); |
| | | wrapper.lambda().eq(Brand::getIsdeleted,Constants.ZERO); |
| | | // wrapper.lambda().eq(Brand::getStatus,Constants.ZERO); |
| | | wrapper.lambda().orderByAsc(Brand::getType); |
| | | wrapper.lambda().orderByAsc(Brand::getSortnum); |
| | | // 类型 0企业 1平台 |
| | | if (Constants.equalsInteger(user.getType(), Constants.UserType.SYSTEM.getKey())) { |
| | |
| | | .or().eq(Brand::getType,Constants.ONE) |
| | | ); |
| | | } |
| | | queryWrapper.lambda().orderByAsc(Brand::getType); |
| | | queryWrapper.lambda().orderByAsc(Brand::getSortnum); |
| | | IPage<Brand> brandIPage = brandMapper.selectPage(page, queryWrapper); |
| | | String prefixUrl = systemDictDataBiz.queryByCode(Constants.OSS, Constants.RESOURCE_PATH).getCode() |