Browse Source

Merge branch 'mazq-0325-servicePage' into 'develop'

feature(服务查询参数添加): 服务查询参数添加

See merge request dcuc/app-service!53
黄资权 4 years ago
parent
commit
d8fb6ed57a

+ 2 - 0
dcuc-app-service/src/main/java/com/dragoninfo/dcuc/app/business/impl/ResourceBusiness.java

@@ -230,6 +230,8 @@ public class ResourceBusiness implements IResourceBusiness {
         String url = resourceConfig.getResourceUrl();
         Map<String, String> param = new HashMap<>();
         param.put("Condition", "FWZYBSF = '" + serviceCode + "'");
+        param.put("page", "1");
+        param.put("pageSize", "1");
         logger.info("getServiceRemoteDetailByCode >> url:{}, busSraId:{}, busServiceId:{}, busServiceFunc:{}, busSreIdcard:{}, serviceCode:{}",
                 url, busSraId, busServiceId, busServiceFunc, busSreIdcard, serviceCode);
         String response = HttpUtil.postJSON(url, JSON.toJSONString(param), heards, null);