汽车租赁管理系统/反编译出来的文件/carRentalSystem/com/bluedot/service/impl/SystemManagerImpl.java
(完整代码) 960B// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: SystemManagerImpl.java
package com.bluedot.service.impl;
import com.bluedot.domain.User;
import com.bluedot.exception.NotFoundUserException;
import com.bluedot.persist.SystemOperatorDao;
import com.bluedot.persist.impl.SystemOperatorDaoImpl;
import com.bluedot.service.SystemManager;
public class SystemManagerImpl
implements SystemManager
{
public SystemManagerImpl()
{
}
public User userLogin(String userName, String userPwd)
{
SystemOperatorDao sod = new SystemOperatorDaoImpl();
User user = sod.userLogin(userName);
if (user == null)
throw new NotFoundUserException("用户不存在!");
if (!userPwd.equals(user.getUserPwd()))
throw new NotFoundUserException("密码有误!");
else
return user;
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
