riku
2022-07-19 30d46d06fb4153e48df281d3008ed90935b3c06d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package cn.flightfeather.supervision.domain.ds1.mapper
 
import cn.flightfeather.supervision.domain.ds1.entity.Monitorobjectversion
import cn.flightfeather.supervision.domain.util.MyMapper
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select
 
@Mapper
interface MonitorobjectversionMapper:MyMapper<Monitorobjectversion> {
 
    @Select("select b.S_GUID from sm_t_monitorobjectversion as a left join sm_t_scense as b on a.S_GUID = b.S_GUID" +
            " where a.T_ID = #{param1} and b.S_TypeID = #{param2}")
    fun getSceneByType(topTaskId: String, sceneTypeId: Int): List<String>
}