| package com.doumee.service.business; | 
|   | 
| import com.doumee.service.business.third.model.LoginUserInfo; | 
| import com.doumee.service.business.third.model.PageData; | 
| import com.doumee.service.business.third.model.PageWrap; | 
| import com.doumee.dao.business.model.PlatformGroup; | 
| import com.doumee.dao.web.reqeust.PlatformDataDTO; | 
| import com.doumee.dao.web.response.PlatformGroupWorkVO; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 月台_分组信息表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/06/28 10:03 | 
|  */ | 
| public interface PlatformGroupService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param platformGroup 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(PlatformGroup platformGroup); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|     void deleteById(Integer id,LoginUserInfo user); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param platformGroup 实体对象 | 
|      */ | 
|     void delete(PlatformGroup platformGroup); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|     void deleteByIdInBatch(List<Integer> ids,LoginUserInfo user); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param platformGroup 实体对象 | 
|      */ | 
|     void updateById(PlatformGroup platformGroup); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param platformGroups 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<PlatformGroup> platformGroups); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return PlatformGroup | 
|      */ | 
|     PlatformGroup findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param platformGroup 实体对象 | 
|      * @return PlatformGroup | 
|      */ | 
|     PlatformGroup findOne(PlatformGroup platformGroup); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param platformGroup 实体对象 | 
|      * @return List<PlatformGroup> | 
|      */ | 
|     List<PlatformGroup> findList(PlatformGroup platformGroup); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<PlatformGroup> | 
|      */ | 
|     PageData<PlatformGroup> findPage(PageWrap<PlatformGroup> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param platformGroup 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(PlatformGroup platformGroup); | 
|   | 
|     /** | 
|      * 获取月台组信息 | 
|      * @param platformDataDTO | 
|      * @param loginUserInfo | 
|      * @return | 
|      */ | 
|     List<PlatformGroup> getAllPlatformGroup(PlatformDataDTO platformDataDTO, LoginUserInfo loginUserInfo); | 
|   | 
|   | 
|     /** | 
|      * 获取月台组 等待与异常数据 | 
|      * @param platformGroupId | 
|      * @return | 
|      */ | 
|     PlatformGroupWorkVO getPlatformGroupWork(Integer platformGroupId); | 
|   | 
|     void updateAutoCallById(PlatformGroup platform); | 
| } |