From 9d378a3049be8340ba787fc7ce515cd544150188 Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Thu, 13 May 2021 09:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=86=E8=80=83=E8=AF=81=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=80=83=E8=AF=95=E5=9C=B0=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vos/distributioncard/DistributionCardUserVO.java | 10 ++++++++++ .../impl/DistributionCardServiceImpl.java | 1 + 2 files changed, 11 insertions(+) diff --git a/src/main/java/cn/com/tenlion/pojo/vos/distributioncard/DistributionCardUserVO.java b/src/main/java/cn/com/tenlion/pojo/vos/distributioncard/DistributionCardUserVO.java index e021bbc..0fca7e2 100644 --- a/src/main/java/cn/com/tenlion/pojo/vos/distributioncard/DistributionCardUserVO.java +++ b/src/main/java/cn/com/tenlion/pojo/vos/distributioncard/DistributionCardUserVO.java @@ -34,6 +34,16 @@ public class DistributionCardUserVO { private String unitName; //@ApiModelProperty(name = "classPlanName", value = "班级名称") private String classPlanName; + //@ApiModelProperty(name = "classPlanName", value = "考试地址") + private String address; + + public String getAddress() { + return address == null ? "" : address; + } + + public void setAddress(String address) { + this.address = address; + } public String getClassPlanName() { return classPlanName == null ? "" : classPlanName; diff --git a/src/main/java/cn/com/tenlion/service/examination/distributioncard/impl/DistributionCardServiceImpl.java b/src/main/java/cn/com/tenlion/service/examination/distributioncard/impl/DistributionCardServiceImpl.java index 64c12ec..6273208 100644 --- a/src/main/java/cn/com/tenlion/service/examination/distributioncard/impl/DistributionCardServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examination/distributioncard/impl/DistributionCardServiceImpl.java @@ -128,6 +128,7 @@ public class DistributionCardServiceImpl extends DefaultBaseService implements I InstitutionDTO institutionDTO1 = iInstitutionService.get(userList.get(j-1).getApplyInstitutionId()); userVO.setUnitName(institutionDTO1.getInstitutionName()); userVO.setClassPlanName(userList.get(j-1).getApplyClassName()); + userVO.setAddress(institutionDTO.getInstitutionAddress()); String base64 = iPicturesTemplateBuildingService.buildingPictures("TS0001", userVO); if(base64 == null) { throw new SaveException("生成准考证出错");