package com.liquidnet.service.adam.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liquidnet.service.adam.constant.AdamAdminisConstants;
import com.liquidnet.service.adam.vo.AdamAdminisProcessHisVo;

public interface IAdamAdminisProcessHisService {

    /**
     * @param hisEnum    AdamAdminisConstants.ProcessHisEnum
     * @param sourceSnap Source data being edited
     * @param arr        [comId, sourceUserId, operatorUserId, operatorName]
     * @return
     */
    int record(AdamAdminisConstants.ProcessHisEnum hisEnum, Object sourceSnap, String[] arr);

    Page<AdamAdminisProcessHisVo> queryPageListForProcessHis(String hisTag, int pageNo, int pageSize);

    Page<AdamAdminisProcessHisVo> queryPageListForProcessHis(String hisTag, String operatorUserId, int pageNo, int pageSize);
}
