瀏覽代碼

取消grouping不传默认=1验证

fengyanjie 3 年之前
父節點
當前提交
f9d7b1b307
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      dmp-rwd/src/main/java/com/persagy/dmp/rwd/service/ObjectInstanceQueryService.java

+ 4 - 4
dmp-rwd/src/main/java/com/persagy/dmp/rwd/service/ObjectInstanceQueryService.java

@@ -301,10 +301,10 @@ public class ObjectInstanceQueryService extends BaseService {
 
     public PagedResponse<ObjectNode> query(JacksonCriteria criteria) {
         PagedResponse<ObjectNode> result = new PagedResponse<>();
-        Integer grouping = criteria.getInteger("grouping");
-        if (grouping == null) {
-            criteria.add("grouping", 1);
-        }
+//        Integer grouping = criteria.getInteger("grouping");
+//        if (grouping == null) {
+//            criteria.add("grouping", 1);
+//        }
         super.checkParam(result, RwdConstants.QUERY_GROUPCODE, RwdConstants.QUERY_PROJECTID);
         if (!result.success()) {
             return result;