|
@@ -13,6 +13,7 @@ import org.hswebframework.web.service.form.DynamicFormOperationService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -41,6 +42,14 @@ public class DynamicFormOperationController {
|
|
|
return ResponseMessage.ok(dynamicFormOperationService.selectPager(formId, paramEntity));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/{formId}/no-paging")
|
|
|
+ @ApiOperation("不分页动态查询")
|
|
|
+ @Authorize(action = Permission.ACTION_QUERY)
|
|
|
+ public ResponseMessage<List<Object>> select(@PathVariable String formId, QueryParamEntity paramEntity) {
|
|
|
+ paramEntity.setPaging(false);
|
|
|
+ return ResponseMessage.ok(dynamicFormOperationService.select(formId, paramEntity));
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/{formId}/single")
|
|
|
@ApiOperation("动态查询返回单条数据")
|
|
|
@Authorize(action = Permission.ACTION_QUERY)
|