123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /*
- * Copyright 2010 The YAPULAN Software Foundation
- *
- * Licensed under the YAPULAN License, Version 2.0 (the "License");
- */
- package com.miniframe.system.model.dao;
- import com.miniframe.system.MiniserviceBaseDao;
- import com.miniframe.system.model.SysMenu;
- import com.miniframe.system.model.SysMenuSQLBuilder;
- import java.sql.SQLException;
- import java.util.List;
- public interface SysMenuDAO extends MiniserviceBaseDao {
- /**
- * 获取记录行数
- * @generated
- */
- public int countByExample(SysMenuSQLBuilder example) throws SQLException;
- /**
- * 条件删除
- * @generated
- */
- public int deleteByExample(SysMenuSQLBuilder example) throws SQLException;
- /**
- * 根据主键删除
- * @generated
- */
- public int deleteByPrimaryKey(String menuid) throws SQLException;
- /**
- * 插入,所有字段
- * @generated
- */
- public void insert(SysMenu record) throws SQLException;
- /**
- * 动态插入,忽略空字段
- * @generated
- */
- public void insertSelective(SysMenu record) throws SQLException;
- /**
- * 条件查询
- * @generated
- */
- public List<SysMenu> selectByExample(SysMenuSQLBuilder example) throws SQLException;
- /**
- * 根据主键查询
- * @generated
- */
- public SysMenu selectByPrimaryKey(String menuid) throws SQLException;
- /**
- * 动态修改,不包含空字段
- * @generated
- */
- public int updateByExampleSelective(SysMenu record, SysMenuSQLBuilder example) throws SQLException;
- /**
- * 条件修改
- * @generated
- */
- public int updateByExample(SysMenu record, SysMenuSQLBuilder example) throws SQLException;
- /**
- * 动态根据主键修改,为空字段不修改
- * @generated
- */
- public int updateByPrimaryKeySelective(SysMenu record) throws SQLException;
- /**
- * 根据主键修改
- * @generated
- */
- public int updateByPrimaryKey(SysMenu record) throws SQLException;
- }
|