Commit 008f2350 authored by wdy's avatar wdy

查询用户发布的任务添加字段&修改添加车企文件返回类型

parent 386ea8db
......@@ -62,9 +62,9 @@ public class ReviewEnterpriseArchiveController 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> addEnterpriseArchive(@Validated @RequestBody ReviewEnterpriseArchive reviewEnterpriseArchive) {
public R<String> addEnterpriseArchive(@Validated @RequestBody ReviewEnterpriseArchive reviewEnterpriseArchive) {
reviewEnterpriseArchiveService.addEnterpriseArchive(reviewEnterpriseArchive);
return R.ok(reviewEnterpriseArchive.getId());
return R.ok(reviewEnterpriseArchive.getId().toString());
}
@ApiOperation("编辑车企文件")
......
......@@ -162,7 +162,7 @@
</select>
<select id="findByUserId" resultMap="ResponseMap">
SELECT t.id, t.system_review_task_id, t.car_review_task_id,
t.task_no,t.task_name,t.task_status,t.name,
t.task_no,t.task_name,t.task_status,t.run_status,t.name,
t.product_model,
t.leader_id,t.leader,
t.task_begin_time,
......
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