月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-13 e16f5fdfbc1c49f4c519f05b190e96e497253b51
src/main/java/com/moon/server/mapper/show/FlowMapper.java
@@ -6,91 +6,27 @@
import java.util.List;
/**
 * 申请流程
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface FlowMapper {
    /**
     * 查询记录数
     *
     * @param userid 用户ID
     * @return 记录数
     */
    public Integer selectCount(Integer userid);
    /**
     * 分页查询
     *
     * @param userid   用户ID
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<FlowEntity> selectByPage(Integer userid, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<FlowEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public FlowEntity selectById(int id);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(FlowEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<FlowEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(FlowEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<FlowEntity> list);
}