|
|
|
@@ -35,15 +35,18 @@ |
|
|
|
<if test=" null != endTime "> |
|
|
|
and `end_time` <= #{endTime} |
|
|
|
</if> |
|
|
|
<if test=" null != status "> |
|
|
|
and `status` = #{status} |
|
|
|
</if> |
|
|
|
<if test=" null != name and ''!=name "> |
|
|
|
and `name` like concat('%',#{name},'%') |
|
|
|
</if> |
|
|
|
<if test=" null != statusList "> |
|
|
|
and status in |
|
|
|
<foreach collection="statusList" index="index" item="statusItem" open="(" separator="," close=")"> |
|
|
|
#{statusItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test=" null != name and ''!=name "> |
|
|
|
and `name` like concat('%',#{name},'%') |
|
|
|
</if> |
|
|
|
order by createtime desc |
|
|
|
</sql> |
|
|
|
|
|
|
|
|