huanghongfa
2021-05-31 a0cedd84a89974797bfb3cc8e192afe41e8a2592
修改bug
1个文件已修改
4 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngCarServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | 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("车辆已存在");
            }
        }