Skip to content
Snippets Groups Projects
Commit 73a4298d authored by tjc's avatar tjc
Browse files

use feature_id in insertFeatureProp

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5231 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent be981b91
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,13 @@
INSERT INTO featureprop
( feature_id, type_id, value, rank )
VALUES
( (SELECT feature_id FROM feature WHERE uniquename=#feature.uniqueName#),
(
<isGreaterThan property="feature.featureId" compareValue="0">
$feature.featureId$,
</isGreaterThan>
<isLessEqual property="feature.featureId" compareValue="0">
(SELECT feature_id FROM feature WHERE uniquename=#feature.uniqueName#),
</isLessEqual>
$cvTerm.cvTermId$, #value#, $rank$ )
</insert>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment