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;
}