|
@@ -1,8 +1,8 @@
|
|
|
package com.sky.ioc.tool;
|
|
|
|
|
|
-import com.sky.ioc.entity.life.Cuisine;
|
|
|
-import com.sky.ioc.entity.life.Parking;
|
|
|
-import com.sky.ioc.entity.life.Supermarket;
|
|
|
+import com.sky.ioc.entity.canteen.Cuisine;
|
|
|
+import com.sky.ioc.entity.parking.Parking;
|
|
|
+import com.sky.ioc.entity.supermarket.Supermarket;
|
|
|
import com.sky.ioc.entity.work.Access;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -69,7 +69,6 @@ public class FalseData {
|
|
|
CUISINELIST.add(new Cuisine("麻酱凤尾"));
|
|
|
CUISINELIST.add(new Cuisine("麻酱凤尾"));
|
|
|
CUISINELIST.add(new Cuisine("麻酱凤尾"));
|
|
|
- Collections.sort(CUISINELIST, (o1, o2) -> o2.getSalesVolume() - o1.getSalesVolume());
|
|
|
|
|
|
|
|
|
PARKINGLIST.add(new Parking("B201","张三","北京电信规划设计院","8","0"));
|
|
@@ -105,8 +104,6 @@ public class FalseData {
|
|
|
SUPERMARKETLIST.add(new Supermarket("雪碧"));
|
|
|
SUPERMARKETLIST.add(new Supermarket("牛板筋"));
|
|
|
SUPERMARKETLIST.add(new Supermarket("牛肉干"));
|
|
|
- Collections.sort(SUPERMARKETLIST, (o1, o2) -> Integer.valueOf(o2.getSalesVolume())-Integer.valueOf(o1.getSalesVolume()));
|
|
|
-
|
|
|
|
|
|
|
|
|
|