| | |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.modules.mdc.entity.EquipmentElectricStatistical; |
| | | import org.jeecg.modules.mdc.entity.EquipmentSpindleStatistical; |
| | | import org.jeecg.modules.mdc.mapper.EquipmentSpindleStatisticalMapper; |
| | | import org.jeecg.modules.mdc.service.IEquipmentSpindleStatisticalService; |
| | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.ArrayList; |
| | | import java.util.Collections; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | mv.addObject(NormalExcelConstants.DATA_LIST, equipmentSpindleStatisticals); |
| | | return mv; |
| | | } |
| | | |
| | | /** |
| | | * 根据设备id获取最新一条数据 |
| | | * |
| | | * @param equipmentId |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Date getMaxDate(String equipmentId) { |
| | | return this.baseMapper.getMaxDate(equipmentId); |
| | | } |
| | | } |