Search in sources :

Example 1 with SignProcess

use of com.eservice.api.model.sign_process.SignProcess in project sinsim by WilsonHu.

the class SignProcessController method list.

@PostMapping("/list")
public Result list(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size) {
    PageHelper.startPage(page, size);
    List<SignProcess> list = signProcessService.findAll();
    PageInfo pageInfo = new PageInfo(list);
    return ResultGenerator.genSuccessResult(pageInfo);
}
Also used : PageInfo(com.github.pagehelper.PageInfo) SignProcess(com.eservice.api.model.sign_process.SignProcess) PostMapping(org.springframework.web.bind.annotation.PostMapping)

Aggregations

SignProcess (com.eservice.api.model.sign_process.SignProcess)1 PageInfo (com.github.pagehelper.PageInfo)1 PostMapping (org.springframework.web.bind.annotation.PostMapping)1