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 @@ - - - + + +