From 3e832676db6ff3964a81646c04c28df234238ad2 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Fri, 4 Jun 2021 18:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E7=BB=A9=E6=89=B9=E9=87=8F=E5=AF=BC?= =?UTF-8?q?=E5=85=A5bug=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/applystudentsnew/ApplyStudentsNewController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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());