修复已知问题
This commit is contained in:
@@ -142,10 +142,10 @@ public class CompanyController extends BaseController {
|
|||||||
@ApiOperation("修改企业信息")
|
@ApiOperation("修改企业信息")
|
||||||
@PutMapping()
|
@PutMapping()
|
||||||
public ApiResult<?> update(@RequestBody Company company) {
|
public ApiResult<?> update(@RequestBody Company company) {
|
||||||
// 待授权的二级域名
|
|
||||||
String domain = company.getFreeDomain().concat(".websoft.top");
|
|
||||||
// 授权新的免费域名
|
// 授权新的免费域名
|
||||||
if (StrUtil.isNotBlank(company.getFreeDomain())) {
|
if (StrUtil.isNotBlank(company.getFreeDomain())) {
|
||||||
|
// 待授权的二级域名
|
||||||
|
String domain = company.getFreeDomain().concat(".websoft.top");
|
||||||
// 删除旧授权域名
|
// 删除旧授权域名
|
||||||
final Domain one = domainService.getOne(new LambdaQueryWrapper<Domain>().eq(Domain::getType, 2).eq(Domain::getCompanyId, company.getCompanyId()).eq(Domain::getDeleted,0).last("limit 1"));
|
final Domain one = domainService.getOne(new LambdaQueryWrapper<Domain>().eq(Domain::getType, 2).eq(Domain::getCompanyId, company.getCompanyId()).eq(Domain::getDeleted,0).last("limit 1"));
|
||||||
if(one != null){
|
if(one != null){
|
||||||
|
|||||||
Reference in New Issue
Block a user