Explorar el Código

fix bug on 2020.12.7

jiequan.bi hace 4 años
padre
commit
255693fb76

+ 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