package org.qf.service.impl;
import org.qf.dao.SmbmsUserDao;
import org.qf.entity.SmbmsUser;
import org.qf.service.SmbmsUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service //业务层
public class SmbmsUserServiceImpl implements SmbmsUserService {
@Autowired
private SmbmsUserDao smbmsUserDao;
//登录功能的实现
@Override
public SmbmsUser login(String name, String password) {
SmbmsUser smbmsUser = smbmsUserDao.login(name);
if(smbmsUser ==null){
//用户名为空
return null;
}else{
if(smbmsUser.getUserPassword().equals(password)){
//登录成功
return smbmsUser;
}else{
return null;
}
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
springboot_ali_1227_001.rar
共163个文件
xml:90个
png:32个
java:7个
需积分: 0 0 下载量 135 浏览量
2024-01-03
08:52:08
上传
评论
收藏 463KB RAR 举报
温馨提示
springboot_ali_1227_001.rar
资源推荐
资源详情
资源评论
收起资源包目录
springboot_ali_1227_001.rar (163个子文件)
SmbmsUser.class 6KB
SmbmsUserController.class 1KB
SmbmsUserServiceImpl.class 1KB
SpringbootAli1227001Application.class 809B
SpringbootAli1227001ApplicationTests.class 559B
SmbmsUserDao.class 423B
SmbmsUserService.class 210B
style.css 8KB
style.css 8KB
public.css 6KB
public.css 6KB
.gitignore 395B
welcome.html 2KB
welcome.html 2KB
login.html 1KB
index.html 1KB
login.html 1KB
index.html 1KB
springboot_ali_1227_001.iml 10KB
SmbmsUserServiceImpl.java 886B
SmbmsUserController.java 783B
SmbmsUser.java 615B
SmbmsUserDao.java 497B
SpringbootAli1227001Application.java 430B
SmbmsUserService.java 300B
SpringbootAli1227001ApplicationTests.java 221B
login_bg.jpg 45KB
login_bg.jpg 45KB
clock.jpg 22KB
clock.jpg 22KB
loginBg.jpg 18KB
loginBg.jpg 18KB
jquery.js 267KB
jquery.js 267KB
js.js 1KB
js.js 1KB
time.js 1KB
time.js 1KB
HELP.md 1KB
formBg.png 41KB
formBg.png 41KB
login_img.png 9KB
login_img.png 9KB
yh.png 5KB
yh.png 5KB
gys.png 5KB
gys.png 5KB
schu.png 4KB
schu.png 4KB
xiugai.png 4KB
xiugai.png 4KB
tianjia.png 4KB
tianjia.png 4KB
home.png 4KB
home.png 4KB
search.png 4KB
search.png 4KB
leftBg.png 3KB
leftBg.png 3KB
mm.png 3KB
mm.png 3KB
buy.png 2KB
buy.png 2KB
tc.png 2KB
tc.png 2KB
zd.png 2KB
zd.png 2KB
read.png 1KB
read.png 1KB
time.png 1KB
time.png 1KB
application.properties 661B
application.properties 661B
workspace.xml 8KB
pom.xml 4KB
Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_3_12_RELEASE.xml 776B
Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_3_12_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_starter_logging_2_3_12_RELEASE.xml 755B
Maven__org_springframework_boot_spring_boot_starter_tomcat_2_3_12_RELEASE.xml 748B
Maven__org_springframework_boot_spring_boot_autoconfigure_2_3_12_RELEASE.xml 741B
compiler.xml 737B
Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_4.xml 736B
Maven__org_springframework_boot_spring_boot_starter_jdbc_2_3_12_RELEASE.xml 734B
Maven__org_springframework_boot_spring_boot_starter_test_2_3_12_RELEASE.xml 734B
Maven__org_springframework_boot_spring_boot_starter_json_2_3_12_RELEASE.xml 734B
Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_2_1_4.xml 730B
Maven__org_springframework_boot_spring_boot_starter_web_2_3_12_RELEASE.xml 727B
Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml 725B
Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml 700B
Maven__org_springframework_boot_spring_boot_starter_2_3_12_RELEASE.xml 699B
Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_4.xml 695B
Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_2_1_4.xml 688B
SmbmsUserMapper.xml 682B
SmbmsUserMapper.xml 682B
Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_4.xml 681B
Maven__org_springframework_boot_spring_boot_test_2_3_12_RELEASE.xml 678B
Maven__org_springframework_spring_expression_5_2_15_RELEASE.xml 665B
Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_46.xml 660B
Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_4.xml 651B
Maven__org_springframework_spring_context_5_2_15_RELEASE.xml 644B
共 163 条
- 1
- 2
资源评论
o200311
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功