Subversion Repositories SmartDukaan

Rev

Rev 20744 | Rev 23218 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20744 Rev 23121
Line 200... Line 200...
200
     - awbs
200
     - awbs
201
     - awbUsedFor
201
     - awbUsedFor
202
    """
202
    """
203
    pass
203
    pass
204
 
204
 
205
  def runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate):
205
  def runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate, provider):
206
    """
206
    """
207
    Parameters:
207
    Parameters:
208
     - logisticsLocationInfoList
208
     - logisticsLocationInfoList
209
     - runCompleteUpdate
209
     - runCompleteUpdate
-
 
210
     - provider
210
    """
211
    """
211
    pass
212
    pass
212
 
213
 
213
  def adjustDeliveryDays(self, startDate, days):
214
  def adjustDeliveryDays(self, startDate, days):
214
    """
215
    """
Line 937... Line 938...
937
    self._iprot.readMessageEnd()
938
    self._iprot.readMessageEnd()
938
    if result.success is not None:
939
    if result.success is not None:
939
      return result.success
940
      return result.success
940
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
941
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
941
 
942
 
942
  def runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate):
943
  def runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate, provider):
943
    """
944
    """
944
    Parameters:
945
    Parameters:
945
     - logisticsLocationInfoList
946
     - logisticsLocationInfoList
946
     - runCompleteUpdate
947
     - runCompleteUpdate
-
 
948
     - provider
947
    """
949
    """
948
    self.send_runLogisticsLocationInfoUpdate(logisticsLocationInfoList, runCompleteUpdate)
950
    self.send_runLogisticsLocationInfoUpdate(logisticsLocationInfoList, runCompleteUpdate, provider)
949
    self.recv_runLogisticsLocationInfoUpdate()
951
    self.recv_runLogisticsLocationInfoUpdate()
950
 
952
 
951
  def send_runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate):
953
  def send_runLogisticsLocationInfoUpdate(self, logisticsLocationInfoList, runCompleteUpdate, provider):
952
    self._oprot.writeMessageBegin('runLogisticsLocationInfoUpdate', TMessageType.CALL, self._seqid)
954
    self._oprot.writeMessageBegin('runLogisticsLocationInfoUpdate', TMessageType.CALL, self._seqid)
953
    args = runLogisticsLocationInfoUpdate_args()
955
    args = runLogisticsLocationInfoUpdate_args()
954
    args.logisticsLocationInfoList = logisticsLocationInfoList
956
    args.logisticsLocationInfoList = logisticsLocationInfoList
955
    args.runCompleteUpdate = runCompleteUpdate
957
    args.runCompleteUpdate = runCompleteUpdate
-
 
958
    args.provider = provider
956
    args.write(self._oprot)
959
    args.write(self._oprot)
957
    self._oprot.writeMessageEnd()
960
    self._oprot.writeMessageEnd()
958
    self._oprot.trans.flush()
961
    self._oprot.trans.flush()
959
 
962
 
960
  def recv_runLogisticsLocationInfoUpdate(self, ):
963
  def recv_runLogisticsLocationInfoUpdate(self, ):
Line 1502... Line 1505...
1502
  def process_runLogisticsLocationInfoUpdate(self, seqid, iprot, oprot):
1505
  def process_runLogisticsLocationInfoUpdate(self, seqid, iprot, oprot):
1503
    args = runLogisticsLocationInfoUpdate_args()
1506
    args = runLogisticsLocationInfoUpdate_args()
1504
    args.read(iprot)
1507
    args.read(iprot)
1505
    iprot.readMessageEnd()
1508
    iprot.readMessageEnd()
1506
    result = runLogisticsLocationInfoUpdate_result()
1509
    result = runLogisticsLocationInfoUpdate_result()
1507
    self._handler.runLogisticsLocationInfoUpdate(args.logisticsLocationInfoList, args.runCompleteUpdate)
1510
    self._handler.runLogisticsLocationInfoUpdate(args.logisticsLocationInfoList, args.runCompleteUpdate, args.provider)
1508
    oprot.writeMessageBegin("runLogisticsLocationInfoUpdate", TMessageType.REPLY, seqid)
1511
    oprot.writeMessageBegin("runLogisticsLocationInfoUpdate", TMessageType.REPLY, seqid)
1509
    result.write(oprot)
1512
    result.write(oprot)
