Antiloveg 8 years ago
parent
commit
d6b62f0949

+ 4 - 4
src/main/java/com/goafanti/demand/service/impl/DemandServiceImpl.java

@@ -384,11 +384,11 @@ public class DemandServiceImpl extends BaseMybatisDao<DemandMapper> implements D
 			params.put("keyword", keyword);
 		}
 
-		if (null != industryCategoryA && DemandPortalSearchSignType.ALL.getCode().equals(sign)) {
+		if (null != industryCategoryA ) {
 			params.put("industryCategoryA", industryCategoryA);
 		}
 
-		if (null != industryCategoryB && DemandPortalSearchSignType.ALL.getCode().equals(sign)) {
+		if (null != industryCategoryB ) {
 			params.put("industryCategoryB", industryCategoryB);
 		}
 
@@ -396,11 +396,11 @@ public class DemandServiceImpl extends BaseMybatisDao<DemandMapper> implements D
 			params.put("demandType", demandType);
 		}
 
-		if (null != budgetCostLower) {
+		if (null != budgetCostLower && DemandPortalSearchSignType.ALL.getCode().equals(sign)) {
 			params.put("budgetCostLower", budgetCostLower);
 		}
 
-		if (null != budgetCostUpper) {
+		if (null != budgetCostUpper && DemandPortalSearchSignType.ALL.getCode().equals(sign)) {
 			params.put("budgetCostUpper", budgetCostUpper);
 		}