ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java
@@ -397,7 +397,7 @@ // 判断车牌号是否存在 if (tCarService.selectCount(new EntityWrapper<TCar>().eq("carLicensePlate", tCar.getCarLicensePlate())) > 0){ return ResultUtil.runErr("车牌号已存在"); return ResultUtil.error("车牌号已存在"); } if (1 == roleType){ //平台 @@ -504,7 +504,7 @@ // 判断车牌号是否存在 if (tCarService.selectCount(new EntityWrapper<TCar>().eq("carLicensePlate", tCar.getCarLicensePlate()) .ne("id", tCar.getId())) > 0){ return ResultUtil.runErr("车牌号已存在"); return ResultUtil.error("车牌号已存在"); } if (1 == roleType){ //平台