Browse Source

'优化'

master
daixiantong 4 years ago
parent
commit
1e3a370897
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/main/java/com/taauav/admin/controller/TauvInspectDriverController.java
  2. +1
    -1
      src/main/java/com/taauav/admin/service/impl/SysCityServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/admin/controller/TauvInspectDriverController.java View File

* @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不能为空");

+ 1
- 1
src/main/java/com/taauav/admin/service/impl/SysCityServiceImpl.java View File

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);

Loading…
Cancel
Save