package com.ld.igds.verb.mapper;
|
|
import com.ld.igds.io.request.ExeDevice;
|
import com.ld.igds.verb.dto.VerbAutoData;
|
import com.ld.igds.verb.dto.VerbParam;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
public interface AreationMapper {
|
|
/**
|
* 根据仓库编码获取当前仓库下的自动模式配置
|
*
|
* @param param
|
* @return
|
*/
|
List<VerbAutoData> listAutoData(@Param("param") VerbParam param);
|
|
/**
|
* 根据条件获取自动模式下的详细配置信息
|
*
|
* @param param
|
* @return
|
*/
|
List<ExeDevice> listAutoDataConf(@Param("param") VerbParam param);
|
|
/**
|
* 根据参数获取当前的自动通风方案,其中模式的ID不能为空
|
*
|
* @return
|
*/
|
VerbAutoData queryAutoDataById(@Param("param") VerbParam param);
|
|
|
void addAuto(@Param("data") VerbAutoData data);
|
|
void delAuto(@Param("id") String id);
|
|
void updateAuto(@Param("data") VerbAutoData data);
|
|
/**
|
* 根据执行设备新增配置信息
|
*
|
* @param device
|
*/
|
void addAutoConf(@Param("data") ExeDevice device);
|
|
/**
|
* 根据模式配置ID删除原有配置
|
*
|
* @param autoId
|
*/
|
void delAutoConfByAutoId(@Param("autoId") String autoId);
|
}
|