mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix review add DAO issue
This commit is contained in:
parent
ebc72069f9
commit
9638081be8
@ -110,7 +110,7 @@ public class ReviewDAOImpl extends AbstractDAOImpl implements ReviewDAO {
|
|||||||
try {
|
try {
|
||||||
conn = this.getDBConnection();
|
conn = this.getDBConnection();
|
||||||
StringJoiner joiner = new StringJoiner(",",
|
StringJoiner joiner = new StringJoiner(",",
|
||||||
"SELECT rv.ID FROM AP_APP_REVIEW " + "WHERE rv.AP_APP_RELEASE_ID IN (",
|
"SELECT rv.ID FROM AP_APP_REVIEW rv " + "WHERE rv.AP_APP_RELEASE_ID IN (",
|
||||||
") AND rv.USERNAME = ? AND rv.TENANT_ID = ?");
|
") AND rv.USERNAME = ? AND rv.TENANT_ID = ?");
|
||||||
appReleaseIds.stream().map(ignored -> "?").forEach(joiner::add);
|
appReleaseIds.stream().map(ignored -> "?").forEach(joiner::add);
|
||||||
String query = joiner.toString();
|
String query = joiner.toString();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user