34 lines
1011 B
Java
34 lines
1011 B
Java
|
|
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<Sysdocument> selectByExample(SysdocumentExample example);
|
||
|
|
|
||
|
|
int updateByExampleSelective(@Param("record") Sysdocument record, @Param("example") SysdocumentExample example);
|
||
|
|
|
||
|
|
int updateByExample(@Param("record") Sysdocument record, @Param("example") SysdocumentExample example);
|
||
|
|
|
||
|
|
/*查询文件信息*/
|
||
|
|
List<Sysdocument> findByOtcId(@Param("otcIds") List<String> otcIds,
|
||
|
|
@Param("otcType") String otcType);
|
||
|
|
|
||
|
|
/*删除文件*/
|
||
|
|
Integer delById(@Param("documentId") String documentId);
|
||
|
|
|
||
|
|
}
|