Skip to content

Commit

Permalink
Remove duplicated AND
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Nov 27, 2021
1 parent 00d00cc commit 3bda7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

sourceCompatibility = 1.8
targetCompatibility = 1.8
def libraryVersion = '1.2.6'
def libraryVersion = '1.2.7'
// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,7 @@ private ListOrdersResponse.Builder listOrders(ListOrdersRequest request) {
}
// for payment
if(request.getIsWaitingForPay()) {
whereClause.append(" AND AND C_Order.Processed = 'N' AND NOT EXISTS(SELECT 1 FROM C_Payment p WHERE p.C_Order_ID = C_Order.C_Order_ID)");
whereClause.append(" AND C_Order.Processed = 'N' AND NOT EXISTS(SELECT 1 FROM C_Payment p WHERE p.C_Order_ID = C_Order.C_Order_ID)");
}
if(request.getIsWaitingForShipment()) {
whereClause.append(" AND DocStatus IN('CO') AND NOT EXISTS(SELECT 1 FROM M_InOut io WHERE io.C_Order_ID = C_Order.C_Order_ID AND io.DocStatus IN('CO', 'CL'))");
Expand Down

0 comments on commit 3bda7c3

Please sign in to comment.