You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.psdc.service;
|
|
|
|
|
|
|
|
|
|
import com.psdc.entity.PsdcScene;
|
|
|
|
|
import com.psdc.entity.vo.SceneVo;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 场景设定;(psdc_scene)表服务接口
|
|
|
|
|
* @date : 2023-5-10
|
|
|
|
|
*/
|
|
|
|
|
public interface IPsdcSceneService {
|
|
|
|
|
/**
|
|
|
|
|
* 通过ID查询单条数据
|
|
|
|
|
*
|
|
|
|
|
* @param sceneId 主键
|
|
|
|
|
* @return 实例对象
|
|
|
|
|
*/
|
|
|
|
|
PsdcScene queryById(Integer sceneId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增数据
|
|
|
|
|
*
|
|
|
|
|
* @param psdcScene 实例对象
|
|
|
|
|
* @return 实例对象
|
|
|
|
|
*/
|
|
|
|
|
PsdcScene insert(PsdcScene psdcScene);
|
|
|
|
|
|
|
|
|
|
List<PsdcScene> sceneList();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新数据
|
|
|
|
|
*
|
|
|
|
|
* @param psdcScene 实例对象
|
|
|
|
|
* @return 实例对象
|
|
|
|
|
*/
|
|
|
|
|
PsdcScene update(PsdcScene psdcScene);
|
|
|
|
|
/**
|
|
|
|
|
* 通过主键删除数据
|
|
|
|
|
*
|
|
|
|
|
* @param sceneId 主键
|
|
|
|
|
* @return 是否成功
|
|
|
|
|
*/
|
|
|
|
|
boolean deleteById(Integer sceneId);
|
|
|
|
|
|
|
|
|
|
List<Map<String, Object>> getStrategyList();
|
|
|
|
|
|
|
|
|
|
List<SceneVo> findSceneByUserAndSceneName(Integer sceneId);
|
|
|
|
|
}
|