huangzhiguo 1 year ago
parent
commit
136232c69f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/user/CustomerServiceDao.xml

+ 1 - 1
src/main/resources/mapper/user/CustomerServiceDao.xml

@@ -67,7 +67,7 @@
             css.shopId,
             p.name AS productName,
             p.mainImage AS productImage,
-            (SELECT ADDTIME FROM cm_market_report WHERE marketId = csp.id AND delFlag = 0 AND visible = 1 ORDER BY ADDTIME DESC LIMIT 1) AS recentlyTime
+            (SELECT reportDate FROM cm_market_report WHERE marketId = csp.id AND delFlag = 0 AND visible = 1 ORDER BY reportDate DESC LIMIT 1) AS recentlyTime
         FROM cm_shop_product csp
                  LEFT JOIN cm_shop_statistics css ON css.id = csp.statisticsId
                  LEFT JOIN product p ON csp.productId = p.productId