|
|
@ -4,8 +4,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
import com.productionboard.entity.MesProduction.DeviceFault;
|
|
|
|
import com.productionboard.entity.MesProduction.DeviceFault;
|
|
|
|
import com.productionboard.entity.MesProduction.MesMaterialStoreStatistics;
|
|
|
|
import com.productionboard.entity.MesProduction.MesMaterialStoreStatistics;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* MES物料库存统计
|
|
|
|
* MES物料库存统计
|
|
|
|
* @author WenJY
|
|
|
|
* @author WenJY
|
|
|
@ -14,4 +17,8 @@ import org.springframework.stereotype.Repository;
|
|
|
|
@Mapper
|
|
|
|
@Mapper
|
|
|
|
@Repository
|
|
|
|
@Repository
|
|
|
|
public interface DeviceFaultMapper extends BaseMapper<DeviceFault>{
|
|
|
|
public interface DeviceFaultMapper extends BaseMapper<DeviceFault>{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//select * from table ( scada_adsorb_fault(#{in_id}) ),DeviceFault
|
|
|
|
|
|
|
|
@Select("select NAME as STATION,VALUE from table ( scada_adsorb_fault(#{in_id}) )")
|
|
|
|
|
|
|
|
List<DeviceFault> selectScadaAdsorbFault(int in_id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|