| | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | entity.setDepid(ue.getDepcode()); |
| | | } |
| | | |
| | | int count = resService.insert(entity); |
| | |
| | | if (ue != null) { |
| | | for (ResEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | entity.setDepid(ue.getDepcode()); |
| | | } |
| | | } |
| | | |
| | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | entity.setDepid(ue.getDepcode()); |
| | | } |
| | | |
| | | int count = resService.update(entity); |
| | |
| | | if (ue != null) { |
| | | for (ResEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | entity.setDepid(ue.getDepcode()); |
| | | } |
| | | } |
| | | |