Commit 25cb43ea by songyinghui

feat: 周报发送逻辑

parent be72f9cf
...@@ -76,6 +76,10 @@ public class MaterialReportServiceImpl implements MaterialReportService { ...@@ -76,6 +76,10 @@ public class MaterialReportServiceImpl implements MaterialReportService {
.build(); .build();
// 获取成员关联的导购 // 获取成员关联的导购
materialReportBuilder.buildStaffRelationClerk(context); materialReportBuilder.buildStaffRelationClerk(context);
if (CollectionUtils.isEmpty(context.getStaffClerkRelations())) {
log.info("处理成员周报月报数据, 成员{}未绑定导购", staffId);
return;
}
// 判断是区经还是 店长/导购 填充主门店 // 判断是区经还是 店长/导购 填充主门店
materialReportBuilder.fillMainStore(context); materialReportBuilder.fillMainStore(context);
// 获取素材数据 // 获取素材数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment