package com.jwipc.sys.logic;

import com.jwipc.page.PageView;
import com.jwipc.sys.dto.DealtWithTargetTypeDTO;
import com.jwipc.sys.model.query.DealtTypeQuery;

import java.util.List;

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

    DealtWithTargetTypeDTO getById(Long id);

    void saveOrUpdate(DealtWithTargetTypeDTO param);

    void remove(Long id);

    List<DealtWithTargetTypeDTO> listAll(DealtTypeQuery query);
}
