| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | supplierClinicId =crmClinic.getId(); |
| | | } |
| | | PageInfo<TErpMaintenanceReminderListVo> page = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TErpMaintenanceReminderListVo> list = baseMapper.pageList(page, query, user,supplierClinicId); |
| | | |
| | | // 获取明天的时间 |
| | | LocalDateTime tomorrow = LocalDateTime.now().plusDays(1); |
| | | |
| | | |
| | | List<TErpMaintenanceReminderListVo> list = baseMapper.pageList(page, query, user,supplierClinicId,tomorrow); |
| | | if(list.isEmpty()){ |
| | | return page; |
| | | } |