1
0
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:
ggb
2023-06-11 23:28:30 +08:00
parent e97d2ebde2
commit 68c0e0758f

View File

@@ -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