|
|
|
@ -267,8 +267,8 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
public Result<List<ItemResultDTO>> listItems(ItemFormDTO formDto) { |
|
|
|
int pageIndex = (formDto.getPageIndex() - NumConstant.ONE) * formDto.getPageSize(); |
|
|
|
formDto.setPageIndex(pageIndex); |
|
|
|
// 查询半年内的数据
|
|
|
|
formDto.setSomeMonthsAgo(DateUtils.addDateMonths(new Date(), -6)); |
|
|
|
/* // 查询半年内的数据
|
|
|
|
formDto.setSomeMonthsAgo(DateUtils.addDateMonths(new Date(), -6));*/ |
|
|
|
// 查询数据状态
|
|
|
|
int[] states = {EventIssueItemState.ITEM_HANDLING, EventIssueItemState.ITEM_CLOSEING_CASE}; |
|
|
|
List<ItemResultDTO> data = baseDao.selectListOfItems(formDto, states); |
|
|
|
|