|
@@ -8,10 +8,10 @@ import com.mokamrp.privates.mapper.pangu.FosterwxCashAccountScheduleMapper;
|
|
|
import com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashAccountSchedule;
|
|
import com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashAccountSchedule;
|
|
|
import com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashTaskList;
|
|
import com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashTaskList;
|
|
|
import com.mokamrp.privates.service.pangu.FosterwxCashAccountScheduleService;
|
|
import com.mokamrp.privates.service.pangu.FosterwxCashAccountScheduleService;
|
|
|
|
|
+import com.mokamrp.privates.service.pangu.FosterwxCashTaskTemplateService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -28,6 +28,9 @@ public class FosterwxCashAccountScheduleServiceImpl extends ServiceImpl<Fosterwx
|
|
|
@Autowired
|
|
@Autowired
|
|
|
public FosterwxCashAccountScheduleMapper fosterwxCashAccountScheduleMapper;
|
|
public FosterwxCashAccountScheduleMapper fosterwxCashAccountScheduleMapper;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ public FosterwxCashTaskTemplateService fosterwxCashTaskTemplateService;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 获取数据列表 支持分页
|
|
* 获取数据列表 支持分页
|
|
|
* @param handle
|
|
* @param handle
|
|
@@ -67,10 +70,9 @@ public class FosterwxCashAccountScheduleServiceImpl extends ServiceImpl<Fosterwx
|
|
|
|
|
|
|
|
if (null != fosterwxCashAccountSchedule) {
|
|
if (null != fosterwxCashAccountSchedule) {
|
|
|
// 根据任务模板id获取任务模板详情
|
|
// 根据任务模板id获取任务模板详情
|
|
|
- // TODO 需要老王那边配合写个方法
|
|
|
|
|
- List<FosterwxCashTaskList> fosterwxCashTaskLists = new ArrayList<>();
|
|
|
|
|
|
|
+ ResHandle<List<FosterwxCashTaskList>> resHandle = fosterwxCashTaskTemplateService.getTaskByTemplateId(fosterwxCashAccountSchedule.getId());
|
|
|
|
|
|
|
|
- fosterwxCashTaskLists.forEach(fosterwxCashTaskList -> {
|
|
|
|
|
|
|
+ resHandle.getList().forEach(fosterwxCashTaskList -> {
|
|
|
|
|
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|