| | |
| | | <if test="status != null and status != ''"> |
| | | AND a.state=#{status} |
| | | </if> |
| | | <if test="createTimeStartTime != null and createTimeStartTime != ''"> |
| | | and create_time > #{createTimeStartTime} |
| | | </if> |
| | | <if test="createTimeTimeEndTime != null and createTimeTimeEndTime != ''"> |
| | | and #{createTimeTimeEndTime} > create_time |
| | | </if> |
| | | <if test="classifyId != null and classifyId != ''"> |
| | | and classify_id in (select id FROM automessage_classify_administration where parent_id = #{classifyId}) |
| | | </if> |
| | | |
| | | </where> |
| | | order by update_time desc , create_time desc |
| | | </select> |