mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-04 22:41:24 +08:00
Modify work progress
This commit is contained in:
@@ -51,7 +51,12 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, Work> implements IW
|
||||
|
||||
@Override
|
||||
public List<Work> getAll() {
|
||||
return workMapper.getAll();
|
||||
List<Work> workList = workMapper.getAll();
|
||||
for (Work work:
|
||||
workList) {
|
||||
work.setProgress(getProgress(work.getId()));
|
||||
}
|
||||
return workList;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user