| | |
| | | and a.title like concat ('%',#{record.title},'%') |
| | | </if> |
| | | <if test="record.columnIds != null"> |
| | | and a.column_id = |
| | | and a.column_id in |
| | | <foreach collection="record.columnIds" separator="," close=")" open="(" item="item"> |
| | | #{item} |
| | | </foreach> |
| | |
| | | <if test="record.columnCode != null and record.columnCode != ''"> |
| | | and c.column_code=#{record.columnCode} |
| | | </if> |
| | | <if test="record.columnIds != null"> |
| | | and c.id in |
| | | <foreach collection="record.columnIds" item="item" open="(" close=")" separator=","> |
| | | ${item} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |