def query_arrive_vaccine_by_province(self, province): result = query_is_arrive_vaccine_by_province(province=province) save_excel( result, osp.join(cfg.save_departments_info_root, cfg.VACCINDE_INFO[cfg.customId], province + '_社区疫苗已经到苗.xls'))
def get_all_departments_by_code(self, regionCode): departments = get_all_departments(regionCode=regionCode) save_excel( departments, osp.join(cfg.save_departments_info_root, cfg.VACCINDE_INFO[cfg.customId], regionCode + '_社区信息.xls')) print('[info]: 保存"{}"编码地区的信息成功'.format(regionCode))
def get_all_departments_by_name(self, name): departments = get_department_by_name(name=name) save_excel( departments, osp.join(cfg.save_departments_info_root, cfg.VACCINDE_INFO[cfg.customId], name + '_社区信息.xls')) print(departments) print('[info]: 保存关于社区"{}"的信息成功'.format(name))
def get_all_departments_by_province(self, province): departments = get_departments_info_by_province(province=province) save_excel( departments, osp.join(cfg.save_departments_info_root, cfg.VACCINDE_INFO[cfg.customId], province + '_社区信息.xls'))
def query_arrive_vaccine_in_china(self): result = query_is_arrive_vaccine_in_china() save_excel( result, osp.join(cfg.save_departments_info_root, cfg.VACCINDE_INFO[cfg.customId], '全国社区疫苗已经到苗.xls'))