Commit d65c39df authored by caotao's avatar caotao

in 修改为like 提升查询效率

parent 462e1115
......@@ -271,18 +271,18 @@ public class McbWarningServiceImpl implements IMcbWarningService {
*/
@Override
public Object getMapRouteInfoByCodes(String province) {
List<String> projectOrgCodes = this.getProjectOrgCodes();
List<String> projectOrgCodes = permissionService.getCurrentUserAmosOrgCodes();
if(projectOrgCodes.isEmpty())
{
projectOrgCodes.add("NULL");
}
FeignClientResult<Object> result = mcbWarningFeign.getMapRouteInfoByCodes(province, projectOrgCodes, "in");
FeignClientResult<Object> result = mcbWarningFeign.getMapRouteInfoByCodes(province, projectOrgCodes, "like");
return result.getResult();
}
@Override
public Object getLampListPageByCodes(String questionRectificationStatus, Page page) {
List<String> projectOrgCodes = this.getProjectOrgCodes();
List<String> projectOrgCodes = permissionService.getCurrentUserAmosOrgCodes();
if(projectOrgCodes.isEmpty())
{
projectOrgCodes.add("NULL");
......@@ -293,7 +293,7 @@ public class McbWarningServiceImpl implements IMcbWarningService {
@Override
public Object getLampListByCodes(String questionRectificationStatus) {
List<String> projectOrgCodes = this.getProjectOrgCodes();
List<String> projectOrgCodes = permissionService.getCurrentUserAmosOrgCodes();
if(projectOrgCodes.isEmpty())
{
projectOrgCodes.add("NULL");
......
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