|
@@ -55,10 +55,10 @@ public class EvaluationScoreCountController {
|
|
|
|
|
|
@PostMapping(value = "/save")
|
|
@PostMapping(value = "/save")
|
|
@ApiOperation(value = "新增(修改)", notes = "新增(修改)")
|
|
@ApiOperation(value = "新增(修改)", notes = "新增(修改)")
|
|
- public R addAll(@RequestBody EvaluationScoreCount evaluationScoreCount) {
|
|
|
|
|
|
+ public R addAll(@RequestBody List<EvaluationScoreCount> evaluationScoreCount) {
|
|
|
|
|
|
try {
|
|
try {
|
|
- boolean b = iEvaluationScoreCountService.saveOrUpdate(evaluationScoreCount);
|
|
|
|
|
|
+ boolean b = iEvaluationScoreCountService.saveOrUpdateBatch(evaluationScoreCount);
|
|
if (b) {
|
|
if (b) {
|
|
return R.ok().data(b);
|
|
return R.ok().data(b);
|
|
} else {
|
|
} else {
|