|
|
@@ -347,12 +347,10 @@ public class DemandServiceImpl extends BaseMybatisDao<DemandMapper> implements D
|
|
|
public Pagination<DemandSearchListBo> listDemandSearchList(String keyword, Integer industryCategoryA,
|
|
|
Integer industryCategoryB, Integer demandType, BigDecimal budgetCostLower, BigDecimal budgetCostUpper,
|
|
|
Integer pNo, Integer pSize) {
|
|
|
- if (StringUtils.isBlank(keyword)) {
|
|
|
- return null;
|
|
|
- }
|
|
|
-
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
- params.put("keyword", keyword);
|
|
|
+ if (!StringUtils.isBlank(keyword)) {
|
|
|
+ params.put("keyword", keyword);
|
|
|
+ }
|
|
|
|
|
|
if (null != industryCategoryA){
|
|
|
params.put("industryCategoryA", industryCategoryA);
|