package com.jwipc.tender.logic;

import com.jwipc.page.PageView;
import com.jwipc.tender.dto.SecurityDepositAccountBaseDTO;
import com.jwipc.tender.model.query.BidQuery;

import java.util.List;

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface SecurityDepositAccountLogic {
    SecurityDepositAccountBaseDTO getDetail(Long id);

    List<SecurityDepositAccountBaseDTO> getListAll();


    void saveOrUpdate(SecurityDepositAccountBaseDTO securityDepositAccountBaseDTO);

    PageView getApprovelList(BidQuery bidQuery);

    void updateDepositStatus(String ids, Integer status,String reason);

    void updateMarginStatus(String ids, Integer status);
}