示例#1
0
 def __init__(self, logs, region_id, company_id, store_id, emp_id):
     self.logs = logs
     self.org_id = utils.first_valid(lambda e: e, [store_id, company_id, region_id])
     self.emp_id = emp_id = emp_id
     logger.debug("%s emp_id: %s, org_id: %s:" %(__name__, str(self.emp_id), str(self.org_id)))