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);
|
}
|