package com.huigou.bpm.webservice.common;

import com.huigou.data.domain.query.QueryAbstractRequest;

import java.util.List;
import java.util.Map;

public interface CommonApplication<T> {
    void saveBean(T t);
    void updateBean(T t);
    Map<String, Object> slicedQueryBean(QueryAbstractRequest request);
    void deleteBean(Class<T> t, List<String> ids);
    void updateStatus(List<String> ids, Integer status,Class t);
}
