@ -2,6 +2,7 @@ package cn.teammodel.controller.admin.controller;
import cn.teammodel.common.R ;
import cn.teammodel.common.R ;
import cn.teammodel.controller.admin.service.ArtService ;
import cn.teammodel.controller.admin.service.ArtService ;
import cn.teammodel.model.dto.admin.art.ArtAnalysisDto ;
import cn.teammodel.model.dto.admin.art.ArtFindDto ;
import cn.teammodel.model.dto.admin.art.ArtFindDto ;
import cn.teammodel.model.dto.admin.art.DataFileCommentDto ;
import cn.teammodel.model.dto.admin.art.DataFileCommentDto ;
import cn.teammodel.model.dto.admin.art.DataFileDto ;
import cn.teammodel.model.dto.admin.art.DataFileDto ;
@ -17,6 +18,7 @@ import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest ;
import javax.servlet.http.HttpServletRequest ;
import javax.validation.Valid ;
import javax.validation.Valid ;
import java.util.List ;
import java.util.List ;
import java.util.Map ;
@RestController
@RestController
@RequestMapping ( "admin/art" )
@RequestMapping ( "admin/art" )
@ -50,5 +52,11 @@ public class ArtController {
List < DataFileVo > res = ArtService . updateComment ( dataFileCommentDto , request ) ;
List < DataFileVo > res = ArtService . updateComment ( dataFileCommentDto , request ) ;
return R . success ( res ) ;
return R . success ( res ) ;
}
}
@PostMapping ( "artAnalysis" )
@ApiOperation ( "艺术评测校级看板分析" )
public R < Map < String , Object > > getArtAnalysis ( @Valid @RequestBody ArtAnalysisDto artAnalysisDto , HttpServletRequest request ) {
Map < String , Object > res = ArtService . getArtAnalytics ( artAnalysisDto , request ) ;
return R . success ( res ) ;
}
}
}