package jnpf.dmsService;
|
|
import jnpf.dmsEntity.wenjianbianhao.DmsFlowEventType;
|
import jnpf.dmsEntity.banben.vo.DmsWenjianBanbenQueryVO;
|
import jnpf.dmsEntity.banben.vo.DmsWenjianZhongxinBanbenVO;
|
import jnpf.exception.DataException;
|
|
public interface DmsWenjianBanbenService {
|
/**
|
* 按业务文件ID和版本号查询文件版本。
|
*/
|
DmsWenjianBanbenQueryVO getByWenjianIdAndBanbenhao(String wenjianId, String banbenhao)
|
throws DataException;
|
|
/**
|
* 根据业务文件版本ID查询对应的文件中心版本ID。
|
*
|
* @param fileVersionId dms_wenjian_banben.f_id
|
* @return 文件中心版本ID;版本不存在或尚未关联文件中心时字段为空
|
*/
|
DmsWenjianZhongxinBanbenVO getWenjianZhongxinBanben(String fileVersionId)
|
throws DataException;
|
|
void syncNewAuditFlow(String flowId, String taskId, Integer flowState,
|
DmsFlowEventType eventType) throws DataException;
|
|
void syncRevisionAuditFlow(String flowId, String taskId, Integer flowState,
|
DmsFlowEventType eventType) throws DataException;
|
}
|