20 lines
422 B
Java
20 lines
422 B
Java
package com.bwie.mapper;
|
|
|
|
import com.bwie.common.domain.User;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
@Mapper
|
|
public interface UserMapper {
|
|
|
|
User selectByTel(String userTel);
|
|
|
|
User findUser(String userId);
|
|
|
|
int updUserMoney(@Param("money") BigDecimal money, @Param("userId") Integer userId);
|
|
|
|
User findById(Integer userId);
|
|
}
|