修复项目复制和查询项目名称是否存在

master
zhiyong.ning 4 years ago
parent f6329de514
commit 02b28584d7
  1. 2
      src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java

@ -23,7 +23,7 @@ public interface ProjectManagementMapper {
* @param projectName
* @return
*/
@Select("select count(*) from hr_project_management where projectName=#{projectName} and isdel = 1")
@Select("select count(*) from hr_project_management where projectName=#{projectName} and isdel = 0")
Integer getByprojectName(String projectName);
/**

Loading…
Cancel
Save