|
@@ -249,16 +249,11 @@ public class ZnylJhdxServiceImpl implements IZnylJhdxService
|
|
|
@Override
|
|
|
public List<ZnylJhdx> userLogin(String loginName, String password, Long accountId, String openId){
|
|
|
List<ZnylJhdx> list = znylJhdxMapper.userLogin(loginName,password,accountId,null);
|
|
|
- if(list.size()>0){
|
|
|
- return list;
|
|
|
- }else{
|
|
|
- throw new CustomException("账号密码错误,请重新填写。");
|
|
|
- }
|
|
|
+ return list;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public int userRegister(String loginName, String password,Long accountId){
|
|
|
-
|
|
|
// List<ZnylJhdx> userListByLoginName = znylJhdxMapper.userInfo(loginName,null,accountId);
|
|
|
// if(userListByLoginName.size() > 0){
|
|
|
// throw new CustomException("该用户账号已注册,请重新填写");
|