| | |
| | | <sql id="where-part"> |
| | | <if test="terms != null"> |
| | | <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> |
| | | </if> |
| | | <if test="terms.id != null and terms.id !=''"> |
| | | and id = #{terms.id} |
| | | </if> |
| | |
| | | <if test="terms.statusName != null and terms.statusName !=''"> |
| | | and status_name = #{terms.statusName} |
| | | </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> |
| | | </if> |
| | | <if test="terms.process != null and terms.process !=''"> |
| | | and process = #{terms.process} |
| | | </if> |
| | |
| | | and want_user_name = #{terms.wantUserName} |
| | | </if> |
| | | <if test="terms.deleteStatus = null and terms.deleteStatus =''"> |
| | | and delete_status = '0' |
| | | and delete_status = 0 |
| | | </if> |
| | | <if test="terms.deleteStatus != null and terms.deleteStatus !=''"> |
| | | and delete_status = #{terms.deleteStatus} |
| | |
| | | limit #{page.offset}, #{page.size} |
| | | </select> |
| | | |
| | | |
| | | </mapper> |