Browse Source

Merge branch 'master' of http://git.tjyourong.com.cn/ctop/adsp-boot

zhaoxian 4 years ago
parent
commit
0f8ffe3e0e

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/mapper/xml/MaterialTopMapper.xml

@@ -155,7 +155,7 @@
                       FROM
                       FROM
                           ctop_material_info info
                           ctop_material_info info
                       WHERE
                       WHERE
-                          info.CODE = t2.signature
+                          info.CODE = t1.signature
                       ORDER BY
                       ORDER BY
                           create_time DESC
                           create_time DESC
                       LIMIT 1),'') AS url,
                       LIMIT 1),'') AS url,
@@ -164,7 +164,7 @@
                       FROM
                       FROM
                           ctop_material_info info
                           ctop_material_info info
                       WHERE
                       WHERE
-                          info.CODE = t2.signature
+                          info.CODE = t1.signature
                       ORDER BY
                       ORDER BY
                           create_time DESC
                           create_time DESC
                       LIMIT 1),'') AS cover_url,
                       LIMIT 1),'') AS cover_url,
@@ -174,7 +174,7 @@
                          FROM
                          FROM
                              ctop_material_info info
                              ctop_material_info info
                          WHERE
                          WHERE
-                             info.CODE = t2.signature
+                             info.CODE = t1.signature
                          ORDER BY
                          ORDER BY
                              create_time DESC
                              create_time DESC
                          LIMIT 1
                          LIMIT 1