|
@@ -252,12 +252,16 @@ public class BrandServiceImpl implements BrandService {
|
|
|
Integer countUp = null;
|
|
|
Integer coverDown = null;
|
|
|
Integer coverUp = null;
|
|
|
- try {
|
|
|
+ if (body.getWdCount() != null){
|
|
|
countDown = Integer.parseInt(body.getWdCount().get(0));
|
|
|
countUp = Integer.parseInt(body.getWdCount().get(1));
|
|
|
+ }
|
|
|
+ if (body.getCoverCityCount() != null){
|
|
|
coverDown = Integer.parseInt(body.getCoverCityCount().get(0));
|
|
|
coverUp = Integer.parseInt(body.getCoverCityCount().get(1));
|
|
|
- }catch (Exception e){}
|
|
|
+ }
|
|
|
+// System.out.println(countDown+","+countUp);
|
|
|
+// System.out.println(coverDown+","+coverUp);
|
|
|
List<BrandSearch> brandSearches = brandMapper.searchSearchByMulti(text, industryCode, countUp, countDown, coverUp, coverDown);
|
|
|
if (userId == null || userId.equals("")){
|
|
|
for (BrandSearch search : brandSearches){
|