优化
This commit is contained in:
@ -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