成绩批量导入bug修改。

This commit is contained in:
Renpc-kilig 2021-06-04 18:06:26 +08:00
parent b5ed2516ba
commit 3e832676db

View File

@ -21,6 +21,7 @@ import ink.wgink.pojo.result.SuccessResult;
import ink.wgink.pojo.result.SuccessResultData;
import ink.wgink.pojo.result.SuccessResultList;
import io.swagger.annotations.*;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -185,7 +186,7 @@ public class ApplyStudentsNewController extends DefaultBaseController {
i++;
List<Object> data = new ArrayList<>();
ApplyStudentsNewModel applyStudentsNewModel = new ApplyStudentsNewModel();
// BeanUtils.copyProperties(dto.getObject(), applyStudentsNewModel);
BeanUtils.copyProperties(dto.getObject(), applyStudentsNewModel);
data.add(i);
data.add(applyStudentsNewModel.getName());
data.add(applyStudentsNewModel.getSex());