package com.rzyc.mapper; import com.rzyc.model.Sysdocument; import com.rzyc.model.SysdocumentExample; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface SysdocumentMapper { long countByExample(SysdocumentExample example); int deleteByExample(SysdocumentExample example); int insert(Sysdocument record); int insertSelective(Sysdocument record); List selectByExample(SysdocumentExample example); int updateByExampleSelective(@Param("record") Sysdocument record, @Param("example") SysdocumentExample example); int updateByExample(@Param("record") Sysdocument record, @Param("example") SysdocumentExample example); /*查询文件信息*/ List findByOtcId(@Param("otcIds") List otcIds, @Param("otcType") String otcType); /*删除文件*/ Integer delById(@Param("documentId") String documentId); }