异常回访修改
This commit is contained in:
Generated
-35
@@ -38,41 +38,6 @@
|
|||||||
</Attribute>
|
</Attribute>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="\test\output\重复org_code记录.csv">
|
|
||||||
<value>
|
|
||||||
<Attribute>
|
|
||||||
<option name="separator" value="," />
|
|
||||||
</Attribute>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
<entry key="\test\test\output\1_员工ID映射表.csv">
|
|
||||||
<value>
|
|
||||||
<Attribute>
|
|
||||||
<option name="separator" value="," />
|
|
||||||
</Attribute>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
<entry key="\test\test\output\4_查缺补漏_缺失门店详情.csv">
|
|
||||||
<value>
|
|
||||||
<Attribute>
|
|
||||||
<option name="separator" value="," />
|
|
||||||
</Attribute>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
<entry key="\test\test\output\5_人员字段匹配统计.csv">
|
|
||||||
<value>
|
|
||||||
<Attribute>
|
|
||||||
<option name="separator" value="," />
|
|
||||||
</Attribute>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
<entry key="\test\test\output\6_待创建数据列表.csv">
|
|
||||||
<value>
|
|
||||||
<Attribute>
|
|
||||||
<option name="separator" value="," />
|
|
||||||
</Attribute>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@@ -227,10 +227,15 @@ class NewExceptionTask:
|
|||||||
try:
|
try:
|
||||||
self.load_all_data()
|
self.load_all_data()
|
||||||
|
|
||||||
self.data_yichang_S = common_module.get_yichang_details(days_back=1).astype(str) # 获取data_NGV 并转为str
|
data = common_module.get_yichang_details(days_back=1)
|
||||||
|
self.data_yichang_S = pd.DataFrame() if data is None or data.empty else data.astype(str)
|
||||||
self.index = self.build_index(self.json_list)
|
self.index = self.build_index(self.json_list)
|
||||||
|
|
||||||
logger.info("开始运行SaaS异常回访")
|
logger.info("开始运行SaaS异常回访")
|
||||||
|
if self.data_yichang_S.empty:
|
||||||
|
logger.info("未获取到数据或数据为空")
|
||||||
|
common_module.send_task_status(task_start_time, "异常服务待办派发")
|
||||||
|
return
|
||||||
|
|
||||||
data_yichang = self.data_yichang_S.copy()
|
data_yichang = self.data_yichang_S.copy()
|
||||||
# data_yichang.to_csv(os.path.join(output_dir,"data_yichang.csv"), index=False)
|
# data_yichang.to_csv(os.path.join(output_dir,"data_yichang.csv"), index=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user