移动端工资单列表返回登陆人id
This commit is contained in:
parent
845586cba2
commit
1c1a77d387
|
|
@ -5,8 +5,6 @@ import lombok.Builder;
|
|||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
|
|
@ -62,4 +60,7 @@ public class SalaryMySalaryBillListDTO {
|
|||
private Date sendTime;
|
||||
|
||||
|
||||
private Long employeeId;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -807,7 +807,7 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
|
|||
queryParam.setStartSalaryMonth(getLimitMonth());
|
||||
|
||||
List<SalaryMySalaryBillListDTO> list = salarySendInfoMapper.mySalaryBillList(queryParam);
|
||||
|
||||
list.forEach(dto -> dto.setEmployeeId(Long.valueOf(user.getUID())));
|
||||
PageInfo<SalaryMySalaryBillListDTO> pageInfo = new PageInfo<>(list, SalaryMySalaryBillListDTO.class);
|
||||
pageInfo.setTotal(list.size());
|
||||
pageInfo.setPageNum(queryParam.getCurrent());
|
||||
|
|
|
|||
Loading…
Reference in New Issue