修复报告上传接口Bug
This commit is contained in:
@@ -78,8 +78,10 @@ public class ReportManageConroller {
|
||||
public ResponseMessage add(@RequestBody ReportVo vo) {
|
||||
ReportEntity entity = new ReportEntity();
|
||||
BeanUtils.copyProperties(vo, entity);
|
||||
reportService.insert(entity, vo.getLabelList());
|
||||
return Result.success();
|
||||
String name = reportService.insert(entity, vo.getLabelList());
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("reportName", name);
|
||||
return Result.success(map);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user