| | |
| | | <where> |
| | | <if test="terms.ids != null and terms.ids.size > 0"> |
| | | and id in |
| | | <foreach collection="terms.id" item="terms.ids" index="index" open="(" separator="," close=")"> |
| | | #{terms.id} |
| | | <foreach collection="terms.ids" item="id" index="index" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="terms.id != null and terms.id !=''"> |
| | |
| | | </if> |
| | | <if test="terms.processList != null and terms.processList.size > 0"> |
| | | and process in |
| | | <foreach collection="terms.process" item="terms.processList" index="index" open="(" separator="," close=")"> |
| | | #{terms.process} |
| | | <foreach collection="terms.processList" item="process" index="index" open="(" separator="," close=")"> |
| | | #{process} |
| | | </foreach> |
| | | </if> |
| | | <if test="terms.process != null and terms.process !=''"> |