|
@@ -31,7 +31,6 @@ public class EmployeeInfoHistoryServiceImpl implements EmployeeInfoHistoryServic
|
|
|
private EmployeeInfoHistoryMapper infoHistoryMapper;
|
|
|
|
|
|
@Override
|
|
|
- @TenantIgnore
|
|
|
public Long createInfoHistory(EmployeeInfoHistorySaveReqVO createReqVO) {
|
|
|
|
|
|
|
|
@@ -43,7 +42,6 @@ public class EmployeeInfoHistoryServiceImpl implements EmployeeInfoHistoryServic
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @TenantIgnore
|
|
|
public void updateInfoHistory(EmployeeInfoHistorySaveReqVO updateReqVO) {
|
|
|
|
|
|
validateInfoHistoryExists(updateReqVO.getId());
|
|
@@ -53,7 +51,6 @@ public class EmployeeInfoHistoryServiceImpl implements EmployeeInfoHistoryServic
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @TenantIgnore
|
|
|
public void deleteInfoHistory(Long id) {
|
|
|
|
|
|
validateInfoHistoryExists(id);
|
|
@@ -61,7 +58,6 @@ public class EmployeeInfoHistoryServiceImpl implements EmployeeInfoHistoryServic
|
|
|
infoHistoryMapper.deleteById(id);
|
|
|
}
|
|
|
|
|
|
- @TenantIgnore
|
|
|
private void validateInfoHistoryExists(Long id) {
|
|
|
if (infoHistoryMapper.selectById(id) == null) {
|
|
|
throw exception(EMPLOYEE_INFO_HISTORY_NOT_EXISTS);
|
|
@@ -69,13 +65,11 @@ public class EmployeeInfoHistoryServiceImpl implements EmployeeInfoHistoryServic
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @TenantIgnore
|
|
|
public EmployeeInfoHistoryDO getInfoHistory(Long id) {
|
|
|
return infoHistoryMapper.selectById(id);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @TenantIgnore
|
|
|
public PageResult<EmployeeInfoHistoryDO> getInfoHistoryPage(EmployeeInfoHistoryPageReqVO pageReqVO) {
|
|
|
return infoHistoryMapper.selectPage(pageReqVO);
|
|
|
}
|