| | |
| | | }else{ |
| | | throw new BusinessException(ResponseStatus.NO_ALLOW_LOGIN); |
| | | } |
| | | |
| | | |
| | | String pwd = Utils.Secure.encryptPassword(new String(dto.getPassword()), user.getSalt()); |
| | | // 比较密码 |
| | | if( !StringUtils.equals(pwd, user.getPassword())){ |
| | |
| | | shwtg(4, 2,1,"运输单审核通过",null), |
| | | sqzyzwc(5,6, 1,"申请准运证完成","车辆准运证申请完成" ), |
| | | ddzhddzs(6,3,2,"到达装货地-电子锁汽运","车辆已到达装货地" ), |
| | | clqddzs(7, 4,2,"车辆启运-电子锁汽运","车辆装货完成,电子锁已上锁" ), |
| | | clqddzs(7, 4,2,"车辆启运-电子锁汽运","车辆已启运" ), |
| | | clqdapp(8, 7,3,"车辆启运-APP","车辆运输中" ), |
| | | ddzhd(9, 8,4,"到达卸货地-APP","车辆已到达卸货地" ), |
| | | ddxhd(10, 5,5,"到达卸货地-电子锁汽运","电子锁已解锁,运输任务已完成" ), |
| | |
| | | //如果是司机或者内部人员,则从system_user查询 |
| | | SystemUser user = systemUserMapper.selectOne(new QueryWrapper<SystemUser>().lambda() |
| | | .eq(SystemUser::getOpenid,openId) |
| | | .eq(SystemUser::getType,source) |
| | | .eq(Objects.nonNull(source)&&Constants.equalsInteger(source,Constants.TWO),SystemUser::getType,source) |
| | | .eq(SystemUser::getDeleted,Boolean.FALSE) |
| | | .last(" limit 1 ")); |
| | | //非访客用户 进行判断是否存在用户 |