1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package cn.flightfeather.supervision.domain.ds1.repository
|
| import cn.flightfeather.supervision.domain.ds1.entity.Scense
| import cn.flightfeather.supervision.domain.ds1.mapper.ScenseMapper
| import org.springframework.stereotype.Repository
|
| /**
| * 场景信息数据库相关操作
| */
| @Repository
| class SceneRep(
| private val scenseMapper: ScenseMapper,
| ) {
|
| /**
| * 查找场景
| */
| fun findScene(topTaskId: String, sceneTypeId: Int? = null, townCode: String? = null): List<Scense?> {
| return scenseMapper.getSceneByType(topTaskId, sceneTypeId, townCode)
| }
| }
|
|