package com.lightinit.hsdataplatform.service.admin;

import com.lightinit.hsdataplatform.model.ResultState;
import com.lightinit.hsdataplatform.model.admin.DataPublishDetailModel;
import com.lightinit.hsdataplatform.model.admin.DataPublishListModel;
import com.lightinit.hsdataplatform.model.admin.DataPublishSearchModel;

import java.util.List;

public interface IDataAuditService {

    List<DataPublishListModel> queryList(DataPublishSearchModel inputModel);

    long queryCount(DataPublishSearchModel inputModel);

    DataPublishDetailModel queryOne(Long id);

    ResultState<Long> audit(Long id, String auditComment, int param, Long userId);
}
