@@ -240,7 +240,7 @@ public class TauvInspectDriverController { | |||
* @return | |||
*/ | |||
@GetMapping("/point") | |||
@RequiresPermissions(controllerName + ":point") | |||
// @RequiresPermissions(controllerName + ":point") | |||
public Response getDriverPointList(Integer driverId) { | |||
if (driverId == null || driverId <= 0) { | |||
return response.failure("河湖id不能为空"); |
@@ -160,7 +160,7 @@ public class SysCityServiceImpl extends ServiceImpl<SysCityMapper, SysCity> impl | |||
if (id == null) { | |||
return response.failure("机构ID不存在"); | |||
} | |||
if (id == BigInteger.valueOf(Long.valueOf(320117))) { | |||
if (id.equals(BigInteger.valueOf(Long.valueOf(3201)))) { | |||
return response.failure("根级无法删除"); | |||
} | |||
SysCity entity = sysCityMapper.selectById(id); |