Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
6d67b951
Commit
6d67b951
authored
Nov 28, 2017
by
Maxym Borodenko
Browse files
BrAPI error
parent
b4743f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/server/service/impl/DirectMysqlQuery.java
View file @
6d67b951
...
...
@@ -119,6 +119,10 @@ public class DirectMysqlQuery {
if
(
filters
.
hasFilter
(
FilterConstants
.
CROPS
))
{
innerJoin
(
"crop"
,
null
,
"crop.id=a.cropId"
);
}
if
(
filters
.
hasFilter
(
FilterConstants
.
UUID
))
{
innerJoin
(
"acce"
,
null
,
"acce.id=a.id"
);
}
if
(
filters
.
hasFilter
(
FilterConstants
.
PDCI
))
{
innerJoin
(
"pdci"
,
null
,
"pdci.accessionId=a.id"
);
...
...
@@ -165,7 +169,7 @@ public class DirectMysqlQuery {
protected
DirectMysqlQuery
filter
(
AppliedFilters
filters
,
MethodResolver
methodResolver
)
{
createQuery
(
whereBuffer
,
"a.id"
,
filters
.
get
(
FilterConstants
.
ID
),
params
);
createQuery
(
whereBuffer
,
"a.uuid"
,
filters
.
get
(
FilterConstants
.
UUID
),
params
);
createQuery
(
whereBuffer
,
"a
cce
.uuid"
,
filters
.
get
(
FilterConstants
.
UUID
),
params
);
{
// FIXME Are these two still used?
createQuery
(
whereBuffer
,
"t.taxGenus"
,
filters
.
get
(
"genusId"
),
params
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment