feiyu02
2022-07-14 4c7e2d8f8d4a93f318ada0e728dbc370e7504e92
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>
}