From 3896b2b5abf47e9b20a67c2ffa00eef1a78877b2 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Sat, 15 May 2021 17:56:51 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/applystudents/impl/ApplyStudentsServiceImpl.java | 2 +- .../resources/mybatis/mapper/examapply/exam-apply-mapper.xml | 4 ++-- src/main/resources/static/route/examcheck/list.html | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/cn/com/tenlion/service/applystudents/impl/ApplyStudentsServiceImpl.java b/src/main/java/cn/com/tenlion/service/applystudents/impl/ApplyStudentsServiceImpl.java index 638f8bc..869273f 100644 --- a/src/main/java/cn/com/tenlion/service/applystudents/impl/ApplyStudentsServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/applystudents/impl/ApplyStudentsServiceImpl.java @@ -61,8 +61,8 @@ public class ApplyStudentsServiceImpl extends DefaultBaseService implements IApp List applyDTOList = applyService.listByInstitutionIdAndWorkTypeId(institutionId,workTypeId); for (ApplyDTO applyDTO : applyDTOList) { ApplyStudentsVO vo = new ApplyStudentsVO(); - vo.setApplyClassId(classId); BeanUtils.copyProperties(vo,applyDTO); + vo.setApplyClassId(classId); this.save(vo); deleteIdList.add(applyDTO.getApplyId()); } diff --git a/src/main/resources/mybatis/mapper/examapply/exam-apply-mapper.xml b/src/main/resources/mybatis/mapper/examapply/exam-apply-mapper.xml index ff49f6f..636ee74 100644 --- a/src/main/resources/mybatis/mapper/examapply/exam-apply-mapper.xml +++ b/src/main/resources/mybatis/mapper/examapply/exam-apply-mapper.xml @@ -112,8 +112,8 @@ #{examType}, #{reason}, #{nextCommitTime}, - #{workTypeID}, - #{orgID}, + #{workTypeId}, + #{orgId}, #{gmtCreate}, #{creator}, #{gmtModified}, diff --git a/src/main/resources/static/route/examcheck/list.html b/src/main/resources/static/route/examcheck/list.html index 7a79101..104483d 100644 --- a/src/main/resources/static/route/examcheck/list.html +++ b/src/main/resources/static/route/examcheck/list.html @@ -426,7 +426,8 @@ } else { var ids = ''; for(var i = 0, item; item = checkDatas[i++];) { - if(item.checkStatus === 0) { + debugger + if(item.checkStatus == 0) { if(i > 1) { ids += '_'; }