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