|
@@ -46,6 +46,9 @@ public class BasePersonnelLabourCapitalServiceImpl extends MPJBaseServiceImpl<Ba
|
|
|
|
|
|
@Override
|
|
|
public Page<BasePersonnelLabourCapitalMonthPageVo> getMonthPage(Page<BasePersonnelLabourCapitalMonthPageDto> page, BasePersonnelLabourCapitalMonthPageDto dto) {
|
|
|
+ long userId = StpUtil.getLoginIdAsLong();
|
|
|
+ User user = userService.getById(userId);
|
|
|
+ dto.setJobNumber(user.getUserName());
|
|
|
Page<BasePersonnelLabourCapitalMonthPageVo> resultPage = labourCapitalMapper.getMonthPage(page, dto);
|
|
|
|
|
|
for (BasePersonnelLabourCapitalMonthPageVo record : resultPage.getRecords()) {
|
|
@@ -70,7 +73,6 @@ public class BasePersonnelLabourCapitalServiceImpl extends MPJBaseServiceImpl<Ba
|
|
|
long userId = StpUtil.getLoginIdAsLong();
|
|
|
User user = userService.getById(userId);
|
|
|
dto.setJobNumber(user.getUserName());
|
|
|
- dto.setName(user.getName());
|
|
|
return labourCapitalMapper.getYearPage(page, dto);
|
|
|
}
|
|
|
|