package com.yifu.cloud.plus.v1.yifu.archives.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TCompanyInfo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TProveApply;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;

/**
 * @author pwang
 * @date 2019-11-05 15:24:25
 */
public interface TProveApplyService extends IService<TProveApply> {

	/**
	 * 简单分页查询
	 *
	 * @param tProveApply
	 * @return
	 */
	IPage<TProveApply> getTProveApplyPage(Page<TProveApply> page, TProveApply tProveApply);


	R<String> validSave(TProveApply proveApply, String[] attaIdArray);

	R<TCompanyInfo> getLastCompanyName();

	void setCompanyRedisInfo(String unitName, String unitAddr, String phone);
}
