Commit 98e3471d by 谢海旭

v5.7.0版本 飞行督导:删除废弃代码

1 parent 8876b6f1
...@@ -179,6 +179,11 @@ public class SupervisorTaskInfoService { ...@@ -179,6 +179,11 @@ public class SupervisorTaskInfoService {
phoneList = getEffectiveSupervisors(phoneList); phoneList = getEffectiveSupervisors(phoneList);
summary.setTotalCount(phoneList.size()); summary.setTotalCount(phoneList.size());
if (phoneList.isEmpty()) {
log.info("在职督导列表为空,返回默认汇总");
return summary;
}
// 3. 查询 director_config 表,统计所有督导负责的门店(director_type=6,平台中飞行督导) // 3. 查询 director_config 表,统计所有督导负责的门店(director_type=6,平台中飞行督导)
List<SupervisorDirectorConfigDTO> supervisorDirectorConfigDTOS = supervisorTaskInfoMapper.queryDirectorConfigBySupervisorPhone(phoneList); List<SupervisorDirectorConfigDTO> supervisorDirectorConfigDTOS = supervisorTaskInfoMapper.queryDirectorConfigBySupervisorPhone(phoneList);
List<Integer> merchantIdList = supervisorDirectorConfigDTOS.stream() List<Integer> merchantIdList = supervisorDirectorConfigDTOS.stream()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!