Explorar o código

政策列表修改

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
e3804a5c8e
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/main/java/com/goafanti/news/service/PolicyService.java

+ 1 - 2
src/main/java/com/goafanti/news/service/PolicyService.java

@@ -155,8 +155,7 @@ public Pagination<PolicyResult>searchPolicy(String title,Integer auditStatus,Str
 @SuppressWarnings("unchecked")
 public Pagination<AppDiscoveryBo> appListPolicy(Integer pageNo, Integer pageSize) {
 	Map<String, Object> params = new HashMap<>();
-	Pagination<AppDiscoveryBo>p=(Pagination<AppDiscoveryBo>) findPage("findPolicyAppList","findPolicyAppCount",params, pageNo, pageSize);
-	return p; 
+	return (Pagination<AppDiscoveryBo>) findPage("findPolicyAppList","findPolicyAppCount",params, pageNo, pageSize);
 }
 
 public PolicyResult policyDetail(String id) {