| | |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | dirService.insertDir(entity); |
| | | dirService.insert(entity); |
| | | |
| | | return success(entity.getId()); |
| | | } catch (Exception ex) { |
| | |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.insertDirs(list); |
| | | int count = dirService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.updateDir(entity); |
| | | int count = dirService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | |
| | | } |
| | | } |
| | | |
| | | int count = dirService.updateDirs(list); |
| | | int count = dirService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |