@@ -212,6 +212,9 @@ public class LsCityServiceImpl extends ServiceImpl<SysCityMapper, SysCity> imple | |||
if (id == null) { | |||
return response.failure("机构ID不存在"); | |||
} | |||
if (id == BigInteger.valueOf(Long.valueOf(320117))) { | |||
return response.failure("根级无法删除"); | |||
} | |||
SysCity entity = sysCityMapper.selectById(id); | |||
if (entity == null) { | |||
return response.failure("机构信息不存在"); |