| | |
| | | and job.job_info_id is not null |
| | | <if test="attach.startTime!=null and attach.startTime!='' and attach.endTime!=null and attach.endTime!=''"> |
| | | and (DATE_FORMAT(FROM_UNIXTIME(job.execute_time/1000,'%Y-%m-%d %H:%i:%s'),'%Y-%m-%d %H:%i:%s') between |
| | | #{attach.startTime} and #{attach.endTime} or rela.create_time between #{attach.startTime} and #{attach.endTime} ) |
| | | #{attach.startTime} and #{attach.endTime} or rela.create_time between #{attach.startTime}::timestamp and #{attach.endTime}::timestamp ) |
| | | </if> |
| | | <if test="attach.name!=null and attach.name!=''"> |
| | | and COALESCE(attach.nick_name, SUBSTRING_INDEX(SUBSTRING_INDEX(attach.NAME, '/', -1), '.', 1)) |