Parcourir la source

bugfix: 3702 二手交易(提测0317):商品详情页,报“请求失败”(不是所有商品都报错)

刘云鑫 il y a 1 mois
Parent
commit
45224d23f2

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/impl/CommonCommentServiceImpl.java

@@ -112,7 +112,7 @@ public class CommonCommentServiceImpl extends ServiceImpl<CommonCommentMapper, C
         commentWrapper.eq("cc.source_id", sourceId)
                 .eq("cc.parent_id", 0)
                 .eq("cc.delete_flag", CommonConstant.DELETE_FLAG_UNDELETE)
-                .orderByDesc("cc.create_time");
+                .orderByDesc("cc.created_time");
         Page<CommonCommentVo> page = null;
         if( null != pageNum && null != pageSize){
             page = new Page<>(pageNum, pageSize);