Fancy
2025-01-07 36fdd5fcdd57dc67c7728c572b8423bc0d3c9c88
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
31
32
33
34
35
36
37
package com.dy.pmsGlobal.daoSta;
 
import cn.hutool.json.JSONObject;
import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
/**
* @author User
* @description 针对表【sta_device_production_log(设备生产日志表)】的数据库操作Mapper
* @createDate 2024-06-22 11:43:04
* @Entity com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog
*/
@Mapper
public interface StaDeviceProductionLogMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(StaDeviceProductionLog record);
 
    int insertSelective(StaDeviceProductionLog record);
 
    StaDeviceProductionLog selectByPrimaryKey(Long id);
 
    List<StaDeviceProductionLog> selectByDeviceNo(String deviceNo);
 
    List<StaDeviceProductionLog> selectProductLog(@Param("deviceNo") String deviceNo,@Param("startTime") Date startTime,@Param("endTime") Date endTime);
 
    int updateByPrimaryKeySelective(StaDeviceProductionLog record);
 
    int updateByPrimaryKey(StaDeviceProductionLog record);
 
    List<JSONObject> queryTopError(@Param("startTime") Date startTime,@Param("endTime") Date endTime);
}