|
@@ -61,7 +61,6 @@ public class CrowTestSquareController extends BaseSearchController {
|
|
|
*/
|
|
|
@PostMapping("/project/list")
|
|
|
public ResponseVO findAllprojectByPage(@RequestBody SearchConditionVO searchConditionVO) {
|
|
|
-// Map<String, String> extraCondition = searchConditionVO.getColumnFilters() == null ? new HashMap<>() : super.getExtraCondition(searchConditionVO);
|
|
|
Pageable pageable = this.getPageable(searchConditionVO);
|
|
|
List<CrowdTestProjectVO> list = crowdProjectService.findAll(pageable);
|
|
|
Page<CrowdTestProjectVO> page = DataUtils.listToPage(list, pageable);
|
|
@@ -71,9 +70,8 @@ public class CrowTestSquareController extends BaseSearchController {
|
|
|
/**
|
|
|
* 众测任务分页查询接口
|
|
|
*/
|
|
|
- @GetMapping("/task/list")
|
|
|
+ @PostMapping("/task/list")
|
|
|
public ResponseVO<Page<CrowdTaskVO>> getAllTaskByPage(@RequestBody SearchConditionVO searchConditionVO) {
|
|
|
-// Map<String, String> extraCondition = searchConditionVO.getColumnFilters() == null ? new HashMap<>() : super.getExtraCondition(searchConditionVO);
|
|
|
Pageable pageable = this.getPageable(searchConditionVO);
|
|
|
Page<CrowdTaskVO> page = commonService.getTaskinfo(pageable, null, 0);
|
|
|
return new ResponseVO<>(ServerCode.SUCCESS, page);
|