def liAn(self): time.sleep(random.randint(1,3)) lianData = {} lianData['resultprocess'] = "立案" lianData['operatingComments'] = "批准立案" lian_result = setUpCase(lianData).test_detailsAndFiling() if lian_result: logging.info("*****5.web立案完毕*****") else: logging.info("*****5.web立案失败*****")
def liAn(self): time.sleep(random.randint(1, 3)) lianData = {} lianData['resultprocess'] = "立案" # lianData['startConditionId'] = "4028838358b04eb70158b310c8ba5295" #立案条件? lianData['operatingComments'] = "批准立案" lian_result = setUpCase(lianData).test_detailsAndFiling() if lian_result: logging.info("*****4.web立案完毕*****") else: logging.info("*****4.web立案失败*****")
def liAn(self): time.sleep(random.randint(1,2)) lianData = {} lianData['oderNumber'] = self.oderNumber #工单号 lianData['resultprocess'] = "立案" lianData['operatingComments'] = "批准立案" lian_result = setUpCase(lianData).test_detailsAndFiling() if lian_result: logging.info("*****6.web立案完毕*****") return True else: logging.info("*****6.web立案失败*****")
def liAn(self, oderNumber): """ web端坐席立案 """ time.sleep(random.randint(1, 3)) lianData = {} lianData['oderNumber'] = oderNumber lianData['resultprocess'] = "立案" lianData['operatingComments'] = "批准立案" lian_result = setUpCase(lianData).test_detailsAndFiling() # if lian_result: # logging.info("4.web立案完毕") # else: # logging.info("XXXXXXXXXXXXXXXX4.web立案失败XXXXXXXXXXXXXXX") return lian_result