src/cn/approval/mapper/ApplyMapper.java

(完整代码) 1KB

package cn.approval.mapper;

import cn.approval.vo.Apply;
import cn.approval.vo.ApplyExample;
import cn.approval.vo.PageInfo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ApplyMapper {
    int countByExample(ApplyExample example);

    int deleteByExample(ApplyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Apply record);

    int insertSelective(Apply record);

    List<Apply> selectByExample(ApplyExample example);

    Apply selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Apply record, @Param("example") ApplyExample example);

    int updateByExample(@Param("record") Apply record, @Param("example") ApplyExample example);

    int updateByPrimaryKeySelective(Apply record);

    int updateByPrimaryKey(Apply record);
    
    //分页查询带条件
    List<Apply> selectByPageInfo(PageInfo<Apply> pageInfo);
    
    //通过学科查询
    List<Apply> selectSubByPageInfo(PageInfo<Apply> pageInfo);
    
    //通过状态查询
    List<Apply> selectStateByPageInfo(PageInfo<Apply> pageInfo);
    
    //通过学院查询
    List<Apply> selectCollegeByPageInfo(PageInfo<Apply> pageInfo);
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。