已办流程,待我审核列表数据排序优化
parent
7d3a8bef70
commit
06c5e93183
|
@ -486,7 +486,7 @@ public class ProcessController {
|
||||||
public Page<ProjectProcess> list(@RequestBody ProcessQueryForm form, Pageable pageable) {
|
public Page<ProjectProcess> list(@RequestBody ProcessQueryForm form, Pageable pageable) {
|
||||||
// 从 0 开始
|
// 从 0 开始
|
||||||
PageRequest pageRequest = new PageRequest(pageable.getPageNumber() - 1, pageable.getPageSize(),
|
PageRequest pageRequest = new PageRequest(pageable.getPageNumber() - 1, pageable.getPageSize(),
|
||||||
new Sort(Sort.Direction.DESC, "createAt"));
|
new Sort(Sort.Direction.DESC, "lastUpdateAt", "createAt"));
|
||||||
|
|
||||||
ProjectProcess projectProcess = new ProjectProcess();
|
ProjectProcess projectProcess = new ProjectProcess();
|
||||||
BeanUtils.copyProperties(form, projectProcess);
|
BeanUtils.copyProperties(form, projectProcess);
|
||||||
|
|
Loading…
Reference in New Issue