|
|
@@ -129,7 +129,7 @@ public class PortalController extends BaseController {
|
|
|
List<DemandListBo> boutiquedemand = demandService.selectDemandList(1);
|
|
|
List<DemandListBo> reboutiquedemand = new ArrayList<DemandListBo>();
|
|
|
if (boutiquedemand.size() >= 4) {
|
|
|
- int index = (int) new Random().nextInt(boutiquedemand.size() - 3);
|
|
|
+ int index = new Random().nextInt(boutiquedemand.size() - 3);
|
|
|
reboutiquedemand.add(boutiquedemand.get(index));
|
|
|
reboutiquedemand.add(boutiquedemand.get(index + 1));
|
|
|
reboutiquedemand.add(boutiquedemand.get(index + 2));
|