SellCarTradeMapper.java 1.0 KB

1234567891011121314151617181920212223242526272829
  1. package com.jkcredit.invoice.mapper.waybill;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  5. import com.jkcredit.invoice.model.entity.waybill.SelfCarTrade;
  6. import com.jkcredit.invoice.model.vo.CompanyVo;
  7. import org.apache.ibatis.annotations.Param;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. @Repository
  11. public interface SellCarTradeMapper extends BaseMapper<SelfCarTrade> {
  12. IPage<List<SelfCarTrade>> selectAllByPage(Page page, @Param("sellCarTrade") SelfCarTrade sellCarTrade);
  13. @Override
  14. int insert(SelfCarTrade record);
  15. int updateByPrimaryKey(SelfCarTrade record);
  16. int updateByTradeId(SelfCarTrade record);
  17. List<SelfCarTrade> selectByTradeId(String tradeId);
  18. List<SelfCarTrade> selectByCardIdByStatus(SelfCarTrade record);
  19. List<SelfCarTrade> selectByCardId(String cardId);
  20. List<SelfCarTrade> selectByStatus(String status);
  21. int upDateCompany(CompanyVo companyVo);
  22. }