package com.dy.pmsGlobal.daoOth; import com.dy.pmsGlobal.pojoOth.OthFileManage; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; @Mapper public interface OthFileManageMapper { int deleteByPrimaryKey(@Param("id") Long id, @Param("userId") Long userId); int insert(OthFileManage record); int insertSelective(OthFileManage record); OthFileManage selectByPrimaryKey(@Param("id") Long id, @Param("userId") Long userId); int updateByPrimaryKeySelective(OthFileManage record); int updateByPrimaryKey(OthFileManage record); int deleteByPrimaryKey(Long id); /** * 逻辑删除 * @param id primaryKey * @return update count */ int deleteLogicById(Long id); OthFileManage selectByPrimaryKey(Long id); List selectSome(Map params); Long selectSomeCount(Map params); }