Commit a0294b6a authored by yuanshuo's avatar yuanshuo

Merge branch 'master' of...

Merge branch 'master' of http://gitlab.91isoft.com:90/car-database/car-database-api into songyuanshuo
parents 922c4cb8 a2f7952e
......@@ -53,9 +53,9 @@ public class TestPlanRecordController extends BaseController{
@Tags({@Tag(key = "param", value = "arg[0]"), @Tag(key = "result", value = "returnedObj")})
@Log(title = "新增检测方案", businessType = BusinessType.INSERT)
@RequestMapping(method = RequestMethod.POST, value = "/add")
public R<Long> insertTestPlanRecord(@Validated @RequestBody TTestPlanRecord tTestPlanRecord){
public R<String> insertTestPlanRecord(@Validated @RequestBody TTestPlanRecord tTestPlanRecord){
tTestPlanRecordService.insertTestPlanRecord(tTestPlanRecord);
return R.ok(tTestPlanRecord.getId());
return R.ok(tTestPlanRecord.getId().toString());
}
@ApiOperation("检测方案详情")
......@@ -126,7 +126,7 @@ public class TestPlanRecordController extends BaseController{
});
});
ExcelUtil<RecaordUseCasesVO> util = new ExcelUtil<RecaordUseCasesVO>(RecaordUseCasesVO.class);
util.exportExcel( respon, list, "自由裁量库(左)数据");
util.exportExcel( respon, list, "用例编号");
// return R.ok();
}
}
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