package com.imed.costaccount.service; import com.baomidou.mybatisplus.extension.service.IService; import com.imed.costaccount.common.util.PageUtils; import com.imed.costaccount.model.CostOtherPayments; import com.imed.costaccount.model.dto.CostOtherPaymentsEditDto; import com.imed.costaccount.model.vo.CostOtherPaymentsSaveDto; import com.imed.costaccount.model.vo.CostOtherPaymentsVO; import java.util.List; /** * 全院其他收支设置 * * @author KCYG * @email KCYG@xinxicom * @date 2021-08-09 17:53:22 */ public interface CostOtherPaymentsService extends IService { /** * 分压查询全院其他收支设置 * @param current * @param pageSize * @param name * @param hospId * @return */ PageUtils queryList(Integer current, Integer pageSize, String name, Long hospId); /** * 根据Id获取对应的数据 * @param id * @return */ CostOtherPaymentsVO getByParamsId(Long id); /** *添加全院其他收支设置 * @param costOtherPaymentsSaveDto */ void addOtherPayment(CostOtherPaymentsSaveDto costOtherPaymentsSaveDto); /** * 修改全院其他收支设置 * @param costOtherPaymentsEditDto */ void updateOtherPaymentById(CostOtherPaymentsEditDto costOtherPaymentsEditDto); /** * 查询全院收支设置数据 * @param hospId * @return */ List getAll(Long hospId); }