ganzi-api/inventory-dao/src/main/java/com/rzyc/mapper/SysdocumentMapper.java

34 lines
1011 B
Java
Raw Normal View History

2022-09-16 15:07:17 +08:00
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);
}