|
@@ -17,6 +17,7 @@ import com.diagbot.vo.GetModuleInfoOneVO;
|
|
|
import com.diagbot.vo.GetModuleMapVO;
|
|
|
import com.diagbot.vo.QuestionIdsVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.HashMap;
|
|
@@ -81,7 +82,7 @@ public class QcModuleInfoFacade extends QcModuleInfoServiceImpl {
|
|
|
* @param getModuleMapVO
|
|
|
* @return
|
|
|
*/
|
|
|
-// @Cacheable(value = "cache", key = "'qcmodule'")
|
|
|
+ @Cacheable(value = "cache", key = "'qcmodule'")
|
|
|
public Map<Long, GetModuleInfoOneDTO> getModuleMap(GetModuleMapVO getModuleMapVO) {
|
|
|
Map<Long, GetModuleInfoOneDTO> res = new LinkedHashMap<>();
|
|
|
List<QcModuleInfo> qcModuleInfoList = this.list(new QueryWrapper<QcModuleInfo>()
|