소스 검색

fix 修改数据权限问题

chenchen 4 달 전
부모
커밋
1101ee71d3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      application-webadmin/src/main/java/com/tourism/webadmin/app/wechat/controller/WechatFoodIndexController.java

+ 2 - 2
application-webadmin/src/main/java/com/tourism/webadmin/app/wechat/controller/WechatFoodIndexController.java

@@ -103,8 +103,8 @@ public class WechatFoodIndexController {
         filter.setIsHotFood(1);
 
         MyOrderParam myOrderParam = new MyOrderParam();
-        myOrderParam.add(new MyOrderParam.OrderInfo("totalSales",false,null));
-        String orderBy = MyOrderParam.buildOrderBy(myOrderParam, RestaurantInfo.class);
+        myOrderParam.add(new MyOrderParam.OrderInfo("sales",false,null));
+        String orderBy = MyOrderParam.buildOrderBy(myOrderParam, RestaurantFoodInfo.class);
 
         PageMethod.startPage(1, 4, true);
         List<RestaurantFoodInfo> foodInfoList = restaurantFoodInfoService.getRestaurantFoodInfoList(filter, orderBy);