| package com.xzx.gc.order.mapper; | 
|   | 
| import com.xzx.gc.entity.UserInfo; | 
| import com.xzx.gc.model.admin.UserModel; | 
| import com.xzx.gc.util.GcMapper; | 
| import org.apache.ibatis.annotations.Param; | 
| import org.springframework.stereotype.Repository; | 
|   | 
| import java.util.List; | 
|   | 
| @Repository | 
| public interface UserMapper extends GcMapper<UserInfo> { | 
|   | 
|     List<UserInfo> findHaveAddr(); | 
|   | 
|   | 
|     void updatePartnerId(@Param("userId") String userId, @Param("partnerId") String partnerId); | 
|   | 
|   | 
|     List<UserModel> queryUserByUsertypeList(@Param("phone") String phone, @Param("userType") String userType, @Param("delFlag") String delFlag,  @Param("normal") String normal, @Param("nickName") String nickName); | 
|   | 
|     UserModel queryUserByUsertype(@Param("phone") String phone, @Param("userType") String userType, @Param("delFlag") String delFlag, @Param("normal") String normal, @Param("nickName") String nickName); | 
|   | 
|     int updateUserInfo(UserModel model); | 
|   | 
|     int insertUserInfo(UserModel model); | 
|   | 
| } |