Commit 47125fee authored by 廖旭伟's avatar 廖旭伟

单事项查询接口排序bug修改

parent 7633f97e
...@@ -20,7 +20,9 @@ ...@@ -20,7 +20,9 @@
<profiles> <profiles>
<profile> <profile>
<id>develop</id> <id>develop</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties> <properties>
<profiles.active>develop</profiles.active> <profiles.active>develop</profiles.active>
<profiles.server.path>/sm</profiles.server.path> <profiles.server.path>/sm</profiles.server.path>
...@@ -36,9 +38,7 @@ ...@@ -36,9 +38,7 @@
</profile> </profile>
<profile> <profile>
<id>test</id> <id>test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties> <properties>
<profiles.active>test</profiles.active> <profiles.active>test</profiles.active>
<profiles.server.path>/sm</profiles.server.path> <profiles.server.path>/sm</profiles.server.path>
......
...@@ -335,6 +335,11 @@ public class UserEntity extends UserEntityExt implements IUser { ...@@ -335,6 +335,11 @@ public class UserEntity extends UserEntityExt implements IUser {
return this.siteIds; return this.siteIds;
} }
@Override
public String getAreaCodes() {
return null;
}
public void setSiteIds(String siteIds) { public void setSiteIds(String siteIds) {
this.siteIds = siteIds; this.siteIds = siteIds;
} }
......
...@@ -102,6 +102,13 @@ public class MatterHtmlParseUtil { ...@@ -102,6 +102,13 @@ public class MatterHtmlParseUtil {
if (href.equalsIgnoreCase("javascript:void(0)")) { if (href.equalsIgnoreCase("javascript:void(0)")) {
continue; continue;
} }
///////手动添加begin////
UrlBuilder builder = UrlBuilder.ofHttp(href, CharsetUtil.CHARSET_UTF_8);
String itemCode = builder.getQuery().get("itemCode").toString();
if(!itemCode.equals("511A0026000015-510900000000-000-008490825-1-00")){
continue;
}
///////end////
//抓取申请与评价页面地址 //抓取申请与评价页面地址
Element nextElementSibling = element.nextElementSibling(); Element nextElementSibling = element.nextElementSibling();
Elements elementsA = nextElementSibling.children(); Elements elementsA = nextElementSibling.children();
...@@ -208,6 +215,7 @@ public class MatterHtmlParseUtil { ...@@ -208,6 +215,7 @@ public class MatterHtmlParseUtil {
matterEntity.setEvaluationUrl(evaluationUrl); matterEntity.setEvaluationUrl(evaluationUrl);
matterEntity.setNetApplyUrl(evaluationUrl); matterEntity.setNetApplyUrl(evaluationUrl);
matterEntity.setSource(SourceEnum.政务网.getValue()); matterEntity.setSource(SourceEnum.政务网.getValue());
matterEntityList.add(matterEntity); matterEntityList.add(matterEntity);
} }
......
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