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