| Line 209... |
Line 209... |
| 209 |
* @param serialNumber
|
209 |
* @param serialNumber
|
| 210 |
* @param itemNumber
|
210 |
* @param itemNumber
|
| 211 |
* @param invoiceNumber
|
211 |
* @param invoiceNumber
|
| 212 |
* @param warehouseId
|
212 |
* @param warehouseId
|
| 213 |
* @param unitPrice
|
213 |
* @param unitPrice
|
| - |
|
214 |
* @param nlc
|
| 214 |
* @param orderId
|
215 |
* @param orderId
|
| 215 |
*/
|
216 |
*/
|
| 216 |
public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId) throws WarehouseServiceException, org.apache.thrift.TException;
|
217 |
public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 217 |
|
218 |
|
| 218 |
/**
|
219 |
/**
|
| 219 |
* Insert Purchase_Ret/Sale_Ret Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
220 |
* Insert Purchase_Ret/Sale_Ret Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
| 220 |
*
|
221 |
*
|
| 221 |
* @param orderId
|
222 |
* @param orderId
|
| Line 311... |
Line 312... |
| 311 |
|
312 |
|
| 312 |
public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
313 |
public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
| 313 |
|
314 |
|
| 314 |
public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
315 |
public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
| 315 |
|
316 |
|
| 316 |
public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException;
|
317 |
public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException;
|
| 317 |
|
318 |
|
| 318 |
public void scanForOursExternalSaleReturn(long orderId, double unitPrice, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSaleReturn_call> resultHandler) throws org.apache.thrift.TException;
|
319 |
public void scanForOursExternalSaleReturn(long orderId, double unitPrice, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSaleReturn_call> resultHandler) throws org.apache.thrift.TException;
|
| 319 |
|
320 |
|
| 320 |
public void getMovementNonSerializedInventoryByScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMovementNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
321 |
public void getMovementNonSerializedInventoryByScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMovementNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
|
| 321 |
|
322 |
|
| Line 944... |
Line 945... |
| 944 |
return result.success;
|
945 |
return result.success;
|
| 945 |
}
|
946 |
}
|
| 946 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHistoricNonSerializedInventoryByScans failed: unknown result");
|
947 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHistoricNonSerializedInventoryByScans failed: unknown result");
|
| 947 |
}
|
948 |
}
|
| 948 |
|
949 |
|
| 949 |
public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId) throws WarehouseServiceException, org.apache.thrift.TException
|
950 |
public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId) throws WarehouseServiceException, org.apache.thrift.TException
|
| 950 |
{
|
951 |
{
|
| 951 |
send_scanForOursExternalSale(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, orderId);
|
952 |
send_scanForOursExternalSale(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId);
|
| 952 |
return recv_scanForOursExternalSale();
|
953 |
return recv_scanForOursExternalSale();
|
| 953 |
}
|
954 |
}
|
| 954 |
|
955 |
|
| 955 |
public void send_scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId) throws org.apache.thrift.TException
|
956 |
public void send_scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId) throws org.apache.thrift.TException
|
| 956 |
{
|
957 |
{
|
| 957 |
scanForOursExternalSale_args args = new scanForOursExternalSale_args();
|
958 |
scanForOursExternalSale_args args = new scanForOursExternalSale_args();
|
| 958 |
args.setItemId(itemId);
|
959 |
args.setItemId(itemId);
|
| 959 |
args.setSerialNumber(serialNumber);
|
960 |
args.setSerialNumber(serialNumber);
|
| 960 |
args.setItemNumber(itemNumber);
|
961 |
args.setItemNumber(itemNumber);
|
| 961 |
args.setInvoiceNumber(invoiceNumber);
|
962 |
args.setInvoiceNumber(invoiceNumber);
|
| 962 |
args.setWarehouseId(warehouseId);
|
963 |
args.setWarehouseId(warehouseId);
|
| 963 |
args.setUnitPrice(unitPrice);
|
964 |
args.setUnitPrice(unitPrice);
|
| - |
|
965 |
args.setNlc(nlc);
|
| 964 |
args.setOrderId(orderId);
|
966 |
args.setOrderId(orderId);
|
| 965 |
sendBase("scanForOursExternalSale", args);
|
967 |
sendBase("scanForOursExternalSale", args);
|
| 966 |
}
|
968 |
}
|
| 967 |
|
969 |
|
| 968 |
public InventoryItem recv_scanForOursExternalSale() throws WarehouseServiceException, org.apache.thrift.TException
|
970 |
public InventoryItem recv_scanForOursExternalSale() throws WarehouseServiceException, org.apache.thrift.TException
|
| Line 2312... |
Line 2314... |
| 2312 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
2314 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 2313 |
return (new Client(prot)).recv_getHistoricNonSerializedInventoryByScans();
|
2315 |
return (new Client(prot)).recv_getHistoricNonSerializedInventoryByScans();
|
| 2314 |
}
|
2316 |
}
|
| 2315 |
}
|
2317 |
}
|
| 2316 |
|
2318 |
|
| 2317 |
public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException {
|
2319 |
public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException {
|
| 2318 |
checkReady();
|
2320 |
checkReady();
|
| 2319 |
scanForOursExternalSale_call method_call = new scanForOursExternalSale_call(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, orderId, resultHandler, this, ___protocolFactory, ___transport);
|
2321 |
scanForOursExternalSale_call method_call = new scanForOursExternalSale_call(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId, resultHandler, this, ___protocolFactory, ___transport);
|
| 2320 |
this.___currentMethod = method_call;
|
2322 |
this.___currentMethod = method_call;
|
| 2321 |
___manager.call(method_call);
|
2323 |
___manager.call(method_call);
|
| 2322 |
}
|
2324 |
}
|
| 2323 |
|
2325 |
|
| 2324 |
public static class scanForOursExternalSale_call extends org.apache.thrift.async.TAsyncMethodCall {
|
2326 |
public static class scanForOursExternalSale_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| Line 2326... |
Line 2328... |
| 2326 |
private String serialNumber;
|
2328 |
private String serialNumber;
|
| 2327 |
private String itemNumber;
|
2329 |
private String itemNumber;
|
| 2328 |
private String invoiceNumber;
|
2330 |
private String invoiceNumber;
|
| 2329 |
private long warehouseId;
|
2331 |
private long warehouseId;
|
| 2330 |
private double unitPrice;
|
2332 |
private double unitPrice;
|
| - |
|
2333 |
private double nlc;
|
| 2331 |
private long orderId;
|
2334 |
private long orderId;
|
| 2332 |
public scanForOursExternalSale_call(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
2335 |
public scanForOursExternalSale_call(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 2333 |
super(client, protocolFactory, transport, resultHandler, false);
|
2336 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 2334 |
this.itemId = itemId;
|
2337 |
this.itemId = itemId;
|
| 2335 |
this.serialNumber = serialNumber;
|
2338 |
this.serialNumber = serialNumber;
|
| 2336 |
this.itemNumber = itemNumber;
|
2339 |
this.itemNumber = itemNumber;
|
| 2337 |
this.invoiceNumber = invoiceNumber;
|
2340 |
this.invoiceNumber = invoiceNumber;
|
| 2338 |
this.warehouseId = warehouseId;
|
2341 |
this.warehouseId = warehouseId;
|
| 2339 |
this.unitPrice = unitPrice;
|
2342 |
this.unitPrice = unitPrice;
|
| - |
|
2343 |
this.nlc = nlc;
|
| 2340 |
this.orderId = orderId;
|
2344 |
this.orderId = orderId;
|
| 2341 |
}
|
2345 |
}
|
| 2342 |
|
2346 |
|
| 2343 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
2347 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 2344 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scanForOursExternalSale", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
2348 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("scanForOursExternalSale", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| Line 2347... |
Line 2351... |
| 2347 |
args.setSerialNumber(serialNumber);
|
2351 |
args.setSerialNumber(serialNumber);
|
| 2348 |
args.setItemNumber(itemNumber);
|
2352 |
args.setItemNumber(itemNumber);
|
| 2349 |
args.setInvoiceNumber(invoiceNumber);
|
2353 |
args.setInvoiceNumber(invoiceNumber);
|
| 2350 |
args.setWarehouseId(warehouseId);
|
2354 |
args.setWarehouseId(warehouseId);
|
| 2351 |
args.setUnitPrice(unitPrice);
|
2355 |
args.setUnitPrice(unitPrice);
|
| - |
|
2356 |
args.setNlc(nlc);
|
| 2352 |
args.setOrderId(orderId);
|
2357 |
args.setOrderId(orderId);
|
| 2353 |
args.write(prot);
|
2358 |
args.write(prot);
|
| 2354 |
prot.writeMessageEnd();
|
2359 |
prot.writeMessageEnd();
|
| 2355 |
}
|
2360 |
}
|
| 2356 |
|
2361 |
|
| Line 3578... |
Line 3583... |
| 3578 |
}
|
3583 |
}
|
| 3579 |
|
3584 |
|
| 3580 |
protected scanForOursExternalSale_result getResult(I iface, scanForOursExternalSale_args args) throws org.apache.thrift.TException {
|
3585 |
protected scanForOursExternalSale_result getResult(I iface, scanForOursExternalSale_args args) throws org.apache.thrift.TException {
|
| 3581 |
scanForOursExternalSale_result result = new scanForOursExternalSale_result();
|
3586 |
scanForOursExternalSale_result result = new scanForOursExternalSale_result();
|
| 3582 |
try {
|
3587 |
try {
|
| 3583 |
result.success = iface.scanForOursExternalSale(args.itemId, args.serialNumber, args.itemNumber, args.invoiceNumber, args.warehouseId, args.unitPrice, args.orderId);
|
3588 |
result.success = iface.scanForOursExternalSale(args.itemId, args.serialNumber, args.itemNumber, args.invoiceNumber, args.warehouseId, args.unitPrice, args.nlc, args.orderId);
|
| 3584 |
} catch (WarehouseServiceException ex) {
|
3589 |
} catch (WarehouseServiceException ex) {
|
| 3585 |
result.ex = ex;
|
3590 |
result.ex = ex;
|
| 3586 |
}
|
3591 |
}
|
| 3587 |
return result;
|
3592 |
return result;
|
| 3588 |
}
|
3593 |
}
|
| Line 20305... |
Line 20310... |
| 20305 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
20310 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| 20306 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("itemNumber", org.apache.thrift.protocol.TType.STRING, (short)3);
|
20311 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("itemNumber", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| 20307 |
private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
|
20312 |
private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
|
| 20308 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)5);
|
20313 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)5);
|
| 20309 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unitPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
20314 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unitPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
| - |
|
20315 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)7);
|
| 20310 |
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)7);
|
20316 |
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)8);
|
| 20311 |
|
20317 |
|
| 20312 |
private long itemId; // required
|
20318 |
private long itemId; // required
|
| 20313 |
private String serialNumber; // required
|
20319 |
private String serialNumber; // required
|
| 20314 |
private String itemNumber; // required
|
20320 |
private String itemNumber; // required
|
| 20315 |
private String invoiceNumber; // required
|
20321 |
private String invoiceNumber; // required
|
| 20316 |
private long warehouseId; // required
|
20322 |
private long warehouseId; // required
|
| 20317 |
private double unitPrice; // required
|
20323 |
private double unitPrice; // required
|
| - |
|
20324 |
private double nlc; // required
|
| 20318 |
private long orderId; // required
|
20325 |
private long orderId; // required
|
| 20319 |
|
20326 |
|
| 20320 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
20327 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 20321 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
20328 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 20322 |
ITEM_ID((short)1, "itemId"),
|
20329 |
ITEM_ID((short)1, "itemId"),
|
| 20323 |
SERIAL_NUMBER((short)2, "serialNumber"),
|
20330 |
SERIAL_NUMBER((short)2, "serialNumber"),
|
| 20324 |
ITEM_NUMBER((short)3, "itemNumber"),
|
20331 |
ITEM_NUMBER((short)3, "itemNumber"),
|
| 20325 |
INVOICE_NUMBER((short)4, "invoiceNumber"),
|
20332 |
INVOICE_NUMBER((short)4, "invoiceNumber"),
|
| 20326 |
WAREHOUSE_ID((short)5, "warehouseId"),
|
20333 |
WAREHOUSE_ID((short)5, "warehouseId"),
|
| 20327 |
UNIT_PRICE((short)6, "unitPrice"),
|
20334 |
UNIT_PRICE((short)6, "unitPrice"),
|
| - |
|
20335 |
NLC((short)7, "nlc"),
|
| 20328 |
ORDER_ID((short)7, "orderId");
|
20336 |
ORDER_ID((short)8, "orderId");
|
| 20329 |
|
20337 |
|
| 20330 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
20338 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 20331 |
|
20339 |
|
| 20332 |
static {
|
20340 |
static {
|
| 20333 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
20341 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 20350... |
Line 20358... |
| 20350 |
return INVOICE_NUMBER;
|
20358 |
return INVOICE_NUMBER;
|
| 20351 |
case 5: // WAREHOUSE_ID
|
20359 |
case 5: // WAREHOUSE_ID
|
| 20352 |
return WAREHOUSE_ID;
|
20360 |
return WAREHOUSE_ID;
|
| 20353 |
case 6: // UNIT_PRICE
|
20361 |
case 6: // UNIT_PRICE
|
| 20354 |
return UNIT_PRICE;
|
20362 |
return UNIT_PRICE;
|
| - |
|
20363 |
case 7: // NLC
|
| - |
|
20364 |
return NLC;
|
| 20355 |
case 7: // ORDER_ID
|
20365 |
case 8: // ORDER_ID
|
| 20356 |
return ORDER_ID;
|
20366 |
return ORDER_ID;
|
| 20357 |
default:
|
20367 |
default:
|
| 20358 |
return null;
|
20368 |
return null;
|
| 20359 |
}
|
20369 |
}
|
| 20360 |
}
|
20370 |
}
|
| Line 20395... |
Line 20405... |
| 20395 |
|
20405 |
|
| 20396 |
// isset id assignments
|
20406 |
// isset id assignments
|
| 20397 |
private static final int __ITEMID_ISSET_ID = 0;
|
20407 |
private static final int __ITEMID_ISSET_ID = 0;
|
| 20398 |
private static final int __WAREHOUSEID_ISSET_ID = 1;
|
20408 |
private static final int __WAREHOUSEID_ISSET_ID = 1;
|
| 20399 |
private static final int __UNITPRICE_ISSET_ID = 2;
|
20409 |
private static final int __UNITPRICE_ISSET_ID = 2;
|
| - |
|
20410 |
private static final int __NLC_ISSET_ID = 3;
|
| 20400 |
private static final int __ORDERID_ISSET_ID = 3;
|
20411 |
private static final int __ORDERID_ISSET_ID = 4;
|
| 20401 |
private BitSet __isset_bit_vector = new BitSet(4);
|
20412 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| 20402 |
|
20413 |
|
| 20403 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
20414 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 20404 |
static {
|
20415 |
static {
|
| 20405 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
20416 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 20406 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
20417 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 20413... |
Line 20424... |
| 20413 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
20424 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 20414 |
tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
20425 |
tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 20415 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
20426 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 20416 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unitPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
20427 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unitPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 20417 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
20428 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
20429 |
tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
20430 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 20418 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
20431 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 20419 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
20432 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 20420 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
20433 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 20421 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scanForOursExternalSale_args.class, metaDataMap);
|
20434 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(scanForOursExternalSale_args.class, metaDataMap);
|
| 20422 |
}
|
20435 |
}
|
| Line 20429... |
Line 20442... |
| 20429 |
String serialNumber,
|
20442 |
String serialNumber,
|
| 20430 |
String itemNumber,
|
20443 |
String itemNumber,
|
| 20431 |
String invoiceNumber,
|
20444 |
String invoiceNumber,
|
| 20432 |
long warehouseId,
|
20445 |
long warehouseId,
|
| 20433 |
double unitPrice,
|
20446 |
double unitPrice,
|
| - |
|
20447 |
double nlc,
|
| 20434 |
long orderId)
|
20448 |
long orderId)
|
| 20435 |
{
|
20449 |
{
|
| 20436 |
this();
|
20450 |
this();
|
| 20437 |
this.itemId = itemId;
|
20451 |
this.itemId = itemId;
|
| 20438 |
setItemIdIsSet(true);
|
20452 |
setItemIdIsSet(true);
|
| Line 20441... |
Line 20455... |
| 20441 |
this.invoiceNumber = invoiceNumber;
|
20455 |
this.invoiceNumber = invoiceNumber;
|
| 20442 |
this.warehouseId = warehouseId;
|
20456 |
this.warehouseId = warehouseId;
|
| 20443 |
setWarehouseIdIsSet(true);
|
20457 |
setWarehouseIdIsSet(true);
|
| 20444 |
this.unitPrice = unitPrice;
|
20458 |
this.unitPrice = unitPrice;
|
| 20445 |
setUnitPriceIsSet(true);
|
20459 |
setUnitPriceIsSet(true);
|
| - |
|
20460 |
this.nlc = nlc;
|
| - |
|
20461 |
setNlcIsSet(true);
|
| 20446 |
this.orderId = orderId;
|
20462 |
this.orderId = orderId;
|
| 20447 |
setOrderIdIsSet(true);
|
20463 |
setOrderIdIsSet(true);
|
| 20448 |
}
|
20464 |
}
|
| 20449 |
|
20465 |
|
| 20450 |
/**
|
20466 |
/**
|
| Line 20463... |
Line 20479... |
| 20463 |
if (other.isSetInvoiceNumber()) {
|
20479 |
if (other.isSetInvoiceNumber()) {
|
| 20464 |
this.invoiceNumber = other.invoiceNumber;
|
20480 |
this.invoiceNumber = other.invoiceNumber;
|
| 20465 |
}
|
20481 |
}
|
| 20466 |
this.warehouseId = other.warehouseId;
|
20482 |
this.warehouseId = other.warehouseId;
|
| 20467 |
this.unitPrice = other.unitPrice;
|
20483 |
this.unitPrice = other.unitPrice;
|
| - |
|
20484 |
this.nlc = other.nlc;
|
| 20468 |
this.orderId = other.orderId;
|
20485 |
this.orderId = other.orderId;
|
| 20469 |
}
|
20486 |
}
|
| 20470 |
|
20487 |
|
| 20471 |
public scanForOursExternalSale_args deepCopy() {
|
20488 |
public scanForOursExternalSale_args deepCopy() {
|
| 20472 |
return new scanForOursExternalSale_args(this);
|
20489 |
return new scanForOursExternalSale_args(this);
|
| Line 20481... |
Line 20498... |
| 20481 |
this.invoiceNumber = null;
|
20498 |
this.invoiceNumber = null;
|
| 20482 |
setWarehouseIdIsSet(false);
|
20499 |
setWarehouseIdIsSet(false);
|
| 20483 |
this.warehouseId = 0;
|
20500 |
this.warehouseId = 0;
|
| 20484 |
setUnitPriceIsSet(false);
|
20501 |
setUnitPriceIsSet(false);
|
| 20485 |
this.unitPrice = 0.0;
|
20502 |
this.unitPrice = 0.0;
|
| - |
|
20503 |
setNlcIsSet(false);
|
| - |
|
20504 |
this.nlc = 0.0;
|
| 20486 |
setOrderIdIsSet(false);
|
20505 |
setOrderIdIsSet(false);
|
| 20487 |
this.orderId = 0;
|
20506 |
this.orderId = 0;
|
| 20488 |
}
|
20507 |
}
|
| 20489 |
|
20508 |
|
| 20490 |
public long getItemId() {
|
20509 |
public long getItemId() {
|
| Line 20620... |
Line 20639... |
| 20620 |
|
20639 |
|
| 20621 |
public void setUnitPriceIsSet(boolean value) {
|
20640 |
public void setUnitPriceIsSet(boolean value) {
|
| 20622 |
__isset_bit_vector.set(__UNITPRICE_ISSET_ID, value);
|
20641 |
__isset_bit_vector.set(__UNITPRICE_ISSET_ID, value);
|
| 20623 |
}
|
20642 |
}
|
| 20624 |
|
20643 |
|
| - |
|
20644 |
public double getNlc() {
|
| - |
|
20645 |
return this.nlc;
|
| - |
|
20646 |
}
|
| - |
|
20647 |
|
| - |
|
20648 |
public void setNlc(double nlc) {
|
| - |
|
20649 |
this.nlc = nlc;
|
| - |
|
20650 |
setNlcIsSet(true);
|
| - |
|
20651 |
}
|
| - |
|
20652 |
|
| - |
|
20653 |
public void unsetNlc() {
|
| - |
|
20654 |
__isset_bit_vector.clear(__NLC_ISSET_ID);
|
| - |
|
20655 |
}
|
| - |
|
20656 |
|
| - |
|
20657 |
/** Returns true if field nlc is set (has been assigned a value) and false otherwise */
|
| - |
|
20658 |
public boolean isSetNlc() {
|
| - |
|
20659 |
return __isset_bit_vector.get(__NLC_ISSET_ID);
|
| - |
|
20660 |
}
|
| - |
|
20661 |
|
| - |
|
20662 |
public void setNlcIsSet(boolean value) {
|
| - |
|
20663 |
__isset_bit_vector.set(__NLC_ISSET_ID, value);
|
| - |
|
20664 |
}
|
| - |
|
20665 |
|
| 20625 |
public long getOrderId() {
|
20666 |
public long getOrderId() {
|
| 20626 |
return this.orderId;
|
20667 |
return this.orderId;
|
| 20627 |
}
|
20668 |
}
|
| 20628 |
|
20669 |
|
| 20629 |
public void setOrderId(long orderId) {
|
20670 |
public void setOrderId(long orderId) {
|
| Line 20692... |
Line 20733... |
| 20692 |
} else {
|
20733 |
} else {
|
| 20693 |
setUnitPrice((Double)value);
|
20734 |
setUnitPrice((Double)value);
|
| 20694 |
}
|
20735 |
}
|
| 20695 |
break;
|
20736 |
break;
|
| 20696 |
|
20737 |
|
| - |
|
20738 |
case NLC:
|
| - |
|
20739 |
if (value == null) {
|
| - |
|
20740 |
unsetNlc();
|
| - |
|
20741 |
} else {
|
| - |
|
20742 |
setNlc((Double)value);
|
| - |
|
20743 |
}
|
| - |
|
20744 |
break;
|
| - |
|
20745 |
|
| 20697 |
case ORDER_ID:
|
20746 |
case ORDER_ID:
|
| 20698 |
if (value == null) {
|
20747 |
if (value == null) {
|
| 20699 |
unsetOrderId();
|
20748 |
unsetOrderId();
|
| 20700 |
} else {
|
20749 |
} else {
|
| 20701 |
setOrderId((Long)value);
|
20750 |
setOrderId((Long)value);
|
| Line 20723... |
Line 20772... |
| 20723 |
return Long.valueOf(getWarehouseId());
|
20772 |
return Long.valueOf(getWarehouseId());
|
| 20724 |
|
20773 |
|
| 20725 |
case UNIT_PRICE:
|
20774 |
case UNIT_PRICE:
|
| 20726 |
return Double.valueOf(getUnitPrice());
|
20775 |
return Double.valueOf(getUnitPrice());
|
| 20727 |
|
20776 |
|
| - |
|
20777 |
case NLC:
|
| - |
|
20778 |
return Double.valueOf(getNlc());
|
| - |
|
20779 |
|
| 20728 |
case ORDER_ID:
|
20780 |
case ORDER_ID:
|
| 20729 |
return Long.valueOf(getOrderId());
|
20781 |
return Long.valueOf(getOrderId());
|
| 20730 |
|
20782 |
|
| 20731 |
}
|
20783 |
}
|
| 20732 |
throw new IllegalStateException();
|
20784 |
throw new IllegalStateException();
|
| Line 20749... |
Line 20801... |
| 20749 |
return isSetInvoiceNumber();
|
20801 |
return isSetInvoiceNumber();
|
| 20750 |
case WAREHOUSE_ID:
|
20802 |
case WAREHOUSE_ID:
|
| 20751 |
return isSetWarehouseId();
|
20803 |
return isSetWarehouseId();
|
| 20752 |
case UNIT_PRICE:
|
20804 |
case UNIT_PRICE:
|
| 20753 |
return isSetUnitPrice();
|
20805 |
return isSetUnitPrice();
|
| - |
|
20806 |
case NLC:
|
| - |
|
20807 |
return isSetNlc();
|
| 20754 |
case ORDER_ID:
|
20808 |
case ORDER_ID:
|
| 20755 |
return isSetOrderId();
|
20809 |
return isSetOrderId();
|
| 20756 |
}
|
20810 |
}
|
| 20757 |
throw new IllegalStateException();
|
20811 |
throw new IllegalStateException();
|
| 20758 |
}
|
20812 |
}
|
| Line 20822... |
Line 20876... |
| 20822 |
return false;
|
20876 |
return false;
|
| 20823 |
if (this.unitPrice != that.unitPrice)
|
20877 |
if (this.unitPrice != that.unitPrice)
|
| 20824 |
return false;
|
20878 |
return false;
|
| 20825 |
}
|
20879 |
}
|
| 20826 |
|
20880 |
|
| - |
|
20881 |
boolean this_present_nlc = true;
|
| - |
|
20882 |
boolean that_present_nlc = true;
|
| - |
|
20883 |
if (this_present_nlc || that_present_nlc) {
|
| - |
|
20884 |
if (!(this_present_nlc && that_present_nlc))
|
| - |
|
20885 |
return false;
|
| - |
|
20886 |
if (this.nlc != that.nlc)
|
| - |
|
20887 |
return false;
|
| - |
|
20888 |
}
|
| - |
|
20889 |
|
| 20827 |
boolean this_present_orderId = true;
|
20890 |
boolean this_present_orderId = true;
|
| 20828 |
boolean that_present_orderId = true;
|
20891 |
boolean that_present_orderId = true;
|
| 20829 |
if (this_present_orderId || that_present_orderId) {
|
20892 |
if (this_present_orderId || that_present_orderId) {
|
| 20830 |
if (!(this_present_orderId && that_present_orderId))
|
20893 |
if (!(this_present_orderId && that_present_orderId))
|
| 20831 |
return false;
|
20894 |
return false;
|
| Line 20907... |
Line 20970... |
| 20907 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unitPrice, typedOther.unitPrice);
|
20970 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unitPrice, typedOther.unitPrice);
|
| 20908 |
if (lastComparison != 0) {
|
20971 |
if (lastComparison != 0) {
|
| 20909 |
return lastComparison;
|
20972 |
return lastComparison;
|
| 20910 |
}
|
20973 |
}
|
| 20911 |
}
|
20974 |
}
|
| - |
|
20975 |
lastComparison = Boolean.valueOf(isSetNlc()).compareTo(typedOther.isSetNlc());
|
| - |
|
20976 |
if (lastComparison != 0) {
|
| - |
|
20977 |
return lastComparison;
|
| - |
|
20978 |
}
|
| - |
|
20979 |
if (isSetNlc()) {
|
| - |
|
20980 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nlc, typedOther.nlc);
|
| - |
|
20981 |
if (lastComparison != 0) {
|
| - |
|
20982 |
return lastComparison;
|
| - |
|
20983 |
}
|
| - |
|
20984 |
}
|
| 20912 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
20985 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
| 20913 |
if (lastComparison != 0) {
|
20986 |
if (lastComparison != 0) {
|
| 20914 |
return lastComparison;
|
20987 |
return lastComparison;
|
| 20915 |
}
|
20988 |
}
|
| 20916 |
if (isSetOrderId()) {
|
20989 |
if (isSetOrderId()) {
|
| Line 20979... |
Line 21052... |
| 20979 |
setUnitPriceIsSet(true);
|
21052 |
setUnitPriceIsSet(true);
|
| 20980 |
} else {
|
21053 |
} else {
|
| 20981 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
21054 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 20982 |
}
|
21055 |
}
|
| 20983 |
break;
|
21056 |
break;
|
| - |
|
21057 |
case 7: // NLC
|
| - |
|
21058 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
21059 |
this.nlc = iprot.readDouble();
|
| - |
|
21060 |
setNlcIsSet(true);
|
| - |
|
21061 |
} else {
|
| - |
|
21062 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
21063 |
}
|
| - |
|
21064 |
break;
|
| 20984 |
case 7: // ORDER_ID
|
21065 |
case 8: // ORDER_ID
|
| 20985 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
21066 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 20986 |
this.orderId = iprot.readI64();
|
21067 |
this.orderId = iprot.readI64();
|
| 20987 |
setOrderIdIsSet(true);
|
21068 |
setOrderIdIsSet(true);
|
| 20988 |
} else {
|
21069 |
} else {
|
| 20989 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
21070 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 21024... |
Line 21105... |
| 21024 |
oprot.writeI64(this.warehouseId);
|
21105 |
oprot.writeI64(this.warehouseId);
|
| 21025 |
oprot.writeFieldEnd();
|
21106 |
oprot.writeFieldEnd();
|
| 21026 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
21107 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
| 21027 |
oprot.writeDouble(this.unitPrice);
|
21108 |
oprot.writeDouble(this.unitPrice);
|
| 21028 |
oprot.writeFieldEnd();
|
21109 |
oprot.writeFieldEnd();
|
| - |
|
21110 |
oprot.writeFieldBegin(NLC_FIELD_DESC);
|
| - |
|
21111 |
oprot.writeDouble(this.nlc);
|
| - |
|
21112 |
oprot.writeFieldEnd();
|
| 21029 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
21113 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
| 21030 |
oprot.writeI64(this.orderId);
|
21114 |
oprot.writeI64(this.orderId);
|
| 21031 |
oprot.writeFieldEnd();
|
21115 |
oprot.writeFieldEnd();
|
| 21032 |
oprot.writeFieldStop();
|
21116 |
oprot.writeFieldStop();
|
| 21033 |
oprot.writeStructEnd();
|
21117 |
oprot.writeStructEnd();
|
| Line 21072... |
Line 21156... |
| 21072 |
if (!first) sb.append(", ");
|
21156 |
if (!first) sb.append(", ");
|
| 21073 |
sb.append("unitPrice:");
|
21157 |
sb.append("unitPrice:");
|
| 21074 |
sb.append(this.unitPrice);
|
21158 |
sb.append(this.unitPrice);
|
| 21075 |
first = false;
|
21159 |
first = false;
|
| 21076 |
if (!first) sb.append(", ");
|
21160 |
if (!first) sb.append(", ");
|
| - |
|
21161 |
sb.append("nlc:");
|
| - |
|
21162 |
sb.append(this.nlc);
|
| - |
|
21163 |
first = false;
|
| - |
|
21164 |
if (!first) sb.append(", ");
|
| 21077 |
sb.append("orderId:");
|
21165 |
sb.append("orderId:");
|
| 21078 |
sb.append(this.orderId);
|
21166 |
sb.append(this.orderId);
|
| 21079 |
first = false;
|
21167 |
first = false;
|
| 21080 |
sb.append(")");
|
21168 |
sb.append(")");
|
| 21081 |
return sb.toString();
|
21169 |
return sb.toString();
|