package com.fuzamei.mapperInterface; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.fuzamei.entity.ContractRecord; import com.fuzamei.entity.ContractStatusTracking; public interface ContractManagementMapper { List queryContractStatusTracking(Map map); int findAllContractStatusTrackingInformation(Map map); List queryContractRecord(Map map); int findAllContractRecordInformation(Map map); ContractStatusTracking getContractStatusTrackingByBusinessId(Integer businessId); void insertInformationToAttachment(Map map); void insertInformationToOperationHistory(Map map); ContractRecord getLatestContractRecordByBusinessId(Integer businessId); void insertInformationToContractRecord(Map map); void updateContractStatusTracking(Map map); ContractRecord getCurrentContractRecordByBusinessId(@Param("businessId") Integer businessId,@Param("version") Integer version); void updateContractRecord(Map map); void updateOtherContractRecord(Map map); void updateContractStatusTrackingStatusAndContractId(Map map); }