| | |
| | | <if test="failureCount != null "> and failure_count = #{failureCount}</if> |
| | | <if test="failureDescription != null and failureDescription != ''"> and failure_description like concat('%', #{failureDescription}, '%')</if> |
| | | <if test="importTime != null"> and import_time = #{importTime}</if> |
| | | <if test="beginTime != null and beginTime != ''"><!-- 开始时间检索 --> |
| | | and date_format(import_time,'%y%m%d') >= date_format(#{beginTime},'%y%m%d') |
| | | </if> |
| | | <if test="endTime != null and endTime != ''"><!-- 结束时间检索 --> |
| | | and date_format(import_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') |
| | | </if> |
| | | |
| | | </where> |
| | | order by import_time desc |
| | | </select> |