package com.njcn.mapper.user;

import com.njcn.pojo.user.AppUser;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author hongawen
 * @date: 2019/10/17 11:35
 */
public interface AppUserMapper extends Mapper<AppUser> {
    void updateAppByPrimaryKeyBySql(AppUser appUser);
    int deleteAppUserByIndex(@Param(value = "userIndex") String index);
    int deleteAppUserIndex(@Param(value = "userIndex") String index);
    List<AppUser> getAppPhone(@Param(value = "phone") String phone, @Param(value = "state") int state);
}
