src/main/java/com/jsh/erp/datasource/mappers/UserMapper.java
@@ -4,6 +4,7 @@ import com.jsh.erp.datasource.entities.UserExample; import java.util.List; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; public interface UserMapper { long countByExample(UserExample example); @@ -27,4 +28,7 @@ int updateByPrimaryKeySelective(User record); int updateByPrimaryKey(User record); @Select("select * from jsh_user where phonenum =#{phonenum}") User getByPhone(String phonenum); }