Browse Source

修复缺陷

lyq 1 year ago
parent
commit
5d6f5ee4f7

+ 2 - 2
src/main/resources/mapper/download/CentereventTDownloadsMapper.xml

@@ -114,10 +114,10 @@
             reason,
             ch.attach_path AS attachPath
         FROM
-            centerevent_t_downloads
+            centerevent_t_downloads a
             LEFT JOIN onest_data.centerdata_t_attach ch ON log_id = ch.bus_id
         WHERE
-            flag IS NULL AND DATEDIFF( create_time, now( ) ) = 0
+            flag IS NULL AND DATEDIFF( a.create_time, now( ) ) = 0
     </select>
 
     <select id="validDownloadIsOne" parameterType="string" resultMap="CentereventTDownloadsResult">