| | |
| | | <if test="status != null and status != ''"> |
| | | and |
| | | ( |
| | | 1=1 |
| | | <if test='status.contains("1")'> |
| | | n.parent_ids LIKE '0,1,%' |
| | | or n.parent_ids LIKE '0,1,%' |
| | | </if> |
| | | <if test='status.contains("2")'> |
| | | or n.parent_ids LIKE '0,2,%' |
| | | </if> |
| | | <if test='status.contains("2")'> |
| | | <if test='status.contains("3")'> |
| | | or n.parent_ids LIKE '0,3,%' |
| | | </if> |
| | | ) |
| | | </if> |
| | | <if test="createTimeBegin != null"> |
| | | n.create_time>=#{createTimeBegin} |
| | | and n.create_time>=#{createTimeBegin} |
| | | </if> |
| | | <if test="createTimeEnd != null"> |
| | | n.create_time<=#{createTimeEnd} |
| | | and n.create_time<=#{createTimeEnd} |
| | | </if> |
| | | </where> |
| | | |