Commit bbd39904 by chenweisong

更新

parent 62b01d63
......@@ -44,11 +44,10 @@ public class ExcelController {
@ApiImplicitParams({
@ApiImplicitParam(name = "taskId", required = true, value = "补录任务id", dataType = "string", paramType = "query"),
@ApiImplicitParam(name = "excelId", required = true, value = "当前模板id", dataType = "long", paramType = "query"),
@ApiImplicitParam(name = "dataStr", required = true, value = "当前数据字符", dataType = "string", paramType = "query")
@ApiImplicitParam(name = "dataStr", required = true, value = "当前数据字符", dataType = "string", paramType = "body")
})
@PostMapping(value = "/excel/saveData")
public Object saveTemplateData(String taskId, long excelId, String dataStr) {
public Object saveTemplateData(String taskId, long excelId, @RequestBody String dataStr) {
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
CommonValidator.notNull(task, "任务不存在");
Template template = templateService.findById(excelId);
......
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