Commit e7fc3d0d authored by xukaiqiang's avatar xukaiqiang

bug

parent 758842b4
package com.yeejoin.amos.fas.business.param; package com.yeejoin.amos.fas.business.param;
import java.util.List;
import com.yeejoin.amos.fas.core.common.request.CommonPageable; import com.yeejoin.amos.fas.core.common.request.CommonPageable;
import com.yeejoin.amos.fas.core.common.request.CommonRequest; import com.yeejoin.amos.fas.core.common.request.CommonRequest;
import org.springframework.util.StringUtils;
import java.util.List;
public class QueryParamUtil { public class QueryParamUtil {
...@@ -14,6 +15,7 @@ public class QueryParamUtil { ...@@ -14,6 +15,7 @@ public class QueryParamUtil {
for (int i = 0; i < queryRequests.size(); i++) { for (int i = 0; i < queryRequests.size(); i++) {
String name = queryRequests.get(i).getName(); String name = queryRequests.get(i).getName();
String value = toString(queryRequests.get(i).getValue()); String value = toString(queryRequests.get(i).getValue());
if (!StringUtils.isEmpty(value)) {
if ("departmentId".equals(name)) { if ("departmentId".equals(name)) {
param.setDepartmentId(Long.valueOf(value)); param.setDepartmentId(Long.valueOf(value));
} else if ("pointNo".equals(name)) { } else if ("pointNo".equals(name)) {
...@@ -30,6 +32,7 @@ public class QueryParamUtil { ...@@ -30,6 +32,7 @@ public class QueryParamUtil {
param.setBindingPointIds(value.split(",")); param.setBindingPointIds(value.split(","));
} }
} }
}
if (commonPageable != null) { if (commonPageable != null) {
param.setPageNumber(commonPageable.getPageNumber()); param.setPageNumber(commonPageable.getPageNumber());
param.setPageSize(commonPageable.getPageSize()); param.setPageSize(commonPageable.getPageSize());
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
femo.coefficient AS evaluationO, femo.coefficient AS evaluationO,
femd.coefficient AS evaluationD, femd.coefficient AS evaluationD,
fm.rpni, fm.rpni,
fm.rpn,
fm.engineering, fm.engineering,
fm.management, fm.management,
fm.train, fm.train,
......
...@@ -394,6 +394,7 @@ ...@@ -394,6 +394,7 @@
rl.`name` as level, rl.`name` as level,
rs.risk_level_id, rs.risk_level_id,
rs.rpni, rs.rpni,
rs.rpn,
rs.is_region, rs.is_region,
rs.floor3d, rs.floor3d,
rs.is_indoor, rs.is_indoor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment