优化
This commit is contained in:
@ -44,5 +44,11 @@ public class BgtDailyClockListDTO {
|
||||
@ApiModelProperty(value = "审核人Id",hidden = true)
|
||||
private Long auditorUserId;
|
||||
|
||||
@ApiModelProperty(value = "是否已读",hidden = true)
|
||||
private Boolean isRead;
|
||||
|
||||
@ApiModelProperty(value = "是否待审核",hidden = true)
|
||||
private Boolean isAudit;
|
||||
|
||||
|
||||
}
|
||||
|
@ -336,6 +336,13 @@ public class WgzDailyClockServiceImpl extends ServicePlusImpl<WgzDailyClockMappe
|
||||
Page<BgtDailyClockListDTO> queryDTOPage = new Page<>();
|
||||
queryDTOPage.setCurrent(dto.getPageNum());
|
||||
queryDTOPage.setSize(dto.getPageSize());
|
||||
if( "5".equals(dto.getAuditorType()) ){
|
||||
dto.setIsRead(true);
|
||||
}
|
||||
if( "1".equals(dto.getAuditorType()) ){
|
||||
dto.setIsAudit(true);
|
||||
}
|
||||
|
||||
Page<BgtDailyClockListVO> queryVOPage = baseMapper.appQueryPageList(queryDTOPage, dto);
|
||||
return PageUtils.buildDataInfo(queryVOPage);
|
||||
}
|
||||
|
Reference in New Issue
Block a user