|
|
@@ -81,7 +81,7 @@ public class FosterwxCashAccountScheduleServiceImpl extends ServiceImpl<Fosterwx
|
|
|
|
|
|
if (null != fosterwxCashAccountSchedule) {
|
|
|
// 根据任务模板id获取任务模板详情
|
|
|
- ResHandle<List<FosterwxCashTaskList>> resHandle = fosterwxCashTaskTemplateService.getTaskByTemplateId(fosterwxCashAccountSchedule.getId());
|
|
|
+ ResHandle<List<FosterwxCashTaskList>> resHandle = fosterwxCashTaskTemplateService.getTaskByTemplateId(fosterwxCashAccountSchedule.getTemplateId());
|
|
|
|
|
|
resHandle.getList().forEach(fosterwxCashTaskList -> {
|
|
|
// 创建任务
|
|
|
@@ -93,6 +93,8 @@ public class FosterwxCashAccountScheduleServiceImpl extends ServiceImpl<Fosterwx
|
|
|
fosterwxCashScheduleTaskList.setTaskType(fosterwxCashTaskList.getTaskType());
|
|
|
fosterwxCashScheduleTaskList.setRemark(fosterwxCashTaskList.getRemark());
|
|
|
fosterwxCashScheduleTaskList.setTaskContent("");
|
|
|
+ //TODO 传递组别 随机获取ghid
|
|
|
+ fosterwxCashScheduleTaskList.setGhId("");
|
|
|
fosterwxCashScheduleTaskList.setStatus(1);
|
|
|
fosterwxCashScheduleTaskList.setErrInfo("");
|
|
|
fosterwxCashScheduleTaskList.setSendTime(LocalDateTime.of(fosterwxCashAccountSchedule.getScheduleDate(), fosterwxCashTaskList.getSendAt()));
|