package com.thhy.pm.modules.biz.contract.mapper; import com.thhy.pm.modules.biz.contract.entity.Contract; import com.thhy.pm.modules.biz.contract.entity.ContractListVo; import org.springframework.stereotype.Component; import java.io.Serializable; import java.util.List; /** * Mapper 接口 * @author zhang_xiao_bo * @since 2023-04-25 11:00:40 */ @Component public interface ContractMapper { Contract queryById(Serializable contractId); Integer queryVersionById(Serializable contractId); List findList(Contract contract); List findAll(); void insert(Contract contract); void update(Contract contract); void deletelogic(Serializable contractId); void deleteById(Serializable contractId); }