|
|
@@ -58,13 +58,17 @@ public class PortalSearchController extends BaseController {
|
|
|
if (StringUtils.isNumeric(pageNo)) {
|
|
|
pNo = Integer.parseInt(pageNo);
|
|
|
}
|
|
|
- try{
|
|
|
- new BigDecimal(upperPrice);
|
|
|
- new BigDecimal(lowerPrice);
|
|
|
- }catch (Exception e) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "金额"));
|
|
|
+ if (null!=upperPrice&&null!=lowerPrice) {
|
|
|
+ try{
|
|
|
+ new BigDecimal(upperPrice);
|
|
|
+ new BigDecimal(lowerPrice);
|
|
|
+ }catch (Exception e) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "金额"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+
|
|
|
Pagination<AchievementSearchListBo> achievementSearchList = achievementService.listAchievementSearchList(
|
|
|
keyword, dataCategory,category,fieldA, transferMode, pNo, pSize,dateSort,upperPrice,lowerPrice,internationalFlag);
|
|
|
|