|
@@ -14,10 +14,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.BindingResult;
|
|
import org.springframework.validation.BindingResult;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
|
import java.util.Arrays;
|
|
import java.util.Arrays;
|
|
@@ -74,5 +71,18 @@ public class FosterwxCashScheduleTaskListController extends BaseController<Foste
|
|
|
|
|
|
|
|
return AjaxResult.success("取消任务成功");
|
|
return AjaxResult.success("取消任务成功");
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping("/preview")
|
|
|
|
|
+ public Object preview(String id) {
|
|
|
|
|
+ // 获取详细信息
|
|
|
|
|
+ FosterwxCashScheduleTaskList fosterwxCashScheduleTaskList = fosterwxCashScheduleTaskListService.getById(id);
|
|
|
|
|
+
|
|
|
|
|
+ List<FosterwxCashScheduleTaskList> fosterwxCashScheduleTaskLists = fosterwxCashScheduleTaskListService.list(new LambdaQueryWrapper<FosterwxCashScheduleTaskList>().
|
|
|
|
|
+ eq(FosterwxCashScheduleTaskList::getTemplateId, fosterwxCashScheduleTaskList.getTemplateId()).
|
|
|
|
|
+ eq(FosterwxCashScheduleTaskList::getTaskId, fosterwxCashScheduleTaskList.getTaskId()));
|
|
|
|
|
+
|
|
|
|
|
+ return AjaxResult.success(fosterwxCashScheduleTaskLists);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|