SysStructSpotRelationMapper.java 1.8 KB
package com.skua.modules.remotecontrol.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.remotecontrol.entity.SysStructSpotRelation;
import com.skua.modules.remotecontrol.vo.SysStructSpotRelationVO;
import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Map;

/**
 * 工艺一张图
 */
public interface SysStructSpotRelationMapper extends BaseMapper<SysStructSpotRelation> {

	List<Map<String, Object>> getDepartTreeByJt(@Param("orgCode") String orgCode);

	List<Map<String, Object>> queryUserDeparts(@Param("userId") String userId);

	//根据厂区获取构筑物
	List<Map<String,Object>> listStructSimulation(String departId);

	//获取构筑物和点关系
	List<Map<String,Object>> selectData(String structCode);

	//点击按钮查询总的工艺数据
	List<Map<String,Object>> bottonSelectData();

	//查询详情时更为详细的工艺数据信息
	List<Map<String,Object>> selectSumData(String structCode);

	//查询此构筑物下设备状态信息
	List<Map<String,Object>> selectequidStatic(String structCode, String equipId);

	//查询此构筑物下的设备列表
	List<Map<String,Object>> selectequid(String structCode);

	//查询进水管线数据
	List<Map<String,Object>> jinShuiSelectData(String structCode);

	//查询出水管线数据
	List<Map<String,Object>> chuShuiSelectData(String structCode);

	List<Map<String,Object>> selectDosing();//加药


	List<Map<String,Object>> outMud(String startTime, String stopTime);//产泥量


	/**
	 * 	自定义查询
	 * @param pageList
	 * @param sysStructSpotRelationVO
	 * @return
	 */
	List<SysStructSpotRelationVO> queryCustomPageList(Page<SysStructSpotRelationVO> pageList, SysStructSpotRelationVO sysStructSpotRelationVO);


}