package com.matrix.biz.service; 
 | 
  
 | 
import com.matrix.biz.bean.BizUser; 
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.core.web.BaseServices; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * @description  service接口类 (用户表) 
 | 
 * @author jyy 
 | 
 * @date 2019-05-31 10:03 
 | 
 */ 
 | 
public interface BizUserService extends BaseServices<BizUser> { 
 | 
     
 | 
    /** 
 | 
     * 新增 
 | 
     */ 
 | 
    public int add(BizUser bizUser); 
 | 
        
 | 
       /** 
 | 
     * 批量新增 
 | 
     */ 
 | 
    public int batchAdd(List<BizUser> bizUserList); 
 | 
  
 | 
       /** 
 | 
     * 根据map键值对 更新 
 | 
     */ 
 | 
    public int modifyByMap(BizUser oldBizUser, BizUser newBizUser); 
 | 
     
 | 
    /** 
 | 
     * 根据对象 更新 
 | 
     */ 
 | 
    public int modifyByModel(BizUser bizUser); 
 | 
     
 | 
    /** 
 | 
     * 批量删除 
 | 
     */ 
 | 
    public int remove(List<String> list); 
 | 
  
 | 
    /** 
 | 
     * 根据id删除 
 | 
     */ 
 | 
    public int removeById(String userId); 
 | 
     
 | 
    /** 
 | 
     * 根据对象删除 
 | 
     */ 
 | 
    public int removeByModel(BizUser bizUser); 
 | 
     
 | 
    /** 
 | 
     * 分页查询 
 | 
     */ 
 | 
    public List<BizUser> findInPage(BizUser bizUser, PaginationVO pageVo); 
 | 
  
 | 
    /** 
 | 
     * 根据对象查询 
 | 
     */ 
 | 
    public List<BizUser> findByModel(BizUser bizUser); 
 | 
     
 | 
    /** 
 | 
     * 统计记录数 
 | 
     */ 
 | 
    public int  findTotal(BizUser bizUser); 
 | 
     
 | 
    /** 
 | 
     * 根据id查询 
 | 
     */ 
 | 
    public BizUser  findById(String userId); 
 | 
  
 | 
        
 | 
    /** 
 | 
     * 根据openId更新 
 | 
     */ 
 | 
  
 | 
    public BizUser findByOpenId(String openId); 
 | 
     
 | 
    /** 
 | 
     * 保存用户信息 
 | 
     */ 
 | 
    public int saveUserInfo(BizUser bizUser); 
 | 
} 
 |