yangbin
2025-02-19 efdecc7019261f8fdc875505281f54ef7a3bfbce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.jeecg.modules.mdc.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.mdc.entity.MdcEquipmentStatisticalShiftInfo;
import org.jeecg.modules.mdc.subcontrol.vo.LastWeekDataVo;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * @author: LiuS
 * @create: 2023-07-24 11:23
 */
public interface MdcEquipmentStatisticalShiftInfoMapper extends BaseMapper<MdcEquipmentStatisticalShiftInfo> {
 
    /**
     * 获取设备最新日期的运行数据
     *
     * @param equipmentid
     * @return
     */
    MdcEquipmentStatisticalShiftInfo getMaxStaticsData(@Param("equipmentId") String equipmentid);
 
    BigDecimal findSpindleRunDuration(@Param("equipmentId") String equipmentId, @Param("validDate") String validDate);
 
    List<LastWeekDataVo> findDataForBigScreen(@Param("equipmentIdList") List<String> equipmentIdList,
                                              @Param("monday") String monday, @Param("saturday") String saturday);
 
}