From 92201396b1b3fa9c034317909a80f843117bfa85 Mon Sep 17 00:00:00 2001 From: rossumg Date: Fri, 8 Jun 2018 10:59:38 -0700 Subject: [PATCH] Remove delete test_results that violates result_testresult_fk on result table. --- .../lims/testconfiguration/action/TestModifyUpdate.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/us/mn/state/health/lims/testconfiguration/action/TestModifyUpdate.java b/app/src/us/mn/state/health/lims/testconfiguration/action/TestModifyUpdate.java index 185be48c..a3ce2f66 100644 --- a/app/src/us/mn/state/health/lims/testconfiguration/action/TestModifyUpdate.java +++ b/app/src/us/mn/state/health/lims/testconfiguration/action/TestModifyUpdate.java @@ -108,12 +108,6 @@ protected ActionForward performAction(ActionMapping mapping, ActionForm form, Ht } panelItemDAO.deleteData(panelItems); - List testResultItems = testResultDAO.getActiveTestResultsByTest(testAddParams.testId); - for( TestResult item : testResultItems){ - item.setSysUserId(currentUserId); - } - testResultDAO.deleteData(testResultItems); - List resultLimitItems = resultLimitDAO.getAllResultLimitsForTest(testAddParams.testId); for( ResultLimit item : resultLimitItems){ item.setSysUserId(currentUserId);