|
@ -528,6 +528,8 @@ public class ActUserRelationServiceImpl extends BaseServiceImpl<ActUserRelationD |
|
|
int pageIndex = (formDTO.getPageIndex() - NumConstant.ONE) * formDTO.getPageSize(); |
|
|
int pageIndex = (formDTO.getPageIndex() - NumConstant.ONE) * formDTO.getPageSize(); |
|
|
formDTO.setPageIndex(pageIndex); |
|
|
formDTO.setPageIndex(pageIndex); |
|
|
List<ActClockListDTO> list = baseDao.selectListV2ActUserRelation(formDTO); |
|
|
List<ActClockListDTO> list = baseDao.selectListV2ActUserRelation(formDTO); |
|
|
|
|
|
List<ActClockListDTO> allList = baseDao.selectListActUserRelation(formDTO.getActId()); |
|
|
|
|
|
|
|
|
if (null == list || list.size() == 0) { |
|
|
if (null == list || list.size() == 0) { |
|
|
return new Result<AppClockListDTO>(); |
|
|
return new Result<AppClockListDTO>(); |
|
|
} |
|
|
} |
|
@ -559,7 +561,7 @@ public class ActUserRelationServiceImpl extends BaseServiceImpl<ActUserRelationD |
|
|
mm.remove("clockId"); |
|
|
mm.remove("clockId"); |
|
|
} |
|
|
} |
|
|
AppClockListDTO appClockListDTO = new AppClockListDTO(); |
|
|
AppClockListDTO appClockListDTO = new AppClockListDTO(); |
|
|
appClockListDTO.setClockNum(resultList.size()); |
|
|
appClockListDTO.setClockNum(allList.size()); |
|
|
appClockListDTO.setClocks(resultList); |
|
|
appClockListDTO.setClocks(resultList); |
|
|
return new Result<AppClockListDTO>().ok(appClockListDTO); } |
|
|
return new Result<AppClockListDTO>().ok(appClockListDTO); } |
|
|
|
|
|
|
|
|