| | |
| | | //设置账号 |
| | | 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 getUserDetails(User user) { |
| | | return baseMapper.getUserDetails(user); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> seleL(String type,String deptid, String jurisdiction) { |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | | //工作汇报 |
| | | if (type.equals(1)){ |
| | | list = baseMapper.getDispaterInfo(deptid, jurisdiction); |
| | | } |
| | | //派遣 |
| | | if (type.equals(2) ||type.equals(3)){ |
| | | list = baseMapper.getWorkReportInfo(type,deptid, jurisdiction); |
| | | } |
| | | return list; |
| | | } |
| | | } |