`

MessageTypeDao

    博客分类:
  • java
DAO 
阅读更多

package com.cx.lzf.mofan.dao;

import java.util.List;

import com.cx.lzf.mofan.domain.MessageType;

public interface MessageTypeDao
{
    public int deleteMessageTypeById(int id) throws Exception;
   
    public int editMessageTypeById(MessageType messageType) throws Exception;
   
    public void addMessageType(MessageType messageType) throws Exception;
   
    public List<MessageType> getMessageTypes() throws Exception;
   
    public MessageType findMessageTypeById(int id) throws Exception;
}

 

package com.cx.lzf.mofan.dao;

import java.util.List;

import com.cx.lzf.mofan.domain.Peizhi;

public interface PeizhiDao
{
    public Peizhi findPeizhiById(int id) throws Exception;
   
    public int editPeizhiById(Peizhi peizhi) throws Exception;
   
    public List<Peizhi> getPeizhis() throws Exception;
}

package com.cx.lzf.mofan.dao;

import java.util.List;

import com.cx.lzf.mofan.domain.UserAdmin;

public interface UserDao
{
   
    public boolean checkUserExist(UserAdmin userAdmin) throws Exception;
   
    public void addUser(UserAdmin userAdmin) throws Exception;
   
    public UserAdmin findUserAdminById(int id) throws Exception;
   
    public List<UserAdmin> getUserAdminAll(String order) throws Exception;
   
    public int editUserAdminById(UserAdmin userAdmin) throws Exception;
   
    public int deleteUserAdminById(int id,boolean excute) throws Exception;
}

分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

Global site tag (gtag.js) - Google Analytics