package com.jwipc.sys.logic;

import com.jwipc.page.PageView;
import com.jwipc.sys.dto.DealtWithTargetInfoDTO;
import com.jwipc.sys.dto.DealtWithTargetInfoTreeDTO;
import com.jwipc.sys.dto.UserDWTDTO;
import com.jwipc.sys.model.query.DealtInfoQuery;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/1/30 13:04
 * @desc
 */
public interface DealtInfoLogic {
    PageView findByPage(DealtInfoQuery query);

    DealtWithTargetInfoDTO getById(Long id);

    void saveOrUpdate(DealtWithTargetInfoDTO param);

    void remove(Long id);

    List<DealtWithTargetInfoTreeDTO> getTreeGrid();


    List<UserDWTDTO> getUserDealtWith();


    List<UserDWTDTO> getUserEarlyWarning();
}
