diff --git a/src/main/java/cn/com/tenlion/controller/api/applystudentsnew/ApplyStudentsNewController.java b/src/main/java/cn/com/tenlion/controller/api/applystudentsnew/ApplyStudentsNewController.java index 5a465b4..70688a3 100644 --- a/src/main/java/cn/com/tenlion/controller/api/applystudentsnew/ApplyStudentsNewController.java +++ b/src/main/java/cn/com/tenlion/controller/api/applystudentsnew/ApplyStudentsNewController.java @@ -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 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());