|
|
@ -1451,7 +1451,8 @@ public class GenericSubscriptionDAOImpl extends AbstractDAOImpl implements Subsc
|
|
|
|
+ "JOIN AP_DEVICE_SUBSCRIPTION DS ON SOP.AP_DEVICE_SUBSCRIPTION_ID = DS.ID "
|
|
|
|
+ "JOIN AP_DEVICE_SUBSCRIPTION DS ON SOP.AP_DEVICE_SUBSCRIPTION_ID = DS.ID "
|
|
|
|
+ "JOIN AP_APP_RELEASE AR ON DS.AP_APP_RELEASE_ID = AR.ID "
|
|
|
|
+ "JOIN AP_APP_RELEASE AR ON DS.AP_APP_RELEASE_ID = AR.ID "
|
|
|
|
+ "JOIN AP_APP AP ON AP.ID = AR.AP_APP_ID "
|
|
|
|
+ "JOIN AP_APP AP ON AP.ID = AR.AP_APP_ID "
|
|
|
|
+ " WHERE SOP.OPERATION_ID = ? AND SOP.TENANT_ID = ?";
|
|
|
|
+ "WHERE SOP.OPERATION_ID = ? AND SOP.TENANT_ID = ? "
|
|
|
|
|
|
|
|
+ "LIMIT 1";
|
|
|
|
|
|
|
|
|
|
|
|
Connection conn = this.getDBConnection();
|
|
|
|
Connection conn = this.getDBConnection();
|
|
|
|
try (PreparedStatement stmt = conn.prepareStatement(sql)) {
|
|
|
|
try (PreparedStatement stmt = conn.prepareStatement(sql)) {
|
|
|
|