MrShi
2 天以前 eb82684152ffb0acddf67da92e4533a0190eb258
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,121 @@
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);
}