徐州低空平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
765 B

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.dromara.sample.wayline.mapper.IAiCompareMapper">
<select id="listMediaFile" resultType="org.dromara.sample.wayline.model.dto.AiCompareMediaFileDTO">
SELECT mf.*,
mfi.file_name as mateFileName,
mfi.file_path as mateFilePath,
mfi.create_time as mateFileDate
FROM
media_file mf
LEFT JOIN ai_compare ai ON ai.job_id = mf.job_id
LEFT JOIN media_file mfi ON mfi.job_id = ai.template_id
WHERE mfi.job_id=#{jobId}
ORDER BY mf.create_time asc
</select>
</mapper>