|
@@ -307,7 +307,14 @@ public class ApportionController {
|
|
|
//必中
|
|
|
bzSearchParams.put("hit","1");
|
|
|
bzSearchParams.put("delFlag","0");
|
|
|
- Page<ApplicationPrimary> bzPage = applicationPrimaryService.pageSearch(bzSearchParams,1,100000,false,sortList);
|
|
|
+ Page<ApplicationPrimary> bzPage = applicationPrimaryService.pageSearch(bzSearchParams,1,1000000,false,sortList);
|
|
|
+
|
|
|
+ if(bzPage.size() == 0 ){
|
|
|
+ bzSearchParams.put("hit","2");
|
|
|
+ bzSearchParams.put("delFlag","0");
|
|
|
+ bzPage = applicationPrimaryService.pageSearch(bzSearchParams,1,100000,false,sortList);
|
|
|
+ }
|
|
|
+
|
|
|
//随机
|
|
|
searchParams.put("hit","0");
|
|
|
searchParams.put("delFlag","0");
|