From c41c397eac3702303fc4a2457fa98b20feed5510 Mon Sep 17 00:00:00 2001 From: yujt Date: Mon, 15 Jun 2020 17:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E7=90=86=E5=92=A8=E8=AF=A2=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/PsychologyQuestionServiceImpl.java | 13 ++++++++++++- .../resources/mapper/psychology/PsychologistDao.xml | 2 +- .../mapper/psychology/PsychologyQuestionDao.xml | 6 +++--- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/psychology/service/impl/PsychologyQuestionServiceImpl.java b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/psychology/service/impl/PsychologyQuestionServiceImpl.java index 9f0ad1f..c9429ee 100644 --- a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/psychology/service/impl/PsychologyQuestionServiceImpl.java +++ b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/psychology/service/impl/PsychologyQuestionServiceImpl.java @@ -28,7 +28,9 @@ import com.elink.esua.epdc.commons.tools.utils.ConvertUtils; import com.elink.esua.epdc.dto.constant.PsychologyConstant; import com.elink.esua.epdc.dto.psychology.PsychologyQuestionDTO; import com.elink.esua.epdc.dto.psychology.form.PsychologyQuestionFormDTO; +import com.elink.esua.epdc.modules.psychology.dao.PsychologistDao; import com.elink.esua.epdc.modules.psychology.dao.PsychologyQuestionDao; +import com.elink.esua.epdc.modules.psychology.entity.PsychologistEntity; import com.elink.esua.epdc.modules.psychology.entity.PsychologyQuestionEntity; import com.elink.esua.epdc.modules.psychology.redis.PsychologyQuestionRedis; import com.elink.esua.epdc.modules.psychology.service.PsychologyQuestionService; @@ -50,8 +52,9 @@ import java.util.Map; @Service public class PsychologyQuestionServiceImpl extends BaseServiceImpl implements PsychologyQuestionService { + @Autowired - private PsychologyQuestionRedis psychologyQuestionRedis; + private PsychologistDao psychologistDao; @Override public PageData page(Map params) { @@ -94,6 +97,14 @@ public class PsychologyQuestionServiceImpl extends BaseServiceImpl - + diff --git a/epdc-cloud-property/src/main/resources/mapper/psychology/PsychologyQuestionDao.xml b/epdc-cloud-property/src/main/resources/mapper/psychology/PsychologyQuestionDao.xml index d7edd9d..e67433c 100644 --- a/epdc-cloud-property/src/main/resources/mapper/psychology/PsychologyQuestionDao.xml +++ b/epdc-cloud-property/src/main/resources/mapper/psychology/PsychologyQuestionDao.xml @@ -41,9 +41,9 @@ - - - + + +