com.quhaodian.user.data.dao.UserAccountDao Maven / Gradle / Ivy
package com.quhaodian.user.data.dao;
import com.quhaodian.data.core.BaseDao;
import com.quhaodian.data.core.Updater;
import com.quhaodian.user.data.entity.UserAccount;
import com.quhaodian.user.data.vo.UserAccountVo;
import com.quhaodian.user.enums.AccountType;
/**
* Created by imake on 2017年07月20日16:24:20.
*/
public interface UserAccountDao extends BaseDao {
UserAccount findById(Long id);
UserAccount save(UserAccount bean);
UserAccount updateByUpdater(Updater updater);
UserAccount deleteById(Long id);
UserAccountVo reg(UserAccount bean);
UserAccountVo binding(String phone, Long user, AccountType type, String password);
Long checkUserName(String phone, AccountType type);
}