@ -26,7 +26,7 @@ public interface ProjectManagementMapper {
*@paramprojectName
*@paramprojectName
*@return
*@return
*/
*/
@Select("select count(*) from hr_project_management where projectName=#{projectName}")
@Select("select count(*) from hr_project_management where projectName=#{projectName} and isdel = 0")
IntegergetByprojectName(StringprojectName);
IntegergetByprojectName(StringprojectName);
/**
/**
@ -103,7 +103,7 @@ public interface ProjectManagementMapper {
*@paramprojectId
*@paramprojectId
*@return
*@return
*/
*/
@Select("select projectId,projectName,projectPermissions,experimentalGoal,caseDescription,experimentSuggests,state,isstartexperimental,isstartexperimentSuggests,userId,knowledgePoints,experimentIntroduction from hr_project_management where isdel=0 and projectId=#{projectId}")
@Select("select knowledgePointsIsEnable,experimentIntroductionIsEnable,isstartexperimentSuggests,projectId,projectName,projectPermissions,experimentalGoal,caseDescription,experimentSuggests,state,isstartexperimental,isstartexperimentSuggests,userId,knowledgePoints,experimentIntroduction from hr_project_management where isdel=0 and projectId=#{projectId}")
ProjectManagementgetProjectId(IntegerprojectId);
ProjectManagementgetProjectId(IntegerprojectId);
/**
/**
@ -164,10 +164,14 @@ public interface ProjectManagementMapper {
@ -277,8 +281,8 @@ public interface ProjectManagementMapper {
*
*
*@parammanagement
*@parammanagement
*/
*/
@Insert("INSERT INTO hr_project_management(projectName,projectPermissions,experimentalGoal,caseDescription,experimentSuggests,state,founder,systemId,creationTime,isstartexperimental,isstartexperimentSuggests,userId,knowledgePoints,experimentIntroduction,knowledgePointsIsEnable,experimentIntroductionIsEnable)"
@Insert("INSERT INTO hr_project_management(roleId,projectName,projectPermissions,experimentalGoal,caseDescription,experimentSuggests,state,founder,systemId,creationTime,isstartexperimental,isstartexperimentSuggests,userId,knowledgePoints,experimentIntroduction,knowledgePointsIsEnable,experimentIntroductionIsEnable)"