diff --git a/mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml b/mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml index 4c70946..2660796 100644 --- a/mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml +++ b/mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml @@ -7,7 +7,7 @@ ${@com.mdp.Util@trimWhere(ew.customSqlSegment)} - and exists(select 1 from form.form_data_process_approva app where app.proc_inst_id=#{ext.procInstId} and res.id=app.form_data_id ) + and exists(select 1 from form_data_process_approva app where app.proc_inst_id=#{ext.procInstId} and res.id=app.form_data_id ) and exists ( select 1 from form.form_data_tag tag where tag.data_id = res.id and tag.tag_id in