|
|
@ -79,17 +79,12 @@ public class IcMoveInRecordServiceImpl extends BaseServiceImpl<IcMoveInRecordDao |
|
|
|
@Override |
|
|
|
public IcMoveInListResultDTO list(IcMoveInListFormDTO formDTO) { |
|
|
|
IcMoveInListResultDTO resultDTO = new IcMoveInListResultDTO(); |
|
|
|
//导出查询
|
|
|
|
if (formDTO.getIsPage()) { |
|
|
|
List<IcMoveInListResultDTO.IcMoveInList> list = baseDao.selectMoveInList(formDTO); |
|
|
|
resultDTO.setList(list); |
|
|
|
} else { |
|
|
|
//列表查询
|
|
|
|
PageInfo<IcMoveInListResultDTO.IcMoveInList> data = PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize()) |
|
|
|
.doSelectPageInfo(() -> baseDao.selectMoveInList(formDTO)); |
|
|
|
resultDTO.setTotal((int) data.getTotal()); |
|
|
|
resultDTO.setList(data.getList()); |
|
|
|
} |
|
|
|
//列表/导出查询
|
|
|
|
PageInfo<IcMoveInListResultDTO.IcMoveInList> data = PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize(), formDTO.getIsPage()) |
|
|
|
.doSelectPageInfo(() -> baseDao.selectMoveInList(formDTO)); |
|
|
|
resultDTO.setTotal((int) data.getTotal()); |
|
|
|
resultDTO.setList(data.getList()); |
|
|
|
|
|
|
|
//查询封装房屋信息
|
|
|
|
if (!CollectionUtils.isEmpty(resultDTO.getList())) { |
|
|
|
Map<String, String> map = new HashMap<>(); |
|
|
|