package com.sifang.modules.account.service;

import com.jfinal.plugin.activerecord.Record;
import com.sifang.modules.account.dao.CrmTraderSupportSettleDetailsDao;
import com.sifang.modules.account.entity.CrmTraderSupportSettleDetails;
import com.sifang.modules.sys.common.service.BaseService;
import com.sifang.modules.sys.util.LayuiPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class CrmTraderSupportSettleDetailsService extends BaseService {

    @Autowired
    private CrmTraderSupportSettleDetailsDao supportSettleDetailsDao;

    public CrmTraderSupportSettleDetails getById(String id){
        return supportSettleDetailsDao.get(id);
    }

    public void supportAccountListData(LayuiPage<Record> page, Map<String, String> map){
         supportSettleDetailsDao.supportAccountListData(page,map);
    }
}
