Commit e8a52f92 authored by xixinzhao's avatar xixinzhao

修改错误提示

parent 6b52b963
...@@ -128,7 +128,7 @@ public class OrganizationImpl extends BaseService<Organization,Organization, Org ...@@ -128,7 +128,7 @@ public class OrganizationImpl extends BaseService<Organization,Organization, Org
wrapper.last(" limit 1"); wrapper.last(" limit 1");
Organization downOrganization = this.baseMapper.selectOne(wrapper); Organization downOrganization = this.baseMapper.selectOne(wrapper);
if (ObjectUtils.isEmpty(downOrganization)) { if (ObjectUtils.isEmpty(downOrganization)) {
throw new BadRequest("最底层数据不可移"); throw new BadRequest("最底层数据不可移");
} }
organization.setSort(downOrganization.getSort()); organization.setSort(downOrganization.getSort());
this.updateById(organization); this.updateById(organization);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment