Browse Source

升级2.0.0

master
陈裕财 2 years ago
parent
commit
80dcc5b739
  1. 4
      mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml

4
mdp-form/src/main/java/com/mdp/form/mapper/FormDataMapper.xml

@ -9,8 +9,8 @@
<!--下面可以添加更多查询条件,正常的if 条件都是支持的-->
<if test="ext.procInstId!=null and ext.procInstId!=''">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 )</if>
<if test=" tagIds !=null"> and exists ( select 1 from form.form_data_tag tag where tag.data_id = res.id and tag.tag_id in
<foreach collection="tagIds" item="item" index="index" open="(" separator="," close=")" >
<if test="ext.tagIds !=null"> and exists ( select 1 from form.form_data_tag tag where tag.data_id = res.id and tag.tag_id in
<foreach collection="ext.tagIds" item="item" index="index" open="(" separator="," close=")" >
#{item}
</foreach> )
</if>

Loading…
Cancel
Save