Database_Baseline.zip - updated sagacity_routines.sql to support removing findings.id field

database.inc - uncomment code block in post_Processing
This commit is contained in:
Ryan Prather 2018-11-06 15:42:59 -05:00
parent a9fc4f6a86
commit a6808b2add
2 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -11477,13 +11477,13 @@ EOQ;
]); ]);
$this->help->execute(); $this->help->execute();
# Commented out 3 Nov 18 to fix #62 - Jeff Odegard $this->help->query_type = db_helper::INSERT;
# $this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " . $this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " .
# "SELECT {$id},pcl.pdi_id,1 " . "SELECT {$id},pcl.pdi_id,1 " .
# "FROM target_checklist tc " . "FROM target_checklist tc " .
# "JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " . "JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " .
# "WHERE tc.tgt_id = {$id}"; "WHERE tc.tgt_id = {$id}";
# $this->help->execute(); $this->help->execute();
$this->update_Target_Counts($id); $this->update_Target_Counts($id);
} }