AlarmElectricFenceMapper.java 734 Bytes
package cn.com.glsx.app.modules.mapper;

import cn.com.glsx.app.modules.entity.AlarmElectricFence;
import cn.com.glsx.app.modules.model.view.FenceAlarmVO;
import com.glsx.plat.common.annotation.DataPerm;
import com.glsx.plat.common.annotation.DataPermShare;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author yangll
 */
@Mapper
public interface AlarmElectricFenceMapper extends CommonBaseMapper<AlarmElectricFence> {
    /**
     * 获取当天围栏报警详情
     *
     * @return
     */
    @DataPerm(permTable = "tv", showSql = true)
    @DataPermShare(linkTable = "t_vehicle", showSql = true)
    List<FenceAlarmVO> getFenceAlarmInfo();
}