whereConditions.append(String.format(" AND ood.ds_purchase_status IN (%s)",CommonTool.stringToSQLIN(CommonTool.convertValToArray(filter.getPurchaseOrderStatus()))));
whereConditions.append(String.format(" AND ood.ds_purchase_status IN (%s)",CommonTool.stringToSQLIN(CommonTool.splitWithComma(filter.getPurchaseOrderStatus()))));
}
if(ObjectUtil.isNotEmpty(filter.getOrderIds())){
whereConditions.append(String.format(" AND %s.`order_status` IN (%s)",masterTblAlias,CommonTool.stringToSQLIN(filter.getOrderIds())));
@ -442,7 +442,7 @@ public class PurchaseOrderServiceImpl implements PurchaseOrderService {
whereConditions.append(String.format(" AND o.`seller_remark_stars` IN (%s) ",CommonTool.stringToSQLIN(CommonTool.convertValToArray(filter.getSellerRemark()))));
whereConditions.append(String.format(" AND o.`seller_remark_stars` IN (%s) ",CommonTool.stringToSQLIN(CommonTool.splitWithComma(filter.getSellerRemark()))));
}
if(StrUtil.isNotBlank(filter.getSellerNote())){
@ -521,7 +521,7 @@ public class PurchaseOrderServiceImpl implements PurchaseOrderService {
whereConditions.append(String.format(" AND oocas.after_sale_status IN (%s)) ",CommonTool.stringToSQLIN(CommonTool.convertValToArray(filter.getAfterSaleStatus()))));
whereConditions.append(String.format(" AND oocas.after_sale_status IN (%s) ",CommonTool.intToSQLIN(filter.getAfterSaleStatus())));
joinTables.put(opOrderChildAfterSaleTbl,String.format(" inner join %s oocas on oocas.order_id = %s.order_id",opOrderChildAfterSaleTbl,masterTblAlias));
}
@ -1823,8 +1823,9 @@ public class PurchaseOrderServiceImpl implements PurchaseOrderService {