| | |
| | | <if test="query.content != null"> |
| | | and (t1.hierarchy_name like concat('%',#{query.content},'%') or t2.description like concat('%',#{query.content},'%')) |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime !='' and query.endTime!=null and query.endTime !=''"> |
| | | and t1.create_time between #{query.startTime} and #{query.endTime} |
| | | <if test="query.startTime != null and query.startTime !=''"> |
| | | and t1.create_time > #{query.startTime} |
| | | </if> |
| | | <if test="query.endTime!=null and query.endTime !=''"> |
| | | and #{query.endTime} >t1.create_time |
| | | </if> |
| | | |
| | | ) as o where 1=1 |