浏览代码

'优化'

master
daixiantong 4 年前
父节点
当前提交
1e3a370897
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

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

+ 1
- 1
src/main/java/com/taauav/admin/service/impl/SysCityServiceImpl.java 查看文件

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

正在加载...
取消
保存