| | |
| | | columnEntity.setIsNav(adminAddColumnDto.getIsNav()); |
| | | columnEntity.setContentType(adminAddColumnDto.getContentType()); |
| | | this.baseMapper.insert(columnEntity); |
| | | return Result.ok("添加成功"); |
| | | return Result.ok("添加成功", columnEntity.getId()); |
| | | } |
| | | |
| | | @Override |
| | |
| | | Long companyId = 0L; |
| | | if(CollUtil.isNotEmpty(companyEntities)){ |
| | | for(CompanyEntity companyEntity : companyEntities){ |
| | | boolean contains = StrUtil.contains(website, companyEntity.getWebAddress()); |
| | | boolean contains = StrUtil.contains(companyEntity.getWebAddress(), website); |
| | | if(contains){ |
| | | companyId = companyEntity.getId(); |
| | | } |