mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11: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
|
@Override
|
||||||
public List<Work> getAll() {
|
public List<Work> getAll() {
|
||||||
return workMapper.getAll();
|
List<Work> workList = workMapper.getAll();
|
||||||
|
for (Work work:
|
||||||
|
workList) {
|
||||||
|
work.setProgress(getProgress(work.getId()));
|
||||||
|
}
|
||||||
|
return workList;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user