springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngCarServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngCarServiceImpl.java
@@ -97,9 +97,9 @@ return R.fail("车牌号有误!"); } if (comMngCarSaveDTO.getId()==null) { ComMngCarDO exist = comMngCarDAO.selectOne(new QueryWrapper<ComMngCarDO>() List<ComMngCarDO> existList = comMngCarDAO.selectList(new QueryWrapper<ComMngCarDO>() .lambda().eq(ComMngCarDO::getPlateNum, comMngCarSaveDTO.getPlateNum())); if (exist != null) { if (!existList.isEmpty()) { return R.ok("车辆已存在"); } }