From 497475defd5d0ebf90ae6a8e2b080a16d78043ab Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 23 九月 2022 17:49:34 +0800 Subject: [PATCH] 2022.9.23 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/LawServiceImpl.kt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/LawServiceImpl.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/LawServiceImpl.kt index 3b29091..0e22588 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/LawServiceImpl.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/LawServiceImpl.kt @@ -67,6 +67,9 @@ } andEqualTo("lrIsopen", isOpen) andEqualTo("lrIsuse", isUsing) + fileType?.let { + andEqualTo("lrResourcefiletype", it) + } } } condition.sceneTypeId?.let { @@ -96,4 +99,11 @@ condition.isForeign, condition.category, condition.keywords, condition.isOpen, condition.isUsing, condition.count, condition.sceneTypeId) } + + override fun getSeries(userId: String, seriesId: String): List<LawsRegulations> { + return lawsRegulationsMapper.selectByExample(Example(LawsRegulations::class.java).apply { + createCriteria().andEqualTo("lrExtension2", seriesId) + orderBy("lrExtension3") + }) + } } \ No newline at end of file -- Gitblit v1.9.3