1510
    oprot.writeMessageEnd()
1513
    oprot.writeMessageEnd()
1511
    oprot.trans.flush()
1514
    oprot.trans.flush()
1512
 
1515
 
Line 4298... Line 4301...
4298
class runLogisticsLocationInfoUpdate_args:
4301
class runLogisticsLocationInfoUpdate_args:
4299
  """
4302
  """
4300
  Attributes:
4303
  Attributes:
4301
   - logisticsLocationInfoList
4304
   - logisticsLocationInfoList
4302
   - runCompleteUpdate
4305
   - runCompleteUpdate
-
 
4306
   - provider
4303
  """
4307
  """
4304
 
4308
 
4305
  thrift_spec = (
4309
  thrift_spec = (
4306
    None, # 0
4310
    None, # 0
4307
    (1, TType.LIST, 'logisticsLocationInfoList', (TType.STRUCT,(LogisticsLocationInfo, LogisticsLocationInfo.thrift_spec)), None, ), # 1
4311
    (1, TType.LIST, 'logisticsLocationInfoList', (TType.STRUCT,(LogisticsLocationInfo, LogisticsLocationInfo.thrift_spec)), None, ), # 1
4308
    (2, TType.BOOL, 'runCompleteUpdate', None, None, ), # 2
4312
    (2, TType.BOOL, 'runCompleteUpdate', None, None, ), # 2
-
 
4313
    (3, TType.I64, 'provider', None, None, ), # 3
4309
  )
4314
  )
4310
 
4315
 
4311
  def __init__(self, logisticsLocationInfoList=None, runCompleteUpdate=None,):
4316
  def __init__(self, logisticsLocationInfoList=None, runCompleteUpdate=None, provider=None,):
4312
    self.logisticsLocationInfoList = logisticsLocationInfoList
4317
    self.logisticsLocationInfoList = logisticsLocationInfoList
4313
    self.runCompleteUpdate = runCompleteUpdate
4318
    self.runCompleteUpdate = runCompleteUpdate
-
 
4319
    self.provider = provider
4314
 
4320
 
4315
  def read(self, iprot):
4321
  def read(self, iprot):
4316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
4322
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
4317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
4323
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
4318
      return
4324
      return
Line 4335... Line 4341...
4335
      elif fid == 2:
4341
      elif fid == 2:
4336
        if ftype == TType.BOOL:
4342
        if ftype == TType.BOOL:
4337
          self.runCompleteUpdate = iprot.readBool();
4343
          self.runCompleteUpdate = iprot.readBool();
4338
        else:
4344
        else:
4339
          iprot.skip(ftype)
4345
          iprot.skip(ftype)
-
 
4346
      elif fid == 3:
-
 
4347
        if ftype == TType.I64:
-
 
4348
          self.provider = iprot.readI64();
-
 
4349
        else:
-
 
4350
          iprot.skip(ftype)
4340
      else:
4351
      else:
4341
        iprot.skip(ftype)
4352
        iprot.skip(ftype)
4342
      iprot.readFieldEnd()
4353
      iprot.readFieldEnd()
4343
    iprot.readStructEnd()
4354
    iprot.readStructEnd()
4344
 
4355
 
Line 4356... Line 4367...
4356
      oprot.writeFieldEnd()
4367
      oprot.writeFieldEnd()
4357
    if self.runCompleteUpdate is not None:
4368
    if self.runCompleteUpdate is not None:
4358
      oprot.writeFieldBegin('runCompleteUpdate', TType.BOOL, 2)
4369
      oprot.writeFieldBegin('runCompleteUpdate', TType.BOOL, 2)
4359
      oprot.writeBool(self.runCompleteUpdate)
4370
      oprot.writeBool(self.runCompleteUpdate)
4360
      oprot.writeFieldEnd()
4371
      oprot.writeFieldEnd()
-
 
4372
    if self.provider is not None:
-
 
4373
      oprot.writeFieldBegin('provider', TType.I64, 3)
-
 
4374
      oprot.writeI64(self.provider)
-
 
4375
      oprot.writeFieldEnd()
4361
    oprot.writeFieldStop()
4376
    oprot.writeFieldStop()
4362
    oprot.writeStructEnd()
4377
    oprot.writeStructEnd()
4363
 
4378
 
4364
  def validate(self):
4379
  def validate(self):
4365
    return
4380
    return