package com.unis.crk.cplbusiness.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.unis.crk.cplbusiness.entity.DataCrkywCplrkDefault;
import com.unis.crk.cplbusiness.entity.SettlementManagement;
import com.unis.crk.cplbusiness.entity.vo.SettlementManagementVo;

import java.util.Map;

/**
 * <p>
 * 结算管理 服务类
 * </p>
 *
 * @author TangSong
 * @since 2022-05-23
 */
public interface ISettlementManagementService extends IService<SettlementManagement> {

        /**
         *修改结算管理
         * @param param 结算管理业务数据
         * @return
         */
        JSONObject update(SettlementManagement param);
        /**
         *删除结算管理数据
         * @param id 结算管理主键尖
         * @return
         */
        JSONObject delete(String id);

        /**
         * 按照条件查询结算管理信息
         * @param pageQuery
         * @throws Exception
         */
        IPage<Map<String,Object>> findPageVo(SettlementManagementVo pageQuery) ;


        DataCrkywCplrkDefault getByRkdh(String rkdh);

        SettlementManagement getOneData(String id);
}
