| | |
| | | //设置账号 |
| | | user.setAccount(user.getCardid()); |
| | | //获取默认密码配置 |
| | | user.setPassword(ParamCache.getValue(DEFAULT_PARAM_PASSWORD)); |
| | | user.setPassword(user.getCardid().substring(user.getCardid().length()-6)); |
| | | // user.setPassword(ParamCache.getValue(DEFAULT_PARAM_PASSWORD)); |
| | | //新增 |
| | | this.submit(user); |
| | | }); |
| | |
| | | //设置账号 |
| | | user.setAccount(user.getCardid()); |
| | | //获取默认密码配置 |
| | | user.setPassword(ParamCache.getValue(DEFAULT_PARAM_PASSWORD)); |
| | | user.setPassword(user.getCardid().substring(user.getCardid().length()-6)); |
| | | // user.setPassword(ParamCache.getValue(DEFAULT_PARAM_PASSWORD)); |
| | | //新增 |
| | | this.submit(user); |
| | | }); |
| | |
| | | public UserVO getUserInfoBySecurityNumber(String securityNumber) { |
| | | return baseMapper.getUserInfoBySecurityNumber(securityNumber); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 保安员信息 |
| | | * @param user |
| | | * @return |
| | | */ |
| | | @Override |
| | | public UserVO getUserDetails(User user) { |
| | | return baseMapper.getUserDetails(user); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> seleL(String type,String deptid, String jurisdiction) { |
| | | return baseMapper.seleL(type,deptid, jurisdiction); |
| | | } |
| | | } |