package com.ann.demo.repository;

import com.ann.demo.entity.filing.MessageScanning;
import com.ann.demo.entity.interfaceEntity.MessageLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: LeiJiaXin
 * @Date: 2020/12/16 18:00
 *
 */
@Repository
public interface MessageScanningRepository extends JpaRepository<MessageScanning, String> {

    @Query("select  o from  MessageScanning o  where status =2  ")
    public List<MessageScanning> findAllMessageScanning();

}

