diff --git a/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml b/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml index fdae6d3..4eb1fd3 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml +++ b/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml @@ -111,7 +111,7 @@ p.qual_flow_id as qualFlowId from biz_project_section t,dict_choose_process p where p.choose_process = t.choose_process - and t.project_id = ${projectId} + and t.project_id = #{projectId} @@ -161,7 +161,7 @@ left join biz_project_section_exception e on e.section_id = t.id and e.exception_id = ${exceptionId} where t.project_id = ${projectId} and t.status != '9' and not exists (select 1 from biz_project_section_exception e,biz_project_section s - where s.id = e.section_id and s.project_id = ${projectId} and e.exception_id != ${exceptionId} + where s.id = e.section_id and s.project_id = #{projectId} and e.exception_id != #{exceptionId} and e.section_id = t.id) @@ -174,8 +174,8 @@ t.status as status from biz_project_section t,biz_project_section_exception e where e.section_id = t.id - and t.project_id = ${projectId} - and e.exception_id = ${exceptionId} + and t.project_id = #{projectId} + and e.exception_id = #{exceptionId}